Commit 6fb11131 authored by Wei Ni's avatar Wei Ni Committed by Stephen Warren

ARM: dt: t30 cardhu: set pinmux and power for wlan

Configure pinmux as required for WiFi.
Enable the SDHCI1 controller for a02 and a04 board, which is connected to the
WiFi module.
For now, always enable the regulator that provides power to the Wifi module.
Signed-off-by: default avatarWei Ni <wni@nvidia.com>
Signed-off-by: default avatarStephen Warren <swarren@nvidia.com>
parent c729429e
...@@ -83,5 +83,11 @@ vdd_bl_reg: regulator@105 { ...@@ -83,5 +83,11 @@ vdd_bl_reg: regulator@105 {
gpio = <&gpio 83 0>; /* GPIO PK3 */ gpio = <&gpio 83 0>; /* GPIO PK3 */
}; };
}; };
sdhci@78000400 {
status = "okay";
power-gpios = <&gpio 28 0>; /* gpio PD4 */
bus-width = <4>;
};
}; };
...@@ -95,4 +95,10 @@ vdd_bl2_reg: regulator@106 { ...@@ -95,4 +95,10 @@ vdd_bl2_reg: regulator@106 {
gpio = <&gpio 232 0>; /* GPIO PDD0 */ gpio = <&gpio 232 0>; /* GPIO PDD0 */
}; };
}; };
sdhci@78000400 {
status = "okay";
power-gpios = <&gpio 27 0>; /* gpio PD3 */
bus-width = <4>;
};
}; };
...@@ -52,6 +52,22 @@ sdmmc1_cmd_pz1 { ...@@ -52,6 +52,22 @@ sdmmc1_cmd_pz1 {
nvidia,pull = <2>; nvidia,pull = <2>;
nvidia,tristate = <0>; nvidia,tristate = <0>;
}; };
sdmmc3_clk_pa6 {
nvidia,pins = "sdmmc3_clk_pa6";
nvidia,function = "sdmmc3";
nvidia,pull = <0>;
nvidia,tristate = <0>;
};
sdmmc3_cmd_pa7 {
nvidia,pins = "sdmmc3_cmd_pa7",
"sdmmc3_dat0_pb7",
"sdmmc3_dat1_pb6",
"sdmmc3_dat2_pb5",
"sdmmc3_dat3_pb4";
nvidia,function = "sdmmc3";
nvidia,pull = <2>;
nvidia,tristate = <0>;
};
sdmmc4_clk_pcc4 { sdmmc4_clk_pcc4 {
nvidia,pins = "sdmmc4_clk_pcc4", nvidia,pins = "sdmmc4_clk_pcc4",
"sdmmc4_rst_n_pcc3"; "sdmmc4_rst_n_pcc3";
...@@ -81,6 +97,15 @@ dap2_fs_pa2 { ...@@ -81,6 +97,15 @@ dap2_fs_pa2 {
nvidia,pull = <0>; nvidia,pull = <0>;
nvidia,tristate = <0>; nvidia,tristate = <0>;
}; };
sdio3 {
nvidia,pins = "drive_sdio3";
nvidia,high-speed-mode = <0>;
nvidia,schmitt = <0>;
nvidia,pull-down-strength = <46>;
nvidia,pull-up-strength = <42>;
nvidia,slew-rate-rising = <1>;
nvidia,slew-rate-falling = <1>;
};
}; };
}; };
...@@ -384,6 +409,8 @@ vdd_com_reg: regulator@9 { ...@@ -384,6 +409,8 @@ vdd_com_reg: regulator@9 {
regulator-name = "vdd_com"; regulator-name = "vdd_com";
regulator-min-microvolt = <3300000>; regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>; regulator-max-microvolt = <3300000>;
regulator-always-on;
regulator-boot-on;
enable-active-high; enable-active-high;
gpio = <&gpio 24 0>; /* gpio PD0 */ gpio = <&gpio 24 0>; /* gpio PD0 */
vin-supply = <&sys_3v3_reg>; vin-supply = <&sys_3v3_reg>;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment