ARM: dts: rockchip: add reg property to brcmf sub node for rk3188-bqedison2qc
authorJohan Jonker <jbx6244@gmail.com>
Fri, 10 Jan 2020 13:44:20 +0000 (14:44 +0100)
committerHeiko Stuebner <heiko@sntech.de>
Mon, 13 Jan 2020 09:34:10 +0000 (10:34 +0100)
An experimental test with the command below gives this error:
rk3188-bqedison2qc.dt.yaml: dwmmc@10218000: wifi@1:
'reg' is a required property

So fix this by adding a reg property to the brcmf sub node.
Also add #address-cells and #size-cells to prevent more warnings.

make ARCH=arm dtbs_check
DT_SCHEMA_FILES=Documentation/devicetree/bindings/mmc/rockchip-dw-mshc.yaml

Signed-off-by: Johan Jonker <jbx6244@gmail.com>
Link: https://lore.kernel.org/r/20200110134420.11280-1-jbx6244@gmail.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm/boot/dts/rk3188-bqedison2qc.dts

index c8b62bb..ad1afd4 100644 (file)
        pinctrl-names = "default";
        pinctrl-0 = <&sd1_clk>, <&sd1_cmd>, <&sd1_bus4>;
        vmmcq-supply = <&vccio_wl>;
+       #address-cells = <1>;
+       #size-cells = <0>;
        status = "okay";
 
        brcmf: wifi@1 {
+               reg = <1>;
                compatible = "brcm,bcm4329-fmac";
                interrupt-parent = <&gpio3>;
                interrupts = <RK_PD2 GPIO_ACTIVE_HIGH>;