mirror of
https://github.com/openhwgroup/cvw
synced 2025-01-24 05:24:49 +00:00
b3aaa87cba
Since writing an SD card image generation script, the bootloader needed to be altered to access individual binaries from specific partitions. A new file, gpt.c with it's header gpt.h, have been added to the bootloader to facilitate this. The SDC has been added to the device tree for the VCU108 board. Additionally the SDC interrupt signal was added to the PLIC node in the device tree. The PLIC itself was modified to accept the SDC interrupt signal.
91 lines
1.8 KiB
Plaintext
91 lines
1.8 KiB
Plaintext
/dts-v1/;
|
|
|
|
/ {
|
|
#address-cells = <0x02>;
|
|
#size-cells = <0x02>;
|
|
compatible = "wally-virt";
|
|
model = "wally-virt,qemu";
|
|
|
|
chosen {
|
|
linux,initrd-end = <0x85c43a00>;
|
|
linux,initrd-start = <0x84200000>;
|
|
bootargs = "root=/dev/vda ro";
|
|
stdout-path = "/soc/uart@10000000";
|
|
};
|
|
|
|
memory@80000000 {
|
|
device_type = "memory";
|
|
reg = <0x00 0x80000000 0x00 0x08000000>;
|
|
};
|
|
|
|
cpus {
|
|
#address-cells = <0x01>;
|
|
#size-cells = <0x00>;
|
|
clock-frequency = <0x14FB180>;
|
|
timebase-frequency = <0x14FB180>;
|
|
|
|
cpu@0 {
|
|
phandle = <0x01>;
|
|
device_type = "cpu";
|
|
reg = <0x00>;
|
|
status = "okay";
|
|
compatible = "riscv";
|
|
riscv,isa = "rv64imafdcsu";
|
|
mmu-type = "riscv,sv48";
|
|
|
|
interrupt-controller {
|
|
#interrupt-cells = <0x01>;
|
|
interrupt-controller;
|
|
compatible = "riscv,cpu-intc";
|
|
phandle = <0x02>;
|
|
};
|
|
};
|
|
};
|
|
|
|
soc {
|
|
#address-cells = <0x02>;
|
|
#size-cells = <0x02>;
|
|
compatible = "simple-bus";
|
|
ranges;
|
|
|
|
uart@10000000 {
|
|
interrupts = <0x0a>;
|
|
interrupt-parent = <0x03>;
|
|
clock-frequency = <0x14FB180>;
|
|
reg = <0x00 0x10000000 0x00 0x100>;
|
|
compatible = "ns16550a";
|
|
};
|
|
|
|
plic@c000000 {
|
|
phandle = <0x03>;
|
|
riscv,ndev = <0x35>;
|
|
reg = <0x00 0xc000000 0x00 0x210000>;
|
|
interrupts-extended = <0x02 0x0b 0x02 0x09>;
|
|
interrupt-controller;
|
|
compatible = "sifive,plic-1.0.0\0riscv,plic0";
|
|
#interrupt-cells = <0x01>;
|
|
#address-cells = <0x00>;
|
|
};
|
|
|
|
mmc@13000 {
|
|
interrupts = <0x14>;
|
|
compatible = "riscv,axi-sd-card-1.0";
|
|
reg = <0x00 0x13000 0x00 0x7F>;
|
|
fifo-depth = <256>;
|
|
bus-width = <4>;
|
|
interrupt-parent = <0x03>;
|
|
clock = <0x14FB180>;
|
|
max-frequency = <0xA7D8C0>;
|
|
cap-sd-highspeed;
|
|
cap-mmc-highspeed;
|
|
no-sdio;
|
|
};
|
|
|
|
clint@2000000 {
|
|
interrupts-extended = <0x02 0x03 0x02 0x07>;
|
|
reg = <0x00 0x2000000 0x00 0x10000>;
|
|
compatible = "sifive,clint0\0riscv,clint0";
|
|
};
|
|
};
|
|
};
|