xref: /freebsd-src/sys/contrib/device-tree/src/arm/ti/omap/dm814x.dtsi (revision f126890ac5386406dadf7c4cfa9566cbb56537c5)
1*f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0-only
2*f126890aSEmmanuel Vadot
3*f126890aSEmmanuel Vadot#include <dt-bindings/bus/ti-sysc.h>
4*f126890aSEmmanuel Vadot#include <dt-bindings/clock/dm814.h>
5*f126890aSEmmanuel Vadot#include <dt-bindings/gpio/gpio.h>
6*f126890aSEmmanuel Vadot#include <dt-bindings/pinctrl/dm814x.h>
7*f126890aSEmmanuel Vadot
8*f126890aSEmmanuel Vadot/ {
9*f126890aSEmmanuel Vadot	compatible = "ti,dm814";
10*f126890aSEmmanuel Vadot	interrupt-parent = <&intc>;
11*f126890aSEmmanuel Vadot	#address-cells = <1>;
12*f126890aSEmmanuel Vadot	#size-cells = <1>;
13*f126890aSEmmanuel Vadot	chosen { };
14*f126890aSEmmanuel Vadot
15*f126890aSEmmanuel Vadot	aliases {
16*f126890aSEmmanuel Vadot		i2c0 = &i2c1;
17*f126890aSEmmanuel Vadot		i2c1 = &i2c2;
18*f126890aSEmmanuel Vadot		serial0 = &uart1;
19*f126890aSEmmanuel Vadot		serial1 = &uart2;
20*f126890aSEmmanuel Vadot		serial2 = &uart3;
21*f126890aSEmmanuel Vadot		ethernet0 = &cpsw_emac0;
22*f126890aSEmmanuel Vadot		ethernet1 = &cpsw_emac1;
23*f126890aSEmmanuel Vadot		usb0 = &usb0;
24*f126890aSEmmanuel Vadot		usb1 = &usb1;
25*f126890aSEmmanuel Vadot		phy0 = &usb0_phy;
26*f126890aSEmmanuel Vadot		phy1 = &usb1_phy;
27*f126890aSEmmanuel Vadot	};
28*f126890aSEmmanuel Vadot
29*f126890aSEmmanuel Vadot	cpus {
30*f126890aSEmmanuel Vadot		#address-cells = <1>;
31*f126890aSEmmanuel Vadot		#size-cells = <0>;
32*f126890aSEmmanuel Vadot		cpu@0 {
33*f126890aSEmmanuel Vadot			compatible = "arm,cortex-a8";
34*f126890aSEmmanuel Vadot			device_type = "cpu";
35*f126890aSEmmanuel Vadot			reg = <0>;
36*f126890aSEmmanuel Vadot		};
37*f126890aSEmmanuel Vadot	};
38*f126890aSEmmanuel Vadot
39*f126890aSEmmanuel Vadot	pmu {
40*f126890aSEmmanuel Vadot		compatible = "arm,cortex-a8-pmu";
41*f126890aSEmmanuel Vadot		interrupts = <3>;
42*f126890aSEmmanuel Vadot	};
43*f126890aSEmmanuel Vadot
44*f126890aSEmmanuel Vadot	/*
45*f126890aSEmmanuel Vadot	 * The soc node represents the soc top level view. It is used for IPs
46*f126890aSEmmanuel Vadot	 * that are not memory mapped in the MPU view or for the MPU itself.
47*f126890aSEmmanuel Vadot	 */
48*f126890aSEmmanuel Vadot	soc {
49*f126890aSEmmanuel Vadot		compatible = "ti,omap-infra";
50*f126890aSEmmanuel Vadot		mpu {
51*f126890aSEmmanuel Vadot			compatible = "ti,omap3-mpu";
52*f126890aSEmmanuel Vadot			ti,hwmods = "mpu";
53*f126890aSEmmanuel Vadot		};
54*f126890aSEmmanuel Vadot	};
55*f126890aSEmmanuel Vadot
56*f126890aSEmmanuel Vadot	ocp {
57*f126890aSEmmanuel Vadot		compatible = "simple-bus";
58*f126890aSEmmanuel Vadot		#address-cells = <1>;
59*f126890aSEmmanuel Vadot		#size-cells = <1>;
60*f126890aSEmmanuel Vadot		ranges;
61*f126890aSEmmanuel Vadot		ti,hwmods = "l3_main";
62*f126890aSEmmanuel Vadot
63*f126890aSEmmanuel Vadot		usb: usb@47400000 {
64*f126890aSEmmanuel Vadot			compatible = "ti,am33xx-usb";
65*f126890aSEmmanuel Vadot			reg = <0x47400000 0x1000>;
66*f126890aSEmmanuel Vadot			ranges;
67*f126890aSEmmanuel Vadot			#address-cells = <1>;
68*f126890aSEmmanuel Vadot			#size-cells = <1>;
69*f126890aSEmmanuel Vadot			ti,hwmods = "usb_otg_hs";
70*f126890aSEmmanuel Vadot
71*f126890aSEmmanuel Vadot			usb0_phy: usb-phy@47401300 {
72*f126890aSEmmanuel Vadot				compatible = "ti,am335x-usb-phy";
73*f126890aSEmmanuel Vadot				reg = <0x47401300 0x100>;
74*f126890aSEmmanuel Vadot				reg-names = "phy";
75*f126890aSEmmanuel Vadot				ti,ctrl_mod = <&usb_ctrl_mod>;
76*f126890aSEmmanuel Vadot				#phy-cells = <0>;
77*f126890aSEmmanuel Vadot			};
78*f126890aSEmmanuel Vadot
79*f126890aSEmmanuel Vadot			usb0: usb@47401000 {
80*f126890aSEmmanuel Vadot				compatible = "ti,musb-am33xx";
81*f126890aSEmmanuel Vadot				reg = <0x47401400 0x400
82*f126890aSEmmanuel Vadot				       0x47401000 0x200>;
83*f126890aSEmmanuel Vadot				reg-names = "mc", "control";
84*f126890aSEmmanuel Vadot
85*f126890aSEmmanuel Vadot				interrupts = <18>;
86*f126890aSEmmanuel Vadot				interrupt-names = "mc";
87*f126890aSEmmanuel Vadot				dr_mode = "otg";
88*f126890aSEmmanuel Vadot				mentor,multipoint = <1>;
89*f126890aSEmmanuel Vadot				mentor,num-eps = <16>;
90*f126890aSEmmanuel Vadot				mentor,ram-bits = <12>;
91*f126890aSEmmanuel Vadot				mentor,power = <500>;
92*f126890aSEmmanuel Vadot				phys = <&usb0_phy>;
93*f126890aSEmmanuel Vadot
94*f126890aSEmmanuel Vadot				dmas = <&cppi41dma  0 0 &cppi41dma  1 0
95*f126890aSEmmanuel Vadot					&cppi41dma  2 0 &cppi41dma  3 0
96*f126890aSEmmanuel Vadot					&cppi41dma  4 0 &cppi41dma  5 0
97*f126890aSEmmanuel Vadot					&cppi41dma  6 0 &cppi41dma  7 0
98*f126890aSEmmanuel Vadot					&cppi41dma  8 0 &cppi41dma  9 0
99*f126890aSEmmanuel Vadot					&cppi41dma 10 0 &cppi41dma 11 0
100*f126890aSEmmanuel Vadot					&cppi41dma 12 0 &cppi41dma 13 0
101*f126890aSEmmanuel Vadot					&cppi41dma 14 0 &cppi41dma  0 1
102*f126890aSEmmanuel Vadot					&cppi41dma  1 1 &cppi41dma  2 1
103*f126890aSEmmanuel Vadot					&cppi41dma  3 1 &cppi41dma  4 1
104*f126890aSEmmanuel Vadot					&cppi41dma  5 1 &cppi41dma  6 1
105*f126890aSEmmanuel Vadot					&cppi41dma  7 1 &cppi41dma  8 1
106*f126890aSEmmanuel Vadot					&cppi41dma  9 1 &cppi41dma 10 1
107*f126890aSEmmanuel Vadot					&cppi41dma 11 1 &cppi41dma 12 1
108*f126890aSEmmanuel Vadot					&cppi41dma 13 1 &cppi41dma 14 1>;
109*f126890aSEmmanuel Vadot				dma-names =
110*f126890aSEmmanuel Vadot					"rx1", "rx2", "rx3", "rx4", "rx5", "rx6", "rx7",
111*f126890aSEmmanuel Vadot					"rx8", "rx9", "rx10", "rx11", "rx12", "rx13",
112*f126890aSEmmanuel Vadot					"rx14", "rx15",
113*f126890aSEmmanuel Vadot					"tx1", "tx2", "tx3", "tx4", "tx5", "tx6", "tx7",
114*f126890aSEmmanuel Vadot					"tx8", "tx9", "tx10", "tx11", "tx12", "tx13",
115*f126890aSEmmanuel Vadot					"tx14", "tx15";
116*f126890aSEmmanuel Vadot			};
117*f126890aSEmmanuel Vadot
118*f126890aSEmmanuel Vadot			usb1: usb@47401800 {
119*f126890aSEmmanuel Vadot				compatible = "ti,musb-am33xx";
120*f126890aSEmmanuel Vadot				reg = <0x47401c00 0x400
121*f126890aSEmmanuel Vadot					0x47401800 0x200>;
122*f126890aSEmmanuel Vadot				reg-names = "mc", "control";
123*f126890aSEmmanuel Vadot				interrupts = <19>;
124*f126890aSEmmanuel Vadot				interrupt-names = "mc";
125*f126890aSEmmanuel Vadot				dr_mode = "otg";
126*f126890aSEmmanuel Vadot				mentor,multipoint = <1>;
127*f126890aSEmmanuel Vadot				mentor,num-eps = <16>;
128*f126890aSEmmanuel Vadot				mentor,ram-bits = <12>;
129*f126890aSEmmanuel Vadot				mentor,power = <500>;
130*f126890aSEmmanuel Vadot				phys = <&usb1_phy>;
131*f126890aSEmmanuel Vadot
132*f126890aSEmmanuel Vadot				dmas = <&cppi41dma 15 0 &cppi41dma 16 0
133*f126890aSEmmanuel Vadot					&cppi41dma 17 0 &cppi41dma 18 0
134*f126890aSEmmanuel Vadot					&cppi41dma 19 0 &cppi41dma 20 0
135*f126890aSEmmanuel Vadot					&cppi41dma 21 0 &cppi41dma 22 0
136*f126890aSEmmanuel Vadot					&cppi41dma 23 0 &cppi41dma 24 0
137*f126890aSEmmanuel Vadot					&cppi41dma 25 0 &cppi41dma 26 0
138*f126890aSEmmanuel Vadot					&cppi41dma 27 0 &cppi41dma 28 0
139*f126890aSEmmanuel Vadot					&cppi41dma 29 0 &cppi41dma 15 1
140*f126890aSEmmanuel Vadot					&cppi41dma 16 1 &cppi41dma 17 1
141*f126890aSEmmanuel Vadot					&cppi41dma 18 1 &cppi41dma 19 1
142*f126890aSEmmanuel Vadot					&cppi41dma 20 1 &cppi41dma 21 1
143*f126890aSEmmanuel Vadot					&cppi41dma 22 1 &cppi41dma 23 1
144*f126890aSEmmanuel Vadot					&cppi41dma 24 1 &cppi41dma 25 1
145*f126890aSEmmanuel Vadot					&cppi41dma 26 1 &cppi41dma 27 1
146*f126890aSEmmanuel Vadot					&cppi41dma 28 1 &cppi41dma 29 1>;
147*f126890aSEmmanuel Vadot				dma-names =
148*f126890aSEmmanuel Vadot					"rx1", "rx2", "rx3", "rx4", "rx5", "rx6", "rx7",
149*f126890aSEmmanuel Vadot					"rx8", "rx9", "rx10", "rx11", "rx12", "rx13",
150*f126890aSEmmanuel Vadot					"rx14", "rx15",
151*f126890aSEmmanuel Vadot					"tx1", "tx2", "tx3", "tx4", "tx5", "tx6", "tx7",
152*f126890aSEmmanuel Vadot					"tx8", "tx9", "tx10", "tx11", "tx12", "tx13",
153*f126890aSEmmanuel Vadot					"tx14", "tx15";
154*f126890aSEmmanuel Vadot			};
155*f126890aSEmmanuel Vadot
156*f126890aSEmmanuel Vadot			cppi41dma: dma-controller@47402000 {
157*f126890aSEmmanuel Vadot				compatible = "ti,am3359-cppi41";
158*f126890aSEmmanuel Vadot				reg =  <0x47400000 0x1000
159*f126890aSEmmanuel Vadot					0x47402000 0x1000
160*f126890aSEmmanuel Vadot					0x47403000 0x1000
161*f126890aSEmmanuel Vadot					0x47404000 0x4000>;
162*f126890aSEmmanuel Vadot				reg-names = "glue", "controller", "scheduler", "queuemgr";
163*f126890aSEmmanuel Vadot				interrupts = <17>;
164*f126890aSEmmanuel Vadot				interrupt-names = "glue";
165*f126890aSEmmanuel Vadot				#dma-cells = <2>;
166*f126890aSEmmanuel Vadot				/* For backwards compatibility: */
167*f126890aSEmmanuel Vadot				#dma-channels = <30>;
168*f126890aSEmmanuel Vadot				dma-channels = <30>;
169*f126890aSEmmanuel Vadot				#dma-requests = <256>;
170*f126890aSEmmanuel Vadot				dma-requests = <256>;
171*f126890aSEmmanuel Vadot			};
172*f126890aSEmmanuel Vadot		};
173*f126890aSEmmanuel Vadot
174*f126890aSEmmanuel Vadot		/*
175*f126890aSEmmanuel Vadot		 * See TRM "Table 1-317. L4LS Instance Summary" for hints.
176*f126890aSEmmanuel Vadot		 * It shows the module target agent registers though, so the
177*f126890aSEmmanuel Vadot		 * actual device is typically 0x1000 before the target agent
178*f126890aSEmmanuel Vadot		 * except in cases where the module is larger than 0x1000.
179*f126890aSEmmanuel Vadot		 */
180*f126890aSEmmanuel Vadot		l4ls: l4ls@48000000 {
181*f126890aSEmmanuel Vadot			compatible = "ti,dm814-l4ls", "simple-bus";
182*f126890aSEmmanuel Vadot			#address-cells = <1>;
183*f126890aSEmmanuel Vadot			#size-cells = <1>;
184*f126890aSEmmanuel Vadot			ranges = <0 0x48000000 0x2000000>;
185*f126890aSEmmanuel Vadot
186*f126890aSEmmanuel Vadot			i2c1: i2c@28000 {
187*f126890aSEmmanuel Vadot				compatible = "ti,omap4-i2c";
188*f126890aSEmmanuel Vadot				#address-cells = <1>;
189*f126890aSEmmanuel Vadot				#size-cells = <0>;
190*f126890aSEmmanuel Vadot				ti,hwmods = "i2c1";
191*f126890aSEmmanuel Vadot				reg = <0x28000 0x1000>;
192*f126890aSEmmanuel Vadot				interrupts = <70>;
193*f126890aSEmmanuel Vadot			};
194*f126890aSEmmanuel Vadot
195*f126890aSEmmanuel Vadot			elm: elm@80000 {
196*f126890aSEmmanuel Vadot				compatible = "ti,814-elm";
197*f126890aSEmmanuel Vadot				ti,hwmods = "elm";
198*f126890aSEmmanuel Vadot				reg = <0x80000 0x2000>;
199*f126890aSEmmanuel Vadot				interrupts = <4>;
200*f126890aSEmmanuel Vadot			};
201*f126890aSEmmanuel Vadot
202*f126890aSEmmanuel Vadot			gpio1: gpio@32000 {
203*f126890aSEmmanuel Vadot				compatible = "ti,omap4-gpio";
204*f126890aSEmmanuel Vadot				ti,hwmods = "gpio1";
205*f126890aSEmmanuel Vadot				ti,gpio-always-on;
206*f126890aSEmmanuel Vadot				reg = <0x32000 0x2000>;
207*f126890aSEmmanuel Vadot				interrupts = <96>;
208*f126890aSEmmanuel Vadot				gpio-controller;
209*f126890aSEmmanuel Vadot				#gpio-cells = <2>;
210*f126890aSEmmanuel Vadot				interrupt-controller;
211*f126890aSEmmanuel Vadot				#interrupt-cells = <2>;
212*f126890aSEmmanuel Vadot			};
213*f126890aSEmmanuel Vadot
214*f126890aSEmmanuel Vadot			gpio2: gpio@4c000 {
215*f126890aSEmmanuel Vadot				compatible = "ti,omap4-gpio";
216*f126890aSEmmanuel Vadot				ti,hwmods = "gpio2";
217*f126890aSEmmanuel Vadot				ti,gpio-always-on;
218*f126890aSEmmanuel Vadot				reg = <0x4c000 0x2000>;
219*f126890aSEmmanuel Vadot				interrupts = <98>;
220*f126890aSEmmanuel Vadot				gpio-controller;
221*f126890aSEmmanuel Vadot				#gpio-cells = <2>;
222*f126890aSEmmanuel Vadot				interrupt-controller;
223*f126890aSEmmanuel Vadot				#interrupt-cells = <2>;
224*f126890aSEmmanuel Vadot			};
225*f126890aSEmmanuel Vadot
226*f126890aSEmmanuel Vadot			gpio3: gpio@1ac000 {
227*f126890aSEmmanuel Vadot				compatible = "ti,omap4-gpio";
228*f126890aSEmmanuel Vadot				ti,hwmods = "gpio3";
229*f126890aSEmmanuel Vadot				ti,gpio-always-on;
230*f126890aSEmmanuel Vadot				reg = <0x1ac000 0x2000>;
231*f126890aSEmmanuel Vadot				interrupts = <32>;
232*f126890aSEmmanuel Vadot				gpio-controller;
233*f126890aSEmmanuel Vadot				#gpio-cells = <2>;
234*f126890aSEmmanuel Vadot				interrupt-controller;
235*f126890aSEmmanuel Vadot				#interrupt-cells = <2>;
236*f126890aSEmmanuel Vadot			};
237*f126890aSEmmanuel Vadot
238*f126890aSEmmanuel Vadot			gpio4: gpio@1ae000 {
239*f126890aSEmmanuel Vadot				compatible = "ti,omap4-gpio";
240*f126890aSEmmanuel Vadot				ti,hwmods = "gpio4";
241*f126890aSEmmanuel Vadot				ti,gpio-always-on;
242*f126890aSEmmanuel Vadot				reg = <0x1ae000 0x2000>;
243*f126890aSEmmanuel Vadot				interrupts = <62>;
244*f126890aSEmmanuel Vadot				gpio-controller;
245*f126890aSEmmanuel Vadot				#gpio-cells = <2>;
246*f126890aSEmmanuel Vadot				interrupt-controller;
247*f126890aSEmmanuel Vadot				#interrupt-cells = <2>;
248*f126890aSEmmanuel Vadot			};
249*f126890aSEmmanuel Vadot
250*f126890aSEmmanuel Vadot			i2c2: i2c@2a000 {
251*f126890aSEmmanuel Vadot				compatible = "ti,omap4-i2c";
252*f126890aSEmmanuel Vadot				#address-cells = <1>;
253*f126890aSEmmanuel Vadot				#size-cells = <0>;
254*f126890aSEmmanuel Vadot				ti,hwmods = "i2c2";
255*f126890aSEmmanuel Vadot				reg = <0x2a000 0x1000>;
256*f126890aSEmmanuel Vadot				interrupts = <71>;
257*f126890aSEmmanuel Vadot			};
258*f126890aSEmmanuel Vadot
259*f126890aSEmmanuel Vadot			mcspi1: spi@30000 {
260*f126890aSEmmanuel Vadot				compatible = "ti,omap4-mcspi";
261*f126890aSEmmanuel Vadot				reg = <0x30000 0x1000>;
262*f126890aSEmmanuel Vadot				#address-cells = <1>;
263*f126890aSEmmanuel Vadot				#size-cells = <0>;
264*f126890aSEmmanuel Vadot				interrupts = <65>;
265*f126890aSEmmanuel Vadot				ti,spi-num-cs = <4>;
266*f126890aSEmmanuel Vadot				ti,hwmods = "mcspi1";
267*f126890aSEmmanuel Vadot				dmas = <&edma 16 0 &edma 17 0
268*f126890aSEmmanuel Vadot					&edma 18 0 &edma 19 0
269*f126890aSEmmanuel Vadot					&edma 20 0 &edma 21 0
270*f126890aSEmmanuel Vadot					&edma 22 0 &edma 23 0>;
271*f126890aSEmmanuel Vadot
272*f126890aSEmmanuel Vadot				dma-names = "tx0", "rx0", "tx1", "rx1",
273*f126890aSEmmanuel Vadot					"tx2", "rx2", "tx3", "rx3";
274*f126890aSEmmanuel Vadot			};
275*f126890aSEmmanuel Vadot
276*f126890aSEmmanuel Vadot			mcspi2: spi@1a0000 {
277*f126890aSEmmanuel Vadot				compatible = "ti,omap4-mcspi";
278*f126890aSEmmanuel Vadot				reg = <0x1a0000 0x1000>;
279*f126890aSEmmanuel Vadot				#address-cells = <1>;
280*f126890aSEmmanuel Vadot				#size-cells = <0>;
281*f126890aSEmmanuel Vadot				interrupts = <125>;
282*f126890aSEmmanuel Vadot				ti,spi-num-cs = <4>;
283*f126890aSEmmanuel Vadot				ti,hwmods = "mcspi2";
284*f126890aSEmmanuel Vadot				dmas = <&edma 42 0 &edma 43 0
285*f126890aSEmmanuel Vadot					&edma 44 0 &edma 45 0>;
286*f126890aSEmmanuel Vadot				dma-names = "tx0", "rx0", "tx1", "rx1";
287*f126890aSEmmanuel Vadot			};
288*f126890aSEmmanuel Vadot
289*f126890aSEmmanuel Vadot			/* Board must configure dmas with edma_xbar for EDMA */
290*f126890aSEmmanuel Vadot			mcspi3: spi@1a2000 {
291*f126890aSEmmanuel Vadot				compatible = "ti,omap4-mcspi";
292*f126890aSEmmanuel Vadot				reg = <0x1a2000 0x1000>;
293*f126890aSEmmanuel Vadot				#address-cells = <1>;
294*f126890aSEmmanuel Vadot				#size-cells = <0>;
295*f126890aSEmmanuel Vadot				interrupts = <126>;
296*f126890aSEmmanuel Vadot				ti,spi-num-cs = <4>;
297*f126890aSEmmanuel Vadot				ti,hwmods = "mcspi3";
298*f126890aSEmmanuel Vadot			};
299*f126890aSEmmanuel Vadot
300*f126890aSEmmanuel Vadot			mcspi4: spi@1a4000 {
301*f126890aSEmmanuel Vadot				compatible = "ti,omap4-mcspi";
302*f126890aSEmmanuel Vadot				reg = <0x1a4000 0x1000>;
303*f126890aSEmmanuel Vadot				#address-cells = <1>;
304*f126890aSEmmanuel Vadot				#size-cells = <0>;
305*f126890aSEmmanuel Vadot				interrupts = <127>;
306*f126890aSEmmanuel Vadot				ti,spi-num-cs = <4>;
307*f126890aSEmmanuel Vadot				ti,hwmods = "mcspi4";
308*f126890aSEmmanuel Vadot			};
309*f126890aSEmmanuel Vadot
310*f126890aSEmmanuel Vadot			timer1_target: target-module@2e000 {
311*f126890aSEmmanuel Vadot				compatible = "ti,sysc-omap4-timer", "ti,sysc";
312*f126890aSEmmanuel Vadot				reg = <0x2e000 0x4>,
313*f126890aSEmmanuel Vadot				      <0x2e010 0x4>;
314*f126890aSEmmanuel Vadot				reg-names = "rev", "sysc";
315*f126890aSEmmanuel Vadot				ti,sysc-mask = <SYSC_OMAP4_SOFTRESET>;
316*f126890aSEmmanuel Vadot				ti,sysc-sidle = <SYSC_IDLE_FORCE>,
317*f126890aSEmmanuel Vadot						<SYSC_IDLE_NO>,
318*f126890aSEmmanuel Vadot						<SYSC_IDLE_SMART>,
319*f126890aSEmmanuel Vadot						<SYSC_IDLE_SMART_WKUP>;
320*f126890aSEmmanuel Vadot				clocks = <&timer1_fck>;
321*f126890aSEmmanuel Vadot				clock-names = "fck";
322*f126890aSEmmanuel Vadot				#address-cells = <1>;
323*f126890aSEmmanuel Vadot				#size-cells = <1>;
324*f126890aSEmmanuel Vadot				ranges = <0x0 0x2e000 0x1000>;
325*f126890aSEmmanuel Vadot
326*f126890aSEmmanuel Vadot				timer1: timer@0 {
327*f126890aSEmmanuel Vadot					compatible = "ti,am335x-timer-1ms";
328*f126890aSEmmanuel Vadot					reg = <0x0 0x400>;
329*f126890aSEmmanuel Vadot					interrupts = <67>;
330*f126890aSEmmanuel Vadot					ti,timer-alwon;
331*f126890aSEmmanuel Vadot					clocks = <&timer1_fck>;
332*f126890aSEmmanuel Vadot					clock-names = "fck";
333*f126890aSEmmanuel Vadot				};
334*f126890aSEmmanuel Vadot			};
335*f126890aSEmmanuel Vadot
336*f126890aSEmmanuel Vadot			uart1: serial@20000 {
337*f126890aSEmmanuel Vadot				compatible = "ti,am3352-uart", "ti,omap3-uart";
338*f126890aSEmmanuel Vadot				ti,hwmods = "uart1";
339*f126890aSEmmanuel Vadot				reg = <0x20000 0x2000>;
340*f126890aSEmmanuel Vadot				clock-frequency = <48000000>;
341*f126890aSEmmanuel Vadot				interrupts = <72>;
342*f126890aSEmmanuel Vadot				dmas = <&edma 26 0 &edma 27 0>;
343*f126890aSEmmanuel Vadot				dma-names = "tx", "rx";
344*f126890aSEmmanuel Vadot			};
345*f126890aSEmmanuel Vadot
346*f126890aSEmmanuel Vadot			uart2: serial@22000 {
347*f126890aSEmmanuel Vadot				compatible = "ti,am3352-uart", "ti,omap3-uart";
348*f126890aSEmmanuel Vadot				ti,hwmods = "uart2";
349*f126890aSEmmanuel Vadot				reg = <0x22000 0x2000>;
350*f126890aSEmmanuel Vadot				clock-frequency = <48000000>;
351*f126890aSEmmanuel Vadot				interrupts = <73>;
352*f126890aSEmmanuel Vadot				dmas = <&edma 28 0 &edma 29 0>;
353*f126890aSEmmanuel Vadot				dma-names = "tx", "rx";
354*f126890aSEmmanuel Vadot			};
355*f126890aSEmmanuel Vadot
356*f126890aSEmmanuel Vadot			uart3: serial@24000 {
357*f126890aSEmmanuel Vadot				compatible = "ti,am3352-uart", "ti,omap3-uart";
358*f126890aSEmmanuel Vadot				ti,hwmods = "uart3";
359*f126890aSEmmanuel Vadot				reg = <0x24000 0x2000>;
360*f126890aSEmmanuel Vadot				clock-frequency = <48000000>;
361*f126890aSEmmanuel Vadot				interrupts = <74>;
362*f126890aSEmmanuel Vadot				dmas = <&edma 30 0 &edma 31 0>;
363*f126890aSEmmanuel Vadot				dma-names = "tx", "rx";
364*f126890aSEmmanuel Vadot			};
365*f126890aSEmmanuel Vadot
366*f126890aSEmmanuel Vadot			timer2_target: target-module@40000 {
367*f126890aSEmmanuel Vadot				compatible = "ti,sysc-omap4-timer", "ti,sysc";
368*f126890aSEmmanuel Vadot				reg = <0x40000 0x4>,
369*f126890aSEmmanuel Vadot				      <0x40010 0x4>;
370*f126890aSEmmanuel Vadot				reg-names = "rev", "sysc";
371*f126890aSEmmanuel Vadot				ti,sysc-mask = <SYSC_OMAP4_SOFTRESET>;
372*f126890aSEmmanuel Vadot				ti,sysc-sidle = <SYSC_IDLE_FORCE>,
373*f126890aSEmmanuel Vadot						<SYSC_IDLE_NO>,
374*f126890aSEmmanuel Vadot						<SYSC_IDLE_SMART>,
375*f126890aSEmmanuel Vadot						<SYSC_IDLE_SMART_WKUP>;
376*f126890aSEmmanuel Vadot				clocks = <&timer2_fck>;
377*f126890aSEmmanuel Vadot				clock-names = "fck";
378*f126890aSEmmanuel Vadot				#address-cells = <1>;
379*f126890aSEmmanuel Vadot				#size-cells = <1>;
380*f126890aSEmmanuel Vadot				ranges = <0x0 0x40000 0x1000>;
381*f126890aSEmmanuel Vadot
382*f126890aSEmmanuel Vadot				timer2: timer@0 {
383*f126890aSEmmanuel Vadot					compatible = "ti,dm814-timer";
384*f126890aSEmmanuel Vadot					reg = <0 0x1000>;
385*f126890aSEmmanuel Vadot					interrupts = <68>;
386*f126890aSEmmanuel Vadot					clocks = <&timer2_fck>;
387*f126890aSEmmanuel Vadot					clock-names = "fck";
388*f126890aSEmmanuel Vadot				};
389*f126890aSEmmanuel Vadot			};
390*f126890aSEmmanuel Vadot
391*f126890aSEmmanuel Vadot			timer3: timer@42000 {
392*f126890aSEmmanuel Vadot				compatible = "ti,dm814-timer";
393*f126890aSEmmanuel Vadot				reg = <0x42000 0x2000>;
394*f126890aSEmmanuel Vadot				interrupts = <69>;
395*f126890aSEmmanuel Vadot				ti,hwmods = "timer3";
396*f126890aSEmmanuel Vadot			};
397*f126890aSEmmanuel Vadot
398*f126890aSEmmanuel Vadot			mmc1: mmc@60000 {
399*f126890aSEmmanuel Vadot				compatible = "ti,omap4-hsmmc";
400*f126890aSEmmanuel Vadot				ti,hwmods = "mmc1";
401*f126890aSEmmanuel Vadot				dmas = <&edma 24 0
402*f126890aSEmmanuel Vadot					&edma 25 0>;
403*f126890aSEmmanuel Vadot				dma-names = "tx", "rx";
404*f126890aSEmmanuel Vadot				interrupts = <64>;
405*f126890aSEmmanuel Vadot				interrupt-parent = <&intc>;
406*f126890aSEmmanuel Vadot				reg = <0x60000 0x1000>;
407*f126890aSEmmanuel Vadot			};
408*f126890aSEmmanuel Vadot
409*f126890aSEmmanuel Vadot			rtc: rtc@c0000 {
410*f126890aSEmmanuel Vadot				compatible = "ti,am3352-rtc", "ti,da830-rtc";
411*f126890aSEmmanuel Vadot				reg = <0xc0000 0x1000>;
412*f126890aSEmmanuel Vadot				interrupts = <75 76>;
413*f126890aSEmmanuel Vadot				ti,hwmods = "rtc";
414*f126890aSEmmanuel Vadot			};
415*f126890aSEmmanuel Vadot
416*f126890aSEmmanuel Vadot			mmc2: mmc@1d8000 {
417*f126890aSEmmanuel Vadot				compatible = "ti,omap4-hsmmc";
418*f126890aSEmmanuel Vadot				ti,hwmods = "mmc2";
419*f126890aSEmmanuel Vadot				dmas = <&edma 2 0
420*f126890aSEmmanuel Vadot					&edma 3 0>;
421*f126890aSEmmanuel Vadot				dma-names = "tx", "rx";
422*f126890aSEmmanuel Vadot				interrupts = <28>;
423*f126890aSEmmanuel Vadot				interrupt-parent = <&intc>;
424*f126890aSEmmanuel Vadot				reg = <0x1d8000 0x1000>;
425*f126890aSEmmanuel Vadot			};
426*f126890aSEmmanuel Vadot
427*f126890aSEmmanuel Vadot			control: control@140000 {
428*f126890aSEmmanuel Vadot				compatible = "ti,dm814-scm", "simple-bus";
429*f126890aSEmmanuel Vadot				reg = <0x140000 0x20000>;
430*f126890aSEmmanuel Vadot				#address-cells = <1>;
431*f126890aSEmmanuel Vadot				#size-cells = <1>;
432*f126890aSEmmanuel Vadot				ranges = <0 0x140000 0x20000>;
433*f126890aSEmmanuel Vadot
434*f126890aSEmmanuel Vadot				scm_conf: scm_conf@0 {
435*f126890aSEmmanuel Vadot					compatible = "syscon", "simple-bus";
436*f126890aSEmmanuel Vadot					reg = <0x0 0x800>;
437*f126890aSEmmanuel Vadot					#address-cells = <1>;
438*f126890aSEmmanuel Vadot					#size-cells = <1>;
439*f126890aSEmmanuel Vadot					ranges = <0 0 0x800>;
440*f126890aSEmmanuel Vadot
441*f126890aSEmmanuel Vadot					phy_gmii_sel: phy-gmii-sel {
442*f126890aSEmmanuel Vadot						compatible = "ti,dm814-phy-gmii-sel";
443*f126890aSEmmanuel Vadot						reg = <0x650 0x4>;
444*f126890aSEmmanuel Vadot						#phy-cells = <1>;
445*f126890aSEmmanuel Vadot					};
446*f126890aSEmmanuel Vadot
447*f126890aSEmmanuel Vadot					scm_clocks: clocks {
448*f126890aSEmmanuel Vadot						#address-cells = <1>;
449*f126890aSEmmanuel Vadot						#size-cells = <0>;
450*f126890aSEmmanuel Vadot					};
451*f126890aSEmmanuel Vadot
452*f126890aSEmmanuel Vadot					scm_clockdomains: clockdomains {
453*f126890aSEmmanuel Vadot					};
454*f126890aSEmmanuel Vadot				};
455*f126890aSEmmanuel Vadot
456*f126890aSEmmanuel Vadot				usb_ctrl_mod: control@620 {
457*f126890aSEmmanuel Vadot					compatible = "ti,am335x-usb-ctrl-module";
458*f126890aSEmmanuel Vadot					reg = <0x620 0x10
459*f126890aSEmmanuel Vadot						0x648 0x4>;
460*f126890aSEmmanuel Vadot					reg-names = "phy_ctrl", "wakeup";
461*f126890aSEmmanuel Vadot				};
462*f126890aSEmmanuel Vadot
463*f126890aSEmmanuel Vadot				edma_xbar: dma-router@f90 {
464*f126890aSEmmanuel Vadot					compatible = "ti,am335x-edma-crossbar";
465*f126890aSEmmanuel Vadot					reg = <0xf90 0x40>;
466*f126890aSEmmanuel Vadot					#dma-cells = <3>;
467*f126890aSEmmanuel Vadot					dma-requests = <32>;
468*f126890aSEmmanuel Vadot					dma-masters = <&edma>;
469*f126890aSEmmanuel Vadot				};
470*f126890aSEmmanuel Vadot
471*f126890aSEmmanuel Vadot				/*
472*f126890aSEmmanuel Vadot				 * Note that silicon revision 2.1 and older
473*f126890aSEmmanuel Vadot				 * require input enabled (bit 18 set) for all
474*f126890aSEmmanuel Vadot				 * 3.3V I/Os to avoid cumulative hardware damage.
475*f126890aSEmmanuel Vadot				 * For more info, see errata advisory 2.1.87.
476*f126890aSEmmanuel Vadot				 * We leave bit 18 out of function-mask and rely
477*f126890aSEmmanuel Vadot				 * on the bootloader for it.
478*f126890aSEmmanuel Vadot				 */
479*f126890aSEmmanuel Vadot				pincntl: pinmux@800 {
480*f126890aSEmmanuel Vadot					compatible = "pinctrl-single";
481*f126890aSEmmanuel Vadot					reg = <0x800 0x438>;
482*f126890aSEmmanuel Vadot					#address-cells = <1>;
483*f126890aSEmmanuel Vadot					#size-cells = <0>;
484*f126890aSEmmanuel Vadot					#pinctrl-cells = <1>;
485*f126890aSEmmanuel Vadot					pinctrl-single,register-width = <32>;
486*f126890aSEmmanuel Vadot					pinctrl-single,function-mask = <0x307ff>;
487*f126890aSEmmanuel Vadot				};
488*f126890aSEmmanuel Vadot
489*f126890aSEmmanuel Vadot				usb1_phy: usb-phy@1b00 {
490*f126890aSEmmanuel Vadot					compatible = "ti,am335x-usb-phy";
491*f126890aSEmmanuel Vadot					reg = <0x1b00 0x100>;
492*f126890aSEmmanuel Vadot					reg-names = "phy";
493*f126890aSEmmanuel Vadot					ti,ctrl_mod = <&usb_ctrl_mod>;
494*f126890aSEmmanuel Vadot					#phy-cells = <0>;
495*f126890aSEmmanuel Vadot				};
496*f126890aSEmmanuel Vadot			};
497*f126890aSEmmanuel Vadot
498*f126890aSEmmanuel Vadot			prcm: prcm@180000 {
499*f126890aSEmmanuel Vadot				compatible = "ti,dm814-prcm", "simple-bus";
500*f126890aSEmmanuel Vadot				reg = <0x180000 0x2000>;
501*f126890aSEmmanuel Vadot				#address-cells = <1>;
502*f126890aSEmmanuel Vadot				#size-cells = <1>;
503*f126890aSEmmanuel Vadot				ranges = <0 0x180000 0x2000>;
504*f126890aSEmmanuel Vadot
505*f126890aSEmmanuel Vadot				prcm_clocks: clocks {
506*f126890aSEmmanuel Vadot					#address-cells = <1>;
507*f126890aSEmmanuel Vadot					#size-cells = <0>;
508*f126890aSEmmanuel Vadot				};
509*f126890aSEmmanuel Vadot
510*f126890aSEmmanuel Vadot				prcm_clockdomains: clockdomains {
511*f126890aSEmmanuel Vadot				};
512*f126890aSEmmanuel Vadot			};
513*f126890aSEmmanuel Vadot
514*f126890aSEmmanuel Vadot			/* See TRM PLL_SUBSYS_BASE and "PLLSS Registers" */
515*f126890aSEmmanuel Vadot			pllss: pllss@1c5000 {
516*f126890aSEmmanuel Vadot				compatible = "ti,dm814-pllss", "simple-bus";
517*f126890aSEmmanuel Vadot				reg = <0x1c5000 0x1000>;
518*f126890aSEmmanuel Vadot				#address-cells = <1>;
519*f126890aSEmmanuel Vadot				#size-cells = <1>;
520*f126890aSEmmanuel Vadot				ranges = <0 0x1c5000 0x1000>;
521*f126890aSEmmanuel Vadot
522*f126890aSEmmanuel Vadot				pllss_clocks: clocks {
523*f126890aSEmmanuel Vadot					#address-cells = <1>;
524*f126890aSEmmanuel Vadot					#size-cells = <0>;
525*f126890aSEmmanuel Vadot				};
526*f126890aSEmmanuel Vadot
527*f126890aSEmmanuel Vadot				pllss_clockdomains: clockdomains {
528*f126890aSEmmanuel Vadot				};
529*f126890aSEmmanuel Vadot			};
530*f126890aSEmmanuel Vadot
531*f126890aSEmmanuel Vadot			wdt1: wdt@1c7000 {
532*f126890aSEmmanuel Vadot				compatible = "ti,omap3-wdt";
533*f126890aSEmmanuel Vadot				ti,hwmods = "wd_timer";
534*f126890aSEmmanuel Vadot				reg = <0x1c7000 0x1000>;
535*f126890aSEmmanuel Vadot				interrupts = <91>;
536*f126890aSEmmanuel Vadot			};
537*f126890aSEmmanuel Vadot		};
538*f126890aSEmmanuel Vadot
539*f126890aSEmmanuel Vadot		intc: interrupt-controller@48200000 {
540*f126890aSEmmanuel Vadot			compatible = "ti,dm814-intc";
541*f126890aSEmmanuel Vadot			interrupt-controller;
542*f126890aSEmmanuel Vadot			#interrupt-cells = <1>;
543*f126890aSEmmanuel Vadot			reg = <0x48200000 0x1000>;
544*f126890aSEmmanuel Vadot		};
545*f126890aSEmmanuel Vadot
546*f126890aSEmmanuel Vadot		/* Board must configure evtmux with edma_xbar for EDMA */
547*f126890aSEmmanuel Vadot		mmc3: mmc@47810000 {
548*f126890aSEmmanuel Vadot			compatible = "ti,omap4-hsmmc";
549*f126890aSEmmanuel Vadot			ti,hwmods = "mmc3";
550*f126890aSEmmanuel Vadot			interrupts = <29>;
551*f126890aSEmmanuel Vadot			interrupt-parent = <&intc>;
552*f126890aSEmmanuel Vadot			reg = <0x47810000 0x1000>;
553*f126890aSEmmanuel Vadot		};
554*f126890aSEmmanuel Vadot
555*f126890aSEmmanuel Vadot		target-module@49000000 {
556*f126890aSEmmanuel Vadot			compatible = "ti,sysc-omap4", "ti,sysc";
557*f126890aSEmmanuel Vadot			reg = <0x49000000 0x4>;
558*f126890aSEmmanuel Vadot			reg-names = "rev";
559*f126890aSEmmanuel Vadot			clocks = <&alwon_clkctrl DM814_TPCC_CLKCTRL 0>;
560*f126890aSEmmanuel Vadot			clock-names = "fck";
561*f126890aSEmmanuel Vadot			#address-cells = <1>;
562*f126890aSEmmanuel Vadot			#size-cells = <1>;
563*f126890aSEmmanuel Vadot			ranges = <0x0 0x49000000 0x10000>;
564*f126890aSEmmanuel Vadot
565*f126890aSEmmanuel Vadot			edma: dma@0 {
566*f126890aSEmmanuel Vadot				compatible = "ti,edma3-tpcc";
567*f126890aSEmmanuel Vadot				reg = <0 0x10000>;
568*f126890aSEmmanuel Vadot				reg-names = "edma3_cc";
569*f126890aSEmmanuel Vadot				interrupts = <12 13 14>;
570*f126890aSEmmanuel Vadot				interrupt-names = "edma3_ccint", "edma3_mperr",
571*f126890aSEmmanuel Vadot						  "edma3_ccerrint";
572*f126890aSEmmanuel Vadot				dma-requests = <64>;
573*f126890aSEmmanuel Vadot				#dma-cells = <2>;
574*f126890aSEmmanuel Vadot
575*f126890aSEmmanuel Vadot				ti,tptcs = <&edma_tptc0 7>, <&edma_tptc1 5>,
576*f126890aSEmmanuel Vadot					   <&edma_tptc2 3>, <&edma_tptc3 0>;
577*f126890aSEmmanuel Vadot
578*f126890aSEmmanuel Vadot				ti,edma-memcpy-channels = <20 21>;
579*f126890aSEmmanuel Vadot			};
580*f126890aSEmmanuel Vadot		};
581*f126890aSEmmanuel Vadot
582*f126890aSEmmanuel Vadot		target-module@49800000 {
583*f126890aSEmmanuel Vadot			compatible = "ti,sysc-omap4", "ti,sysc";
584*f126890aSEmmanuel Vadot			reg = <0x49800000 0x4>,
585*f126890aSEmmanuel Vadot			      <0x49800010 0x4>;
586*f126890aSEmmanuel Vadot			reg-names = "rev", "sysc";
587*f126890aSEmmanuel Vadot			ti,sysc-mask = <SYSC_OMAP4_SOFTRESET>;
588*f126890aSEmmanuel Vadot			ti,sysc-midle = <SYSC_IDLE_FORCE>;
589*f126890aSEmmanuel Vadot			ti,sysc-sidle = <SYSC_IDLE_FORCE>,
590*f126890aSEmmanuel Vadot					<SYSC_IDLE_SMART>;
591*f126890aSEmmanuel Vadot			clocks = <&alwon_clkctrl DM814_TPTC0_CLKCTRL 0>;
592*f126890aSEmmanuel Vadot			clock-names = "fck";
593*f126890aSEmmanuel Vadot			#address-cells = <1>;
594*f126890aSEmmanuel Vadot			#size-cells = <1>;
595*f126890aSEmmanuel Vadot			ranges = <0x0 0x49800000 0x100000>;
596*f126890aSEmmanuel Vadot
597*f126890aSEmmanuel Vadot			edma_tptc0: dma@0 {
598*f126890aSEmmanuel Vadot				compatible = "ti,edma3-tptc";
599*f126890aSEmmanuel Vadot				reg = <0 0x100000>;
600*f126890aSEmmanuel Vadot				interrupts = <112>;
601*f126890aSEmmanuel Vadot				interrupt-names = "edma3_tcerrint";
602*f126890aSEmmanuel Vadot			};
603*f126890aSEmmanuel Vadot		};
604*f126890aSEmmanuel Vadot
605*f126890aSEmmanuel Vadot		target-module@49900000 {
606*f126890aSEmmanuel Vadot			compatible = "ti,sysc-omap4", "ti,sysc";
607*f126890aSEmmanuel Vadot			reg = <0x49900000 0x4>,
608*f126890aSEmmanuel Vadot			      <0x49900010 0x4>;
609*f126890aSEmmanuel Vadot			reg-names = "rev", "sysc";
610*f126890aSEmmanuel Vadot			ti,sysc-mask = <SYSC_OMAP4_SOFTRESET>;
611*f126890aSEmmanuel Vadot			ti,sysc-midle = <SYSC_IDLE_FORCE>;
612*f126890aSEmmanuel Vadot			ti,sysc-sidle = <SYSC_IDLE_FORCE>,
613*f126890aSEmmanuel Vadot					<SYSC_IDLE_SMART>;
614*f126890aSEmmanuel Vadot			clocks = <&alwon_clkctrl DM814_TPTC1_CLKCTRL 0>;
615*f126890aSEmmanuel Vadot			clock-names = "fck";
616*f126890aSEmmanuel Vadot			#address-cells = <1>;
617*f126890aSEmmanuel Vadot			#size-cells = <1>;
618*f126890aSEmmanuel Vadot			ranges = <0x0 0x49900000 0x100000>;
619*f126890aSEmmanuel Vadot
620*f126890aSEmmanuel Vadot			edma_tptc1: dma@0 {
621*f126890aSEmmanuel Vadot				compatible = "ti,edma3-tptc";
622*f126890aSEmmanuel Vadot				reg = <0 0x100000>;
623*f126890aSEmmanuel Vadot				interrupts = <113>;
624*f126890aSEmmanuel Vadot				interrupt-names = "edma3_tcerrint";
625*f126890aSEmmanuel Vadot			};
626*f126890aSEmmanuel Vadot		};
627*f126890aSEmmanuel Vadot
628*f126890aSEmmanuel Vadot		target-module@49a00000 {
629*f126890aSEmmanuel Vadot			compatible = "ti,sysc-omap4", "ti,sysc";
630*f126890aSEmmanuel Vadot			reg = <0x49a00000 0x4>,
631*f126890aSEmmanuel Vadot			      <0x49a00010 0x4>;
632*f126890aSEmmanuel Vadot			reg-names = "rev", "sysc";
633*f126890aSEmmanuel Vadot			ti,sysc-mask = <SYSC_OMAP4_SOFTRESET>;
634*f126890aSEmmanuel Vadot			ti,sysc-midle = <SYSC_IDLE_FORCE>;
635*f126890aSEmmanuel Vadot			ti,sysc-sidle = <SYSC_IDLE_FORCE>,
636*f126890aSEmmanuel Vadot					<SYSC_IDLE_SMART>;
637*f126890aSEmmanuel Vadot			clocks = <&alwon_clkctrl DM814_TPTC2_CLKCTRL 0>;
638*f126890aSEmmanuel Vadot			clock-names = "fck";
639*f126890aSEmmanuel Vadot			#address-cells = <1>;
640*f126890aSEmmanuel Vadot			#size-cells = <1>;
641*f126890aSEmmanuel Vadot			ranges = <0x0 0x49a00000 0x100000>;
642*f126890aSEmmanuel Vadot
643*f126890aSEmmanuel Vadot			edma_tptc2: dma@0 {
644*f126890aSEmmanuel Vadot				compatible = "ti,edma3-tptc";
645*f126890aSEmmanuel Vadot				reg = <0 0x100000>;
646*f126890aSEmmanuel Vadot				interrupts = <114>;
647*f126890aSEmmanuel Vadot				interrupt-names = "edma3_tcerrint";
648*f126890aSEmmanuel Vadot			};
649*f126890aSEmmanuel Vadot		};
650*f126890aSEmmanuel Vadot
651*f126890aSEmmanuel Vadot		target-module@49b00000 {
652*f126890aSEmmanuel Vadot			compatible = "ti,sysc-omap4", "ti,sysc";
653*f126890aSEmmanuel Vadot			reg = <0x49b00000 0x4>,
654*f126890aSEmmanuel Vadot			      <0x49b00010 0x4>;
655*f126890aSEmmanuel Vadot			reg-names = "rev", "sysc";
656*f126890aSEmmanuel Vadot			ti,sysc-mask = <SYSC_OMAP4_SOFTRESET>;
657*f126890aSEmmanuel Vadot			ti,sysc-midle = <SYSC_IDLE_FORCE>;
658*f126890aSEmmanuel Vadot			ti,sysc-sidle = <SYSC_IDLE_FORCE>,
659*f126890aSEmmanuel Vadot					<SYSC_IDLE_SMART>;
660*f126890aSEmmanuel Vadot			clocks = <&alwon_clkctrl DM814_TPTC3_CLKCTRL 0>;
661*f126890aSEmmanuel Vadot			clock-names = "fck";
662*f126890aSEmmanuel Vadot			#address-cells = <1>;
663*f126890aSEmmanuel Vadot			#size-cells = <1>;
664*f126890aSEmmanuel Vadot			ranges = <0x0 0x49b00000 0x100000>;
665*f126890aSEmmanuel Vadot
666*f126890aSEmmanuel Vadot			edma_tptc3: dma@0 {
667*f126890aSEmmanuel Vadot				compatible = "ti,edma3-tptc";
668*f126890aSEmmanuel Vadot				reg = <0 0x100000>;
669*f126890aSEmmanuel Vadot				interrupts = <115>;
670*f126890aSEmmanuel Vadot				interrupt-names = "edma3_tcerrint";
671*f126890aSEmmanuel Vadot			};
672*f126890aSEmmanuel Vadot		};
673*f126890aSEmmanuel Vadot
674*f126890aSEmmanuel Vadot		/* See TRM "Table 1-318. L4HS Instance Summary" */
675*f126890aSEmmanuel Vadot		l4hs: l4hs@4a000000 {
676*f126890aSEmmanuel Vadot			compatible = "ti,dm814-l4hs", "simple-bus";
677*f126890aSEmmanuel Vadot			#address-cells = <1>;
678*f126890aSEmmanuel Vadot			#size-cells = <1>;
679*f126890aSEmmanuel Vadot			ranges = <0 0x4a000000 0x1b4040>;
680*f126890aSEmmanuel Vadot
681*f126890aSEmmanuel Vadot			target-module@100000 {
682*f126890aSEmmanuel Vadot				compatible = "ti,sysc-omap4-simple", "ti,sysc";
683*f126890aSEmmanuel Vadot				reg = <0x100900 0x4>,
684*f126890aSEmmanuel Vadot				      <0x100908 0x4>,
685*f126890aSEmmanuel Vadot				      <0x100904 0x4>;
686*f126890aSEmmanuel Vadot				reg-names = "rev", "sysc", "syss";
687*f126890aSEmmanuel Vadot				ti,sysc-mask = <0>;
688*f126890aSEmmanuel Vadot				ti,sysc-midle = <SYSC_IDLE_FORCE>,
689*f126890aSEmmanuel Vadot						<SYSC_IDLE_NO>;
690*f126890aSEmmanuel Vadot				ti,sysc-sidle = <SYSC_IDLE_FORCE>,
691*f126890aSEmmanuel Vadot						<SYSC_IDLE_NO>;
692*f126890aSEmmanuel Vadot				ti,syss-mask = <1>;
693*f126890aSEmmanuel Vadot				clocks = <&alwon_ethernet_clkctrl DM814_ETHERNET_CPGMAC0_CLKCTRL 0>;
694*f126890aSEmmanuel Vadot				clock-names = "fck";
695*f126890aSEmmanuel Vadot				#address-cells = <1>;
696*f126890aSEmmanuel Vadot				#size-cells = <1>;
697*f126890aSEmmanuel Vadot				ranges = <0 0x100000 0x8000>;
698*f126890aSEmmanuel Vadot
699*f126890aSEmmanuel Vadot				mac: ethernet@0 {
700*f126890aSEmmanuel Vadot					compatible = "ti,cpsw";
701*f126890aSEmmanuel Vadot					clocks = <&cpsw_125mhz_gclk>, <&cpsw_cpts_rft_clk>;
702*f126890aSEmmanuel Vadot					clock-names = "fck", "cpts";
703*f126890aSEmmanuel Vadot					cpdma_channels = <8>;
704*f126890aSEmmanuel Vadot					ale_entries = <1024>;
705*f126890aSEmmanuel Vadot					bd_ram_size = <0x2000>;
706*f126890aSEmmanuel Vadot					mac_control = <0x20>;
707*f126890aSEmmanuel Vadot					slaves = <2>;
708*f126890aSEmmanuel Vadot					active_slave = <0>;
709*f126890aSEmmanuel Vadot					cpts_clock_mult = <0x80000000>;
710*f126890aSEmmanuel Vadot					cpts_clock_shift = <29>;
711*f126890aSEmmanuel Vadot					reg = <0 0x800>,
712*f126890aSEmmanuel Vadot					      <0x900 0x100>;
713*f126890aSEmmanuel Vadot					#address-cells = <1>;
714*f126890aSEmmanuel Vadot					#size-cells = <1>;
715*f126890aSEmmanuel Vadot					/*
716*f126890aSEmmanuel Vadot					* c0_rx_thresh_pend
717*f126890aSEmmanuel Vadot					* c0_rx_pend
718*f126890aSEmmanuel Vadot					* c0_tx_pend
719*f126890aSEmmanuel Vadot					* c0_misc_pend
720*f126890aSEmmanuel Vadot					*/
721*f126890aSEmmanuel Vadot					interrupts = <40 41 42 43>;
722*f126890aSEmmanuel Vadot					ranges = <0 0 0x8000>;
723*f126890aSEmmanuel Vadot					syscon = <&scm_conf>;
724*f126890aSEmmanuel Vadot
725*f126890aSEmmanuel Vadot					davinci_mdio: mdio@800 {
726*f126890aSEmmanuel Vadot						compatible = "ti,cpsw-mdio", "ti,davinci_mdio";
727*f126890aSEmmanuel Vadot						clocks = <&cpsw_125mhz_gclk>;
728*f126890aSEmmanuel Vadot						clock-names = "fck";
729*f126890aSEmmanuel Vadot						#address-cells = <1>;
730*f126890aSEmmanuel Vadot						#size-cells = <0>;
731*f126890aSEmmanuel Vadot						bus_freq = <1000000>;
732*f126890aSEmmanuel Vadot						reg = <0x800 0x100>;
733*f126890aSEmmanuel Vadot					};
734*f126890aSEmmanuel Vadot
735*f126890aSEmmanuel Vadot					cpsw_emac0: slave@200 {
736*f126890aSEmmanuel Vadot						/* Filled in by U-Boot */
737*f126890aSEmmanuel Vadot						mac-address = [ 00 00 00 00 00 00 ];
738*f126890aSEmmanuel Vadot						phys = <&phy_gmii_sel 1>;
739*f126890aSEmmanuel Vadot					};
740*f126890aSEmmanuel Vadot
741*f126890aSEmmanuel Vadot					cpsw_emac1: slave@300 {
742*f126890aSEmmanuel Vadot						/* Filled in by U-Boot */
743*f126890aSEmmanuel Vadot						mac-address = [ 00 00 00 00 00 00 ];
744*f126890aSEmmanuel Vadot						phys = <&phy_gmii_sel 2>;
745*f126890aSEmmanuel Vadot					};
746*f126890aSEmmanuel Vadot				};
747*f126890aSEmmanuel Vadot			};
748*f126890aSEmmanuel Vadot		};
749*f126890aSEmmanuel Vadot
750*f126890aSEmmanuel Vadot		gpmc: gpmc@50000000 {
751*f126890aSEmmanuel Vadot			compatible = "ti,am3352-gpmc";
752*f126890aSEmmanuel Vadot			ti,hwmods = "gpmc";
753*f126890aSEmmanuel Vadot			ti,no-idle-on-init;
754*f126890aSEmmanuel Vadot			reg = <0x50000000 0x2000>;
755*f126890aSEmmanuel Vadot			interrupts = <100>;
756*f126890aSEmmanuel Vadot			gpmc,num-cs = <7>;
757*f126890aSEmmanuel Vadot			gpmc,num-waitpins = <2>;
758*f126890aSEmmanuel Vadot			#address-cells = <2>;
759*f126890aSEmmanuel Vadot			#size-cells = <1>;
760*f126890aSEmmanuel Vadot			interrupt-controller;
761*f126890aSEmmanuel Vadot			#interrupt-cells = <2>;
762*f126890aSEmmanuel Vadot			gpio-controller;
763*f126890aSEmmanuel Vadot			#gpio-cells = <2>;
764*f126890aSEmmanuel Vadot		};
765*f126890aSEmmanuel Vadot	};
766*f126890aSEmmanuel Vadot};
767*f126890aSEmmanuel Vadot
768*f126890aSEmmanuel Vadot#include "dm814x-clocks.dtsi"
769*f126890aSEmmanuel Vadot
770*f126890aSEmmanuel Vadot/* Preferred always-on timer for clocksource */
771*f126890aSEmmanuel Vadot&timer1_target {
772*f126890aSEmmanuel Vadot	ti,no-reset-on-init;
773*f126890aSEmmanuel Vadot	ti,no-idle;
774*f126890aSEmmanuel Vadot	timer@0 {
775*f126890aSEmmanuel Vadot		assigned-clocks = <&timer1_fck>;
776*f126890aSEmmanuel Vadot		assigned-clock-parents = <&devosc_ck>;
777*f126890aSEmmanuel Vadot	};
778*f126890aSEmmanuel Vadot};
779*f126890aSEmmanuel Vadot
780*f126890aSEmmanuel Vadot/* Preferred timer for clockevent */
781*f126890aSEmmanuel Vadot&timer2_target {
782*f126890aSEmmanuel Vadot	ti,no-reset-on-init;
783*f126890aSEmmanuel Vadot	ti,no-idle;
784*f126890aSEmmanuel Vadot	timer@0 {
785*f126890aSEmmanuel Vadot		assigned-clocks = <&timer2_fck>;
786*f126890aSEmmanuel Vadot		assigned-clock-parents = <&devosc_ck>;
787*f126890aSEmmanuel Vadot	};
788*f126890aSEmmanuel Vadot};
789