riscv: dts: sifive: drop duplicated nodes and properties in sifive
authorKrzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Mon, 20 Sep 2021 13:02:46 +0000 (15:02 +0200)
committerKrzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Tue, 19 Oct 2021 08:59:57 +0000 (10:59 +0200)
The DTSI file defines soc node and address/size cells, so there is no
point in duplicating it in DTS file.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Reviewed-by: Alexandre Ghiti <alexandre.ghiti@canonical.com>
Tested-by: Alexandre Ghiti <alexandre.ghiti@canonical.com>
Link: https://lore.kernel.org/r/20210920130248.145058-3-krzysztof.kozlowski@canonical.com
arch/riscv/boot/dts/sifive/hifive-unleashed-a00.dts
arch/riscv/boot/dts/sifive/hifive-unmatched-a00.dts

index 2b4af7b..ba304d4 100644 (file)
@@ -8,8 +8,6 @@
 #define RTCCLK_FREQ            1000000
 
 / {
-       #address-cells = <2>;
-       #size-cells = <2>;
        model = "SiFive HiFive Unleashed A00";
        compatible = "sifive,hifive-unleashed-a00", "sifive,fu540-c000",
                     "sifive,fu540";
@@ -27,9 +25,6 @@
                reg = <0x0 0x80000000 0x2 0x00000000>;
        };
 
-       soc {
-       };
-
        hfclk: hfclk {
                #clock-cells = <0>;
                compatible = "fixed-clock";
index 9b0b9b8..4f66919 100644 (file)
@@ -8,8 +8,6 @@
 #define RTCCLK_FREQ            1000000
 
 / {
-       #address-cells = <2>;
-       #size-cells = <2>;
        model = "SiFive HiFive Unmatched A00";
        compatible = "sifive,hifive-unmatched-a00", "sifive,fu740-c000",
                     "sifive,fu740";
@@ -27,9 +25,6 @@
                reg = <0x0 0x80000000 0x4 0x00000000>;
        };
 
-       soc {
-       };
-
        hfclk: hfclk {
                #clock-cells = <0>;
                compatible = "fixed-clock";