Broadcom BCM4329 family fullmac wireless SDIO/PCIE devices

Schema identifier ($id): "http://devicetree.org/schemas/net/wireless/brcm,bcm4329-fmac.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Arend van Spriel <arend@broadcom.com>"

The Broadcom Single chip MAC part for the BCM4329 family and later Cypress chips in the same family named CYW4373 and similar. These chips also have a Bluetooth portion described in a separate binding.

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): /schemas/net/wireless/wireless-controller.yaml#

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Array item rules (items)

Item 1

Allowed values (enum): "brcm,bcm43143-fmac", "brcm,bcm4341b0-fmac", "brcm,bcm4341b4-fmac", "brcm,bcm4341b5-fmac", "brcm,bcm4329-fmac", "brcm,bcm4330-fmac", "brcm,bcm4334-fmac", "brcm,bcm43340-fmac", "brcm,bcm4335-fmac", "brcm,bcm43362-fmac", "brcm,bcm4339-fmac", "brcm,bcm43430a0-fmac", "brcm,bcm43430a1-fmac", "brcm,bcm43455-fmac", "brcm,bcm43456-fmac", "brcm,bcm4354-fmac", "brcm,bcm4356-fmac", "brcm,bcm4359-fmac", "brcm,bcm4366-fmac", "cypress,cyw4373-fmac", "cypress,cyw43012-fmac", "infineon,cyw43439-fmac"

Item 2

Exact value (const): "brcm,bcm4329-fmac"

Rule 2

Allowed values (enum): "brcm,bcm4329-fmac", "pci14e4,43dc", "pci14e4,4464", "pci14e4,4488", "pci14e4,4425", "pci14e4,4433", "pci14e4,4434", "pci14e4,449d"

reg — required here #

SDIO function number for the device (for most cases this will be 1) or PCI device identifier.

interrupts — not listed as required here #

Maximum number of items (maxItems): 1

Out-of-band (OOB) IRQ line for waking up the host in response to WLAN activity. This corresponds to the HOST_WAKE line into the chip.

interrupt-names — not listed as required here #

Name for the OOB IRQ, this must be set to "host-wake".

Exact value (const): "host-wake"

brcm,drive-strength — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Drive strength used for the SDIO pins on the device in mA.

Minimum value (minimum): 0

Maximum value (maximum): 32

reset-gpios — not listed as required here #

Maximum number of items (maxItems): 1

A GPIO line connected to the WL_RST line, if present this shall be flagged as active low.

brcm,ccode-map — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/string-array

Multiple strings for translating ISO3166 country code to brcmfmac firmware country code and revision.

Array item rules (items) #

String pattern (pattern): "^[A-Z][A-Z]-[A-Z][0-9A-Z]-[0-9]+$"

brcm,ccode-map-trivial — not listed as required here #

Use a trivial mapping of ISO3166 country codes to brcmfmac firmware country code and revision: cc -> { cc, 0 }. In other words, assume that the CLM blob firmware uses ISO3166 country codes as well, and that all revisions are zero. This property is mutually exclusive with brcm,ccode-map. If both properties are specified, then brcm,ccode-map takes precedence.

Value type (type): "boolean"

brcm,cal-blob — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint8-array

A per-device calibration blob for the Wi-Fi radio. This should be filled in by the bootloader from platform configuration data, if necessary, and will be uploaded to the device if present.

brcm,board-type — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/string

Overrides the board type, which is normally the compatible of the root node. This can be used to decouple the overall system board or device name from the board type for WiFi purposes, which is used to construct firmware and NVRAM configuration filenames, allowing for multiple devices that share the same module or characteristics for the WiFi subsystem to share the same firmware/NVRAM files. On Apple platforms, this should be the Apple module-instance codename prefixed by "apple,", e.g. "apple,honshu".

apple,antenna-sku — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/string

Antenna SKU used to identify a specific antenna configuration on Apple platforms. This is use to build firmware filenames, to allow platforms with different antenna configs to have different firmware and/or NVRAM. This would normally be filled in by the bootloader from platform configuration data.

clocks — not listed as required here #

Array item rules (items) #

Item 1

External Low Power Clock input (32.768KHz)

clock-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "lpo"

Required in this object (required): "compatible", "reg"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/gpio/gpio.h>
mmc@80118000 {
  compatible = "arm,pl18x", "arm,primecell";
  reg = <0x80118000 0x1000>;
  clocks = <&clk 0>, <&clk 1>;
  clock-names = "mclk", "apb_pclk";
  interrupts = <0 60 IRQ_TYPE_LEVEL_HIGH>;
  bus-width = <4>;
  non-removable;
  vmmc-supply = <&wl_bt_reg>;
  #address-cells = <1>;
  #size-cells = <0>;

  wifi@1 {
    compatible = "brcm,bcm4334-fmac", "brcm,bcm4329-fmac";
    reg = <1>;
    interrupt-parent = <&gpio>;
    interrupts = <24 IRQ_TYPE_EDGE_FALLING>;
    interrupt-names = "host-wake";
    reset-gpios = <&gpio 23 GPIO_ACTIVE_LOW>;
    brcm,ccode-map = "JP-JP-78", "US-Q2-86";
  };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)

Line 51: BCM4355

Line 52: BCM4364

Line 53: BCM4377

Line 54: BCM4378

Line 55: BCM4387

Line 56: BCM4388

Line 57: BCM43752

Edit this page