Skip to contentSkip to conversation

ARM: dts: imx6q-prti6q: Fix the SDIO wifi node

PATCH Applied Fabio Estevam 2 participants 2 messages Jul 31, 2023 – Aug 6, 2023

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: dts: imx6q-prti6q: Fix the SDIO wifi node

#address-cells, #size-cells and unit address are missing for the WL1271 Wifi chip description, which causes the following schema warning:

imx6q-prti6q.dtb: mmc@2194000: Unevaluated properties are not allowed ('wifi' was unexpected)

Pass the missing items to fix it.

---
 arch/arm/boot/dts/nxp/imx/imx6q-prti6q.dts | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
arch/arm/boot/dts/nxp/imx/imx6q-prti6q.dts +4 -1
index d8fa83effd63..3508a2cd928a 100644
@@ -359,8 +359,11 @@ &usdhc2 {
 	keep-power-in-suspend;
 	status = "okay";
 
-	wifi {
+	#address-cells = <1>;
+	#size-cells = <0>;
+	wifi@2 {
 		compatible = "ti,wl1271";
+		reg = <2>;
 		pinctrl-names = "default";
 		pinctrl-0 = <&pinctrl_wifi>;
 		interrupts-extended = <&gpio1 30 IRQ_TYPE_LEVEL_HIGH>;
Signature · 1 line
2.34.1
Applied
#1 lore raw
Quoted 8 lines · Fabio Estevam

#address-cells, #size-cells and unit address are missing for the WL1271 Wifi chip description, which causes the following schema warning:

imx6q-prti6q.dtb: mmc@2194000: Unevaluated properties are not allowed ('wifi' was unexpected)

Pass the missing items to fix it.

Applied, thanks!