1
0
Fork 0

dts/zero-sugar: move pinctrl_wifi into wifi_pwrseq node

The pinctrl_wifi is all about configuring pins used by wifi_pwrseq,
including the 32K clock and WIFI_PWR_EN.  So let's move the pinctrl
into wifi_pwrseq device.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
pull/10/head
Shawn Guo 2019-08-28 19:29:51 +02:00 committed by Steinar Bakkemo
parent 0af630e869
commit c2ab64fc4e
1 changed files with 4 additions and 2 deletions

View File

@ -65,6 +65,8 @@
wifi_pwrseq: wifi_pwrseq {
compatible = "mmc-pwrseq-simple";
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_wifi>;
reset-gpios = <&gpio5 9 GPIO_ACTIVE_LOW>;
clocks = <&clks IMX7D_CLKO2_ROOT_DIV>;
clock-names = "ext_clock";
@ -507,8 +509,8 @@
#address-cells = <1>;
#size-cells = <0>;
pinctrl-names = "default", "state_100mhz";
pinctrl-0 = <&pinctrl_usdhc2 &pinctrl_wifi>;
pinctrl-1 = <&pinctrl_usdhc2_100mhz &pinctrl_wifi>;
pinctrl-0 = <&pinctrl_usdhc2>;
pinctrl-1 = <&pinctrl_usdhc2_100mhz>;
mmc-pwrseq = <&wifi_pwrseq>;
bus-width = <4>;
non-removable;