arm64: dts: renesas: hihope-common: Add WLAN support
This patch enables WLAN support for the HiHope RZ/G2[MN] boards. Signed-off-by: Biju Das <biju.das@bp.renesas.com> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
This commit is contained in:
parent
d112c20925
commit
176f936a1e
@ -54,6 +54,13 @@
|
|||||||
led3 {
|
led3 {
|
||||||
gpios = <&gpio0 0 GPIO_ACTIVE_HIGH>;
|
gpios = <&gpio0 0 GPIO_ACTIVE_HIGH>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
wlan_active_led {
|
||||||
|
label = "yellow:wlan";
|
||||||
|
gpios = <&gpio7 1 GPIO_ACTIVE_HIGH>;
|
||||||
|
linux,default-trigger = "phy0tx";
|
||||||
|
default-state = "off";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
reg_1p8v: regulator0 {
|
reg_1p8v: regulator0 {
|
||||||
@ -98,6 +105,17 @@
|
|||||||
1800000 0>;
|
1800000 0>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
wlan_en_reg: regulator-wlan_en {
|
||||||
|
compatible = "regulator-fixed";
|
||||||
|
regulator-name = "wlan-en-regulator";
|
||||||
|
regulator-min-microvolt = <1800000>;
|
||||||
|
regulator-max-microvolt = <1800000>;
|
||||||
|
startup-delay-us = <70000>;
|
||||||
|
|
||||||
|
gpio = <&gpio_expander 1 GPIO_ACTIVE_HIGH>;
|
||||||
|
enable-active-high;
|
||||||
|
};
|
||||||
|
|
||||||
x302_clk: x302-clock {
|
x302_clk: x302-clock {
|
||||||
compatible = "fixed-clock";
|
compatible = "fixed-clock";
|
||||||
#clock-cells = <0>;
|
#clock-cells = <0>;
|
||||||
@ -242,6 +260,12 @@
|
|||||||
power-source = <1800>;
|
power-source = <1800>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
sdhi2_pins: sd2 {
|
||||||
|
groups = "sdhi2_data4", "sdhi2_ctrl";
|
||||||
|
function = "sdhi2";
|
||||||
|
power-source = <1800>;
|
||||||
|
};
|
||||||
|
|
||||||
sdhi3_pins: sd3 {
|
sdhi3_pins: sd3 {
|
||||||
groups = "sdhi3_data8", "sdhi3_ctrl", "sdhi3_ds";
|
groups = "sdhi3_data8", "sdhi3_ctrl", "sdhi3_ds";
|
||||||
function = "sdhi3";
|
function = "sdhi3";
|
||||||
@ -301,6 +325,27 @@
|
|||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
&sdhi2 {
|
||||||
|
status = "okay";
|
||||||
|
pinctrl-0 = <&sdhi2_pins>;
|
||||||
|
pinctrl-names = "default";
|
||||||
|
|
||||||
|
vmmc-supply = <&wlan_en_reg>;
|
||||||
|
bus-width = <4>;
|
||||||
|
non-removable;
|
||||||
|
cap-power-off-card;
|
||||||
|
keep-power-in-suspend;
|
||||||
|
|
||||||
|
#address-cells = <1>;
|
||||||
|
#size-cells = <0>;
|
||||||
|
wlcore: wlcore@2 {
|
||||||
|
compatible = "ti,wl1837";
|
||||||
|
reg = <2>;
|
||||||
|
interrupt-parent = <&gpio2>;
|
||||||
|
interrupts = <5 IRQ_TYPE_LEVEL_HIGH>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
&sdhi3 {
|
&sdhi3 {
|
||||||
pinctrl-0 = <&sdhi3_pins>;
|
pinctrl-0 = <&sdhi3_pins>;
|
||||||
pinctrl-1 = <&sdhi3_pins>;
|
pinctrl-1 = <&sdhi3_pins>;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user