Commit 241527bb authored by Palmer Dabbelt's avatar Palmer Dabbelt

Merge tag 'riscv-sifive-dt-5.16' of...

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
parents 9406369a 9962a066
...@@ -161,7 +161,7 @@ cache-controller@2010000 { ...@@ -161,7 +161,7 @@ cache-controller@2010000 {
}; };
clint@2000000 { clint@2000000 {
compatible = "sifive,clint0"; compatible = "sifive,fu540-c000-clint", "sifive,clint0";
reg = <0x0 0x2000000 0x0 0xC000>; reg = <0x0 0x2000000 0x0 0xC000>;
interrupts-extended = <&cpu0_intc 3 &cpu0_intc 7 interrupts-extended = <&cpu0_intc 3 &cpu0_intc 7
&cpu1_intc 3 &cpu1_intc 7 &cpu1_intc 3 &cpu1_intc 7
...@@ -172,7 +172,7 @@ &cpu3_intc 3 &cpu3_intc 7 ...@@ -172,7 +172,7 @@ &cpu3_intc 3 &cpu3_intc 7
plic: interrupt-controller@c000000 { plic: interrupt-controller@c000000 {
#interrupt-cells = <1>; #interrupt-cells = <1>;
compatible = "sifive,plic-1.0.0"; compatible = "sifive,fu540-c000-plic", "sifive,plic-1.0.0";
reg = <0x0 0xc000000 0x0 0x4000000>; reg = <0x0 0xc000000 0x0 0x4000000>;
riscv,ndev = <186>; riscv,ndev = <186>;
interrupt-controller; interrupt-controller;
......
...@@ -141,7 +141,7 @@ soc { ...@@ -141,7 +141,7 @@ soc {
ranges; ranges;
plic0: interrupt-controller@c000000 { plic0: interrupt-controller@c000000 {
#interrupt-cells = <1>; #interrupt-cells = <1>;
compatible = "sifive,plic-1.0.0"; compatible = "sifive,fu540-c000-plic", "sifive,plic-1.0.0";
reg = <0x0 0xc000000 0x0 0x4000000>; reg = <0x0 0xc000000 0x0 0x4000000>;
riscv,ndev = <53>; riscv,ndev = <53>;
interrupt-controller; interrupt-controller;
......
...@@ -8,10 +8,9 @@ ...@@ -8,10 +8,9 @@
#define RTCCLK_FREQ 1000000 #define RTCCLK_FREQ 1000000
/ { / {
#address-cells = <2>;
#size-cells = <2>;
model = "SiFive HiFive Unleashed A00"; model = "SiFive HiFive Unleashed A00";
compatible = "sifive,hifive-unleashed-a00", "sifive,fu540-c000"; compatible = "sifive,hifive-unleashed-a00", "sifive,fu540-c000",
"sifive,fu540";
chosen { chosen {
stdout-path = "serial0"; stdout-path = "serial0";
...@@ -26,9 +25,6 @@ memory@80000000 { ...@@ -26,9 +25,6 @@ memory@80000000 {
reg = <0x0 0x80000000 0x2 0x00000000>; reg = <0x0 0x80000000 0x2 0x00000000>;
}; };
soc {
};
hfclk: hfclk { hfclk: hfclk {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "fixed-clock"; compatible = "fixed-clock";
...@@ -63,7 +59,7 @@ &i2c0 { ...@@ -63,7 +59,7 @@ &i2c0 {
&qspi0 { &qspi0 {
status = "okay"; status = "okay";
flash@0 { flash@0 {
compatible = "issi,is25wp256", "jedec,spi-nor"; compatible = "jedec,spi-nor";
reg = <0>; reg = <0>;
spi-max-frequency = <50000000>; spi-max-frequency = <50000000>;
m25p,fast-read; m25p,fast-read;
......
...@@ -8,8 +8,6 @@ ...@@ -8,8 +8,6 @@
#define RTCCLK_FREQ 1000000 #define RTCCLK_FREQ 1000000
/ { / {
#address-cells = <2>;
#size-cells = <2>;
model = "SiFive HiFive Unmatched A00"; model = "SiFive HiFive Unmatched A00";
compatible = "sifive,hifive-unmatched-a00", "sifive,fu740-c000", compatible = "sifive,hifive-unmatched-a00", "sifive,fu740-c000",
"sifive,fu740"; "sifive,fu740";
...@@ -27,9 +25,6 @@ memory@80000000 { ...@@ -27,9 +25,6 @@ memory@80000000 {
reg = <0x0 0x80000000 0x4 0x00000000>; reg = <0x0 0x80000000 0x4 0x00000000>;
}; };
soc {
};
hfclk: hfclk { hfclk: hfclk {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "fixed-clock"; compatible = "fixed-clock";
...@@ -211,7 +206,7 @@ vdd_ldo11: ldo11 { ...@@ -211,7 +206,7 @@ vdd_ldo11: ldo11 {
&qspi0 { &qspi0 {
status = "okay"; status = "okay";
flash@0 { flash@0 {
compatible = "issi,is25wp256", "jedec,spi-nor"; compatible = "jedec,spi-nor";
reg = <0>; reg = <0>;
spi-max-frequency = <50000000>; spi-max-frequency = <50000000>;
m25p,fast-read; m25p,fast-read;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment