aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Lamparter <chunkeey@gmail.com>2020-09-25 18:57:50 +0200
committerChristian Lamparter <chunkeey@gmail.com>2020-09-25 19:32:34 +0200
commit890bb54d7fbc71b30f7de1be215c3e872abae0b7 (patch)
tree59e6ab811bba13bcc6cb30b98eef68f49d87f5c0
parent0e4092cbade0a601a2e924932c8b900aef5a11a4 (diff)
downloadupstream-890bb54d7fbc71b30f7de1be215c3e872abae0b7.tar.gz
upstream-890bb54d7fbc71b30f7de1be215c3e872abae0b7.tar.bz2
upstream-890bb54d7fbc71b30f7de1be215c3e872abae0b7.zip
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 <chunkeey@gmail.com>
-rw-r--r--target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-cm520-79f.dts2
1 files changed, 1 insertions, 1 deletions
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>;