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>;
51 /* Apalis GPIO7 MXM3 pin 15 PLX PEX 8605 PCIe Switch Reset */
54 gpios = <TEGRA_GPIO(S, 7) GPIO_ACTIVE_HIGH>;
56 line-name = "PEX_PERST_N";
85 * GEN1_I2C: I2C1_SDA/SCL on MXM3 pin 209/211 (e.g. RTC on carrier
90 clock-frequency = <400000>;
93 compatible = "plx,pex8605";
97 /* M41T0M6 real time clock on carrier board */
99 compatible = "st,m41t0";
104 /* GEN2_I2C: unused */
107 * CAM_I2C: I2C3_SDA/SCL on MXM3 pin 201/203 (e.g. camera sensor on
112 clock-frequency = <400000>;
115 /* DDC: I2C2_SDA/SCL on MXM3 pin 205/207 (e.g. display EDID) */
120 /* SPI1: Apalis SPI1 */
123 spi-max-frequency = <25000000>;
126 /* SPI5: Apalis SPI2 */
129 spi-max-frequency = <25000000>;
137 cd-gpios = <&gpio TEGRA_GPIO(CC, 5) GPIO_ACTIVE_LOW>;
146 cd-gpios = <&gpio TEGRA_GPIO(V, 3) GPIO_ACTIVE_LOW>;
150 /* EHCI instance 0: USB1_DP/N -> USBO1_DP/N */
158 vbus-supply = <®_usbo1_vbus>;
161 /* EHCI instance 1: USB2_DP/N -> USBH2_DP/N */
168 vbus-supply = <®_usbh_vbus>;
171 /* EHCI instance 2: USB3_DP/N -> USBH3_DP/N */
178 vbus-supply = <®_usbh_vbus>;
181 backlight: backlight {
182 compatible = "pwm-backlight";
183 brightness-levels = <255 231 223 207 191 159 127 0>;
184 default-brightness-level = <6>;
186 enable-gpios = <&gpio TEGRA_GPIO(V, 2) GPIO_ACTIVE_HIGH>;
187 power-supply = <®_3v3>;
188 pwms = <&pwm 0 5000000>; /* BKL1_PWM */
192 compatible = "gpio-keys";
195 label = "WAKE1_MICO";
196 gpios = <&gpio TEGRA_GPIO(V, 1) GPIO_ACTIVE_LOW>;
197 linux,code = <KEY_WAKEUP>;
198 debounce-interval = <10>;
205 * edt,et057090dhu: EDT 5.7" LCD TFT
206 * edt,et070080dh6: EDT 7.0" LCD TFT
208 compatible = "edt,et057090dhu";
209 backlight = <&backlight>;
210 power-supply = <®_3v3>;
213 reg_3v3: regulator-3v3 {
214 compatible = "regulator-fixed";
215 regulator-name = "3.3V_SW";
216 regulator-min-microvolt = <3300000>;
217 regulator-max-microvolt = <3300000>;
220 reg_5v0: regulator-5v0 {
221 compatible = "regulator-fixed";
222 regulator-name = "5V_SW";
223 regulator-min-microvolt = <5000000>;
224 regulator-max-microvolt = <5000000>;
228 reg_usbo1_vbus: regulator-usbo1-vbus {
229 compatible = "regulator-fixed";
230 regulator-name = "VCC_USBO1";
231 regulator-min-microvolt = <5000000>;
232 regulator-max-microvolt = <5000000>;
233 gpio = <&gpio TEGRA_GPIO(T, 5) GPIO_ACTIVE_HIGH>;
235 vin-supply = <®_5v0>;
239 reg_usbh_vbus: regulator-usbh-vbus {
240 compatible = "regulator-fixed";
241 regulator-name = "VCC_USBH(2A|2C|2D|3|4)";
242 regulator-min-microvolt = <5000000>;
243 regulator-max-microvolt = <5000000>;
244 gpio = <&gpio TEGRA_GPIO(DD, 1) GPIO_ACTIVE_HIGH>;
246 vin-supply = <®_5v0>;