xref: /freebsd-src/sys/contrib/device-tree/src/arm/ti/omap/omap2.dtsi (revision f126890ac5386406dadf7c4cfa9566cbb56537c5)
1*f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0-only
2*f126890aSEmmanuel Vadot/*
3*f126890aSEmmanuel Vadot * Device Tree Source for OMAP2 SoC
4*f126890aSEmmanuel Vadot *
5*f126890aSEmmanuel Vadot * Copyright (C) 2011 Texas Instruments Incorporated - https://www.ti.com/
6*f126890aSEmmanuel Vadot */
7*f126890aSEmmanuel Vadot
8*f126890aSEmmanuel Vadot#include <dt-bindings/bus/ti-sysc.h>
9*f126890aSEmmanuel Vadot#include <dt-bindings/gpio/gpio.h>
10*f126890aSEmmanuel Vadot#include <dt-bindings/interrupt-controller/irq.h>
11*f126890aSEmmanuel Vadot#include <dt-bindings/pinctrl/omap.h>
12*f126890aSEmmanuel Vadot
13*f126890aSEmmanuel Vadot/ {
14*f126890aSEmmanuel Vadot	compatible = "ti,omap2430", "ti,omap2420", "ti,omap2";
15*f126890aSEmmanuel Vadot	interrupt-parent = <&intc>;
16*f126890aSEmmanuel Vadot	#address-cells = <1>;
17*f126890aSEmmanuel Vadot	#size-cells = <1>;
18*f126890aSEmmanuel Vadot	chosen { };
19*f126890aSEmmanuel Vadot
20*f126890aSEmmanuel Vadot	aliases {
21*f126890aSEmmanuel Vadot		serial0 = &uart1;
22*f126890aSEmmanuel Vadot		serial1 = &uart2;
23*f126890aSEmmanuel Vadot		serial2 = &uart3;
24*f126890aSEmmanuel Vadot		i2c0 = &i2c1;
25*f126890aSEmmanuel Vadot		i2c1 = &i2c2;
26*f126890aSEmmanuel Vadot	};
27*f126890aSEmmanuel Vadot
28*f126890aSEmmanuel Vadot	cpus {
29*f126890aSEmmanuel Vadot		#address-cells = <0>;
30*f126890aSEmmanuel Vadot		#size-cells = <0>;
31*f126890aSEmmanuel Vadot
32*f126890aSEmmanuel Vadot		cpu {
33*f126890aSEmmanuel Vadot			compatible = "arm,arm1136jf-s";
34*f126890aSEmmanuel Vadot			device_type = "cpu";
35*f126890aSEmmanuel Vadot		};
36*f126890aSEmmanuel Vadot	};
37*f126890aSEmmanuel Vadot
38*f126890aSEmmanuel Vadot	pmu {
39*f126890aSEmmanuel Vadot		compatible = "arm,arm1136-pmu";
40*f126890aSEmmanuel Vadot		interrupts = <3>;
41*f126890aSEmmanuel Vadot	};
42*f126890aSEmmanuel Vadot
43*f126890aSEmmanuel Vadot	soc {
44*f126890aSEmmanuel Vadot		compatible = "ti,omap-infra";
45*f126890aSEmmanuel Vadot		mpu {
46*f126890aSEmmanuel Vadot			compatible = "ti,omap2-mpu";
47*f126890aSEmmanuel Vadot			ti,hwmods = "mpu";
48*f126890aSEmmanuel Vadot		};
49*f126890aSEmmanuel Vadot	};
50*f126890aSEmmanuel Vadot
51*f126890aSEmmanuel Vadot	ocp {
52*f126890aSEmmanuel Vadot		compatible = "simple-bus";
53*f126890aSEmmanuel Vadot		#address-cells = <1>;
54*f126890aSEmmanuel Vadot		#size-cells = <1>;
55*f126890aSEmmanuel Vadot		ranges;
56*f126890aSEmmanuel Vadot		ti,hwmods = "l3_main";
57*f126890aSEmmanuel Vadot
58*f126890aSEmmanuel Vadot		aes: aes@480a6000 {
59*f126890aSEmmanuel Vadot			compatible = "ti,omap2-aes";
60*f126890aSEmmanuel Vadot			ti,hwmods = "aes";
61*f126890aSEmmanuel Vadot			reg = <0x480a6000 0x50>;
62*f126890aSEmmanuel Vadot			dmas = <&sdma 9 &sdma 10>;
63*f126890aSEmmanuel Vadot			dma-names = "tx", "rx";
64*f126890aSEmmanuel Vadot		};
65*f126890aSEmmanuel Vadot
66*f126890aSEmmanuel Vadot		hdq1w: 1w@480b2000 {
67*f126890aSEmmanuel Vadot			compatible = "ti,omap2420-1w";
68*f126890aSEmmanuel Vadot			ti,hwmods = "hdq1w";
69*f126890aSEmmanuel Vadot			reg = <0x480b2000 0x1000>;
70*f126890aSEmmanuel Vadot			interrupts = <58>;
71*f126890aSEmmanuel Vadot		};
72*f126890aSEmmanuel Vadot
73*f126890aSEmmanuel Vadot		intc: interrupt-controller@1 {
74*f126890aSEmmanuel Vadot			compatible = "ti,omap2-intc";
75*f126890aSEmmanuel Vadot			interrupt-controller;
76*f126890aSEmmanuel Vadot			#interrupt-cells = <1>;
77*f126890aSEmmanuel Vadot			reg = <0x480FE000 0x1000>;
78*f126890aSEmmanuel Vadot		};
79*f126890aSEmmanuel Vadot
80*f126890aSEmmanuel Vadot		target-module@48056000 {
81*f126890aSEmmanuel Vadot			compatible = "ti,sysc-omap2", "ti,sysc";
82*f126890aSEmmanuel Vadot			reg = <0x48056000 0x4>,
83*f126890aSEmmanuel Vadot			      <0x4805602c 0x4>,
84*f126890aSEmmanuel Vadot			      <0x48056028 0x4>;
85*f126890aSEmmanuel Vadot			reg-names = "rev", "sysc", "syss";
86*f126890aSEmmanuel Vadot			ti,sysc-mask = <(SYSC_OMAP2_CLOCKACTIVITY |
87*f126890aSEmmanuel Vadot					 SYSC_OMAP2_EMUFREE |
88*f126890aSEmmanuel Vadot					 SYSC_OMAP2_SOFTRESET |
89*f126890aSEmmanuel Vadot					 SYSC_OMAP2_AUTOIDLE)>;
90*f126890aSEmmanuel Vadot			ti,sysc-midle = <SYSC_IDLE_FORCE>,
91*f126890aSEmmanuel Vadot					<SYSC_IDLE_NO>,
92*f126890aSEmmanuel Vadot					<SYSC_IDLE_SMART>;
93*f126890aSEmmanuel Vadot			ti,syss-mask = <1>;
94*f126890aSEmmanuel Vadot			clocks = <&core_l3_ck>;
95*f126890aSEmmanuel Vadot			clock-names = "fck";
96*f126890aSEmmanuel Vadot			#address-cells = <1>;
97*f126890aSEmmanuel Vadot			#size-cells = <1>;
98*f126890aSEmmanuel Vadot			ranges = <0 0x48056000 0x1000>;
99*f126890aSEmmanuel Vadot
100*f126890aSEmmanuel Vadot			sdma: dma-controller@0 {
101*f126890aSEmmanuel Vadot				compatible = "ti,omap2420-sdma", "ti,omap-sdma";
102*f126890aSEmmanuel Vadot				reg = <0 0x1000>;
103*f126890aSEmmanuel Vadot				interrupts = <12>,
104*f126890aSEmmanuel Vadot					     <13>,
105*f126890aSEmmanuel Vadot					     <14>,
106*f126890aSEmmanuel Vadot					     <15>;
107*f126890aSEmmanuel Vadot				#dma-cells = <1>;
108*f126890aSEmmanuel Vadot				dma-channels = <32>;
109*f126890aSEmmanuel Vadot				dma-requests = <64>;
110*f126890aSEmmanuel Vadot			};
111*f126890aSEmmanuel Vadot		};
112*f126890aSEmmanuel Vadot
113*f126890aSEmmanuel Vadot		i2c1: i2c@48070000 {
114*f126890aSEmmanuel Vadot			compatible = "ti,omap2-i2c";
115*f126890aSEmmanuel Vadot			ti,hwmods = "i2c1";
116*f126890aSEmmanuel Vadot			reg = <0x48070000 0x80>;
117*f126890aSEmmanuel Vadot			#address-cells = <1>;
118*f126890aSEmmanuel Vadot			#size-cells = <0>;
119*f126890aSEmmanuel Vadot			interrupts = <56>;
120*f126890aSEmmanuel Vadot		};
121*f126890aSEmmanuel Vadot
122*f126890aSEmmanuel Vadot		i2c2: i2c@48072000 {
123*f126890aSEmmanuel Vadot			compatible = "ti,omap2-i2c";
124*f126890aSEmmanuel Vadot			ti,hwmods = "i2c2";
125*f126890aSEmmanuel Vadot			reg = <0x48072000 0x80>;
126*f126890aSEmmanuel Vadot			#address-cells = <1>;
127*f126890aSEmmanuel Vadot			#size-cells = <0>;
128*f126890aSEmmanuel Vadot			interrupts = <57>;
129*f126890aSEmmanuel Vadot		};
130*f126890aSEmmanuel Vadot
131*f126890aSEmmanuel Vadot		mcspi1: spi@48098000 {
132*f126890aSEmmanuel Vadot			compatible = "ti,omap2-mcspi";
133*f126890aSEmmanuel Vadot			ti,hwmods = "mcspi1";
134*f126890aSEmmanuel Vadot			reg = <0x48098000 0x100>;
135*f126890aSEmmanuel Vadot			interrupts = <65>;
136*f126890aSEmmanuel Vadot			dmas = <&sdma 35 &sdma 36 &sdma 37 &sdma 38
137*f126890aSEmmanuel Vadot				&sdma 39 &sdma 40 &sdma 41 &sdma 42>;
138*f126890aSEmmanuel Vadot			dma-names = "tx0", "rx0", "tx1", "rx1",
139*f126890aSEmmanuel Vadot				    "tx2", "rx2", "tx3", "rx3";
140*f126890aSEmmanuel Vadot		};
141*f126890aSEmmanuel Vadot
142*f126890aSEmmanuel Vadot		mcspi2: spi@4809a000 {
143*f126890aSEmmanuel Vadot			compatible = "ti,omap2-mcspi";
144*f126890aSEmmanuel Vadot			ti,hwmods = "mcspi2";
145*f126890aSEmmanuel Vadot			reg = <0x4809a000 0x100>;
146*f126890aSEmmanuel Vadot			interrupts = <66>;
147*f126890aSEmmanuel Vadot			dmas = <&sdma 43 &sdma 44 &sdma 45 &sdma 46>;
148*f126890aSEmmanuel Vadot			dma-names = "tx0", "rx0", "tx1", "rx1";
149*f126890aSEmmanuel Vadot		};
150*f126890aSEmmanuel Vadot
151*f126890aSEmmanuel Vadot		rng: rng@480a0000 {
152*f126890aSEmmanuel Vadot			compatible = "ti,omap2-rng";
153*f126890aSEmmanuel Vadot			ti,hwmods = "rng";
154*f126890aSEmmanuel Vadot			reg = <0x480a0000 0x50>;
155*f126890aSEmmanuel Vadot			interrupts = <52>;
156*f126890aSEmmanuel Vadot		};
157*f126890aSEmmanuel Vadot
158*f126890aSEmmanuel Vadot		sham: sham@480a4000 {
159*f126890aSEmmanuel Vadot			compatible = "ti,omap2-sham";
160*f126890aSEmmanuel Vadot			ti,hwmods = "sham";
161*f126890aSEmmanuel Vadot			reg = <0x480a4000 0x64>;
162*f126890aSEmmanuel Vadot			interrupts = <51>;
163*f126890aSEmmanuel Vadot			dmas = <&sdma 13>;
164*f126890aSEmmanuel Vadot			dma-names = "rx";
165*f126890aSEmmanuel Vadot		};
166*f126890aSEmmanuel Vadot
167*f126890aSEmmanuel Vadot		uart1: serial@4806a000 {
168*f126890aSEmmanuel Vadot			compatible = "ti,omap2-uart";
169*f126890aSEmmanuel Vadot			ti,hwmods = "uart1";
170*f126890aSEmmanuel Vadot			reg = <0x4806a000 0x2000>;
171*f126890aSEmmanuel Vadot			interrupts = <72>;
172*f126890aSEmmanuel Vadot			dmas = <&sdma 49 &sdma 50>;
173*f126890aSEmmanuel Vadot			dma-names = "tx", "rx";
174*f126890aSEmmanuel Vadot			clock-frequency = <48000000>;
175*f126890aSEmmanuel Vadot		};
176*f126890aSEmmanuel Vadot
177*f126890aSEmmanuel Vadot		uart2: serial@4806c000 {
178*f126890aSEmmanuel Vadot			compatible = "ti,omap2-uart";
179*f126890aSEmmanuel Vadot			ti,hwmods = "uart2";
180*f126890aSEmmanuel Vadot			reg = <0x4806c000 0x400>;
181*f126890aSEmmanuel Vadot			interrupts = <73>;
182*f126890aSEmmanuel Vadot			dmas = <&sdma 51 &sdma 52>;
183*f126890aSEmmanuel Vadot			dma-names = "tx", "rx";
184*f126890aSEmmanuel Vadot			clock-frequency = <48000000>;
185*f126890aSEmmanuel Vadot		};
186*f126890aSEmmanuel Vadot
187*f126890aSEmmanuel Vadot		uart3: serial@4806e000 {
188*f126890aSEmmanuel Vadot			compatible = "ti,omap2-uart";
189*f126890aSEmmanuel Vadot			ti,hwmods = "uart3";
190*f126890aSEmmanuel Vadot			reg = <0x4806e000 0x400>;
191*f126890aSEmmanuel Vadot			interrupts = <74>;
192*f126890aSEmmanuel Vadot			dmas = <&sdma 53 &sdma 54>;
193*f126890aSEmmanuel Vadot			dma-names = "tx", "rx";
194*f126890aSEmmanuel Vadot			clock-frequency = <48000000>;
195*f126890aSEmmanuel Vadot		};
196*f126890aSEmmanuel Vadot
197*f126890aSEmmanuel Vadot		timer2_target: target-module@4802a000 {
198*f126890aSEmmanuel Vadot			compatible = "ti,sysc-omap2-timer", "ti,sysc";
199*f126890aSEmmanuel Vadot			reg = <0x4802a000 0x4>,
200*f126890aSEmmanuel Vadot			      <0x4802a010 0x4>,
201*f126890aSEmmanuel Vadot			      <0x4802a014 0x4>;
202*f126890aSEmmanuel Vadot			reg-names = "rev", "sysc", "syss";
203*f126890aSEmmanuel Vadot			ti,sysc-mask = <(SYSC_OMAP2_CLOCKACTIVITY |
204*f126890aSEmmanuel Vadot					 SYSC_OMAP2_EMUFREE |
205*f126890aSEmmanuel Vadot					 SYSC_OMAP2_ENAWAKEUP |
206*f126890aSEmmanuel Vadot					 SYSC_OMAP2_SOFTRESET |
207*f126890aSEmmanuel Vadot					 SYSC_OMAP2_AUTOIDLE)>;
208*f126890aSEmmanuel Vadot			ti,sysc-sidle = <SYSC_IDLE_FORCE>,
209*f126890aSEmmanuel Vadot					<SYSC_IDLE_NO>,
210*f126890aSEmmanuel Vadot					<SYSC_IDLE_SMART>;
211*f126890aSEmmanuel Vadot			ti,syss-mask = <1>;
212*f126890aSEmmanuel Vadot			clocks = <&gpt2_fck>, <&gpt2_ick>;
213*f126890aSEmmanuel Vadot			clock-names = "fck", "ick";
214*f126890aSEmmanuel Vadot			#address-cells = <1>;
215*f126890aSEmmanuel Vadot			#size-cells = <1>;
216*f126890aSEmmanuel Vadot			ranges = <0x0 0x4802a000 0x1000>;
217*f126890aSEmmanuel Vadot
218*f126890aSEmmanuel Vadot			timer2: timer@0 {
219*f126890aSEmmanuel Vadot				compatible = "ti,omap2420-timer";
220*f126890aSEmmanuel Vadot				reg = <0 0x400>;
221*f126890aSEmmanuel Vadot				interrupts = <38>;
222*f126890aSEmmanuel Vadot			};
223*f126890aSEmmanuel Vadot		};
224*f126890aSEmmanuel Vadot
225*f126890aSEmmanuel Vadot		timer3: timer@48078000 {
226*f126890aSEmmanuel Vadot			compatible = "ti,omap2420-timer";
227*f126890aSEmmanuel Vadot			reg = <0x48078000 0x400>;
228*f126890aSEmmanuel Vadot			interrupts = <39>;
229*f126890aSEmmanuel Vadot			ti,hwmods = "timer3";
230*f126890aSEmmanuel Vadot		};
231*f126890aSEmmanuel Vadot
232*f126890aSEmmanuel Vadot		timer4: timer@4807a000 {
233*f126890aSEmmanuel Vadot			compatible = "ti,omap2420-timer";
234*f126890aSEmmanuel Vadot			reg = <0x4807a000 0x400>;
235*f126890aSEmmanuel Vadot			interrupts = <40>;
236*f126890aSEmmanuel Vadot			ti,hwmods = "timer4";
237*f126890aSEmmanuel Vadot		};
238*f126890aSEmmanuel Vadot
239*f126890aSEmmanuel Vadot		timer5: timer@4807c000 {
240*f126890aSEmmanuel Vadot			compatible = "ti,omap2420-timer";
241*f126890aSEmmanuel Vadot			reg = <0x4807c000 0x400>;
242*f126890aSEmmanuel Vadot			interrupts = <41>;
243*f126890aSEmmanuel Vadot			ti,hwmods = "timer5";
244*f126890aSEmmanuel Vadot			ti,timer-dsp;
245*f126890aSEmmanuel Vadot		};
246*f126890aSEmmanuel Vadot
247*f126890aSEmmanuel Vadot		timer6: timer@4807e000 {
248*f126890aSEmmanuel Vadot			compatible = "ti,omap2420-timer";
249*f126890aSEmmanuel Vadot			reg = <0x4807e000 0x400>;
250*f126890aSEmmanuel Vadot			interrupts = <42>;
251*f126890aSEmmanuel Vadot			ti,hwmods = "timer6";
252*f126890aSEmmanuel Vadot			ti,timer-dsp;
253*f126890aSEmmanuel Vadot		};
254*f126890aSEmmanuel Vadot
255*f126890aSEmmanuel Vadot		timer7: timer@48080000 {
256*f126890aSEmmanuel Vadot			compatible = "ti,omap2420-timer";
257*f126890aSEmmanuel Vadot			reg = <0x48080000 0x400>;
258*f126890aSEmmanuel Vadot			interrupts = <43>;
259*f126890aSEmmanuel Vadot			ti,hwmods = "timer7";
260*f126890aSEmmanuel Vadot			ti,timer-dsp;
261*f126890aSEmmanuel Vadot		};
262*f126890aSEmmanuel Vadot
263*f126890aSEmmanuel Vadot		timer8: timer@48082000 {
264*f126890aSEmmanuel Vadot			compatible = "ti,omap2420-timer";
265*f126890aSEmmanuel Vadot			reg = <0x48082000 0x400>;
266*f126890aSEmmanuel Vadot			interrupts = <44>;
267*f126890aSEmmanuel Vadot			ti,hwmods = "timer8";
268*f126890aSEmmanuel Vadot			ti,timer-dsp;
269*f126890aSEmmanuel Vadot		};
270*f126890aSEmmanuel Vadot
271*f126890aSEmmanuel Vadot		timer9: timer@48084000 {
272*f126890aSEmmanuel Vadot			compatible = "ti,omap2420-timer";
273*f126890aSEmmanuel Vadot			reg = <0x48084000 0x400>;
274*f126890aSEmmanuel Vadot			interrupts = <45>;
275*f126890aSEmmanuel Vadot			ti,hwmods = "timer9";
276*f126890aSEmmanuel Vadot			ti,timer-pwm;
277*f126890aSEmmanuel Vadot		};
278*f126890aSEmmanuel Vadot
279*f126890aSEmmanuel Vadot		timer10: timer@48086000 {
280*f126890aSEmmanuel Vadot			compatible = "ti,omap2420-timer";
281*f126890aSEmmanuel Vadot			reg = <0x48086000 0x400>;
282*f126890aSEmmanuel Vadot			interrupts = <46>;
283*f126890aSEmmanuel Vadot			ti,hwmods = "timer10";
284*f126890aSEmmanuel Vadot			ti,timer-pwm;
285*f126890aSEmmanuel Vadot		};
286*f126890aSEmmanuel Vadot
287*f126890aSEmmanuel Vadot		timer11: timer@48088000 {
288*f126890aSEmmanuel Vadot			compatible = "ti,omap2420-timer";
289*f126890aSEmmanuel Vadot			reg = <0x48088000 0x400>;
290*f126890aSEmmanuel Vadot			interrupts = <47>;
291*f126890aSEmmanuel Vadot			ti,hwmods = "timer11";
292*f126890aSEmmanuel Vadot			ti,timer-pwm;
293*f126890aSEmmanuel Vadot		};
294*f126890aSEmmanuel Vadot
295*f126890aSEmmanuel Vadot		timer12: timer@4808a000 {
296*f126890aSEmmanuel Vadot			compatible = "ti,omap2420-timer";
297*f126890aSEmmanuel Vadot			reg = <0x4808a000 0x400>;
298*f126890aSEmmanuel Vadot			interrupts = <48>;
299*f126890aSEmmanuel Vadot			ti,hwmods = "timer12";
300*f126890aSEmmanuel Vadot			ti,timer-pwm;
301*f126890aSEmmanuel Vadot		};
302*f126890aSEmmanuel Vadot
303*f126890aSEmmanuel Vadot		dss: dss@48050000 {
304*f126890aSEmmanuel Vadot			compatible = "ti,omap2-dss";
305*f126890aSEmmanuel Vadot			reg = <0x48050000 0x400>;
306*f126890aSEmmanuel Vadot			status = "disabled";
307*f126890aSEmmanuel Vadot			ti,hwmods = "dss_core";
308*f126890aSEmmanuel Vadot			#address-cells = <1>;
309*f126890aSEmmanuel Vadot			#size-cells = <1>;
310*f126890aSEmmanuel Vadot			ranges;
311*f126890aSEmmanuel Vadot
312*f126890aSEmmanuel Vadot			dispc@48050400 {
313*f126890aSEmmanuel Vadot				compatible = "ti,omap2-dispc";
314*f126890aSEmmanuel Vadot				reg = <0x48050400 0x400>;
315*f126890aSEmmanuel Vadot				interrupts = <25>;
316*f126890aSEmmanuel Vadot				ti,hwmods = "dss_dispc";
317*f126890aSEmmanuel Vadot			};
318*f126890aSEmmanuel Vadot
319*f126890aSEmmanuel Vadot			rfbi: encoder@48050800 {
320*f126890aSEmmanuel Vadot				compatible = "ti,omap2-rfbi";
321*f126890aSEmmanuel Vadot				reg = <0x48050800 0x400>;
322*f126890aSEmmanuel Vadot				status = "disabled";
323*f126890aSEmmanuel Vadot				ti,hwmods = "dss_rfbi";
324*f126890aSEmmanuel Vadot			};
325*f126890aSEmmanuel Vadot
326*f126890aSEmmanuel Vadot			venc: encoder@48050c00 {
327*f126890aSEmmanuel Vadot				compatible = "ti,omap2-venc";
328*f126890aSEmmanuel Vadot				reg = <0x48050c00 0x400>;
329*f126890aSEmmanuel Vadot				status = "disabled";
330*f126890aSEmmanuel Vadot				ti,hwmods = "dss_venc";
331*f126890aSEmmanuel Vadot			};
332*f126890aSEmmanuel Vadot		};
333*f126890aSEmmanuel Vadot	};
334*f126890aSEmmanuel Vadot};
335