1 // SPDX-License-Identifier: GPL-2.0 OR MIT
4 #include <dt-bindings/input/input.h>
5 #include "tegra30-apalis-v1.1.dtsi"
8 model = "Toradex Apalis T30 on Apalis Evaluation Board";
9 compatible = "toradex,apalis_t30-v1.1-eval", "toradex,apalis_t30-eval",
10 "toradex,apalis_t30-v1.1", "toradex,apalis_t30",
14 rtc0 = "/i2c@7000c000/rtc@68";
15 rtc1 = "/i2c@7000d000/pmic@2d";
16 rtc2 = "/rtc@7000e000";
24 stdout-path = "serial0:115200n8";
41 nvidia,panel = <&panel>;
47 hdmi-supply = <®_5v0>;
76 * GEN1_I2C: I2C1_SDA/SCL on MXM3 pin 209/211 (e.g. RTC on carrier
81 clock-frequency = <400000>;
84 compatible = "plx,pex8605";
88 /* M41T0M6 real time clock on carrier board */
90 compatible = "st,m41t0";
95 /* GEN2_I2C: unused */
98 * CAM_I2C: I2C3_SDA/SCL on MXM3 pin 201/203 (e.g. camera sensor on
103 clock-frequency = <400000>;
106 /* DDC: I2C2_SDA/SCL on MXM3 pin 205/207 (e.g. display EDID) */
111 /* SPI1: Apalis SPI1 */
114 spi-max-frequency = <25000000>;
117 /* SPI5: Apalis SPI2 */
120 spi-max-frequency = <25000000>;
128 cd-gpios = <&gpio TEGRA_GPIO(CC, 5) GPIO_ACTIVE_LOW>;
137 cd-gpios = <&gpio TEGRA_GPIO(V, 3) GPIO_ACTIVE_LOW>;
138 vqmmc-supply = <®_vddio_sdmmc3>;
141 /* EHCI instance 0: USB1_DP/N -> USBO1_DP/N */
149 vbus-supply = <®_usbo1_vbus>;
152 /* EHCI instance 1: USB2_DP/N -> USBH2_DP/N */
159 vbus-supply = <®_usbh_vbus>;
162 /* EHCI instance 2: USB3_DP/N -> USBH3_DP/N */
169 vbus-supply = <®_usbh_vbus>;
172 backlight: backlight {
173 compatible = "pwm-backlight";
174 brightness-levels = <255 231 223 207 191 159 127 0>;
175 default-brightness-level = <6>;
177 enable-gpios = <&gpio TEGRA_GPIO(V, 2) GPIO_ACTIVE_HIGH>;
178 power-supply = <®_3v3>;
179 pwms = <&pwm 0 5000000>; /* BKL1_PWM */
183 compatible = "gpio-keys";
186 label = "WAKE1_MICO";
187 gpios = <&gpio TEGRA_GPIO(V, 1) GPIO_ACTIVE_LOW>;
188 linux,code = <KEY_WAKEUP>;
189 debounce-interval = <10>;
196 * edt,et057090dhu: EDT 5.7" LCD TFT
197 * edt,et070080dh6: EDT 7.0" LCD TFT
199 compatible = "edt,et057090dhu";
200 backlight = <&backlight>;
201 power-supply = <®_3v3>;
204 reg_3v3: regulator-3v3 {
205 compatible = "regulator-fixed";
206 regulator-name = "3.3V_SW";
207 regulator-min-microvolt = <3300000>;
208 regulator-max-microvolt = <3300000>;
211 reg_5v0: regulator-5v0 {
212 compatible = "regulator-fixed";
213 regulator-name = "5V_SW";
214 regulator-min-microvolt = <5000000>;
215 regulator-max-microvolt = <5000000>;
219 reg_usbo1_vbus: regulator-usbo1-vbus {
220 compatible = "regulator-fixed";
221 regulator-name = "VCC_USBO1";
222 regulator-min-microvolt = <5000000>;
223 regulator-max-microvolt = <5000000>;
224 gpio = <&gpio TEGRA_GPIO(T, 5) GPIO_ACTIVE_HIGH>;
226 vin-supply = <®_5v0>;
230 reg_usbh_vbus: regulator-usbh-vbus {
231 compatible = "regulator-fixed";
232 regulator-name = "VCC_USBH(2A|2C|2D|3|4)";
233 regulator-min-microvolt = <5000000>;
234 regulator-max-microvolt = <5000000>;
235 gpio = <&gpio TEGRA_GPIO(DD, 1) GPIO_ACTIVE_HIGH>;
237 vin-supply = <®_5v0>;
241 * 1.8 volt resp. 3.3 volt VDDIO_SDMMC3 depending on
242 * EN_+3.3_SDMMC3 GPIO
244 reg_vddio_sdmmc3: regulator-vddio-sdmmc3 {
245 compatible = "regulator-gpio";
246 regulator-name = "VDDIO_SDMMC3";
247 regulator-min-microvolt = <1800000>;
248 regulator-max-microvolt = <3300000>;
249 regulator-type = "voltage";
250 gpios = <&gpio TEGRA_GPIO(J, 5) GPIO_ACTIVE_HIGH>;
251 states = <1800000 0x0>,
253 startup-delay-us = <100000>;
254 vin-supply = <&vddio_sdmmc_1v8_reg>;
259 /* Apalis GPIO7 MXM3 pin 15 PLX PEX 8605 PCIe Switch Reset */
262 gpios = <TEGRA_GPIO(S, 7) GPIO_ACTIVE_HIGH>;
264 line-name = "PEX_PERST_N";