From 016339ba42498affb178edec2609bd5358db9b20 Mon Sep 17 00:00:00 2001 From: Christian Lamparter Date: Sun, 26 Jan 2020 01:12:50 +0100 Subject: [PATCH] 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 --- .../files-4.19/arch/arm/boot/dts/qcom-ipq4019-wpj419.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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"; -- 2.30.2