blob: 4d65d338ecb6edaab2a3481642dbd487c37fd608 [file] [log] [blame]
Michal Simekb0ff1ae2024-11-01 10:50:45 +01001// SPDX-License-Identifier: GPL-2.0
2/*
3 * dts file for AMD MicroBlaze V
4 *
5 * (C) Copyright 2023 - 2024, Advanced Micro Devices, Inc.
6 *
7 * Michal Simek <michal.simek@amd.com>
8 */
9
10/dts-v1/;
11
12#include "binman.dtsi"
13
14/ {
15 #address-cells = <2>;
16 #size-cells = <2>;
17 model = "AMD MicroBlaze V 64bit";
18 compatible = "qemu,mbv", "amd,mbv";
19
20 cpus: cpus {
21 #address-cells = <1>;
22 #size-cells = <0>;
23 timebase-frequency = <100000000>;
24 cpu_0: cpu@0 {
25 compatible = "amd,mbv64", "riscv";
26 device_type = "cpu";
27 reg = <0>;
28 riscv,isa = "rv64imafdc";
29 i-cache-size = <32768>;
30 d-cache-size = <32768>;
31 clock-frequency = <100000000>;
32 cpu0_intc: interrupt-controller {
33 compatible = "riscv,cpu-intc";
34 interrupt-controller;
35 #interrupt-cells = <1>;
36 };
37 };
38 };
39
40 aliases {
41 serial0 = &uart0;
42 };
43
44 chosen {
45 bootargs = "earlycon";
46 stdout-path = "serial0:115200n8";
47 };
48
49 memory@80000000 {
50 device_type = "memory";
51 reg = <0 0x80000000 0 0x40000000>;
52 };
53
54 clk100: clock {
55 compatible = "fixed-clock";
56 #clock-cells = <0>;
57 clock-frequency = <100000000>;
58 };
59
60 axi: axi {
61 #address-cells = <2>;
62 #size-cells = <2>;
63 compatible = "simple-bus";
64 ranges;
65 bootph-all;
66
67 axi_intc: interrupt-controller@41200000 {
68 compatible = "xlnx,xps-intc-1.00.a";
69 reg = <0 0x41200000 0 0x1000>;
70 interrupt-controller;
71 interrupt-parent = <&cpu0_intc>;
72 #interrupt-cells = <2>;
73 kind-of-intr = <0>;
74 };
75
76 xlnx_timer0: timer@41c00000 {
77 compatible = "xlnx,xps-timer-1.00.a";
78 reg = <0 0x41c00000 0 0x1000>;
79 interrupt-parent = <&axi_intc>;
80 interrupts = <0 2>;
81 bootph-all;
82 xlnx,one-timer-only = <0>;
83 clock-names = "s_axi_aclk";
84 clocks = <&clk100>;
85 };
86
87 uart0: serial@40600000 {
88 compatible = "xlnx,xps-uartlite-1.00.a";
89 reg = <0 0x40600000 0 0x1000>;
90 interrupt-parent = <&axi_intc>;
91 interrupts = <1 2>;
92 bootph-all;
93 clocks = <&clk100>;
94 current-speed = <115200>;
95 xlnx,data-bits = <8>;
96 xlnx,use-parity = <0>;
97 };
98 };
99};