diff options
author | Stefan Wahren <stefan.wahren@i2se.com> | 2021-08-07 13:06:37 +0200 |
---|---|---|
committer | Nicolas Saenz Julienne <nsaenz@kernel.org> | 2021-10-06 09:53:18 +0200 |
commit | ec8524968d1634c5ffaf4581ec3d3757611b857e (patch) | |
tree | 83378d8294374d33afa4ded7e6ddca5ffb021561 /arch/arm/boot/dts/bcm283x-rpi-wifi-bt.dtsi | |
parent | 82f811bd2c23511f8ced1ecf415db1a6bc9bde04 (diff) |
ARM: dts: bcm283x-rpi: Move Wifi/BT into separate dtsi
A Wifi/BT chip is quite common for the Raspberry Pi boards. So move those
definitions into a separate dtsi in order to avoid copy & paste. This
change was inspired by a vendor tree patch from Phil Elwell.
Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>
Link: https://lore.kernel.org/r/1628334401-6577-7-git-send-email-stefan.wahren@i2se.com
Signed-off-by: Nicolas Saenz Julienne <nsaenz@kernel.org>
Diffstat (limited to 'arch/arm/boot/dts/bcm283x-rpi-wifi-bt.dtsi')
-rw-r--r-- | arch/arm/boot/dts/bcm283x-rpi-wifi-bt.dtsi | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/bcm283x-rpi-wifi-bt.dtsi b/arch/arm/boot/dts/bcm283x-rpi-wifi-bt.dtsi new file mode 100644 index 000000000000..0b64cc19941f --- /dev/null +++ b/arch/arm/boot/dts/bcm283x-rpi-wifi-bt.dtsi @@ -0,0 +1,34 @@ +// SPDX-License-Identifier: GPL-2.0 + +/ { + wifi_pwrseq: wifi-pwrseq { + compatible = "mmc-pwrseq-simple"; + }; +}; + +/* SDHCI is used to control the SDIO for wireless */ +&sdhci { + #address-cells = <1>; + #size-cells = <0>; + pinctrl-names = "default"; + pinctrl-0 = <&emmc_gpio34>; + bus-width = <4>; + non-removable; + mmc-pwrseq = <&wifi_pwrseq>; + status = "okay"; + + brcmf: wifi@1 { + reg = <1>; + compatible = "brcm,bcm4329-fmac"; + }; +}; + +/* uart0 communicates with the BT module */ +&uart0 { + status = "okay"; + + bt: bluetooth { + compatible = "brcm,bcm43438-bt"; + max-speed = <2000000>; + }; +}; |