zephyr/dts/riscv/microsemi-miv.dtsi
Kumar Gala 3d4fa57541 dts: riscv: Remove device_type = "memory" from SRAM nodes
The true mmio-sram nodes should not have had a 'device_type' property.
Remove it from the cases that we clearly know are SRAM.

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2019-08-06 08:59:22 -04:00

67 lines
1.3 KiB
Plaintext

/*
* Copyright (c) 2018 Linaro Limited
*
* SPDX-License-Identifier: Apache-2.0
*/
/ {
#address-cells = <1>;
#size-cells = <1>;
cpus {
#address-cells = <1>;
#size-cells = <0>;
cpu@0 {
clock-frequency = <0>;
compatible = "microsemi,miv", "riscv";
device_type = "cpu";
reg = <0>;
riscv,isa = "rv32imac";
hlic: interrupt-controller {
#interrupt-cells = <1>;
compatible = "riscv,cpu-intc";
interrupt-controller;
};
};
};
soc {
#address-cells = <1>;
#size-cells = <1>;
compatible = "microsemi,miv-soc", "simple-bus";
ranges;
flash0: flash@80000000 {
compatible = "soc-nv-flash";
reg = <0x80000000 0x40000>;
};
sram0: memory@80040000 {
compatible = "mmio-sram";
reg = <0x80040000 0x40000>;
};
plic: interrupt-controller@40000000 {
#interrupt-cells = <1>;
compatible = "sifive,plic-1.0.0";
interrupt-controller;
interrupts-extended = <&hlic 11>;
reg = <0x40000000 0x2000
0x40002000 0x1fe000
0x40200000 0x2000000>;
reg-names = "prio", "irq_en", "reg";
riscv,max-priority = <1>;
riscv,ndev = <31>;
};
uart0: uart@70001000 {
compatible = "microsemi,coreuart";
reg = <0x70001000 0x1000>;
label = "uart_0";
status = "disabled";
current-speed = <0>;
clock-frequency = <0>;
};
};
};