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
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
|
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
/*
* Copyright 2021 NXP
*/
/ {
/delete-node/ audio-codec;
/delete-node/ ir-receiver;
/delete-node/ regulator-audio-board;
/delete-node/ sound-wm8524;
/delete-node/ sound-micfil;
/delete-node/ sound-ak5558;
ak4458_reset: gpio-reset {
compatible = "gpio-reset";
reset-gpios = <&pca6416 4 GPIO_ACTIVE_LOW>;
#reset-cells = <0>;
initially-in-reset;
};
gpio-leds {
panel {
label = "green:panel";
gpios = <&pca6408_2 0 GPIO_ACTIVE_LOW>;
default-state = "on";
};
};
reg_ab2_ana_pwr: regulator-ab2-ana-pwr {
compatible = "regulator-fixed";
regulator-name = "ANA_12V0";
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_ab2_ana_pwr>;
regulator-min-microvolt = <12000000>;
regulator-max-microvolt = <12000000>;
gpio = <&gpio1 10 GPIO_ACTIVE_HIGH>;
enable-active-high;
regulator-always-on;
regulator-boot-on;
};
reg_ab2_vdd_pwr_5v0: regulator-ab2-vdd-pwr-5v0 {
compatible = "regulator-fixed";
regulator-name = "VDD_5V0";
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_ab2_vdd_pwr_5v0>;
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
gpio = <&gpio1 7 GPIO_ACTIVE_HIGH>;
enable-active-high;
regulator-always-on;
regulator-boot-on;
};
reg_adc_dvdd_3v3: reg-adc-dvdd-3v3 {
compatible = "regulator-fixed";
regulator-name = "ADC_DVDD_3V3";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
vin-supply = <®_ab2_ana_pwr>;
};
reg_adc_avdd_5v0: reg-adc-avdd-5v0 {
compatible = "regulator-fixed";
regulator-name = "ADC_DVDD_5V0";
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
vin-supply = <®_ab2_ana_pwr>;
};
reg_dac_dvdd_3v3: reg-dac-dvdd-3v3 {
compatible = "regulator-fixed";
regulator-name = "DAC_DVDD_3V3";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
vin-supply = <®_ab2_ana_pwr>;
};
reg_dac_avdd_5v0: reg-dac-avdd-5v0 {
compatible = "regulator-fixed";
regulator-name = "ADC_DVDD_5V0";
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
vin-supply = <®_ab2_ana_pwr>;
};
reg_cph_3v3: reg-cph-3v3 {
compatible = "regulator-fixed";
regulator-name = "CPH_3V3";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
vin-supply = <®_ab2_vdd_pwr_5v0>;
};
reg_cph_1v8: reg-cph-1v8 {
compatible = "regulator-fixed";
regulator-name = "CPH_1V8";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
vin-supply = <®_ab2_vdd_pwr_5v0>;
};
sound-ak4458 {
compatible = "fsl,imx-audio-card";
model = "ak4458-audio";
pri-dai-link {
link-name = "akcodec";
format = "i2s";
fsl,mclk-equal-bclk;
cpu {
sound-dai = <&sai3>;
};
codec {
sound-dai = <&ak4458_1>;
};
};
};
};
&cameradev {
status = "disabled";
};
&fec1 {
phy-reset-gpios = <&gpio1 5 GPIO_ACTIVE_LOW>;
phy-reset-post-delay = <150>;
phy-reset-duration = <10>;
mdio {
ethphy0: ethernet-phy@0 {
/delete-property/ at803x,eee-disabled;
/delete-property/ at803x,vddio-1p8v;
max-speed = <100>;
};
};
};
&i2c2 {
/delete-node/ adv7535@3d;
pca6408_2: gpio@20 {
compatible = "ti,tca6408";
reg = <0x20>;
gpio-controller;
#gpio-cells = <2>;
};
ptn5110: tcpc@50 {
status = "disabled";
/delete-node/ port;
};
ptn5150: tcpc@1d {
compatible = "nxp,ptn5150";
reg = <0x1d>;
status = "okay";
typec_con: connector {
compatible = "usb-c-connector";
label = "USB-C";
power-role = "dual";
data-role = "dual";
try-power-role = "sink";
source-pdos = <PDO_FIXED(5000, 3000, PDO_FIXED_USB_COMM)>;
sink-pdos = <PDO_FIXED(5000, 3000, PDO_FIXED_USB_COMM)
PDO_VAR(5000, 20000, 3000)>;
op-sink-microwatt = <15000000>;
self-powered;
};
};
};
&i2c3 {
/delete-node/ ak5558@13;
/delete-node/ ak4497@11;
/delete-node/ ov5640_mipi@3c;
pca6416: gpio@20 {
compatible = "ti,tca6416";
reg = <0x20>;
gpio-controller;
#gpio-cells = <2>;
};
ak4458_1: ak4458@10 {
#sound-dai-cells = <0>;
sound-name-prefix = "0";
compatible = "asahi-kasei,ak4458";
reg = <0x10>;
resets = <&ak4458_reset>;
AVDD-supply = <®_dac_avdd_5v0>;
DVDD-supply = <®_dac_dvdd_3v3>;
status = "okay";
};
ak4458_2: ak4458@12 {
#sound-dai-cells = <0>;
sound-name-prefix = "1";
compatible = "asahi-kasei,ak4458";
reg = <0x12>;
resets = <&ak4458_reset>;
AVDD-supply = <®_dac_avdd_5v0>;
DVDD-supply = <®_dac_dvdd_3v3>;
status = "disabled";
};
ak4458_3: ak4458@11 {
#sound-dai-cells = <0>;
sound-name-prefix = "2";
compatible = "asahi-kasei,ak4458";
reg = <0x11>;
resets = <&ak4458_reset>;
AVDD-supply = <®_dac_avdd_5v0>;
DVDD-supply = <®_dac_dvdd_3v3>;
status = "disabled";
};
ak5552: ak5552@13 {
#sound-dai-cells = <0>;
compatible = "asahi-kasei,ak5552";
reg = <0x13>;
reset-gpios = <&pca6416 3 GPIO_ACTIVE_LOW>;
AVDD-supply = <®_adc_avdd_5v0>;
DVDD-supply = <®_adc_dvdd_3v3>;
status = "disabled";
};
};
&i2c4 {
clock-frequency = <400000>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_i2c4>;
status = "disabled";
};
&iomuxc {
pinctrl_ab2_ana_pwr: ab2anapwrgrp {
fsl,pins = <
MX8MN_IOMUXC_GPIO1_IO10_GPIO1_IO10 0x41
>;
};
pinctrl_ab2_vdd_pwr_5v0: ab2vddpwr5v0grp {
fsl,pins = <
MX8MN_IOMUXC_GPIO1_IO07_GPIO1_IO7 0x41
>;
};
pinctrl_i2c4: i2c4grp {
fsl,pins = <
MX8MN_IOMUXC_I2C4_SCL_I2C4_SCL 0x400001c3
MX8MN_IOMUXC_I2C4_SDA_I2C4_SDA 0x400001c3
>;
};
pinctrl_fec1: fec1grp {
fsl,pins = <
MX8MN_IOMUXC_ENET_MDC_ENET1_MDC 0x3
MX8MN_IOMUXC_ENET_MDIO_ENET1_MDIO 0x3
MX8MN_IOMUXC_ENET_TD3_ENET1_RGMII_TD3 0x1f
MX8MN_IOMUXC_ENET_TD2_ENET1_RGMII_TD2 0x1f
MX8MN_IOMUXC_ENET_TD1_ENET1_RGMII_TD1 0x1f
MX8MN_IOMUXC_ENET_TD0_ENET1_RGMII_TD0 0x1f
MX8MN_IOMUXC_ENET_RD3_ENET1_RGMII_RD3 0x91
MX8MN_IOMUXC_ENET_RD2_ENET1_RGMII_RD2 0x91
MX8MN_IOMUXC_ENET_RD1_ENET1_RGMII_RD1 0x91
MX8MN_IOMUXC_ENET_RD0_ENET1_RGMII_RD0 0x91
MX8MN_IOMUXC_ENET_TXC_ENET1_RGMII_TXC 0x1f
MX8MN_IOMUXC_ENET_RXC_ENET1_RGMII_RXC 0x91
MX8MN_IOMUXC_ENET_RX_CTL_ENET1_RGMII_RX_CTL 0x91
MX8MN_IOMUXC_ENET_TX_CTL_ENET1_RGMII_TX_CTL 0x1f
MX8MN_IOMUXC_GPIO1_IO05_GPIO1_IO5 0x19
>;
};
pinctrl_usdhc2_gpio: usdhc2gpiogrp {
fsl,pins = <
MX8MN_IOMUXC_SD2_CD_B_GPIO2_IO12 0x1c4
>;
};
pinctrl_sai3: sai3grp {
fsl,pins = <
MX8MN_IOMUXC_SAI3_MCLK_SAI3_MCLK 0xd6
MX8MN_IOMUXC_SAI3_TXFS_SAI3_TX_SYNC 0xd6
MX8MN_IOMUXC_SAI3_TXC_SAI3_TX_BCLK 0xd6
MX8MN_IOMUXC_SAI3_TXD_SAI3_TX_DATA0 0xd6
MX8MN_IOMUXC_SAI3_RXD_SAI3_TX_DATA1 0xd6
>;
};
};
&isi_0 {
status = "disabled";
cap_device {
status = "disabled";
};
};
&micfil {
status = "disabled";
};
&mipi_csi_1 {
status = "disabled";
/delete-node/ port@0;
};
&mipi_dsi {
status = "disabled";
/delete-node/ port@1;
};
&usbotg1 {
dr_mode = "peripheral";
/delete-property/ usb-role-switch;
/delete-node/ port;
};
&usdhc2 {
cd-gpios = <&gpio2 12 GPIO_ACTIVE_LOW>;
};
&sai3 {
#sound-dai-cells = <0>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_sai3>;
assigned-clocks = <&clk IMX8MN_CLK_SAI3>;
assigned-clock-parents = <&clk IMX8MN_AUDIO_PLL1_OUT>;
assigned-clock-rates = <49152000>;
clocks = <&clk IMX8MN_CLK_SAI3_IPG>, <&clk IMX8MN_CLK_DUMMY>,
<&clk IMX8MN_CLK_SAI3_ROOT>, <&clk IMX8MN_CLK_DUMMY>,
<&clk IMX8MN_CLK_DUMMY>, <&clk IMX8MN_AUDIO_PLL1_OUT>,
<&clk IMX8MN_AUDIO_PLL2_OUT>;
clock-names = "bus", "mclk0", "mclk1", "mclk2", "mclk3", "pll8k", "pll11k";
fsl,dataline = <2 0x3 0x3>;
status = "okay";
};
|