@ -9,7 +9,7 @@
aliases {
aliases {
uart0 = &serial0;
uart0 = &serial0;
spi0 = &spi;
spi0 = &spi;
} ;
};
chosen {
chosen {
bootargs = "console=ttyS0,38400n8 earlyprintk=uart8250-32bit,0xf0300000 debug loglevel=7";
bootargs = "console=ttyS0,38400n8 earlyprintk=uart8250-32bit,0xf0300000 debug loglevel=7";
@ -20,6 +20,7 @@
#address-cells = <1>;
#address-cells = <1>;
#size-cells = <0>;
#size-cells = <0>;
timebase-frequency = <10000000>;
timebase-frequency = <10000000>;
CPU0: cpu@0 {
CPU0: cpu@0 {
device_type = "cpu";
device_type = "cpu";
reg = <0>;
reg = <0>;
@ -28,6 +29,7 @@
riscv,isa = "rv64imafdc";
riscv,isa = "rv64imafdc";
mmu-type = "riscv,sv39";
mmu-type = "riscv,sv39";
clock-frequency = <60000000>;
clock-frequency = <60000000>;
CPU0_intc: interrupt-controller {
CPU0_intc: interrupt-controller {
#interrupt-cells = <1>;
#interrupt-cells = <1>;
interrupt-controller;
interrupt-controller;
@ -138,6 +140,7 @@
clocks = <&spiclk>;
clocks = <&spiclk>;
interrupts = <3 4>;
interrupts = <3 4>;
interrupt-parent = <&plic0>;
interrupt-parent = <&plic0>;
flash@0 {
flash@0 {
compatible = "spi-flash";
compatible = "spi-flash";
spi-max-frequency = <50000000>;
spi-max-frequency = <50000000>;