Skip to content

Commit f15096f

Browse files
fabioestevamShawn Guo
authored andcommitted
ARM: dts: imx7d-nitrogen7: Fix the description of the Wifi clock
According to bindings/regulator/fixed-regulator.txt the 'clocks' and 'clock-names' properties are not valid ones. In order to turn on the Wifi clock the correct location for describing the CLKO2 clock is via a mmc-pwrseq handle, so do it accordingly. Fixes: 5635495 ("ARM: dts: imx: add Boundary Devices Nitrogen7 board") Signed-off-by: Fabio Estevam <festevam@gmail.com> Acked-by: Troy Kisky <troy.kisky@boundarydevices.com> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
1 parent 1e434b7 commit f15096f

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

arch/arm/boot/dts/imx7d-nitrogen7.dts

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,13 +86,17 @@
8686
compatible = "regulator-fixed";
8787
regulator-min-microvolt = <3300000>;
8888
regulator-max-microvolt = <3300000>;
89-
clocks = <&clks IMX7D_CLKO2_ROOT_DIV>;
90-
clock-names = "slow";
9189
regulator-name = "reg_wlan";
9290
startup-delay-us = <70000>;
9391
gpio = <&gpio4 21 GPIO_ACTIVE_HIGH>;
9492
enable-active-high;
9593
};
94+
95+
usdhc2_pwrseq: usdhc2_pwrseq {
96+
compatible = "mmc-pwrseq-simple";
97+
clocks = <&clks IMX7D_CLKO2_ROOT_DIV>;
98+
clock-names = "ext_clock";
99+
};
96100
};
97101

98102
&adc1 {
@@ -375,6 +379,7 @@
375379
bus-width = <4>;
376380
non-removable;
377381
vmmc-supply = <&reg_wlan>;
382+
mmc-pwrseq = <&usdhc2_pwrseq>;
378383
cap-power-off-card;
379384
keep-power-in-suspend;
380385
status = "okay";

0 commit comments

Comments
 (0)