1 // SPDX-License-Identifier: GPL-2.0 OR X11
3 * Copyright 2016-2019 Toradex AG
8 #include <dt-bindings/input/input.h>
9 #include "tegra124-apalis.dtsi"
12 model = "Toradex Apalis TK1 on Apalis Evaluation Board";
13 compatible = "toradex,apalis-tk1-eval", "toradex,apalis-tk1",
17 rtc0 = "/i2c@7000c000/rtc@68";
18 rtc1 = "/i2c@7000d000/pmic@40";
19 rtc2 = "/rtc@7000e000";
27 stdout-path = "serial0:115200n8";
39 hdmi-supply = <®_5v0>;
68 * GEN1_I2C: I2C1_SDA/SCL on MXM3 pin 209/211 (e.g. RTC on carrier
73 clock-frequency = <400000>;
76 compatible = "plx,pex8605";
80 /* M41T0M6 real time clock on carrier board */
82 compatible = "st,m41t0";
88 * GEN2_I2C: I2C2_SDA/SCL (DDC) on MXM3 pin 205/207 (e.g. display EDID)
95 * CAM_I2C: I2C3_SDA/SCL (CAM) on MXM3 pin 201/203 (e.g. camera sensor
100 clock-frequency = <400000>;
103 /* I2C4 (DDC): unused */
105 /* SPI1: Apalis SPI1 */
108 spi-max-frequency = <50000000>;
111 /* SPI4: Apalis SPI2 */
114 spi-max-frequency = <50000000>;
117 /* Apalis Serial ATA */
120 target-5v-supply = <®_5v0>;
121 target-12v-supply = <®_12v0>;
137 cd-gpios = <&gpio TEGRA_GPIO(V, 3) GPIO_ACTIVE_LOW>;
138 vqmmc-supply = <&vddio_sdmmc1>;
146 cd-gpios = <&gpio TEGRA_GPIO(V, 2) GPIO_ACTIVE_LOW>;
147 vqmmc-supply = <&vddio_sdmmc3>;
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 -> USBH4_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(BB, 5) GPIO_ACTIVE_HIGH>;
187 power-supply = <®_3v3>;
188 pwms = <&pwm 3 5000000>; /* BKL1_PWM */
192 compatible = "gpio-keys";
195 label = "WAKE1_MICO";
196 gpios = <&gpio TEGRA_GPIO(DD, 3) GPIO_ACTIVE_LOW>;
197 linux,code = <KEY_WAKEUP>;
198 debounce-interval = <10>;
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>;
217 reg_12v0: regulator-12v0 {
218 compatible = "regulator-fixed";
219 regulator-name = "12V_SW";
220 regulator-min-microvolt = <12000000>;
221 regulator-max-microvolt = <12000000>;
225 reg_usbo1_vbus: regulator-usbo1-vbus {
226 compatible = "regulator-fixed";
227 regulator-name = "VCC_USBO1";
228 regulator-min-microvolt = <5000000>;
229 regulator-max-microvolt = <5000000>;
230 gpio = <&gpio TEGRA_GPIO(N, 4) GPIO_ACTIVE_HIGH>;
232 vin-supply = <®_5v0>;
236 reg_usbh_vbus: regulator-usbh-vbus {
237 compatible = "regulator-fixed";
238 regulator-name = "VCC_USBH(2A|2C|2D|3|4)";
239 regulator-min-microvolt = <5000000>;
240 regulator-max-microvolt = <5000000>;
241 gpio = <&gpio TEGRA_GPIO(N, 5) GPIO_ACTIVE_HIGH>;
243 vin-supply = <®_5v0>;
248 /* Apalis GPIO7 MXM3 pin 15 PLX PEX 8605 PCIe Switch Reset */
251 gpios = <TEGRA_GPIO(DD, 1) GPIO_ACTIVE_HIGH>;
253 line-name = "PEX_PERST_N";