Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit 164239a4 authored by Kishon Vijay Abraham I's avatar Kishon Vijay Abraham I Committed by Vignesh Raghavendra
Browse files

arm64: dts: ti: k3-am642-sk: Enable WLAN connected to SDHCI0


WL1837 module is connected to SDHCI0 in AM642 SK. Enable it here.

Signed-off-by: default avatarKishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: default avatarVignesh Raghavendra <vigneshr@ti.com>
parent 4dda77e2
Branches
Tags
No related merge requests found
......@@ -122,6 +122,31 @@ vdd_mmc1: fixed-regulator-sd {
vin-supply = <&vcc_3v3_sys>;
gpio = <&exp1 3 GPIO_ACTIVE_HIGH>;
};
com8_ls_en: fixed-regulator-com8 {
compatible = "regulator-fixed";
regulator-name = "com8_ls_en";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
regulator-always-on;
regulator-boot-on;
pinctrl-0 = <&main_com8_ls_en_pins_default>;
pinctrl-names = "default";
gpio = <&main_gpio0 62 GPIO_ACTIVE_LOW>;
};
wlan_en: fixed-regulator-wlan {
/* output of SN74AVC4T245RSVR */
compatible = "regulator-fixed";
regulator-name = "wlan_en";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
enable-active-high;
pinctrl-0 = <&main_wlan_en_pins_default>;
pinctrl-names = "default";
vin-supply = <&com8_ls_en>;
gpio = <&main_gpio0 48 GPIO_ACTIVE_HIGH>;
};
};
&main_pmx0 {
......@@ -144,6 +169,24 @@ AM64X_IOPAD(0x0268, PIN_INPUT_PULLUP, 0) /* (C18) I2C1_SCL */
AM64X_IOPAD(0x026c, PIN_INPUT_PULLUP, 0) /* (B19) I2C1_SDA */
>;
};
main_wlan_en_pins_default: main-wlan-en-pins-default {
pinctrl-single,pins = <
AM64X_IOPAD(0x00c4, PIN_OUTPUT_PULLUP, 7) /* (V8) GPIO0_48 */
>;
};
main_com8_ls_en_pins_default: main-com8-ls-en-pins-default {
pinctrl-single,pins = <
AM64X_IOPAD(0x00fc, PIN_OUTPUT, 7) /* (U7) PRG1_PRU0_GPO17.GPIO0_62 */
>;
};
main_wlan_pins_default: main-wlan-pins-default {
pinctrl-single,pins = <
AM64X_IOPAD(0x00bc, PIN_INPUT, 7) /* (U8) GPIO0_46 */
>;
};
};
&main_uart1 {
......@@ -192,6 +235,26 @@ &main_i2c3 {
status = "disabled";
};
&sdhci0 {
vmmc-supply = <&wlan_en>;
bus-width = <4>;
non-removable;
cap-power-off-card;
keep-power-in-suspend;
ti,driver-strength-ohm = <50>;
#address-cells = <1>;
#size-cells = <0>;
wlcore: wlcore@2 {
compatible = "ti,wl1837";
reg = <2>;
pinctrl-0 = <&main_wlan_pins_default>;
pinctrl-names = "default";
interrupt-parent = <&main_gpio0>;
interrupts = <46 IRQ_TYPE_EDGE_FALLING>;
};
};
&sdhci1 {
/* SD/MMC */
vmmc-supply = <&vdd_mmc1>;
......
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