hc
2024-12-19 9370bb92b2d16684ee45cf24e879c93c509162da
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
// SPDX-License-Identifier: (GPL-2.0 or MIT)
//
// Copyright (C) 2018 emtrion GmbH
//
 
/ {
   aliases {
       boardid = &boardid;
       mmc0 = &usdhc3;
       mmc1 = &usdhc2;
       mmc2 = &usdhc1;
       mmc3 = &usdhc4;
   };
 
   reg_wall_5p0: reg-wall5p0 {
       compatible = "regulator-fixed";
       regulator-name = "Main-Supply";
       regulator-min-microvolt = <5000000>;
       regulator-max-microvolt = <5000000>;
       regulator-always-on;
       regulator-boot-on;
   };
 
   reg_base3p3: reg-base3p3 {
       compatible = "regulator-fixed";
       vin-supply = <&reg_wall_5p0>;
       regulator-name = "3V3-avari";
       regulator-min-microvolt = <3300000>;
       regulator-max-microvolt = <3300000>;
       regulator-always-on;
       regulator-boot-on;
   };
 
   reg_base1p5: reg-base1p5 {
       compatible = "regulator-fixed";
       vin-supply = <&reg_base3p3>;
       regulator-name = "1V5-avari";
       regulator-min-microvolt = <1500000>;
       regulator-max-microvolt = <1500000>;
       regulator-always-on;
       regulator-boot-on;
   };
 
   reg_usb_otg: reg-otgvbus {
       compatible = "regulator-fixed";
       vin-supply = <&reg_wall_5p0>;
       regulator-name = "OTG_VBUS";
       regulator-min-microvolt = <5000000>;
       regulator-max-microvolt = <5000000>;
       gpio = <&gpio1 8 GPIO_ACTIVE_LOW>;
       regulator-always-on;
   };
 
   clk_codec: clock-codec {
       compatible = "fixed-clock";
       #clock-cells = <0>;
       clock-frequency  = <12000000>;
   };
 
   sound {
       compatible = "fsl,imx-audio-sgtl5000";
       model = "emCON-avari-sgtl5000";
       ssi-controller = <&ssi2>;
       audio-codec = <&sgtl5000>;
       audio-routing =
           "Headphone Jack", "HP_OUT";
       mux-int-port = <2>;
       mux-ext-port = <3>;
   };
};
 
&audmux {
   pinctrl-names = "default";
   pinctrl-0 = <&pinctrl_audmux>;
   status = "okay";
};
 
&can1 {
   status = "okay";
};
 
&can2 {
   status = "okay";
};
 
&ecspi2 {
   status = "okay";
};
 
&hdmi {
   ddc-i2c-bus = <&i2c2>;
   status = "okay";
};
 
&i2c2 {
   status = "okay";
};
 
&i2c3 {
   clock-frequency = <100000>;
   pinctrl-names = "default";
   pinctrl-0 = <&pinctrl_i2c3>;
   status = "okay";
 
   sgtl5000: audio-codec@a {
       compatible = "fsl,sgtl5000";
       reg = <0x0a>;
       #sound-dai-cells = <0>;
       clocks = <&clk_codec>;
       VDDA-supply = <&reg_base3p3>;
       VDDIO-supply = <&reg_base3p3>;
   };
 
   captouch: touchscreen@38 {
       compatible = "edt,edt-ft5406";
       reg = <0x38>;
       pinctrl-names = "default";
       pinctrl-0 = <&pinctrl_irq_touch2 &pinctrl_emcon_gpio4>;
       interrupt-parent = <&gpio6>;
       interrupts = <31 IRQ_TYPE_EDGE_FALLING>;
       wake-gpios = <&gpio2 3 GPIO_ACTIVE_HIGH>;
       wakeup-source;
   };
 
   boardid: gpio@3a {
       compatible = "nxp,pca8574";
       reg = <0x3a>;
       gpio-controller;
       #gpio-cells = <2>;
   };
};
 
&pcie {
   status = "okay";
};
 
&rgb_encoder {
   status = "okay";
};
 
&rgb_panel {
   compatible = "edt,etm0700g0bdh6";
   status = "okay";
};
 
&ssi2 {
   status = "okay";
};
 
&uart2 {
   status = "okay";
   uart-has-rtscts;
};
 
&uart3 {
   status = "okay";
};
 
&uart4 {
   status = "okay";
};
 
&uart5 {
   status = "okay";
};
 
&usbh1 {
   status = "okay";
};
 
&usbotg {
   status = "okay";
};
 
&usdhc1 {
   status = "okay";
};