[openwrt/openwrt] lantiq: fritz7362sl: fix SPI flash node reg property

LEDE Commits lede-commits at lists.infradead.org
Wed Mar 16 12:55:24 PDT 2022


chunkeey pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/dadedd5580c53752c0f308ac2861bb07c7f88801

commit dadedd5580c53752c0f308ac2861bb07c7f88801
Author: Martin Blumenstingl <martin.blumenstingl at googlemail.com>
AuthorDate: Tue Mar 15 22:53:04 2022 +0100

    lantiq: fritz7362sl: fix SPI flash node reg property
    
    The &spi node has #address-cells = <1> and #size-cells = <0>. Drop the
    extra 0 in the reg property from the SPI flash node to ensure it's
    number of cells matches the definition in the parent node. This also
    makes the reg property for the SPI flash node consistent with all other
    VR9 boards.
    
    Fixes: eae6cac6a30b ("lantiq: add support for AVM FRITZ!Box 7362 SL")
    Signed-off-by: Martin Blumenstingl <martin.blumenstingl at googlemail.com>
---
 .../lantiq/files/arch/mips/boot/dts/lantiq/vr9_avm_fritz7362sl.dts      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/target/linux/lantiq/files/arch/mips/boot/dts/lantiq/vr9_avm_fritz7362sl.dts b/target/linux/lantiq/files/arch/mips/boot/dts/lantiq/vr9_avm_fritz7362sl.dts
index 4d86bf5542..37fee61588 100644
--- a/target/linux/lantiq/files/arch/mips/boot/dts/lantiq/vr9_avm_fritz7362sl.dts
+++ b/target/linux/lantiq/files/arch/mips/boot/dts/lantiq/vr9_avm_fritz7362sl.dts
@@ -22,7 +22,7 @@
 		#address-cells = <1>;
 		#size-cells = <1>;
 		compatible = "jedec,spi-nor";
-		reg = <4 0>;
+		reg = <4>;
 		spi-max-frequency = <1000000>;
 
 		urlader: partition at 0 {




More information about the lede-commits mailing list