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", "nvidia,tegra30";
12 rtc0 = "/i2c@7000c000/rtc@68";
13 rtc1 = "/i2c@7000d000/tps65911@2d";
14 rtc2 = "/rtc@7000e000";
22 stdout-path = "serial0:115200n8";
45 nvidia,panel = <&panel>;
58 compatible = "nvidia,tegra30-hsuart";
63 compatible = "nvidia,tegra30-hsuart";
68 compatible = "nvidia,tegra30-hsuart";
77 * GEN1_I2C: I2C1_SDA/SCL on MXM3 pin 209/211 (e.g. RTC on carrier
82 clock-frequency = <100000>;
85 compatible = "plx,pex8605";
89 /* M41T0M6 real time clock on carrier board */
91 compatible = "st,m41t00";
96 /* GEN2_I2C: unused */
99 * CAM_I2C: I2C3_SDA/SCL on MXM3 pin 201/203 (e.g. camera sensor on
102 cami2c: i2c@7000c500 {
104 clock-frequency = <400000>;
107 /* DDC: I2C2_SDA/SCL on MXM3 pin 205/207 (e.g. display EDID) */
108 hdmiddc: i2c@7000c700 {
112 /* SPI1: Apalis SPI1 */
115 spi-max-frequency = <25000000>;
117 compatible = "spidev";
119 spi-max-frequency = <25000000>;
123 /* SPI5: Apalis SPI2 */
126 spi-max-frequency = <25000000>;
128 compatible = "spidev";
130 spi-max-frequency = <25000000>;
138 sd1: sdhci@78000000 {
142 cd-gpios = <&gpio TEGRA_GPIO(CC, 5) GPIO_ACTIVE_LOW>;
146 mmc1: sdhci@78000400 {
150 cd-gpios = <&gpio TEGRA_GPIO(V, 3) GPIO_ACTIVE_LOW>;
154 /* EHCI instance 0: USB1_DP/N -> USBO1_DP/N */
162 vbus-supply = <&usbo1_vbus_reg>;
165 /* EHCI instance 1: USB2_DP/N -> USBH2_DP/N */
172 vbus-supply = <&usbh_vbus_reg>;
175 /* EHCI instance 2: USB3_DP/N -> USBH3_DP/N */
182 vbus-supply = <&usbh_vbus_reg>;
185 backlight: backlight {
186 compatible = "pwm-backlight";
189 pwms = <&pwm 0 5000000>;
190 brightness-levels = <255 231 223 207 191 159 127 0>;
191 default-brightness-level = <6>;
193 enable-gpios = <&gpio TEGRA_GPIO(V, 2) GPIO_ACTIVE_HIGH>;
197 compatible = "gpio-keys";
200 label = "WAKE1_MICO";
201 gpios = <&gpio TEGRA_GPIO(V, 1) GPIO_ACTIVE_LOW>;
202 linux,code = <KEY_WAKEUP>;
203 debounce-interval = <10>;
210 * edt,et057090dhu: EDT 5.7" LCD TFT
211 * edt,et070080dh6: EDT 7.0" LCD TFT
213 compatible = "edt,et057090dhu", "simple-panel";
215 backlight = <&backlight>;
219 compatible = "pwm-leds";
223 pwms = <&pwm 3 19600>;
224 max-brightness = <255>;
229 pwms = <&pwm 2 19600>;
230 max-brightness = <255>;
235 pwms = <&pwm 1 19600>;
236 max-brightness = <255>;
241 sys_5v0_reg: regulator@1 {
242 compatible = "regulator-fixed";
244 regulator-name = "5v0";
245 regulator-min-microvolt = <5000000>;
246 regulator-max-microvolt = <5000000>;
251 usbo1_vbus_reg: regulator@2 {
252 compatible = "regulator-fixed";
254 regulator-name = "usbo1_vbus";
255 regulator-min-microvolt = <5000000>;
256 regulator-max-microvolt = <5000000>;
257 gpio = <&gpio TEGRA_GPIO(T, 5) GPIO_ACTIVE_HIGH>;
259 vin-supply = <&sys_5v0_reg>;
263 usbh_vbus_reg: regulator@3 {
264 compatible = "regulator-fixed";
266 regulator-name = "usbh_vbus";
267 regulator-min-microvolt = <5000000>;
268 regulator-max-microvolt = <5000000>;
269 gpio = <&gpio TEGRA_GPIO(DD, 1) GPIO_ACTIVE_HIGH>;
271 vin-supply = <&sys_5v0_reg>;