ipq40xx: fix DTS warning in qcom-ipq4019-cm520-79f.dts
authorChristian Lamparter <chunkeey@gmail.com>
Fri, 25 Sep 2020 16:57:50 +0000 (18:57 +0200)
committerChristian Lamparter <chunkeey@gmail.com>
Fri, 25 Sep 2020 17:32:34 +0000 (19:32 +0200)
.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 <chunkeey@gmail.com>
target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-cm520-79f.dts

index f4c1685f477ab974a27b5547998e4b866d0d0edf..0a15f003d1ee846290fa87b796a717f74af77d8a 100644 (file)
        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>;