]> git.ipfire.org Git - thirdparty/linux.git/blame - arch/arm/boot/dts/nvidia/tegra30-apalis-eval.dts
ARM: tegra: Remove dmas and dma-names for debug UART
[thirdparty/linux.git] / arch / arm / boot / dts / nvidia / tegra30-apalis-eval.dts
CommitLineData
b2441318 1// SPDX-License-Identifier: GPL-2.0
6d0a067f
MZ
2/dts-v1/;
3
4#include <dt-bindings/input/input.h>
5#include "tegra30-apalis.dtsi"
6
7/ {
8 model = "Toradex Apalis T30 on Apalis Evaluation Board";
70451b5e
MZ
9 compatible = "toradex,apalis_t30-eval", "toradex,apalis_t30",
10 "nvidia,tegra30";
6d0a067f
MZ
11
12 aliases {
13 rtc0 = "/i2c@7000c000/rtc@68";
b4cfc776 14 rtc1 = "/i2c@7000d000/pmic@2d";
6d0a067f 15 rtc2 = "/rtc@7000e000";
c4574aa0
OJ
16 serial0 = &uarta;
17 serial1 = &uartb;
18 serial2 = &uartc;
19 serial3 = &uartd;
6d0a067f
MZ
20 };
21
f5bbb327
JH
22 chosen {
23 stdout-path = "serial0:115200n8";
24 };
25
508d690e 26 pcie@3000 {
6d0a067f
MZ
27 pci@1,0 {
28 status = "okay";
29 };
30
31 pci@2,0 {
32 status = "okay";
33 };
6d0a067f
MZ
34 };
35
36 host1x@50000000 {
37 dc@54200000 {
38 rgb {
39 status = "okay";
40 nvidia,panel = <&panel>;
41 };
42 };
4eb7e5ed 43
6d0a067f
MZ
44 hdmi@54280000 {
45 status = "okay";
32980cbc 46 hdmi-supply = <&reg_5v0>;
6d0a067f
MZ
47 };
48 };
49
d1e34a8a
TR
50 gpio@6000d000 {
51 /* Apalis GPIO7 MXM3 pin 15 PLX PEX 8605 PCIe Switch Reset */
52 pex-perst-n-hog {
53 gpio-hog;
54 gpios = <TEGRA_GPIO(S, 7) GPIO_ACTIVE_HIGH>;
55 output-high;
56 line-name = "PEX_PERST_N";
57 };
58 };
59
e073452b 60 /* Apalis UART1 */
6d0a067f 61 serial@70006000 {
9766116a
TR
62 /delete-property/ dmas;
63 /delete-property/ dma-names;
6d0a067f
MZ
64 status = "okay";
65 };
66
e073452b 67 /* Apalis UART2 */
6d0a067f 68 serial@70006040 {
6d0a067f
MZ
69 status = "okay";
70 };
71
e073452b 72 /* Apalis UART3 */
6d0a067f 73 serial@70006200 {
6d0a067f
MZ
74 status = "okay";
75 };
76
e073452b 77 /* Apalis UART4 */
6d0a067f 78 serial@70006300 {
6d0a067f
MZ
79 status = "okay";
80 };
81
82 pwm@7000a000 {
83 status = "okay";
84 };
85
86 /*
87 * GEN1_I2C: I2C1_SDA/SCL on MXM3 pin 209/211 (e.g. RTC on carrier
88 * board)
89 */
90 i2c@7000c000 {
91 status = "okay";
1c3389e6 92 clock-frequency = <400000>;
6d0a067f
MZ
93
94 pcie-switch@58 {
95 compatible = "plx,pex8605";
96 reg = <0x58>;
97 };
98
99 /* M41T0M6 real time clock on carrier board */
100 rtc@68 {
29a62759 101 compatible = "st,m41t0";
6d0a067f
MZ
102 reg = <0x68>;
103 };
104 };
105
106 /* GEN2_I2C: unused */
107
108 /*
109 * CAM_I2C: I2C3_SDA/SCL on MXM3 pin 201/203 (e.g. camera sensor on
110 * carrier board)
111 */
95bcc02a 112 i2c@7000c500 {
6d0a067f
MZ
113 status = "okay";
114 clock-frequency = <400000>;
115 };
116
117 /* DDC: I2C2_SDA/SCL on MXM3 pin 205/207 (e.g. display EDID) */
46717602 118 i2c@7000c700 {
6d0a067f
MZ
119 status = "okay";
120 };
121
122 /* SPI1: Apalis SPI1 */
123 spi@7000d400 {
124 status = "okay";
125 spi-max-frequency = <25000000>;
6d0a067f
MZ
126 };
127
128 /* SPI5: Apalis SPI2 */
129 spi@7000dc00 {
130 status = "okay";
131 spi-max-frequency = <25000000>;
6d0a067f
MZ
132 };
133
005a00d8 134 /* Apalis SD1 */
32c096c2 135 mmc@78000000 {
6d0a067f
MZ
136 status = "okay";
137 bus-width = <4>;
138 /* SD1_CD# */
139 cd-gpios = <&gpio TEGRA_GPIO(CC, 5) GPIO_ACTIVE_LOW>;
140 no-1-8-v;
141 };
142
005a00d8 143 /* Apalis MMC1 */
32c096c2 144 mmc@78000400 {
6d0a067f
MZ
145 status = "okay";
146 bus-width = <8>;
147 /* MMC1_CD# */
148 cd-gpios = <&gpio TEGRA_GPIO(V, 3) GPIO_ACTIVE_LOW>;
149 no-1-8-v;
150 };
151
152 /* EHCI instance 0: USB1_DP/N -> USBO1_DP/N */
153 usb@7d000000 {
154 status = "okay";
8bf0d6b2 155 dr_mode = "otg";
6d0a067f
MZ
156 };
157
158 usb-phy@7d000000 {
159 status = "okay";
f98439c3 160 vbus-supply = <&reg_usbo1_vbus>;
6d0a067f
MZ
161 };
162
163 /* EHCI instance 1: USB2_DP/N -> USBH2_DP/N */
164 usb@7d004000 {
165 status = "okay";
166 };
167
168 usb-phy@7d004000 {
169 status = "okay";
f98439c3 170 vbus-supply = <&reg_usbh_vbus>;
6d0a067f
MZ
171 };
172
173 /* EHCI instance 2: USB3_DP/N -> USBH3_DP/N */
174 usb@7d008000 {
175 status = "okay";
176 };
177
178 usb-phy@7d008000 {
179 status = "okay";
f98439c3 180 vbus-supply = <&reg_usbh_vbus>;
6d0a067f
MZ
181 };
182
183 backlight: backlight {
184 compatible = "pwm-backlight";
6d0a067f
MZ
185 brightness-levels = <255 231 223 207 191 159 127 0>;
186 default-brightness-level = <6>;
187 /* BKL1_ON */
188 enable-gpios = <&gpio TEGRA_GPIO(V, 2) GPIO_ACTIVE_HIGH>;
32980cbc 189 power-supply = <&reg_3v3>;
654b7139 190 pwms = <&pwm 0 5000000>; /* BKL1_PWM */
6d0a067f
MZ
191 };
192
193 gpio-keys {
194 compatible = "gpio-keys";
195
799270e9 196 key-wakeup {
21db15df 197 label = "WAKE1_MICO";
6d0a067f 198 gpios = <&gpio TEGRA_GPIO(V, 1) GPIO_ACTIVE_LOW>;
21db15df 199 linux,code = <KEY_WAKEUP>;
6d0a067f 200 debounce-interval = <10>;
d1c04d30 201 wakeup-source;
6d0a067f
MZ
202 };
203 };
204
205 panel: panel {
206 /*
207 * edt,et057090dhu: EDT 5.7" LCD TFT
208 * edt,et070080dh6: EDT 7.0" LCD TFT
209 */
7860c873 210 compatible = "edt,et057090dhu";
6d0a067f 211 backlight = <&backlight>;
32980cbc 212 power-supply = <&reg_3v3>;
6d0a067f
MZ
213 };
214
32980cbc
MZ
215 reg_3v3: regulator-3v3 {
216 compatible = "regulator-fixed";
217 regulator-name = "3.3V_SW";
218 regulator-min-microvolt = <3300000>;
219 regulator-max-microvolt = <3300000>;
220 };
221
f98439c3
MZ
222 reg_5v0: regulator-5v0 {
223 compatible = "regulator-fixed";
224 regulator-name = "5V_SW";
225 regulator-min-microvolt = <5000000>;
226 regulator-max-microvolt = <5000000>;
227 };
6d0a067f 228
f98439c3
MZ
229 /* USBO1_EN */
230 reg_usbo1_vbus: regulator-usbo1-vbus {
231 compatible = "regulator-fixed";
232 regulator-name = "VCC_USBO1";
233 regulator-min-microvolt = <5000000>;
234 regulator-max-microvolt = <5000000>;
235 gpio = <&gpio TEGRA_GPIO(T, 5) GPIO_ACTIVE_HIGH>;
236 enable-active-high;
237 vin-supply = <&reg_5v0>;
238 };
6d0a067f 239
f98439c3
MZ
240 /* USBH_EN */
241 reg_usbh_vbus: regulator-usbh-vbus {
242 compatible = "regulator-fixed";
243 regulator-name = "VCC_USBH(2A|2C|2D|3|4)";
244 regulator-min-microvolt = <5000000>;
245 regulator-max-microvolt = <5000000>;
246 gpio = <&gpio TEGRA_GPIO(DD, 1) GPIO_ACTIVE_HIGH>;
247 enable-active-high;
248 vin-supply = <&reg_5v0>;
6d0a067f
MZ
249 };
250};