1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * Support for Variscite DART-MX6 Carrier-board
5 * Copyright 2017 BayLibre, SAS
6 * Author: Neil Armstrong <narmstrong@baylibre.com>
12 #include "imx6qdl-var-dart.dtsi"
13 #include <dt-bindings/input/linux-event-codes.h>
16 model = "Variscite DART-MX6 Carrier-board";
17 compatible = "variscite,dt6customboard", "fsl,imx6q";
19 backlight_lvds: backlight {
20 compatible = "pwm-backlight";
21 pwms = <&pwm2 0 50000>;
22 brightness-levels = <0 4 8 16 32 64 128 248>;
23 default-brightness-level = <7>;
28 compatible = "gpio-keys";
34 gpios = <&gpio4 26 GPIO_ACTIVE_LOW>;
35 linux,code = <KEY_BACK>;
37 linux,input-type = <1>;
38 debounce-interval = <100>;
43 gpios = <&gpio5 11 GPIO_ACTIVE_LOW>;
44 linux,code = <KEY_HOME>;
46 linux,input-type = <1>;
47 debounce-interval = <100>;
52 gpios = <&gpio4 25 GPIO_ACTIVE_LOW>;
53 linux,code = <KEY_MENU>;
55 linux,input-type = <1>;
56 debounce-interval = <100>;
62 compatible = "gpio-leds";
65 gpios = <&gpio4 27 GPIO_ACTIVE_HIGH>;
66 linux,default-trigger = "heartbeat";
70 gpios = <&gpio4 28 GPIO_ACTIVE_HIGH>;
71 linux,default-trigger = "default-on";
76 compatible = "sgd,gktw70sdae4se", "panel-lvds";
77 backlight = <&backlight_lvds>;
80 label = "gktw70sdae4se";
81 data-mapping = "jeida-18";
84 clock-frequency = <32000000>;
97 remote-endpoint = <&lvds1_out>;
102 reg_usb_h1_vbus: regulator-usbh1vbus {
103 compatible = "regulator-fixed";
104 regulator-name = "usb_h1_vbus";
105 regulator-min-microvolt = <5000000>;
106 regulator-max-microvolt = <5000000>;
107 gpio = <&gpio1 28 GPIO_ACTIVE_HIGH>;
111 reg_usb_otg_vbus: regulator-usbotgvbus {
112 compatible = "regulator-fixed";
113 regulator-name = "usb_otg_vbus";
114 regulator-min-microvolt = <5000000>;
115 regulator-max-microvolt = <5000000>;
116 gpio = <&gpio4 15 GPIO_ACTIVE_HIGH>;
121 compatible = "simple-audio-card";
122 simple-audio-card,name = "dt6-customboard-audio";
123 simple-audio-card,format = "i2s";
124 simple-audio-card,bitclock-master = <&sound_codec>;
125 simple-audio-card,frame-master = <&sound_codec>;
126 simple-audio-card,widgets = "Headphone", "Headphone Jack",
128 simple-audio-card,routing = "Headphone Jack", "HPLOUT",
129 "Headphone Jack", "HPROUT",
133 sound_cpu: simple-audio-card,cpu {
137 sound_codec: simple-audio-card,codec {
138 sound-dai = <&tlv320aic3106>;
139 clocks = <&clks IMX6QDL_CLK_CKO>;
149 cs-gpios = <&gpio4 9 GPIO_ACTIVE_HIGH>,
150 <&gpio4 10 GPIO_ACTIVE_HIGH>;
157 phy-reset-gpios = <&gpio1 25 GPIO_ACTIVE_LOW>;
165 clock-frequency = <100000>;
170 clock-frequency = <100000>;
174 compatible = "edt,edt-ft5x06";
176 interrupt-parent = <&gpio1>;
177 interrupts = <4 IRQ_TYPE_EDGE_FALLING>;
178 touchscreen-size-x = <800>;
179 touchscreen-size-y = <480>;
180 touchscreen-inverted-x;
181 touchscreen-inverted-y;
185 compatible = "isil,isl12057";
199 lvds1_out: endpoint {
200 remote-endpoint = <&panel_in>;
219 vbus-supply = <®_usb_h1_vbus>;
224 vbus-supply = <®_usb_otg_vbus>;
233 cd-gpios = <&gpio1 6 GPIO_ACTIVE_LOW>;