From: Christian Lamparter Date: Sun, 26 Jan 2020 00:12:50 +0000 (+0100) Subject: ipq40xx: fix misplaced cells-sizes in WPJ419's dts X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=016339ba42498affb178edec2609bd5358db9b20;p=openwrt%2Fstaging%2Fneocturne.git ipq40xx: fix misplaced cells-sizes in WPJ419's dts This patch fixes the occurences of the following warning message from the dtc: Warning (reg_format): /soc/spi@78b5000/flash0@0/partitions/partition@0:reg: property has invalid length (8 bytes) (#address-cells == 2, #size-cells == 1) Signed-off-by: Christian Lamparter --- diff --git a/target/linux/ipq40xx/files-4.19/arch/arm/boot/dts/qcom-ipq4019-wpj419.dts b/target/linux/ipq40xx/files-4.19/arch/arm/boot/dts/qcom-ipq4019-wpj419.dts index e75d07606a..6cf9d46767 100644 --- a/target/linux/ipq40xx/files-4.19/arch/arm/boot/dts/qcom-ipq4019-wpj419.dts +++ b/target/linux/ipq40xx/files-4.19/arch/arm/boot/dts/qcom-ipq4019-wpj419.dts @@ -151,8 +151,6 @@ num-cs = <2>; flash0@0 { - #address-cells = <1>; - #size-cells = <1>; reg = <0>; compatible = "jedec,spi-nor"; spi-max-frequency = <24000000>; @@ -160,6 +158,8 @@ partitions { compatible = "fixed-partitions"; + #address-cells = <1>; + #size-cells = <1>; partition@0 { label = "0:SBL1";