Commit 95ff4aab authored by Spyridon Papageorgiou's avatar Spyridon Papageorgiou Committed by Simon Horman

arm64: dts: renesas: ulcb-kf: Add support for TI WL1837

This patch adds description of TI WL1837 and links interfaces
to communicate with the IC, namely the SDIO interface to WLAN.
Signed-off-by: default avatarSpyridon Papageorgiou <spapageorgiou@de.adit-jv.com>
Signed-off-by: default avatarSimon Horman <horms+renesas@verge.net.au>
parent c7d4df30
...@@ -38,6 +38,18 @@ snd_vcc5v: regulator-snd_vcc5v { ...@@ -38,6 +38,18 @@ snd_vcc5v: regulator-snd_vcc5v {
regulator-min-microvolt = <5000000>; regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>; regulator-max-microvolt = <5000000>;
}; };
wlan_en: regulator-wlan_en {
compatible = "regulator-fixed";
regulator-name = "wlan-en-regulator";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
gpio = <&gpio_exp_74 4 GPIO_ACTIVE_HIGH>;
startup-delay-us = <70000>;
enable-active-high;
};
}; };
&can0 { &can0 {
...@@ -88,6 +100,13 @@ audio_out_off { ...@@ -88,6 +100,13 @@ audio_out_off {
line-name = "Audio_Out_OFF"; line-name = "Audio_Out_OFF";
}; };
sd-wifi-mux {
gpio-hog;
gpios = <5 GPIO_ACTIVE_HIGH>;
output-low; /* Connect WL1837 */
line-name = "SD WiFi mux";
};
hub_pwen { hub_pwen {
gpio-hog; gpio-hog;
gpios = <6 GPIO_ACTIVE_HIGH>; gpios = <6 GPIO_ACTIVE_HIGH>;
...@@ -254,6 +273,12 @@ scif1_pins: scif1 { ...@@ -254,6 +273,12 @@ scif1_pins: scif1 {
function = "scif1"; function = "scif1";
}; };
sdhi3_pins: sdhi3 {
groups = "sdhi3_data4", "sdhi3_ctrl";
function = "sdhi3";
power-source = <3300>;
};
usb0_pins: usb0 { usb0_pins: usb0 {
groups = "usb0"; groups = "usb0";
function = "usb0"; function = "usb0";
...@@ -273,6 +298,30 @@ &scif1 { ...@@ -273,6 +298,30 @@ &scif1 {
status = "okay"; status = "okay";
}; };
&sdhi3 {
pinctrl-0 = <&sdhi3_pins>;
pinctrl-names = "default";
vmmc-supply = <&wlan_en>;
vqmmc-supply = <&wlan_en>;
bus-width = <4>;
no-1-8-v;
non-removable;
cap-power-off-card;
keep-power-in-suspend;
max-frequency = <26000000>;
status = "okay";
#address-cells = <1>;
#size-cells = <0>;
wlcore: wlcore@2 {
compatible = "ti,wl1837";
reg = <2>;
interrupt-parent = <&gpio1>;
interrupts = <25 IRQ_TYPE_EDGE_FALLING>;
};
};
&usb2_phy0 { &usb2_phy0 {
pinctrl-0 = <&usb0_pins>; pinctrl-0 = <&usb0_pins>;
pinctrl-names = "default"; pinctrl-names = "default";
......
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