From: Christian Lamparter Date: Fri, 25 Sep 2020 16:57:50 +0000 (+0200) Subject: ipq40xx: fix DTS warning in qcom-ipq4019-cm520-79f.dts X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=890bb54d7fbc71b30f7de1be215c3e872abae0b7;p=openwrt%2Fstaging%2Fneocturne.git ipq40xx: fix DTS warning in qcom-ipq4019-cm520-79f.dts .dts:121.4-14: Warning (reg_format): /led_spi/led_gpio@0:reg: \ property has invalid length (4 bytes) (#address-cells == 1, #size-cells == 1) .dtb: Warning (pci_device_bus_num): Failed prerequisite 'reg_format' .dtb: Warning (i2c_bus_reg): Failed prerequisite 'reg_format' .dtb: Warning (spi_bus_reg): Failed prerequisite 'reg_format' .dts:119.24-126.5: Warning (avoid_default_addr_size): /led_spi/led_gpio@0: \ Relying on default #size-cells value Signed-off-by: Christian Lamparter --- diff --git a/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-cm520-79f.dts b/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-cm520-79f.dts index f4c1685f47..0a15f003d1 100644 --- a/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-cm520-79f.dts +++ b/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-cm520-79f.dts @@ -110,7 +110,7 @@ led_spi { compatible = "spi-gpio"; #address-cells = <1>; - ranges; + #size-cells = <0>; sck-gpios = <&tlmm 40 GPIO_ACTIVE_HIGH>; mosi-gpios = <&tlmm 36 GPIO_ACTIVE_HIGH>;