From: Christian Lamparter Date: Thu, 7 Jun 2018 15:36:55 +0000 (+0200) Subject: ipq40xx: set #size-cells to 0 to fix warning X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=b22e37528beec22d8e98ebe9f2db049b218313c9;p=openwrt%2Fstaging%2Faparcar.git ipq40xx: set #size-cells to 0 to fix warning qcom-ipq4018-ex6100v2.dtb: Warning (reg_format): "reg" property in /led_spi/led_gpio@0 has invalid length (4 bytes) qcom-ipq4018-ex6100v2.dtb: Warning (avoid_default_addr_size): Relying on default #size-cells value for /led_spi/led_gpio@0 Cc: Thomas Hebb Cc: David Bauer Signed-off-by: Christian Lamparter --- diff --git a/target/linux/ipq40xx/files-4.14/arch/arm/boot/dts/qcom-ipq4018-ex61x0v2.dtsi b/target/linux/ipq40xx/files-4.14/arch/arm/boot/dts/qcom-ipq4018-ex61x0v2.dtsi index e5f1c07378..f40e043574 100644 --- a/target/linux/ipq40xx/files-4.14/arch/arm/boot/dts/qcom-ipq4018-ex61x0v2.dtsi +++ b/target/linux/ipq40xx/files-4.14/arch/arm/boot/dts/qcom-ipq4018-ex61x0v2.dtsi @@ -102,7 +102,7 @@ led_spi { compatible = "spi-gpio"; #address-cells = <1>; - ranges; + #size-cells = <0>; gpio-sck = <&tlmm 5 GPIO_ACTIVE_HIGH>; gpio-mosi = <&tlmm 4 GPIO_ACTIVE_HIGH>;