blob: 18bebd6d8d4714d2107f2d39903ff8b27b9abcee [file] [log] [blame]
Stefan Agnerb3266292016-06-26 01:47:55 -07001/*
2 * Copyright 2016 Toradex AG
3 *
4 * This file is dual-licensed: you can use it either under the terms
5 * of the GPL or the X11 license, at your option. Note that this dual
6 * licensing only applies to this file, and not this project as a
7 * whole.
8 *
9 * a) This file is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU General Public License as
11 * published by the Free Software Foundation; either version 2 of the
12 * License, or (at your option) any later version.
13 *
14 * This file is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU General Public License for more details.
18 *
19 * Or, alternatively,
20 *
21 * b) Permission is hereby granted, free of charge, to any person
22 * obtaining a copy of this software and associated documentation
23 * files (the "Software"), to deal in the Software without
24 * restriction, including without limitation the rights to use,
25 * copy, modify, merge, publish, distribute, sublicense, and/or
26 * sell copies of the Software, and to permit persons to whom the
27 * Software is furnished to do so, subject to the following
28 * conditions:
29 *
30 * The above copyright notice and this permission notice shall be
31 * included in all copies or substantial portions of the Software.
32 *
33 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
34 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
35 * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
36 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
37 * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
38 * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
39 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
40 * OTHER DEALINGS IN THE SOFTWARE.
41 */
42
43/ {
44 chosen {
45 stdout-path = "serial0:115200n8";
46 };
Stefan Agnera027d492017-03-29 16:21:09 -070047
48 panel: panel {
49 compatible = "edt,et057090dhu";
50 backlight = <&bl>;
Stefan Agner74638012017-03-29 16:21:13 -070051 power-supply = <&reg_3v3>;
Stefan Agnera027d492017-03-29 16:21:09 -070052
53 port {
54 panel_in: endpoint {
55 remote-endpoint = <&lcdif_out>;
56 };
57 };
58 };
Stefan Agner74638012017-03-29 16:21:13 -070059
60 reg_3v3: regulator-3v3 {
61 compatible = "regulator-fixed";
62 regulator-name = "3.3V";
63 regulator-min-microvolt = <3300000>;
64 regulator-max-microvolt = <3300000>;
65 };
66
67 reg_5v0: regulator-5v0 {
68 compatible = "regulator-fixed";
69 regulator-name = "5V";
70 regulator-min-microvolt = <5000000>;
71 regulator-max-microvolt = <5000000>;
72 };
Stefan Agnerb3266292016-06-26 01:47:55 -070073};
74
75&bl {
76 brightness-levels = <0 4 8 16 32 64 128 255>;
77 default-brightness-level = <6>;
Stefan Agner74638012017-03-29 16:21:13 -070078 power-supply = <&reg_3v3>;
79
Stefan Agnerb3266292016-06-26 01:47:55 -070080 status = "okay";
81};
82
83&adc1 {
84 status = "okay";
85};
86
87&adc2 {
88 status = "okay";
89};
90
91&fec1 {
92 status = "okay";
93};
94
95&i2c4 {
96 status = "okay";
97
98 /* M41T0M6 real time clock on carrier board */
99 rtc: m41t0m6@68 {
100 compatible = "st,m41t00";
101 reg = <0x68>;
102 };
103};
104
105&lcdif {
Stefan Agnerb3266292016-06-26 01:47:55 -0700106 status = "okay";
107
Stefan Agnera027d492017-03-29 16:21:09 -0700108 port {
109 lcdif_out: endpoint {
110 remote-endpoint = <&panel_in>;
Stefan Agnerb3266292016-06-26 01:47:55 -0700111 };
112 };
113};
114
115&pwm1 {
116 status = "okay";
117};
118
119&pwm2 {
120 status = "okay";
121};
122
123&pwm3 {
124 status = "okay";
125};
126
127&pwm4 {
128 status = "okay";
129};
130
131&uart1 {
132 status = "okay";
133};
134
135&uart2 {
136 status = "okay";
137};
138
139&uart3 {
140 status = "okay";
141};
142
143&usbotg1 {
144 status = "okay";
145};
146
147&usdhc1 {
Stefan Agnerb3266292016-06-26 01:47:55 -0700148 keep-power-in-suspend;
149 wakeup-source;
150 status = "okay";
151};