Merge tag 'usb-5.11-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb
[linux/fpc-iii.git] / arch / arm / boot / dts / imx6qdl-emcon-avari.dtsi
blob828cf3e39784afd600090615daa3d0f7d7672919
1 // SPDX-License-Identifier: (GPL-2.0 or MIT)
2 //
3 // Copyright (C) 2018 emtrion GmbH
4 //
6 / {
7         aliases {
8                 boardid = &boardid;
9                 mmc0 = &usdhc3;
10                 mmc1 = &usdhc2;
11                 mmc2 = &usdhc1;
12                 mmc3 = &usdhc4;
13         };
15         reg_wall_5p0: reg-wall5p0 {
16                 compatible = "regulator-fixed";
17                 regulator-name = "Main-Supply";
18                 regulator-min-microvolt = <5000000>;
19                 regulator-max-microvolt = <5000000>;
20                 regulator-always-on;
21                 regulator-boot-on;
22         };
24         reg_base3p3: reg-base3p3 {
25                 compatible = "regulator-fixed";
26                 vin-supply = <&reg_wall_5p0>;
27                 regulator-name = "3V3-avari";
28                 regulator-min-microvolt = <3300000>;
29                 regulator-max-microvolt = <3300000>;
30                 regulator-always-on;
31                 regulator-boot-on;
32         };
34         reg_base1p5: reg-base1p5 {
35                 compatible = "regulator-fixed";
36                 vin-supply = <&reg_base3p3>;
37                 regulator-name = "1V5-avari";
38                 regulator-min-microvolt = <1500000>;
39                 regulator-max-microvolt = <1500000>;
40                 regulator-always-on;
41                 regulator-boot-on;
42         };
44         reg_usb_otg: reg-otgvbus {
45                 compatible = "regulator-fixed";
46                 vin-supply = <&reg_wall_5p0>;
47                 regulator-name = "OTG_VBUS";
48                 regulator-min-microvolt = <5000000>;
49                 regulator-max-microvolt = <5000000>;
50                 gpio = <&gpio1 8 GPIO_ACTIVE_LOW>;
51                 regulator-always-on;
52         };
54         clk_codec: clock-codec {
55                 compatible = "fixed-clock";
56                 #clock-cells = <0>;
57                 clock-frequency  = <12000000>;
58         };
60         sound {
61                 compatible = "fsl,imx-audio-sgtl5000";
62                 model = "emCON-avari-sgtl5000";
63                 ssi-controller = <&ssi2>;
64                 audio-codec = <&sgtl5000>;
65                 audio-routing =
66                         "Headphone Jack", "HP_OUT";
67                 mux-int-port = <2>;
68                 mux-ext-port = <3>;
69         };
72 &audmux {
73         pinctrl-names = "default";
74         pinctrl-0 = <&pinctrl_audmux>;
75         status = "okay";
78 &can1 {
79         status = "okay";
82 &can2 {
83         status = "okay";
86 &ecspi2 {
87         status = "okay";
90 &hdmi {
91         ddc-i2c-bus = <&i2c2>;
92         status = "okay";
95 &i2c2 {
96         status = "okay";
99 &i2c3 {
100         clock-frequency = <100000>;
101         pinctrl-names = "default";
102         pinctrl-0 = <&pinctrl_i2c3>;
103         status = "okay";
105         sgtl5000: audio-codec@a {
106                 compatible = "fsl,sgtl5000";
107                 reg = <0x0a>;
108                 #sound-dai-cells = <0>;
109                 clocks = <&clk_codec>;
110                 VDDA-supply = <&reg_base3p3>;
111                 VDDIO-supply = <&reg_base3p3>;
112         };
114         captouch: touchscreen@38 {
115                 compatible = "edt,edt-ft5406";
116                 reg = <0x38>;
117                 pinctrl-names = "default";
118                 pinctrl-0 = <&pinctrl_irq_touch2 &pinctrl_emcon_gpio4>;
119                 interrupt-parent = <&gpio6>;
120                 interrupts = <31 IRQ_TYPE_EDGE_FALLING>;
121                 wake-gpios = <&gpio2 3 GPIO_ACTIVE_HIGH>;
122                 wakeup-source;
123         };
125         boardid: gpio@3a {
126                 compatible = "nxp,pca8574";
127                 reg = <0x3a>;
128                 gpio-controller;
129                 #gpio-cells = <1>;
130         };
133 &pcie {
134         status = "okay";
137 &rgb_encoder {
138         status = "okay";
141 &rgb_panel {
142         compatible = "edt,etm0700g0bdh6";
143         status = "okay";
146 &ssi2 {
147         status = "okay";
150 &uart2 {
151         status = "okay";
152         uart-has-rtscts;
155 &uart3 {
156         status = "okay";
159 &uart4 {
160         status = "okay";
163 &uart5 {
164         status = "okay";
167 &usbh1 {
168         status = "okay";
171 &usbotg {
172         status = "okay";
175 &usdhc1 {
176         status = "okay";