From 0cdf7bc4fbaba1a3854ddc48a3f44baaed7e8fad Mon Sep 17 00:00:00 2001 From: Sungbo Eo Date: Thu, 7 May 2020 23:34:22 +0900 Subject: [PATCH] ramips: dts: fix incorrect flash reg property Most work was done in commit 021c8936584d ("ramips: fix size-cells on spi nodes"), but a few more DTS files using the old reg style have been added since then. This commit fixes them. Signed-off-by: Sungbo Eo --- target/linux/ramips/dts/mt7620a_aigale_ai-br100.dts | 2 +- target/linux/ramips/dts/mt7620a_edimax_br-6478ac-v2.dts | 2 +- target/linux/ramips/dts/mt7621_mediatek_ap-mt7621a-v60.dts | 2 +- target/linux/ramips/dts/mt7628an_mercury_mac1200r-v2.dts | 2 +- target/linux/ramips/dts/rt3352_zyxel_nbg-419n-v2.dts | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/target/linux/ramips/dts/mt7620a_aigale_ai-br100.dts b/target/linux/ramips/dts/mt7620a_aigale_ai-br100.dts index 24a43f7ad2..a65654e78b 100644 --- a/target/linux/ramips/dts/mt7620a_aigale_ai-br100.dts +++ b/target/linux/ramips/dts/mt7620a_aigale_ai-br100.dts @@ -54,7 +54,7 @@ flash@0 { compatible = "jedec,spi-nor"; - reg = <0 0>; + reg = <0>; spi-max-frequency = <10000000>; partitions { diff --git a/target/linux/ramips/dts/mt7620a_edimax_br-6478ac-v2.dts b/target/linux/ramips/dts/mt7620a_edimax_br-6478ac-v2.dts index 96cfce272d..1c9ffc8dfc 100644 --- a/target/linux/ramips/dts/mt7620a_edimax_br-6478ac-v2.dts +++ b/target/linux/ramips/dts/mt7620a_edimax_br-6478ac-v2.dts @@ -89,7 +89,7 @@ flash@0 { compatible = "jedec,spi-nor"; - reg = <0 0>; + reg = <0>; spi-max-frequency = <10000000>; partitions { diff --git a/target/linux/ramips/dts/mt7621_mediatek_ap-mt7621a-v60.dts b/target/linux/ramips/dts/mt7621_mediatek_ap-mt7621a-v60.dts index 3ca08be4b0..b202342343 100644 --- a/target/linux/ramips/dts/mt7621_mediatek_ap-mt7621a-v60.dts +++ b/target/linux/ramips/dts/mt7621_mediatek_ap-mt7621a-v60.dts @@ -79,7 +79,7 @@ flash@0 { compatible = "mx25l6405d","jedec,spi-nor"; - reg = <0 0>; + reg = <0>; spi-max-frequency = <10000000>; partitions { diff --git a/target/linux/ramips/dts/mt7628an_mercury_mac1200r-v2.dts b/target/linux/ramips/dts/mt7628an_mercury_mac1200r-v2.dts index e31369009a..4a05264d7f 100644 --- a/target/linux/ramips/dts/mt7628an_mercury_mac1200r-v2.dts +++ b/target/linux/ramips/dts/mt7628an_mercury_mac1200r-v2.dts @@ -35,7 +35,7 @@ flash@0 { compatible = "jedec,spi-nor"; - reg = <0 0>; + reg = <0>; spi-max-frequency = <10000000>; partitions { diff --git a/target/linux/ramips/dts/rt3352_zyxel_nbg-419n-v2.dts b/target/linux/ramips/dts/rt3352_zyxel_nbg-419n-v2.dts index 95044fca9f..3738bbca9f 100644 --- a/target/linux/ramips/dts/rt3352_zyxel_nbg-419n-v2.dts +++ b/target/linux/ramips/dts/rt3352_zyxel_nbg-419n-v2.dts @@ -64,7 +64,7 @@ flash@0 { compatible = "jedec,spi-nor"; - reg = <0 0>; + reg = <0>; spi-max-frequency = <10000000>; partitions { -- 2.25.1