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";
32 gpios = <&gpio4 26 GPIO_ACTIVE_LOW>;
33 linux,code = <KEY_BACK>;
35 linux,input-type = <1>;
36 debounce-interval = <100>;
41 gpios = <&gpio5 11 GPIO_ACTIVE_LOW>;
42 linux,code = <KEY_HOME>;
44 linux,input-type = <1>;
45 debounce-interval = <100>;
50 gpios = <&gpio4 25 GPIO_ACTIVE_LOW>;
51 linux,code = <KEY_MENU>;
53 linux,input-type = <1>;
54 debounce-interval = <100>;
60 compatible = "gpio-leds";
63 gpios = <&gpio4 27 GPIO_ACTIVE_HIGH>;
64 linux,default-trigger = "heartbeat";
68 gpios = <&gpio4 28 GPIO_ACTIVE_HIGH>;
69 linux,default-trigger = "default-on";
74 compatible = "sgd,gktw70sdae4se", "panel-lvds";
75 backlight = <&backlight_lvds>;
78 label = "gktw70sdae4se";
79 data-mapping = "jeida-18";
82 clock-frequency = <32000000>;
95 remote-endpoint = <&lvds1_out>;
100 reg_usb_h1_vbus: regulator-usbh1vbus {
101 compatible = "regulator-fixed";
102 regulator-name = "usb_h1_vbus";
103 regulator-min-microvolt = <5000000>;
104 regulator-max-microvolt = <5000000>;
105 gpio = <&gpio1 28 GPIO_ACTIVE_HIGH>;
109 reg_usb_otg_vbus: regulator-usbotgvbus {
110 compatible = "regulator-fixed";
111 regulator-name = "usb_otg_vbus";
112 regulator-min-microvolt = <5000000>;
113 regulator-max-microvolt = <5000000>;
114 gpio = <&gpio4 15 GPIO_ACTIVE_HIGH>;
119 compatible = "simple-audio-card";
120 simple-audio-card,name = "dt6-customboard-audio";
121 simple-audio-card,format = "i2s";
122 simple-audio-card,bitclock-master = <&sound_codec>;
123 simple-audio-card,frame-master = <&sound_codec>;
124 simple-audio-card,widgets = "Headphone", "Headphone Jack",
126 simple-audio-card,routing = "Headphone Jack", "HPLOUT",
127 "Headphone Jack", "HPROUT",
131 sound_cpu: simple-audio-card,cpu {
135 sound_codec: simple-audio-card,codec {
136 sound-dai = <&tlv320aic3106>;
137 clocks = <&clks IMX6QDL_CLK_CKO>;
147 cs-gpios = <&gpio4 9 GPIO_ACTIVE_HIGH>,
148 <&gpio4 10 GPIO_ACTIVE_HIGH>;
155 phy-reset-gpios = <&gpio1 25 GPIO_ACTIVE_LOW>;
163 clock-frequency = <100000>;
168 clock-frequency = <100000>;
172 compatible = "edt,edt-ft5x06";
174 interrupt-parent = <&gpio1>;
175 interrupts = <4 IRQ_TYPE_EDGE_FALLING>;
176 touchscreen-size-x = <800>;
177 touchscreen-size-y = <480>;
178 touchscreen-inverted-x;
179 touchscreen-inverted-y;
184 compatible = "isil,isl12057";
198 lvds1_out: endpoint {
199 remote-endpoint = <&panel_in>;
218 vbus-supply = <®_usb_h1_vbus>;
223 vbus-supply = <®_usb_otg_vbus>;
232 cd-gpios = <&gpio1 6 GPIO_ACTIVE_LOW>;