Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions arch/riscv/dts/eic7700-hifive-premier-p550.dts
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,12 @@
&uart0 {
status = "okay";
};
/delete-node/ &d1_pmp;
/delete-node/ &d1_mbox_srvc;
/delete-node/ &d1_mbox;
/delete-node/ &d1_mbox_srvc1;
/delete-node/ &d1_mbox1;
/delete-node/ &plic1;

&bootspi {
status = "okay";
Expand Down
19 changes: 17 additions & 2 deletions arch/riscv/dts/eic770x.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
cpus {
#address-cells = <1>;
#size-cells = <0>;
timebase-frequency = <1000000>;
cpu0: cpu@0 {
clock-frequency = <0>;
compatible = "eic7700", "riscv";
Expand Down Expand Up @@ -495,6 +496,16 @@
};
#endif
};
clint: timer@2000000 {
compatible = "eswin,eic7700-clint", "sifive,clint0";
reg = <0x0 0x02000000 0x0 0x10000>;
interrupts-extended =
<&cpu0_intc 3>, <&cpu0_intc 7>,
<&cpu1_intc 3>, <&cpu1_intc 7>,
<&cpu2_intc 3>, <&cpu2_intc 7>,
<&cpu3_intc 3>, <&cpu3_intc 7>;
};

plic0: interrupt-controller@c000000 {
status = "disabled";
#interrupt-cells = <1>;
Expand Down Expand Up @@ -594,15 +605,19 @@
};
uart0: serial@50900000 {
status = "disabled";
compatible = "synopsys,uart0";
compatible = "snps,dw-apb-uart";
clock-frequency = <200000000>;
reg-io-width = <4>;
reg-shift = <2>;
reg = <0x0 0x50900000 0x0 0xffff>;
reg-names = "control";
};
uart1: serial@50910000 {
status = "disabled";
compatible = "synopsys,uart0";
compatible = "snps,dw-apb-uart";
clock-frequency = <200000000>;
reg-io-width = <4>;
reg-shift = <2>;
reg = <0x0 0x50910000 0x0 0xffff>;
reg-names = "control";
};
Expand Down
2 changes: 1 addition & 1 deletion configs/hifive_premier_p550_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ CONFIG_PCIE_DW_ESWIN=y
CONFIG_PINCTRL=y
CONFIG_PINCONF=y
CONFIG_RESET_ESWIN=y
CONFIG_ESWIN_UART_SYNOPSYS=y
CONFIG_SYS_NS16550=y
CONFIG_SPI=y
CONFIG_DESIGNWARE_SPI=y
CONFIG_ESWIN_SPI=y
Expand Down