lkml.org 
[lkml]   [2024]   [Apr]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 2/9] arm64: dts: hisilicon: hip05-d02: correct local-bus unit addresses
    Date
    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>
    ---
    arch/arm64/boot/dts/hisilicon/hip05-d02.dts | 4 ++--
    1 file changed, 2 insertions(+), 2 deletions(-)

    diff --git a/arch/arm64/boot/dts/hisilicon/hip05-d02.dts b/arch/arm64/boot/dts/hisilicon/hip05-d02.dts
    index c4eaebbb448f..b7792d443189 100644
    --- a/arch/arm64/boot/dts/hisilicon/hip05-d02.dts
    +++ b/arch/arm64/boot/dts/hisilicon/hip05-d02.dts
    @@ -54,7 +54,7 @@ &lbc {
    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 @@ partition@1000000 {
    };
    };

    - cpld@1,0 {
    + cpld@100000000 {
    compatible = "hisilicon,hip05-cpld";
    reg = <1 0x0 0x100>;
    };
    --
    2.34.1

    \
     
     \ /
      Last update: 2024-05-27 16:19    [W:4.172 / U:0.016 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site