Skip to content

Commit 241527b

Browse files
Merge tag 'riscv-sifive-dt-5.16' of git://gitolite.kernel.org/pub/scm/linux/kernel/git/krzk/linux into for-next
RISC-V DTS changes for v5.16 Cleanups of RISC-V SiFive and Microchip DTSes with dtschema. These are few minor fixes to make DTSes pass the dtschema, without actual functional effect. * tag 'riscv-sifive-dt-5.16' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/krzk/linux: riscv: dts: sifive: add missing compatible for plic riscv: dts: microchip: add missing compatibles for clint and plic riscv: dts: sifive: drop duplicated nodes and properties in sifive riscv: dts: sifive: fix Unleashed board compatible riscv: dts: sifive: use only generic JEDEC SPI NOR flash compatible
2 parents 9406369 + 9962a06 commit 241527b

File tree

4 files changed

+7
-16
lines changed

4 files changed

+7
-16
lines changed

arch/riscv/boot/dts/microchip/microchip-mpfs.dtsi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@
161161
};
162162

163163
clint@2000000 {
164-
compatible = "sifive,clint0";
164+
compatible = "sifive,fu540-c000-clint", "sifive,clint0";
165165
reg = <0x0 0x2000000 0x0 0xC000>;
166166
interrupts-extended = <&cpu0_intc 3 &cpu0_intc 7
167167
&cpu1_intc 3 &cpu1_intc 7
@@ -172,7 +172,7 @@
172172

173173
plic: interrupt-controller@c000000 {
174174
#interrupt-cells = <1>;
175-
compatible = "sifive,plic-1.0.0";
175+
compatible = "sifive,fu540-c000-plic", "sifive,plic-1.0.0";
176176
reg = <0x0 0xc000000 0x0 0x4000000>;
177177
riscv,ndev = <186>;
178178
interrupt-controller;

arch/riscv/boot/dts/sifive/fu540-c000.dtsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@
141141
ranges;
142142
plic0: interrupt-controller@c000000 {
143143
#interrupt-cells = <1>;
144-
compatible = "sifive,plic-1.0.0";
144+
compatible = "sifive,fu540-c000-plic", "sifive,plic-1.0.0";
145145
reg = <0x0 0xc000000 0x0 0x4000000>;
146146
riscv,ndev = <53>;
147147
interrupt-controller;

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

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,9 @@
88
#define RTCCLK_FREQ 1000000
99

1010
/ {
11-
#address-cells = <2>;
12-
#size-cells = <2>;
1311
model = "SiFive HiFive Unleashed A00";
14-
compatible = "sifive,hifive-unleashed-a00", "sifive,fu540-c000";
12+
compatible = "sifive,hifive-unleashed-a00", "sifive,fu540-c000",
13+
"sifive,fu540";
1514

1615
chosen {
1716
stdout-path = "serial0";
@@ -26,9 +25,6 @@
2625
reg = <0x0 0x80000000 0x2 0x00000000>;
2726
};
2827

29-
soc {
30-
};
31-
3228
hfclk: hfclk {
3329
#clock-cells = <0>;
3430
compatible = "fixed-clock";
@@ -63,7 +59,7 @@
6359
&qspi0 {
6460
status = "okay";
6561
flash@0 {
66-
compatible = "issi,is25wp256", "jedec,spi-nor";
62+
compatible = "jedec,spi-nor";
6763
reg = <0>;
6864
spi-max-frequency = <50000000>;
6965
m25p,fast-read;

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

Lines changed: 1 addition & 6 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";
@@ -211,7 +206,7 @@
211206
&qspi0 {
212207
status = "okay";
213208
flash@0 {
214-
compatible = "issi,is25wp256", "jedec,spi-nor";
209+
compatible = "jedec,spi-nor";
215210
reg = <0>;
216211
spi-max-frequency = <50000000>;
217212
m25p,fast-read;

0 commit comments

Comments
 (0)