arm64: tegra: Enable wifi on P3310

The p3310 som has a BCM4354 module with wifi on sdio.

Signed-off-by: Aaron Kling <webgeek1234@gmail.com>
This commit is contained in:
Aaron Kling
2025-04-26 16:26:30 -05:00
committed by Thomas Makin
parent 3d7de18141
commit 30d99c8fd7

View File

@@ -19,6 +19,7 @@
i2c7 = "/i2c@31e0000"; i2c7 = "/i2c@31e0000";
mmc0 = "/mmc@3460000"; mmc0 = "/mmc@3460000";
mmc1 = "/mmc@3400000"; mmc1 = "/mmc@3400000";
mmc2 = "/mmc@3440000";
serial0 = &uarta; serial0 = &uarta;
}; };
@@ -32,6 +33,24 @@
reg = <0x0 0x80000000 0x2 0x00000000>; reg = <0x0 0x80000000 0x2 0x00000000>;
}; };
gpio@2200000 {
wifi-enable {
gpio-hog;
gpios = <TEGRA186_MAIN_GPIO(N, 0) GPIO_ACTIVE_HIGH>;
output-high;
line-name = "wifi-enable";
};
};
gpio@c2f0000 {
wifi-wake-ap {
gpio-hog;
gpios = <TEGRA186_AON_GPIO(FF, 3) GPIO_ACTIVE_HIGH>;
input;
label = "wifi-wake-ap";
};
};
ethernet@2490000 { ethernet@2490000 {
status = "okay"; status = "okay";
@@ -147,7 +166,21 @@
/* SDMMC3 (SDIO) */ /* SDMMC3 (SDIO) */
mmc@3440000 { mmc@3440000 {
status = "okay"; status = "okay";
bus-width = <4>;
non-removable;
power-gpios = <&gpio TEGRA186_MAIN_GPIO(N, 0) GPIO_ACTIVE_HIGH>;
vqmmc-supply = <&vddio_sdmmc3>; vqmmc-supply = <&vddio_sdmmc3>;
vmmc-supply = <&vdd_1v8>;
#address-cells = <1>;
#size-cells = <0>;
wifi@1 {
compatible = "brcm,bcm4354-fmac", "brcm,bcm4329-fmac";
reg = <1>;
interrupt-parent = <&gpio_aon>;
interrupts = <TEGRA186_AON_GPIO(FF, 3) IRQ_TYPE_LEVEL_HIGH>;
interrupt-names = "host-wake";
};
}; };
/* SDMMC4 (eMMC) */ /* SDMMC4 (eMMC) */