1 // SPDX-License-Identifier: GPL-2.0+
3 * Copyright 2018 B&R Industrial Automation GmbH
4 * Copyright 2012 Freescale Semiconductor, Inc.
5 * Copyright 2011 Linaro Ltd.
7 * The code contained herein is licensed under the GNU General Public
8 * License. You may obtain a copy of the GNU General Public License
9 * Version 2 or later at the following locations:
11 * http://www.opensource.org/licenses/gpl-license.html
12 * http://www.gnu.org/copyleft/gpl.html
17 #include "imx6dl.dtsi"
18 #include "imx6qdl-u-boot.dtsi"
19 #include <dt-bindings/pwm/pwm.h>
20 #include <include/dt-bindings/gpio/gpio.h>
24 compatible = "fsl,imx6dl";
27 u-boot,spl-payload-offset = <0x100000>;
30 fset: factory-settings {
31 bl-version = "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";
32 order-no = "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";
33 hw-revision = "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";
41 ds1timing0 = &timing0;
42 ds1timing1 = &timing1;
49 display_regulator = &display_regulator;
55 stdout-path = "serial0:115200n8";
59 compatible = "fsl,mxc_sdc_fb";
61 interface_pix_fmt = "RGB24";
70 compatible = "fsl,lcd";
71 vlcd-supply = <&display_regulator>;
74 default_ifmt = "RGB24";
78 native-mode = <&timing1>;
84 backlight: backlight {
85 compatible = "pwm-backlight";
86 pwms = <&pwm4 0 5000000>;
87 brightness-levels = <0 1 2 3 4 5 6 7
89 16 17 18 19 20 21 22 23
90 24 25 26 27 28 29 30 31
91 32 33 34 35 36 37 38 39
92 40 41 42 43 44 45 46 47
93 48 49 50 51 52 53 54 55
94 56 57 58 59 60 61 62 63
95 64 65 66 67 68 69 70 71
96 72 73 74 75 76 77 78 79
97 80 81 82 83 84 85 86 87
98 88 89 90 91 92 93 94 95
100 default-brightness-level = <0>;
103 enable-gpios = <&gpio1 15 GPIO_ACTIVE_HIGH>;
107 compatible = "pwm-beeper";
108 pwms = <&pwm3 0 0 0>;
111 vbus1_regulator: regulator@1 {
113 compatible = "regulator-fixed";
114 regulator-name = "vbus1_regulator";
115 regulator-min-microvolt = <5000000>;
116 regulator-max-microvolt = <5000000>;
117 gpio = <&gpio3 22 GPIO_ACTIVE_HIGH>;
120 vbus2_regulator: regulator@2 {
121 compatible = "regulator-fixed";
122 regulator-name = "vbus2_regulator";
123 regulator-min-microvolt = <5000000>;
124 regulator-max-microvolt = <5000000>;
125 gpio = <&gpio3 31 GPIO_ACTIVE_HIGH>;
128 usbhub_regulator: gpio-regulator@3 {
129 compatible = "regulator-gpio";
130 regulator-name = "ushbub_regulator";
131 enable-gpio = <&gpio1 16 GPIO_ACTIVE_HIGH>;
136 display_regulator: regulator@4 {
137 compatible = "regulator-fixed";
138 regulator-name = "display_regulator";
139 regulator-min-microvolt = <3300000>;
140 regulator-max-microvolt = <3300000>;
141 gpio = <&gpio5 18 GPIO_ACTIVE_HIGH>;
143 startup-delay-us = <1000>;
148 phy-mode = "rgmii-id";
173 vldb-supply = <&display_regulator>;
176 fsl,data-mapping = "spwg";
177 fsl,data-width = <24>;
183 native-mode = <&timing0>;
197 vbus-supply = <&vbus1_regulator>;
203 vbus-supply = <&vbus2_regulator>;
209 clock-frequency = <400000>;
212 touch0: egalax_i2c@2a {
213 compatible = "eeti,egalax_i2c";
215 interrupt-parent = <&gpio4>;
217 int-gpios = <&gpio4 9 GPIO_ACTIVE_HIGH>;
221 compatible = "goodix,gt911";
223 interrupt-parent = <&gpio4>;
225 irq-gpios = <&gpio4 9 GPIO_ACTIVE_HIGH>;
226 reset-gpios = <&gpio4 11 GPIO_ACTIVE_HIGH>;
230 touch2: i2c-hid-dev@2c {
231 compatible = "hid-over-i2c";
233 hid-descr-addr = <0x0001>;
234 interrupt-parent = <&gpio4>;
266 cs-gpios = <&gpio3 19 GPIO_ACTIVE_LOW>, <&gpio3 19 GPIO_ACTIVE_LOW>;
268 spi-max-frequency = <25000000>;
272 #address-cells = <1>;
274 compatible = "st,m25p", "jedec,spi-nor";
275 spi-max-frequency = <25000000>;