xref: /openbmc/qemu/pc-bios/dtb/petalogix-s3adsp1800.dts (revision 06b40d250ecfa1633209c2e431a7a38acfd03a98)
1*12963e79SBALATON Zoltan/*
2*12963e79SBALATON Zoltan * Copyright (c) 2020 Xilinx Inc.
3*12963e79SBALATON Zoltan * Written by Edgar E. Iglesias <edgar.iglesias@xilinx.com>.
4*12963e79SBALATON Zoltan *
5*12963e79SBALATON Zoltan * SPDX-License-Identifier:     GPL-2.0+
6*12963e79SBALATON Zoltan */
7*12963e79SBALATON Zoltan
8*12963e79SBALATON Zoltan/dts-v1/;
9*12963e79SBALATON Zoltan
10*12963e79SBALATON Zoltan/ {
11*12963e79SBALATON Zoltan	#address-cells = <0x01>;
12*12963e79SBALATON Zoltan	#size-cells = <0x01>;
13*12963e79SBALATON Zoltan	compatible = "xlnx,microblaze";
14*12963e79SBALATON Zoltan	model = "testing";
15*12963e79SBALATON Zoltan
16*12963e79SBALATON Zoltan	memory@90000000 {
17*12963e79SBALATON Zoltan		device_type = "memory";
18*12963e79SBALATON Zoltan		reg = <0x90000000 0x8000000>;
19*12963e79SBALATON Zoltan	};
20*12963e79SBALATON Zoltan
21*12963e79SBALATON Zoltan	chosen {
22*12963e79SBALATON Zoltan		bootargs = "console=ttyUL0,115200";
23*12963e79SBALATON Zoltan		stdout-path = "/plb/serial@84000000";
24*12963e79SBALATON Zoltan	};
25*12963e79SBALATON Zoltan
26*12963e79SBALATON Zoltan	cpus {
27*12963e79SBALATON Zoltan		#address-cells = <0x01>;
28*12963e79SBALATON Zoltan		#size-cells = <0x00>;
29*12963e79SBALATON Zoltan		#cpus = <0x01>;
30*12963e79SBALATON Zoltan
31*12963e79SBALATON Zoltan		cpu@0 {
32*12963e79SBALATON Zoltan			clock-frequency = <0x3b9aca0>;
33*12963e79SBALATON Zoltan			compatible = "xlnx,microblaze-7.10.d";
34*12963e79SBALATON Zoltan			d-cache-baseaddr = <0x90000000>;
35*12963e79SBALATON Zoltan			d-cache-highaddr = <0x97ffffff>;
36*12963e79SBALATON Zoltan			d-cache-line-size = <0x10>;
37*12963e79SBALATON Zoltan			d-cache-size = <0x800>;
38*12963e79SBALATON Zoltan			device_type = "cpu";
39*12963e79SBALATON Zoltan			i-cache-baseaddr = <0x90000000>;
40*12963e79SBALATON Zoltan			i-cache-highaddr = <0x97ffffff>;
41*12963e79SBALATON Zoltan			i-cache-line-size = <0x10>;
42*12963e79SBALATON Zoltan			i-cache-size = <0x800>;
43*12963e79SBALATON Zoltan			model = "microblaze,7.10.d";
44*12963e79SBALATON Zoltan			reg = <0x00>;
45*12963e79SBALATON Zoltan			timebase-frequency = <0x3b9aca0>;
46*12963e79SBALATON Zoltan			xlnx,addr-tag-bits = <0x10>;
47*12963e79SBALATON Zoltan			xlnx,allow-dcache-wr = <0x01>;
48*12963e79SBALATON Zoltan			xlnx,allow-icache-wr = <0x01>;
49*12963e79SBALATON Zoltan			xlnx,area-optimized = <0x00>;
50*12963e79SBALATON Zoltan			xlnx,cache-byte-size = <0x800>;
51*12963e79SBALATON Zoltan			xlnx,d-lmb = <0x01>;
52*12963e79SBALATON Zoltan			xlnx,d-opb = <0x00>;
53*12963e79SBALATON Zoltan			xlnx,d-plb = <0x01>;
54*12963e79SBALATON Zoltan			xlnx,data-size = <0x20>;
55*12963e79SBALATON Zoltan			xlnx,dcache-addr-tag = <0x10>;
56*12963e79SBALATON Zoltan			xlnx,dcache-always-used = <0x00>;
57*12963e79SBALATON Zoltan			xlnx,dcache-byte-size = <0x800>;
58*12963e79SBALATON Zoltan			xlnx,dcache-line-len = <0x04>;
59*12963e79SBALATON Zoltan			xlnx,dcache-use-fsl = <0x01>;
60*12963e79SBALATON Zoltan			xlnx,debug-enabled = <0x01>;
61*12963e79SBALATON Zoltan			xlnx,div-zero-exception = <0x00>;
62*12963e79SBALATON Zoltan			xlnx,dopb-bus-exception = <0x00>;
63*12963e79SBALATON Zoltan			xlnx,dynamic-bus-sizing = <0x01>;
64*12963e79SBALATON Zoltan			xlnx,edge-is-positive = <0x01>;
65*12963e79SBALATON Zoltan			xlnx,family = "spartan3adsp";
66*12963e79SBALATON Zoltan			xlnx,fpu-exception = <0x00>;
67*12963e79SBALATON Zoltan			xlnx,fsl-data-size = <0x20>;
68*12963e79SBALATON Zoltan			xlnx,fsl-exception = <0x00>;
69*12963e79SBALATON Zoltan			xlnx,fsl-links = <0x00>;
70*12963e79SBALATON Zoltan			xlnx,i-lmb = <0x01>;
71*12963e79SBALATON Zoltan			xlnx,i-opb = <0x00>;
72*12963e79SBALATON Zoltan			xlnx,i-plb = <0x01>;
73*12963e79SBALATON Zoltan			xlnx,icache-always-used = <0x00>;
74*12963e79SBALATON Zoltan			xlnx,icache-line-len = <0x04>;
75*12963e79SBALATON Zoltan			xlnx,icache-use-fsl = <0x01>;
76*12963e79SBALATON Zoltan			xlnx,ill-opcode-exception = <0x00>;
77*12963e79SBALATON Zoltan			xlnx,instance = "microblaze_0";
78*12963e79SBALATON Zoltan			xlnx,interconnect = <0x01>;
79*12963e79SBALATON Zoltan			xlnx,interrupt-is-edge = <0x00>;
80*12963e79SBALATON Zoltan			xlnx,iopb-bus-exception = <0x00>;
81*12963e79SBALATON Zoltan			xlnx,mmu-dtlb-size = <0x04>;
82*12963e79SBALATON Zoltan			xlnx,mmu-itlb-size = <0x02>;
83*12963e79SBALATON Zoltan			xlnx,mmu-tlb-access = <0x03>;
84*12963e79SBALATON Zoltan			xlnx,mmu-zones = <0x10>;
85*12963e79SBALATON Zoltan			xlnx,number-of-pc-brk = <0x03>;
86*12963e79SBALATON Zoltan			xlnx,number-of-rd-addr-brk = <0x02>;
87*12963e79SBALATON Zoltan			xlnx,number-of-wr-addr-brk = <0x02>;
88*12963e79SBALATON Zoltan			xlnx,opcode-0x0-illegal = <0x00>;
89*12963e79SBALATON Zoltan			xlnx,pvr = <0x01>;
90*12963e79SBALATON Zoltan			xlnx,pvr-user1 = <0x00>;
91*12963e79SBALATON Zoltan			xlnx,pvr-user2 = <0x00>;
92*12963e79SBALATON Zoltan			xlnx,reset-msr = <0x00>;
93*12963e79SBALATON Zoltan			xlnx,sco = <0x00>;
94*12963e79SBALATON Zoltan			xlnx,unaligned-exceptions = <0x01>;
95*12963e79SBALATON Zoltan			xlnx,use-barrel = <0x01>;
96*12963e79SBALATON Zoltan			xlnx,use-dcache = <0x01>;
97*12963e79SBALATON Zoltan			xlnx,use-div = <0x00>;
98*12963e79SBALATON Zoltan			xlnx,use-ext-brk = <0x01>;
99*12963e79SBALATON Zoltan			xlnx,use-ext-nm-brk = <0x01>;
100*12963e79SBALATON Zoltan			xlnx,use-extended-fsl-instr = <0x00>;
101*12963e79SBALATON Zoltan			xlnx,use-fpu = <0x00>;
102*12963e79SBALATON Zoltan			xlnx,use-hw-mul = <0x01>;
103*12963e79SBALATON Zoltan			xlnx,use-icache = <0x01>;
104*12963e79SBALATON Zoltan			xlnx,use-interrupt = <0x01>;
105*12963e79SBALATON Zoltan			xlnx,use-mmu = <0x03>;
106*12963e79SBALATON Zoltan			xlnx,use-msr-instr = <0x01>;
107*12963e79SBALATON Zoltan			xlnx,use-pcmp-instr = <0x01>;
108*12963e79SBALATON Zoltan		};
109*12963e79SBALATON Zoltan	};
110*12963e79SBALATON Zoltan
111*12963e79SBALATON Zoltan	plb {
112*12963e79SBALATON Zoltan		#address-cells = <0x01>;
113*12963e79SBALATON Zoltan		#size-cells = <0x01>;
114*12963e79SBALATON Zoltan		compatible = "xlnx,plb-v46-1.03.a\0simple-bus";
115*12963e79SBALATON Zoltan		ranges;
116*12963e79SBALATON Zoltan
117*12963e79SBALATON Zoltan		ethernet@81000000 {
118*12963e79SBALATON Zoltan			compatible = "xlnx,xps-ethernetlite-2.00.a";
119*12963e79SBALATON Zoltan			device_type = "network";
120*12963e79SBALATON Zoltan			interrupt-parent = <0x01>;
121*12963e79SBALATON Zoltan			interrupts = <0x01 0x00>;
122*12963e79SBALATON Zoltan			local-mac-address = [02 00 00 00 00 00];
123*12963e79SBALATON Zoltan			reg = <0x81000000 0x10000>;
124*12963e79SBALATON Zoltan			xlnx,duplex = <0x01>;
125*12963e79SBALATON Zoltan			xlnx,family = "spartan3adsp";
126*12963e79SBALATON Zoltan			xlnx,rx-ping-pong = <0x00>;
127*12963e79SBALATON Zoltan			xlnx,tx-ping-pong = <0x00>;
128*12963e79SBALATON Zoltan		};
129*12963e79SBALATON Zoltan
130*12963e79SBALATON Zoltan		flash@a0000000 {
131*12963e79SBALATON Zoltan			bank-width = <0x01>;
132*12963e79SBALATON Zoltan			compatible = "xlnx,xps-mch-emc-2.00.a\0cfi-flash";
133*12963e79SBALATON Zoltan			reg = <0xa0000000 0x1000000>;
134*12963e79SBALATON Zoltan			xlnx,family = "spartan3adsp";
135*12963e79SBALATON Zoltan			xlnx,include-datawidth-matching-0 = <0x01>;
136*12963e79SBALATON Zoltan			xlnx,include-datawidth-matching-1 = <0x00>;
137*12963e79SBALATON Zoltan			xlnx,include-datawidth-matching-2 = <0x00>;
138*12963e79SBALATON Zoltan			xlnx,include-datawidth-matching-3 = <0x00>;
139*12963e79SBALATON Zoltan			xlnx,include-negedge-ioregs = <0x00>;
140*12963e79SBALATON Zoltan			xlnx,include-plb-ipif = <0x01>;
141*12963e79SBALATON Zoltan			xlnx,include-wrbuf = <0x01>;
142*12963e79SBALATON Zoltan			xlnx,max-mem-width = <0x08>;
143*12963e79SBALATON Zoltan			xlnx,mch-native-dwidth = <0x20>;
144*12963e79SBALATON Zoltan			xlnx,mch-plb-clk-period-ps = <0x3e80>;
145*12963e79SBALATON Zoltan			xlnx,mch-splb-awidth = <0x20>;
146*12963e79SBALATON Zoltan			xlnx,mch0-accessbuf-depth = <0x10>;
147*12963e79SBALATON Zoltan			xlnx,mch0-protocol = <0x00>;
148*12963e79SBALATON Zoltan			xlnx,mch0-rddatabuf-depth = <0x10>;
149*12963e79SBALATON Zoltan			xlnx,mch1-accessbuf-depth = <0x10>;
150*12963e79SBALATON Zoltan			xlnx,mch1-protocol = <0x00>;
151*12963e79SBALATON Zoltan			xlnx,mch1-rddatabuf-depth = <0x10>;
152*12963e79SBALATON Zoltan			xlnx,mch2-accessbuf-depth = <0x10>;
153*12963e79SBALATON Zoltan			xlnx,mch2-protocol = <0x00>;
154*12963e79SBALATON Zoltan			xlnx,mch2-rddatabuf-depth = <0x10>;
155*12963e79SBALATON Zoltan			xlnx,mch3-accessbuf-depth = <0x10>;
156*12963e79SBALATON Zoltan			xlnx,mch3-protocol = <0x00>;
157*12963e79SBALATON Zoltan			xlnx,mch3-rddatabuf-depth = <0x10>;
158*12963e79SBALATON Zoltan			xlnx,mem0-width = <0x08>;
159*12963e79SBALATON Zoltan			xlnx,mem1-width = <0x20>;
160*12963e79SBALATON Zoltan			xlnx,mem2-width = <0x20>;
161*12963e79SBALATON Zoltan			xlnx,mem3-width = <0x20>;
162*12963e79SBALATON Zoltan			xlnx,num-banks-mem = <0x01>;
163*12963e79SBALATON Zoltan			xlnx,num-channels = <0x00>;
164*12963e79SBALATON Zoltan			xlnx,priority-mode = <0x00>;
165*12963e79SBALATON Zoltan			xlnx,synch-mem-0 = <0x00>;
166*12963e79SBALATON Zoltan			xlnx,synch-mem-1 = <0x00>;
167*12963e79SBALATON Zoltan			xlnx,synch-mem-2 = <0x00>;
168*12963e79SBALATON Zoltan			xlnx,synch-mem-3 = <0x00>;
169*12963e79SBALATON Zoltan			xlnx,synch-pipedelay-0 = <0x02>;
170*12963e79SBALATON Zoltan			xlnx,synch-pipedelay-1 = <0x02>;
171*12963e79SBALATON Zoltan			xlnx,synch-pipedelay-2 = <0x02>;
172*12963e79SBALATON Zoltan			xlnx,synch-pipedelay-3 = <0x02>;
173*12963e79SBALATON Zoltan			xlnx,tavdv-ps-mem-0 = <0x11170>;
174*12963e79SBALATON Zoltan			xlnx,tavdv-ps-mem-1 = <0x3a98>;
175*12963e79SBALATON Zoltan			xlnx,tavdv-ps-mem-2 = <0x3a98>;
176*12963e79SBALATON Zoltan			xlnx,tavdv-ps-mem-3 = <0x3a98>;
177*12963e79SBALATON Zoltan			xlnx,tcedv-ps-mem-0 = <0x11170>;
178*12963e79SBALATON Zoltan			xlnx,tcedv-ps-mem-1 = <0x3a98>;
179*12963e79SBALATON Zoltan			xlnx,tcedv-ps-mem-2 = <0x3a98>;
180*12963e79SBALATON Zoltan			xlnx,tcedv-ps-mem-3 = <0x3a98>;
181*12963e79SBALATON Zoltan			xlnx,thzce-ps-mem-0 = <0x61a8>;
182*12963e79SBALATON Zoltan			xlnx,thzce-ps-mem-1 = <0x1b58>;
183*12963e79SBALATON Zoltan			xlnx,thzce-ps-mem-2 = <0x1b58>;
184*12963e79SBALATON Zoltan			xlnx,thzce-ps-mem-3 = <0x1b58>;
185*12963e79SBALATON Zoltan			xlnx,thzoe-ps-mem-0 = <0x61a8>;
186*12963e79SBALATON Zoltan			xlnx,thzoe-ps-mem-1 = <0x1b58>;
187*12963e79SBALATON Zoltan			xlnx,thzoe-ps-mem-2 = <0x1b58>;
188*12963e79SBALATON Zoltan			xlnx,thzoe-ps-mem-3 = <0x1b58>;
189*12963e79SBALATON Zoltan			xlnx,tlzwe-ps-mem-0 = <0x1388>;
190*12963e79SBALATON Zoltan			xlnx,tlzwe-ps-mem-1 = <0x00>;
191*12963e79SBALATON Zoltan			xlnx,tlzwe-ps-mem-2 = <0x00>;
192*12963e79SBALATON Zoltan			xlnx,tlzwe-ps-mem-3 = <0x00>;
193*12963e79SBALATON Zoltan			xlnx,twc-ps-mem-0 = <0x11170>;
194*12963e79SBALATON Zoltan			xlnx,twc-ps-mem-1 = <0x3a98>;
195*12963e79SBALATON Zoltan			xlnx,twc-ps-mem-2 = <0x3a98>;
196*12963e79SBALATON Zoltan			xlnx,twc-ps-mem-3 = <0x3a98>;
197*12963e79SBALATON Zoltan			xlnx,twp-ps-mem-0 = <0xafc8>;
198*12963e79SBALATON Zoltan			xlnx,twp-ps-mem-1 = <0x2ee0>;
199*12963e79SBALATON Zoltan			xlnx,twp-ps-mem-2 = <0x2ee0>;
200*12963e79SBALATON Zoltan			xlnx,twp-ps-mem-3 = <0x2ee0>;
201*12963e79SBALATON Zoltan			xlnx,xcl0-linesize = <0x04>;
202*12963e79SBALATON Zoltan			xlnx,xcl0-writexfer = <0x01>;
203*12963e79SBALATON Zoltan			xlnx,xcl1-linesize = <0x04>;
204*12963e79SBALATON Zoltan			xlnx,xcl1-writexfer = <0x01>;
205*12963e79SBALATON Zoltan			xlnx,xcl2-linesize = <0x04>;
206*12963e79SBALATON Zoltan			xlnx,xcl2-writexfer = <0x01>;
207*12963e79SBALATON Zoltan			xlnx,xcl3-linesize = <0x04>;
208*12963e79SBALATON Zoltan			xlnx,xcl3-writexfer = <0x01>;
209*12963e79SBALATON Zoltan		};
210*12963e79SBALATON Zoltan
211*12963e79SBALATON Zoltan		gpio@81400000 {
212*12963e79SBALATON Zoltan			compatible = "xlnx,xps-gpio-1.00.a";
213*12963e79SBALATON Zoltan			interrupt-parent = <0x01>;
214*12963e79SBALATON Zoltan			interrupts = <0x02 0x02>;
215*12963e79SBALATON Zoltan			reg = <0x81400000 0x10000>;
216*12963e79SBALATON Zoltan			xlnx,all-inputs = <0x00>;
217*12963e79SBALATON Zoltan			xlnx,all-inputs-2 = <0x00>;
218*12963e79SBALATON Zoltan			xlnx,dout-default = <0x00>;
219*12963e79SBALATON Zoltan			xlnx,dout-default-2 = <0x00>;
220*12963e79SBALATON Zoltan			xlnx,family = "spartan3adsp";
221*12963e79SBALATON Zoltan			xlnx,gpio-width = <0x08>;
222*12963e79SBALATON Zoltan			xlnx,interrupt-present = <0x01>;
223*12963e79SBALATON Zoltan			xlnx,is-bidir = <0x00>;
224*12963e79SBALATON Zoltan			xlnx,is-bidir-2 = <0x01>;
225*12963e79SBALATON Zoltan			xlnx,is-dual = <0x00>;
226*12963e79SBALATON Zoltan			xlnx,tri-default = <0xffffffff>;
227*12963e79SBALATON Zoltan			xlnx,tri-default-2 = <0xffffffff>;
228*12963e79SBALATON Zoltan		};
229*12963e79SBALATON Zoltan
230*12963e79SBALATON Zoltan		serial@84000000 {
231*12963e79SBALATON Zoltan			clock-frequency = <0x3b9aca0>;
232*12963e79SBALATON Zoltan			compatible = "xlnx,xps-uartlite-1.00.a";
233*12963e79SBALATON Zoltan			current-speed = <0x1c200>;
234*12963e79SBALATON Zoltan			device_type = "serial";
235*12963e79SBALATON Zoltan			interrupt-parent = <0x01>;
236*12963e79SBALATON Zoltan			interrupts = <0x03 0x00>;
237*12963e79SBALATON Zoltan			port-number = <0x00>;
238*12963e79SBALATON Zoltan			reg = <0x84000000 0x10000>;
239*12963e79SBALATON Zoltan			xlnx,baudrate = <0x1c200>;
240*12963e79SBALATON Zoltan			xlnx,data-bits = <0x08>;
241*12963e79SBALATON Zoltan			xlnx,family = "spartan3adsp";
242*12963e79SBALATON Zoltan			xlnx,odd-parity = <0x00>;
243*12963e79SBALATON Zoltan			xlnx,use-parity = <0x00>;
244*12963e79SBALATON Zoltan		};
245*12963e79SBALATON Zoltan
246*12963e79SBALATON Zoltan		debug@84400000 {
247*12963e79SBALATON Zoltan			compatible = "xlnx,mdm-1.00.d";
248*12963e79SBALATON Zoltan			reg = <0x84400000 0x10000>;
249*12963e79SBALATON Zoltan			xlnx,family = "spartan3adsp";
250*12963e79SBALATON Zoltan			xlnx,interconnect = <0x01>;
251*12963e79SBALATON Zoltan			xlnx,jtag-chain = <0x02>;
252*12963e79SBALATON Zoltan			xlnx,mb-dbg-ports = <0x01>;
253*12963e79SBALATON Zoltan			xlnx,uart-width = <0x08>;
254*12963e79SBALATON Zoltan			xlnx,use-uart = <0x01>;
255*12963e79SBALATON Zoltan			xlnx,write-fsl-ports = <0x00>;
256*12963e79SBALATON Zoltan		};
257*12963e79SBALATON Zoltan
258*12963e79SBALATON Zoltan		interrupt-controller@81800000 {
259*12963e79SBALATON Zoltan			#interrupt-cells = <0x02>;
260*12963e79SBALATON Zoltan			compatible = "xlnx,xps-intc-1.00.a";
261*12963e79SBALATON Zoltan			interrupt-controller;
262*12963e79SBALATON Zoltan			reg = <0x81800000 0x10000>;
263*12963e79SBALATON Zoltan			xlnx,kind-of-intr = <0x0a>;
264*12963e79SBALATON Zoltan			xlnx,num-intr-inputs = <0x04>;
265*12963e79SBALATON Zoltan			linux,phandle = <0x01>;
266*12963e79SBALATON Zoltan		};
267*12963e79SBALATON Zoltan
268*12963e79SBALATON Zoltan		timer@83c00000 {
269*12963e79SBALATON Zoltan			compatible = "xlnx,xps-timer-1.00.a";
270*12963e79SBALATON Zoltan			interrupt-parent = <0x01>;
271*12963e79SBALATON Zoltan			interrupts = <0x00 0x02>;
272*12963e79SBALATON Zoltan			reg = <0x83c00000 0x10000>;
273*12963e79SBALATON Zoltan			xlnx,count-width = <0x20>;
274*12963e79SBALATON Zoltan			xlnx,family = "spartan3adsp";
275*12963e79SBALATON Zoltan			xlnx,gen0-assert = <0x01>;
276*12963e79SBALATON Zoltan			xlnx,gen1-assert = <0x01>;
277*12963e79SBALATON Zoltan			xlnx,one-timer-only = <0x00>;
278*12963e79SBALATON Zoltan			xlnx,trig0-assert = <0x01>;
279*12963e79SBALATON Zoltan			xlnx,trig1-assert = <0x01>;
280*12963e79SBALATON Zoltan		};
281*12963e79SBALATON Zoltan	};
282*12963e79SBALATON Zoltan};
283