Skip to content

Commit 20ce65b

Browse files
committed
riscv: dts: sifive: drop duplicated nodes and properties in sifive
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 <[email protected]> Reviewed-by: Alexandre Ghiti <[email protected]> Tested-by: Alexandre Ghiti <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent 65b2979 commit 20ce65b

File tree

2 files changed

+0
-10
lines changed

2 files changed

+0
-10
lines changed

arch/riscv/boot/dts/sifive/hifive-unleashed-a00.dts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@
88
#define RTCCLK_FREQ 1000000
99

1010
/ {
11-
#address-cells = <2>;
12-
#size-cells = <2>;
1311
model = "SiFive HiFive Unleashed A00";
1412
compatible = "sifive,hifive-unleashed-a00", "sifive,fu540-c000",
1513
"sifive,fu540";
@@ -27,9 +25,6 @@
2725
reg = <0x0 0x80000000 0x2 0x00000000>;
2826
};
2927

30-
soc {
31-
};
32-
3328
hfclk: hfclk {
3429
#clock-cells = <0>;
3530
compatible = "fixed-clock";

arch/riscv/boot/dts/sifive/hifive-unmatched-a00.dts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@
88
#define RTCCLK_FREQ 1000000
99

1010
/ {
11-
#address-cells = <2>;
12-
#size-cells = <2>;
1311
model = "SiFive HiFive Unmatched A00";
1412
compatible = "sifive,hifive-unmatched-a00", "sifive,fu740-c000",
1513
"sifive,fu740";
@@ -27,9 +25,6 @@
2725
reg = <0x0 0x80000000 0x4 0x00000000>;
2826
};
2927

30-
soc {
31-
};
32-
3328
hfclk: hfclk {
3429
#clock-cells = <0>;
3530
compatible = "fixed-clock";

0 commit comments

Comments
 (0)