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>;
45 /* Apalis GPIO7 MXM3 pin 15 PLX PEX 8605 PCIe Switch Reset */
48 gpios = <TEGRA_GPIO(DD, 1) GPIO_ACTIVE_HIGH>;
50 line-name = "PEX_PERST_N";
56 /delete-property/ dmas;
57 /delete-property/ dma-names;
81 * GEN1_I2C: I2C1_SDA/SCL on MXM3 pin 209/211 (e.g. RTC on carrier
86 clock-frequency = <400000>;
89 compatible = "plx,pex8605";
93 /* M41T0M6 real time clock on carrier board */
95 compatible = "st,m41t0";
100 /* GEN2_I2C: unused */
103 * CAM_I2C: I2C3_SDA/SCL (CAM) on MXM3 pin 201/203 (e.g. camera sensor
108 clock-frequency = <400000>;
112 * I2C4 (DDC): I2C4_SDA/SCL (DDC) on MXM3 pin 205/207
113 * (e.g. display EDID)
119 /* SPI1: Apalis SPI1 */
122 spi-max-frequency = <50000000>;
125 /* SPI4: Apalis SPI2 */
128 spi-max-frequency = <50000000>;
131 /* Apalis Serial ATA */
134 target-5v-supply = <®_5v0>;
135 target-12v-supply = <®_12v0>;
151 cd-gpios = <&gpio TEGRA_GPIO(V, 3) GPIO_ACTIVE_LOW>;
152 vqmmc-supply = <&vddio_sdmmc1>;
160 cd-gpios = <&gpio TEGRA_GPIO(V, 2) GPIO_ACTIVE_LOW>;
161 vqmmc-supply = <&vddio_sdmmc3>;
164 /* EHCI instance 0: USB1_DP/N -> USBO1_DP/N */
172 vbus-supply = <®_usbo1_vbus>;
175 /* EHCI instance 1: USB2_DP/N -> USBH2_DP/N */
182 vbus-supply = <®_usbh_vbus>;
185 /* EHCI instance 2: USB3_DP/N -> USBH4_DP/N */
192 vbus-supply = <®_usbh_vbus>;
195 backlight: backlight {
196 compatible = "pwm-backlight";
197 brightness-levels = <255 231 223 207 191 159 127 0>;
198 default-brightness-level = <6>;
200 enable-gpios = <&gpio TEGRA_GPIO(BB, 5) GPIO_ACTIVE_HIGH>;
201 power-supply = <®_3v3>;
202 pwms = <&pwm 3 5000000>; /* BKL1_PWM */
206 compatible = "gpio-keys";
209 label = "WAKE1_MICO";
210 gpios = <&gpio TEGRA_GPIO(DD, 3) GPIO_ACTIVE_LOW>;
211 linux,code = <KEY_WAKEUP>;
212 debounce-interval = <10>;
217 reg_3v3: regulator-3v3 {
218 compatible = "regulator-fixed";
219 regulator-name = "3.3V_SW";
220 regulator-min-microvolt = <3300000>;
221 regulator-max-microvolt = <3300000>;
224 reg_5v0: regulator-5v0 {
225 compatible = "regulator-fixed";
226 regulator-name = "5V_SW";
227 regulator-min-microvolt = <5000000>;
228 regulator-max-microvolt = <5000000>;
231 reg_12v0: regulator-12v0 {
232 compatible = "regulator-fixed";
233 regulator-name = "12V_SW";
234 regulator-min-microvolt = <12000000>;
235 regulator-max-microvolt = <12000000>;
239 reg_usbo1_vbus: regulator-usbo1-vbus {
240 compatible = "regulator-fixed";
241 regulator-name = "VCC_USBO1";
242 regulator-min-microvolt = <5000000>;
243 regulator-max-microvolt = <5000000>;
244 gpio = <&gpio TEGRA_GPIO(T, 5) GPIO_ACTIVE_HIGH>;
246 vin-supply = <®_5v0>;
250 reg_usbh_vbus: regulator-usbh-vbus {
251 compatible = "regulator-fixed";
252 regulator-name = "VCC_USBH(2A|2C|2D|3|4)";
253 regulator-min-microvolt = <5000000>;
254 regulator-max-microvolt = <5000000>;
255 gpio = <&gpio TEGRA_GPIO(T, 6) GPIO_ACTIVE_HIGH>;
257 vin-supply = <®_5v0>;