ARM: dts: imx6q-prti6q: Fix the SDIO wifi node
authorFabio Estevam <festevam@denx.de>
Mon, 31 Jul 2023 20:36:10 +0000 (17:36 -0300)
committerShawn Guo <shawnguo@kernel.org>
Sun, 6 Aug 2023 12:32:38 +0000 (20:32 +0800)
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.

Signed-off-by: Fabio Estevam <festevam@denx.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/nxp/imx/imx6q-prti6q.dts

index d8fa83e..3508a2c 100644 (file)
        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>;