blob: a0d046d07a196dfc2cb03f60f6fa42e73e8eb9ac [file] [log] [blame]
Hannes Schmelzer008c6b52019-02-06 13:25:59 +01001// SPDX-License-Identifier: GPL-2.0+
2/*
3 * Copyright (C) 2019 B&R Industrial Automation GmbH
4 * http://www.br-automation.com
5 *
6 */
7/dts-v1/;
8
9#include "am33xx.dtsi"
10
11/ {
12 model = "BRXRE1 Panel";
13 compatible = "ti,am33xx";
14
15 fset: factory-settings {
16 bl-version = " ";
17 order-no = " ";
18 cpu-order-no = " ";
19 hw-revision = " ";
20 serial-no = <0>;
21 device-id = <0xE681>;
22 parent-id = <0xE681>;
23 hw-variant = <0x3>;
24 hw-platform = <0x0>;
25 fram-offset = <0x1000>;
26 fram-size = <0x3000>;
27 cache-disable = <0x0>;
28 cpu-clock = <0x0>;
29 };
30 chosen {
31 #address-cells = <1>;
32 #size-cells = <1>;
33
34 bootargs = "console=ttyO0,115200 earlyprintk";
35 stdout-path = &uart0;
36
37 framebuffer: framebuffer@8fbe0000 {
38 display = <&lcdscreen0>;
39 compatible = "simple-framebuffer";
40 status = "okay";
41 reg = <0x8fbef000 (1024 * 600 * 4)>;
42 width = <1024>;
43 height = <600>;
44 stride = <(1024 * 4)>;
45 format = "a8r8g8b8";
46 clocks = <&dpll_disp_m2_ck>, <&dpll_per_m2_ck>;
47 };
48 };
49
50 aliases {
51 fset = &fset;
52 mmc = &mmc2;
53 spi0 = &spi0;
54 spi1 = &spi1;
55 touch0 = &burtouch0;
56 screen0 = &lcdscreen0;
57 };
58
59 memory {
60 device_type = "memory";
61 reg = <0x80000000 0x10000000>; /* 256 MB */
62 };
63
64 panel {
65 compatible = "ti,tilcdc,panel";
66 status = "okay";
67 };
68
69 vmmcsd_fixed: fixedregulator@0 {
70 compatible = "regulator-fixed";
71 regulator-name = "vmmcsd_fixed";
72 regulator-min-microvolt = <3300000>;
73 regulator-max-microvolt = <3300000>;
74 };
75
76 lcdscreen0: lcdscreen@0 {
77 status = "okay";
78 compatible = "ti,tilcdc,panel";
79
80 backlight = <&tps_bl>;
81
82 panel-info {
83 ac-bias = <255>;
84 ac-bias-intrpt = <0>;
85 dma-burst-sz = <16>;
86 bpp = <32>;
87 fdd = <0x80>;
88 sync-edge = <0>;
89 sync-ctrl = <1>;
90 raster-order = <0>;
91 fifo-th = <0>;
92 };
93
94 display-timings {
95 native-mode = <&timing0>;
96 timing0: lcd {
97 clock-frequency = <9142857>;
98 hactive = <480>;
99 vactive = <272>;
100 hfront-porch = <8>;
101 hback-porch = <43>;
102 hsync-len = <2>;
103 vfront-porch = <4>;
104 vback-porch = <2>;
105 vsync-len = <10>;
106 hsync-active = <1>;
107 vsync-active = <1>;
108 pupdelay = <10>;
109 pondelay = <10>;
110 };
111 };
112 };
113};
114
115&uart0 { /* console uart */
116 u-boot,dm-spl;
117 status = "okay";
118};
119
120&uart2 {
121 status = "okay";
122};
123
124&uart3 {
125 status = "okay";
126};
127
128&uart4 {
129 status = "okay";
130};
131
132&i2c0 {
133 u-boot,dm-spl;
134 status = "okay";
135 clock-frequency = <100000>;
136
137 tps: tps@24 { /* PMIC controller */
138 u-boot,dm-spl;
139 reg = <0x24>;
140 compatible = "ti,tps65217";
141
142 tps_bl: backlight {
143 compatible = "ti,tps65217-bl";
144 isel = <1>; /* 1 - ISET1, 2 ISET2 */
145 fdim = <1000>; /* TPS65217_BL_FDIM_1kHZ */
146 default-brightness = <50>;
147 };
148 };
149 resetc: rstpsc@75 { /* reset controller */
150 compatible = "bur,rstpsc";
151 reg = <0x75>;
152
153 cooling-min-state = <0>;
154 cooling-max-state = <1>; /* reset gets fired */
155 #cooling-cells = <2>; /* min followed by max */
156 };
157 rtc0: rv3029c2@56 {
158 status = "okay";
159 #thermal-sensor-cells = <0>;
160 compatible = "rv3029c2";
161 reg = <0x56>;
162 };
163};
164
165&spi0 {
166 status = "okay";
167};
168
169&spi1 {
170 status = "okay";
171};
172
173&edma {
174 status = "okay";
175};
176
177&cppi41dma {
178 status = "okay";
179};
180
181&usb {
182 status = "okay";
183};
184
185&usb_ctrl_mod {
186 status = "okay";
187};
188
189&usb0_phy {
190 status = "okay";
191};
192
193&usb1_phy {
194 status = "okay";
195};
196
197&usb0 {
198 status = "okay";
199 dr_mode = "host";
200};
201
202&usb1 {
203 status = "okay";
204 dr_mode = "host";
205};
206
207&davinci_mdio {
208 status = "okay";
Grygorii Strashkoa6f37dc2019-08-31 10:30:34 +0300209
210 ethphy0: ethernet-phy@1 {
211 reg = <1>;
212 };
213
214 ethphy1: ethernet-phy@2 {
215 reg = <2>;
216 };
Hannes Schmelzer008c6b52019-02-06 13:25:59 +0100217};
218
219&mac {
220 status = "okay";
221};
222
223&cpsw_emac0 {
Grygorii Strashkoa6f37dc2019-08-31 10:30:34 +0300224 phy-handle = <&ethphy0>;
Hannes Schmelzer008c6b52019-02-06 13:25:59 +0100225 phy-mode = "mii";
226};
227
228&cpsw_emac1 {
Grygorii Strashkoa6f37dc2019-08-31 10:30:34 +0300229 phy-handle = <&ethphy1>;
Hannes Schmelzer008c6b52019-02-06 13:25:59 +0100230 phy-mode = "mii";
231};
232
233&mmc1 {
234 u-boot,dm-pre-reloc;
235 vmmc-supply = <&vmmcsd_fixed>;
236 bus-width = <0x4>;
237 ti,non-removable;
238 ti,needs-special-hs-handling;
239 ti,vcc-aux-disable-is-sleep;
240 status = "okay";
241};
242
243&mmc2 {
244 u-boot,dm-pre-reloc;
245 vmmc-supply = <&vmmcsd_fixed>;
246 bus-width = <0x8>;
247 ti,non-removable;
248 ti,needs-special-hs-handling;
249 ti,vcc-aux-disable-is-sleep;
250 status = "okay";
251};
252
253&lcdc {
254 status = "okay";
255 ti,no-reset-on-init;
256 ti,no-idle-on-init;
257};
258
259&elm {
260 status = "okay";
261};
262
263&sham {
264 status = "okay";
265};
266
267&aes {
268 status = "okay";
269};
270
271&gpio0 {
272 u-boot,dm-spl;
273 ti,no-reset-on-init;
274};
275
276&gpio1 {
277 u-boot,dm-spl;
278 ti,no-reset-on-init;
279};
280
281&gpio2 {
282 u-boot,dm-spl;
283 ti,no-reset-on-init;
284};
285
286&gpio3 {
287 u-boot,dm-spl;
288 ti,no-reset-on-init;
289};
290
291&timer1 { /* today unused */
292 status = "okay";
293 ti,no-reset-on-init;
294 ti,no-idle-on-init;
295};
296
297&timer2 { /* used for vxworks primary timer device */
298 status = "okay";
299 ti,no-reset-on-init;
300 ti,no-idle-on-init;
301};
302
303&timer3 { /* used sysdelay and hal tsc counter*/
304 status = "okay";
305 ti,no-reset-on-init;
306 ti,no-idle-on-init;
307};
308
309&timer4 { /* used for PWM beeper */
310 status = "okay";
311 ti,no-reset-on-init;
312 ti,no-idle-on-init;
313};
314
315&timer5 { /* used for PWM backlight */
316 status = "okay";
317 ti,no-reset-on-init;
318 ti,no-idle-on-init;
319};
320
321&timer6 { /* used for cpsw end device */
322 status = "okay";
323 ti,no-reset-on-init;
324 ti,no-idle-on-init;
325};
326
327&timer7 { /* used for cpsw end device */
328 status = "okay";
329 ti,no-reset-on-init;
330 ti,no-idle-on-init;
331};
332
333&wdt2 {
334 status = "okay";
335 ti,no-reset-on-init;
336 ti,no-idle-on-init;
337};
338
339&epwmss0 {
340 status = "okay";
341};
342
343&tscadc {
344 status = "okay";
345
346 tsc {
347 burtouch0: burtouch@0 {
348 status = "okay";
349 compatible = "bur,DdVxSfTouchXXX";
350 bur,hwtree = "IF7";
351 bur,KX0 = <0x0>;
352 bur,KX1 = <0x0>;
353 bur,KX2 = <0x0>;
354 bur,KY0 = <0x0>;
355 bur,KY1 = <0x0>;
356 bur,KY2 = <0x0>;
357 };
358 };
359};
360
361&dcan0 {
362 status = "okay";
363};
364
365&dcan1 {
366 status = "okay";
367};
368
369&sham {
370 status = "disabled";
371};
372
373&aes {
374 status = "disabled";
375};
376
377&rng {
378 status = "disabled";
379};