1 // SPDX-License-Identifier: GPL-2.0 OR MIT
3 * Copyright 2016-2018 Toradex AG
8 #include <dt-bindings/input/input.h>
9 #include "tegra124-apalis-v1.2.dtsi"
12 model = "Toradex Apalis TK1 on Apalis Evaluation Board";
13 compatible = "toradex,apalis-tk1-v1.2-eval", "toradex,apalis-tk1-eval",
14 "toradex,apalis-tk1-v1.2", "toradex,apalis-tk1",
18 rtc0 = "/i2c@7000c000/rtc@68";
19 rtc1 = "/i2c@7000d000/pmic@40";
20 rtc2 = "/rtc@7000e000";
28 stdout-path = "serial0:115200n8";
40 hdmi-supply = <®_5v0>;
69 * GEN1_I2C: I2C1_SDA/SCL on MXM3 pin 209/211 (e.g. RTC on carrier
74 clock-frequency = <400000>;
77 compatible = "plx,pex8605";
81 /* M41T0M6 real time clock on carrier board */
83 compatible = "st,m41t0";
88 /* GEN2_I2C: unused */
91 * CAM_I2C: I2C3_SDA/SCL (CAM) on MXM3 pin 201/203 (e.g. camera sensor
96 clock-frequency = <400000>;
100 * I2C4 (DDC): I2C4_SDA/SCL (DDC) on MXM3 pin 205/207
101 * (e.g. display EDID)
107 /* SPI1: Apalis SPI1 */
110 spi-max-frequency = <50000000>;
113 /* SPI4: Apalis SPI2 */
116 spi-max-frequency = <50000000>;
119 /* Apalis Serial ATA */
122 target-5v-supply = <®_5v0>;
123 target-12v-supply = <®_12v0>;
139 cd-gpios = <&gpio TEGRA_GPIO(V, 3) GPIO_ACTIVE_LOW>;
140 vqmmc-supply = <&vddio_sdmmc1>;
148 cd-gpios = <&gpio TEGRA_GPIO(V, 2) GPIO_ACTIVE_LOW>;
149 vqmmc-supply = <&vddio_sdmmc3>;
152 /* EHCI instance 0: USB1_DP/N -> USBO1_DP/N */
160 vbus-supply = <®_usbo1_vbus>;
163 /* EHCI instance 1: USB2_DP/N -> USBH2_DP/N */
170 vbus-supply = <®_usbh_vbus>;
173 /* EHCI instance 2: USB3_DP/N -> USBH4_DP/N */
180 vbus-supply = <®_usbh_vbus>;
183 backlight: backlight {
184 compatible = "pwm-backlight";
185 brightness-levels = <255 231 223 207 191 159 127 0>;
186 default-brightness-level = <6>;
188 enable-gpios = <&gpio TEGRA_GPIO(BB, 5) GPIO_ACTIVE_HIGH>;
189 power-supply = <®_3v3>;
190 pwms = <&pwm 3 5000000>; /* BKL1_PWM */
194 compatible = "gpio-keys";
197 label = "WAKE1_MICO";
198 gpios = <&gpio TEGRA_GPIO(DD, 3) GPIO_ACTIVE_LOW>;
199 linux,code = <KEY_WAKEUP>;
200 debounce-interval = <10>;
205 reg_3v3: regulator-3v3 {
206 compatible = "regulator-fixed";
207 regulator-name = "3.3V_SW";
208 regulator-min-microvolt = <3300000>;
209 regulator-max-microvolt = <3300000>;
212 reg_5v0: regulator-5v0 {
213 compatible = "regulator-fixed";
214 regulator-name = "5V_SW";
215 regulator-min-microvolt = <5000000>;
216 regulator-max-microvolt = <5000000>;
219 reg_12v0: regulator-12v0 {
220 compatible = "regulator-fixed";
221 regulator-name = "12V_SW";
222 regulator-min-microvolt = <12000000>;
223 regulator-max-microvolt = <12000000>;
227 reg_usbo1_vbus: regulator-usbo1-vbus {
228 compatible = "regulator-fixed";
229 regulator-name = "VCC_USBO1";
230 regulator-min-microvolt = <5000000>;
231 regulator-max-microvolt = <5000000>;
232 gpio = <&gpio TEGRA_GPIO(T, 5) GPIO_ACTIVE_HIGH>;
234 vin-supply = <®_5v0>;
238 reg_usbh_vbus: regulator-usbh-vbus {
239 compatible = "regulator-fixed";
240 regulator-name = "VCC_USBH(2A|2C|2D|3|4)";
241 regulator-min-microvolt = <5000000>;
242 regulator-max-microvolt = <5000000>;
243 gpio = <&gpio TEGRA_GPIO(T, 6) GPIO_ACTIVE_HIGH>;
245 vin-supply = <®_5v0>;
250 /* Apalis GPIO7 MXM3 pin 15 PLX PEX 8605 PCIe Switch Reset */
253 gpios = <TEGRA_GPIO(DD, 1) GPIO_ACTIVE_HIGH>;
255 line-name = "PEX_PERST_N";