Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: net: bcm4329-fmac: Add Apple properties & chips

This binding is currently used for SDIO devices, but these chips are
also used as PCIe devices on DT platforms and may be represented in the
DT. Re-use the existing binding and add chip compatibles used by Apple
T2 and M1 platforms (the T2 ones are not known to be used in DT
platforms, but we might as well document them).

Then, add properties required for firmware selection and calibration on
M1 machines.

Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Hector Martin <marcan@marcan.st>
Reviewed-by: Mark Kettenis <kettenis@openbsd.org>
Reviewed-by: Rob Herring <robh@kernel.org>
Reviewed-by: Alvin Šipraga <alsi@bang-olufsen.dk>
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/E1oZDnO-0077Zy-18@rmk-PC.armlinux.org.uk

authored by

Hector Martin and committed by
Kalle Valo
e2e37224 d5350756

+35 -4
+35 -4
Documentation/devicetree/bindings/net/wireless/brcm,bcm4329-fmac.yaml
··· 4 4 $id: http://devicetree.org/schemas/net/wireless/brcm,bcm4329-fmac.yaml# 5 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 - title: Broadcom BCM4329 family fullmac wireless SDIO devices 7 + title: Broadcom BCM4329 family fullmac wireless SDIO/PCIE devices 8 8 9 9 maintainers: 10 10 - Arend van Spriel <arend@broadcom.com> ··· 41 41 - cypress,cyw4373-fmac 42 42 - cypress,cyw43012-fmac 43 43 - const: brcm,bcm4329-fmac 44 - - const: brcm,bcm4329-fmac 44 + - enum: 45 + - brcm,bcm4329-fmac 46 + - pci14e4,43dc # BCM4355 47 + - pci14e4,4464 # BCM4364 48 + - pci14e4,4488 # BCM4377 49 + - pci14e4,4425 # BCM4378 50 + - pci14e4,4433 # BCM4387 45 51 46 52 reg: 47 - description: SDIO function number for the device, for most cases 48 - this will be 1. 53 + description: SDIO function number for the device (for most cases 54 + this will be 1) or PCI device identifier. 49 55 50 56 interrupts: 51 57 maxItems: 1 ··· 90 84 brcm,ccode-map. If both properties are specified, then brcm,ccode-map 91 85 takes precedence. 92 86 type: boolean 87 + 88 + brcm,cal-blob: 89 + $ref: /schemas/types.yaml#/definitions/uint8-array 90 + description: A per-device calibration blob for the Wi-Fi radio. This 91 + should be filled in by the bootloader from platform configuration 92 + data, if necessary, and will be uploaded to the device if present. 93 + 94 + brcm,board-type: 95 + $ref: /schemas/types.yaml#/definitions/string 96 + description: Overrides the board type, which is normally the compatible of 97 + the root node. This can be used to decouple the overall system board or 98 + device name from the board type for WiFi purposes, which is used to 99 + construct firmware and NVRAM configuration filenames, allowing for 100 + multiple devices that share the same module or characteristics for the 101 + WiFi subsystem to share the same firmware/NVRAM files. On Apple platforms, 102 + this should be the Apple module-instance codename prefixed by "apple,", 103 + e.g. "apple,honshu". 104 + 105 + apple,antenna-sku: 106 + $ref: /schemas/types.yaml#/definitions/string 107 + description: Antenna SKU used to identify a specific antenna configuration 108 + on Apple platforms. This is use to build firmware filenames, to allow 109 + platforms with different antenna configs to have different firmware and/or 110 + NVRAM. This would normally be filled in by the bootloader from platform 111 + configuration data. 93 112 94 113 required: 95 114 - compatible