]> www.infradead.org Git - linux.git/commitdiff
arm64: tegra: Wire up WiFi on Jetson TX1 module
authorTomasz Maciej Nowak <tmn505@gmail.com>
Wed, 21 Aug 2024 18:58:05 +0000 (20:58 +0200)
committerThierry Reding <treding@nvidia.com>
Thu, 29 Aug 2024 15:35:11 +0000 (17:35 +0200)
P2180 modules have WiFi in form of BCM4354 chip, and kernel driver
supports this one, so enable it for all users. The necessary calibration
file can be obtained from Jetson Linux Archive. nvram.txt file is
located in "Driver Package (BSP)" in
nv_tegra/l4t_deb_packages/nvidia-l4t-firmware_<version>_arm64.deb
archive. The rest of necessary blobs can be obtained from official
Linux Firmware repository or (newer ones) from Infineon
ifx-linux-firmware repository (look in older releases).

Signed-off-by: Tomasz Maciej Nowak <tmn505@gmail.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
arch/arm64/boot/dts/nvidia/tegra210-p2180.dtsi

index 64b8668fcdcd632987ab984dcd2105aff4ea083e..c00db75e391057fd7a09d4465c9dbd58835c79df 100644 (file)
                nvidia,sys-clock-req-active-high;
        };
 
+       mmc@700b0200 {
+               status = "okay";
+               bus-width = <4>;
+               non-removable;
+               power-gpios = <&gpio TEGRA_GPIO(H, 0) GPIO_ACTIVE_HIGH>;
+               vqmmc-supply = <&vdd_1v8>;
+               vmmc-supply = <&vdd_3v3_sys>;
+               #address-cells = <1>;
+               #size-cells = <0>;
+
+               wifi@1 {
+                       compatible = "brcm,bcm4354-fmac";
+                       reg = <1>;
+                       interrupt-parent = <&gpio>;
+                       interrupts = <TEGRA_GPIO(H, 2) IRQ_TYPE_LEVEL_HIGH>;
+                       interrupt-names = "host-wake";
+               };
+       };
+
        /* eMMC */
        mmc@700b0600 {
                status = "okay";