arm64: dts: hisilicon: hip05-d02: correct local-bus unit addresses
authorKrzysztof Kozlowski <krzk@kernel.org>
Tue, 2 Apr 2024 19:31:41 +0000 (21:31 +0200)
committerWei Xu <xuwei5@hisilicon.com>
Sat, 13 Apr 2024 01:50:47 +0000 (01:50 +0000)
Correct local-bus children unit addresses to fix dtc W=1 warnings:

  hip05-d02.dts:57.16-76.4: Warning (simple_bus_reg): /soc/local-bus@80380000/nor-flash@0,0: simple-bus unit address format error, expected "0"
  hip05-d02.dts:78.11-81.4: Warning (simple_bus_reg): /soc/local-bus@80380000/cpld@1,0: simple-bus unit address format error, expected "100000000"

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Wei Xu <xuwei5@hisilicon.com>
arch/arm64/boot/dts/hisilicon/hip05-d02.dts

index c4eaebb..b7792d4 100644 (file)
@@ -54,7 +54,7 @@
        ranges = <0 0 0x0 0x90000000 0x08000000>,
                 <1 0 0x0 0x98000000 0x08000000>;
 
-       nor-flash@0,0 {
+       nor-flash@0 {
                #address-cells = <1>;
                #size-cells = <1>;
                compatible = "numonyx,js28f00a", "cfi-flash";
@@ -75,7 +75,7 @@
                };
        };
 
-       cpld@1,0 {
+       cpld@100000000 {
                compatible = "hisilicon,hip05-cpld";
                reg = <1 0x0 0x100>;
        };