6 compatible = "andestech,ax25";
7 model = "andestech,ax25";
15 bootargs = "console=ttyS0,38400n8 debug loglevel=7";
16 stdout-path = "uart0:38400n8";
22 timebase-frequency = <60000000>;
28 riscv,isa = "rv64imafdc";
29 riscv,priv-major = <1>;
30 riscv,priv-minor = <10>;
31 mmu-type = "riscv,sv39";
32 clock-frequency = <60000000>;
33 i-cache-size = <0x8000>;
34 i-cache-line-size = <32>;
35 d-cache-size = <0x8000>;
36 d-cache-line-size = <32>;
37 next-level-cache = <&L2>;
38 CPU0_intc: interrupt-controller {
39 #interrupt-cells = <1>;
41 compatible = "riscv,cpu-intc";
49 riscv,isa = "rv64imafdc";
50 riscv,priv-major = <1>;
51 riscv,priv-minor = <10>;
52 mmu-type = "riscv,sv39";
53 clock-frequency = <60000000>;
54 i-cache-size = <0x8000>;
55 i-cache-line-size = <32>;
56 d-cache-size = <0x8000>;
57 d-cache-line-size = <32>;
58 next-level-cache = <&L2>;
59 CPU1_intc: interrupt-controller {
60 #interrupt-cells = <1>;
62 compatible = "riscv,cpu-intc";
70 riscv,isa = "rv64imafdc";
71 riscv,priv-major = <1>;
72 riscv,priv-minor = <10>;
73 mmu-type = "riscv,sv39";
74 clock-frequency = <60000000>;
75 i-cache-size = <0x8000>;
76 i-cache-line-size = <32>;
77 d-cache-size = <0x8000>;
78 d-cache-line-size = <32>;
79 next-level-cache = <&L2>;
80 CPU2_intc: interrupt-controller {
81 #interrupt-cells = <1>;
83 compatible = "riscv,cpu-intc";
91 riscv,isa = "rv64imafdc";
92 riscv,priv-major = <1>;
93 riscv,priv-minor = <10>;
94 mmu-type = "riscv,sv39";
95 clock-frequency = <60000000>;
96 i-cache-size = <0x8000>;
97 i-cache-line-size = <32>;
98 d-cache-size = <0x8000>;
99 d-cache-line-size = <32>;
100 next-level-cache = <&L2>;
101 CPU3_intc: interrupt-controller {
102 #interrupt-cells = <1>;
103 interrupt-controller;
104 compatible = "riscv,cpu-intc";
109 L2: l2-cache@e0500000 {
110 compatible = "v5l2cache";
112 cache-size = <0x40000>;
113 reg = <0x0 0xe0500000 0x0 0x40000>;
114 andes,inst-prefetch = <3>;
115 andes,data-prefetch = <3>;
116 /* The value format is <XRAMOCTL XRAMICTL> */
117 andes,tag-ram-ctl = <0 0>;
118 andes,data-ram-ctl = <0 0>;
122 device_type = "memory";
123 reg = <0x0 0x00000000 0x0 0x40000000>;
127 #address-cells = <2>;
129 compatible = "simple-bus";
132 plic0: interrupt-controller@e4000000 {
133 compatible = "riscv,plic0";
134 #address-cells = <2>;
135 #interrupt-cells = <2>;
136 interrupt-controller;
137 reg = <0x0 0xe4000000 0x0 0x2000000>;
139 interrupts-extended = <&CPU0_intc 11 &CPU0_intc 9
140 &CPU1_intc 11 &CPU1_intc 9
141 &CPU2_intc 11 &CPU2_intc 9
142 &CPU3_intc 11 &CPU3_intc 9>;
145 plic1: interrupt-controller@e6400000 {
146 compatible = "riscv,plic1";
147 #address-cells = <2>;
148 #interrupt-cells = <2>;
149 interrupt-controller;
150 reg = <0x0 0xe6400000 0x0 0x400000>;
152 interrupts-extended = <&CPU0_intc 3
159 compatible = "riscv,plmt0";
160 interrupts-extended = <&CPU0_intc 7
164 reg = <0x0 0xe6000000 0x0 0x100000>;
168 spiclk: virt_100mhz {
170 compatible = "fixed-clock";
171 clock-frequency = <100000000>;
174 timer0: timer@f0400000 {
175 compatible = "andestech,atcpit100";
176 reg = <0x0 0xf0400000 0x0 0x1000>;
177 clock-frequency = <60000000>;
179 interrupt-parent = <&plic0>;
182 serial0: serial@f0300000 {
183 compatible = "andestech,uart16550", "ns16550a";
184 reg = <0x0 0xf0300000 0x0 0x1000>;
186 clock-frequency = <19660800>;
189 no-loopback-test = <1>;
190 interrupt-parent = <&plic0>;
194 compatible = "andestech,atmac100";
195 reg = <0x0 0xe0100000 0x0 0x1000>;
197 interrupt-parent = <&plic0>;
201 compatible = "andestech,atfsdc010";
202 max-frequency = <100000000>;
203 clock-freq-min-max = <400000 100000000>;
205 reg = <0x0 0xf0e00000 0x0 0x1000>;
208 interrupt-parent = <&plic0>;
212 compatible = "andestech,atcdmac300";
213 reg = <0x0 0xf0c00000 0x0 0x1000>;
214 interrupts = <10 4 64 4 65 4 66 4 67 4 68 4 69 4 70 4 71 4>;
216 interrupt-parent = <&plic0>;
220 compatible = "andestech,atflcdc100";
221 reg = <0x0 0xe0200000 0x0 0x1000>;
223 interrupt-parent = <&plic0>;
227 compatible = "andestech,atfsmc020";
228 reg = <0x0 0xe0400000 0x0 0x1000>;
232 compatible = "andestech,atfac97";
233 reg = <0x0 0xf0d00000 0x0 0x1000>;
235 interrupt-parent = <&plic0>;
239 compatible = "riscv,base-pmu";
242 virtio_mmio@fe007000 {
243 interrupts = <0x17 0x4>;
244 interrupt-parent = <0x2>;
245 reg = <0x0 0xfe007000 0x0 0x1000>;
246 compatible = "virtio,mmio";
249 virtio_mmio@fe006000 {
250 interrupts = <0x16 0x4>;
251 interrupt-parent = <0x2>;
252 reg = <0x0 0xfe006000 0x0 0x1000>;
253 compatible = "virtio,mmio";
256 virtio_mmio@fe005000 {
257 interrupts = <0x15 0x4>;
258 interrupt-parent = <0x2>;
259 reg = <0x0 0xfe005000 0x0 0x1000>;
260 compatible = "virtio,mmio";
263 virtio_mmio@fe004000 {
264 interrupts = <0x14 0x4>;
265 interrupt-parent = <0x2>;
266 reg = <0x0 0xfe004000 0x0 0x1000>;
267 compatible = "virtio,mmio";
270 virtio_mmio@fe003000 {
271 interrupts = <0x13 0x4>;
272 interrupt-parent = <0x2>;
273 reg = <0x0 0xfe003000 0x0 0x1000>;
274 compatible = "virtio,mmio";
277 virtio_mmio@fe002000 {
278 interrupts = <0x12 0x4>;
279 interrupt-parent = <0x2>;
280 reg = <0x0 0xfe002000 0x0 0x1000>;
281 compatible = "virtio,mmio";
284 virtio_mmio@fe001000 {
285 interrupts = <0x11 0x4>;
286 interrupt-parent = <0x2>;
287 reg = <0x0 0xfe001000 0x0 0x1000>;
288 compatible = "virtio,mmio";
291 virtio_mmio@fe000000 {
292 interrupts = <0x10 0x4>;
293 interrupt-parent = <0x2>;
294 reg = <0x0 0xfe000000 0x0 0x1000>;
295 compatible = "virtio,mmio";
299 #address-cells = <2>;
301 compatible = "cfi-flash";
302 reg = <0x0 0x88000000 0x0 0x4000000>;
308 compatible = "andestech,atcspi200";
309 reg = <0x0 0xf0b00000 0x0 0x1000>;
310 #address-cells = <1>;
315 interrupt-parent = <&plic0>;
317 compatible = "jedec,spi-nor";
318 spi-max-frequency = <50000000>;