1 // SPDX-License-Identifier: GPL-2.0
4 #include <dt-bindings/input/input.h>
5 #include "tegra30-apalis.dtsi"
8 model = "Toradex Apalis T30 on Apalis Evaluation Board";
9 compatible = "toradex,apalis_t30-eval", "toradex,apalis_t30",
13 rtc0 = "/i2c@7000c000/rtc@68";
14 rtc1 = "/i2c@7000d000/pmic@2d";
15 rtc2 = "/rtc@7000e000";
23 stdout-path = "serial0:115200n8";
40 nvidia,panel = <&panel>;
46 hdmi-supply = <®_5v0>;
75 * GEN1_I2C: I2C1_SDA/SCL on MXM3 pin 209/211 (e.g. RTC on carrier
80 clock-frequency = <400000>;
83 compatible = "plx,pex8605";
87 /* M41T0M6 real time clock on carrier board */
89 compatible = "st,m41t0";
94 /* GEN2_I2C: unused */
97 * CAM_I2C: I2C3_SDA/SCL on MXM3 pin 201/203 (e.g. camera sensor on
102 clock-frequency = <400000>;
105 /* DDC: I2C2_SDA/SCL on MXM3 pin 205/207 (e.g. display EDID) */
110 /* SPI1: Apalis SPI1 */
113 spi-max-frequency = <25000000>;
116 /* SPI5: Apalis SPI2 */
119 spi-max-frequency = <25000000>;
127 cd-gpios = <&gpio TEGRA_GPIO(CC, 5) GPIO_ACTIVE_LOW>;
136 cd-gpios = <&gpio TEGRA_GPIO(V, 3) GPIO_ACTIVE_LOW>;
140 /* EHCI instance 0: USB1_DP/N -> USBO1_DP/N */
148 vbus-supply = <®_usbo1_vbus>;
151 /* EHCI instance 1: USB2_DP/N -> USBH2_DP/N */
158 vbus-supply = <®_usbh_vbus>;
161 /* EHCI instance 2: USB3_DP/N -> USBH3_DP/N */
168 vbus-supply = <®_usbh_vbus>;
171 backlight: backlight {
172 compatible = "pwm-backlight";
173 brightness-levels = <255 231 223 207 191 159 127 0>;
174 default-brightness-level = <6>;
176 enable-gpios = <&gpio TEGRA_GPIO(V, 2) GPIO_ACTIVE_HIGH>;
177 power-supply = <®_3v3>;
178 pwms = <&pwm 0 5000000>; /* BKL1_PWM */
182 compatible = "gpio-keys";
185 label = "WAKE1_MICO";
186 gpios = <&gpio TEGRA_GPIO(V, 1) GPIO_ACTIVE_LOW>;
187 linux,code = <KEY_WAKEUP>;
188 debounce-interval = <10>;
195 * edt,et057090dhu: EDT 5.7" LCD TFT
196 * edt,et070080dh6: EDT 7.0" LCD TFT
198 compatible = "edt,et057090dhu";
199 backlight = <&backlight>;
200 power-supply = <®_3v3>;
203 reg_3v3: regulator-3v3 {
204 compatible = "regulator-fixed";
205 regulator-name = "3.3V_SW";
206 regulator-min-microvolt = <3300000>;
207 regulator-max-microvolt = <3300000>;
210 reg_5v0: regulator-5v0 {
211 compatible = "regulator-fixed";
212 regulator-name = "5V_SW";
213 regulator-min-microvolt = <5000000>;
214 regulator-max-microvolt = <5000000>;
218 reg_usbo1_vbus: regulator-usbo1-vbus {
219 compatible = "regulator-fixed";
220 regulator-name = "VCC_USBO1";
221 regulator-min-microvolt = <5000000>;
222 regulator-max-microvolt = <5000000>;
223 gpio = <&gpio TEGRA_GPIO(T, 5) GPIO_ACTIVE_HIGH>;
225 vin-supply = <®_5v0>;
229 reg_usbh_vbus: regulator-usbh-vbus {
230 compatible = "regulator-fixed";
231 regulator-name = "VCC_USBH(2A|2C|2D|3|4)";
232 regulator-min-microvolt = <5000000>;
233 regulator-max-microvolt = <5000000>;
234 gpio = <&gpio TEGRA_GPIO(DD, 1) GPIO_ACTIVE_HIGH>;
236 vin-supply = <®_5v0>;
241 /* Apalis GPIO7 MXM3 pin 15 PLX PEX 8605 PCIe Switch Reset */
244 gpios = <TEGRA_GPIO(S, 7) GPIO_ACTIVE_HIGH>;
246 line-name = "PEX_PERST_N";