arm64: dts: tegra: smaug: Add Wi-Fi node
authorDiogo Ivo <diogo.ivo@tecnico.ulisboa.pt>
Wed, 14 Sep 2022 11:12:21 +0000 (12:12 +0100)
committerThierry Reding <treding@nvidia.com>
Thu, 15 Sep 2022 19:30:37 +0000 (21:30 +0200)
The Google Pixel C contains a BRCM4354 Wi-Fi + BT module.
Add a DT node for its Wi-Fi functionality. Tested on Pixel C.

Signed-off-by: Diogo Ivo <diogo.ivo@tecnico.ulisboa.pt>
Signed-off-by: Thierry Reding <treding@nvidia.com>
arch/arm64/boot/dts/nvidia/tegra210-smaug.dts

index d693e7a..7c56969 100644 (file)
                };
        };
 
+       mmc@700b0200 {
+               power-gpios = <&gpio TEGRA_GPIO(H, 1) GPIO_ACTIVE_HIGH>;
+               bus-width = <4>;
+               non-removable;
+               vqmmc-supply = <&pp1800>;
+               vmmc-supply = <&pp3300>;
+               #address-cells = <1>;
+               #size-cells = <0>;
+               status = "okay";
+
+               wifi@1 {
+                       compatible = "brcm,bcm4354-fmac", "brcm,bcm4329-fmac";
+                       reg = <1>;
+                       interrupt-parent = <&gpio>;
+                       interrupts = <TEGRA_GPIO(H, 2) IRQ_TYPE_LEVEL_HIGH>;
+                       interrupt-names = "host-wake";
+               };
+       };
+
        mmc@700b0600 {
                bus-width = <8>;
                non-removable;