|
11 | 11 |
|
12 | 12 | / {
|
13 | 13 | chosen {
|
14 |
| - stdout-path = &uart2; |
| 14 | + stdout-path = &uart3; |
15 | 15 | };
|
16 | 16 |
|
17 | 17 | memory@40000000 {
|
|
24 | 24 | pinctrl-names = "default";
|
25 | 25 | pinctrl-0 = <&pinctrl_gpio_led>;
|
26 | 26 |
|
27 |
| - led-0 { |
28 |
| - gpios = <&gpio3 16 GPIO_ACTIVE_HIGH>; |
29 |
| - default-state = "on"; |
| 27 | + ledR { |
| 28 | + label = "ledR"; |
| 29 | + gpios = <&gpio5 2 GPIO_ACTIVE_LOW>; |
| 30 | + default-state = "off"; |
| 31 | + }; |
| 32 | + |
| 33 | + ledG { |
| 34 | + label = "ledG"; |
| 35 | + gpios = <&gpio4 28 GPIO_ACTIVE_LOW>; |
| 36 | + default-state = "off"; |
| 37 | + }; |
| 38 | + |
| 39 | + ledB { |
| 40 | + label = "ledB"; |
| 41 | + gpios = <&gpio5 1 GPIO_ACTIVE_LOW>; |
| 42 | + linux,default-trigger = "heartbeat"; |
| 43 | + default-state = "off"; |
30 | 44 | };
|
31 | 45 | };
|
32 | 46 |
|
|
43 | 57 | regulator-name = "MPCIE_3V3";
|
44 | 58 | regulator-min-microvolt = <3300000>;
|
45 | 59 | regulator-max-microvolt = <3300000>;
|
46 |
| - gpio = <&gpio1 5 GPIO_ACTIVE_HIGH>; |
| 60 | + /*gpio = <&x8h7_gpio 29 GPIO_ACTIVE_HIGH>;*/ /* stm32h7 PWM6 */ |
47 | 61 | enable-active-high;
|
48 | 62 | };
|
49 | 63 |
|
|
59 | 73 | enable-active-high;
|
60 | 74 | };
|
61 | 75 |
|
62 |
| - backlight: backlight { |
63 |
| - compatible = "pwm-backlight"; |
64 |
| - pwms = <&pwm1 0 5000000 0>; |
65 |
| - brightness-levels = <0 255>; |
66 |
| - num-interpolated-steps = <255>; |
67 |
| - default-brightness-level = <250>; |
68 |
| - }; |
69 |
| - |
70 |
| - ir-receiver { |
71 |
| - compatible = "gpio-ir-receiver"; |
72 |
| - gpios = <&gpio1 13 GPIO_ACTIVE_LOW>; |
73 |
| - pinctrl-names = "default"; |
74 |
| - pinctrl-0 = <&pinctrl_ir>; |
75 |
| - linux,autosuspend-period = <125>; |
76 |
| - }; |
77 |
| - |
78 |
| - audio_codec_bt_sco: audio-codec-bt-sco { |
79 |
| - compatible = "linux,bt-sco"; |
80 |
| - #sound-dai-cells = <1>; |
81 |
| - }; |
82 |
| - |
83 |
| - wm8524: audio-codec { |
84 |
| - #sound-dai-cells = <0>; |
85 |
| - compatible = "wlf,wm8524"; |
86 |
| - pinctrl-names = "default"; |
87 |
| - pinctrl-0 = <&pinctrl_gpio_wlf>; |
88 |
| - wlf,mute-gpios = <&gpio5 21 GPIO_ACTIVE_LOW>; |
89 |
| - }; |
90 |
| - |
91 |
| - sound-bt-sco { |
92 |
| - compatible = "simple-audio-card"; |
93 |
| - simple-audio-card,name = "bt-sco-audio"; |
94 |
| - simple-audio-card,format = "dsp_a"; |
95 |
| - simple-audio-card,bitclock-inversion; |
96 |
| - simple-audio-card,frame-master = <&btcpu>; |
97 |
| - simple-audio-card,bitclock-master = <&btcpu>; |
98 |
| - |
99 |
| - btcpu: simple-audio-card,cpu { |
100 |
| - sound-dai = <&sai2>; |
101 |
| - dai-tdm-slot-num = <2>; |
102 |
| - dai-tdm-slot-width = <16>; |
103 |
| - }; |
104 |
| - |
105 |
| - simple-audio-card,codec { |
106 |
| - sound-dai = <&audio_codec_bt_sco 1>; |
107 |
| - }; |
108 |
| - }; |
109 |
| - |
110 |
| - sound-wm8524 { |
111 |
| - compatible = "simple-audio-card"; |
112 |
| - simple-audio-card,name = "wm8524-audio"; |
113 |
| - simple-audio-card,format = "i2s"; |
114 |
| - simple-audio-card,frame-master = <&cpudai>; |
115 |
| - simple-audio-card,bitclock-master = <&cpudai>; |
116 |
| - simple-audio-card,widgets = |
117 |
| - "Line", "Left Line Out Jack", |
118 |
| - "Line", "Right Line Out Jack"; |
119 |
| - simple-audio-card,routing = |
120 |
| - "Left Line Out Jack", "LINEVOUTL", |
121 |
| - "Right Line Out Jack", "LINEVOUTR"; |
122 |
| - |
123 |
| - cpudai: simple-audio-card,cpu { |
124 |
| - sound-dai = <&sai3>; |
125 |
| - dai-tdm-slot-num = <2>; |
126 |
| - dai-tdm-slot-width = <32>; |
127 |
| - }; |
128 |
| - |
129 |
| - simple-audio-card,codec { |
130 |
| - sound-dai = <&wm8524>; |
131 |
| - clocks = <&clk IMX8MM_CLK_SAI3_ROOT>; |
132 |
| - }; |
133 |
| - }; |
134 |
| - |
135 | 76 | dsi_host: dsi-host {
|
136 | 77 | compatible = "samsung,sec-mipi-dsi";
|
137 | 78 | status = "okay";
|
138 | 79 | };
|
139 |
| - |
140 |
| - rm67199_panel { |
141 |
| - compatible = "raydium,rm67199"; |
142 |
| - pinctrl-names = "default"; |
143 |
| - pinctrl-0 = <&pinctrl_mipi_dsi_en>; |
144 |
| - reset-gpio = <&gpio1 8 GPIO_ACTIVE_LOW>; |
145 |
| - dsi-lanes = <4>; |
146 |
| - video-mode = <2>; /* 0: burst mode |
147 |
| - * 1: non-burst mode with sync event |
148 |
| - * 2: non-burst mode with sync pulse |
149 |
| - */ |
150 |
| - panel-width-mm = <68>; |
151 |
| - panel-height-mm = <121>; |
152 |
| - status = "okay"; |
153 |
| - |
154 |
| - port { |
155 |
| - rm67191_from_dsim: endpoint { |
156 |
| - remote-endpoint = <&dsim_to_rm67191>; |
157 |
| - }; |
158 |
| - }; |
159 |
| - }; |
160 | 80 | };
|
161 | 81 |
|
162 | 82 | &A53_0 {
|
|
175 | 95 | cpu-supply = <&buck2_reg>;
|
176 | 96 | };
|
177 | 97 |
|
178 |
| - |
179 |
| -&ecspi2 { |
180 |
| - #address-cells = <1>; |
181 |
| - #size-cells = <0>; |
182 |
| - pinctrl-names = "default"; |
183 |
| - pinctrl-0 = <&pinctrl_ecspi2 &pinctrl_ecspi2_cs>; |
184 |
| - cs-gpios = <&gpio5 13 GPIO_ACTIVE_LOW>; |
185 |
| - status = "okay"; |
186 |
| - |
187 |
| - spidev0: spi@0 { |
188 |
| - reg = <0>; |
189 |
| - compatible = "rohm,dh2228fv"; |
190 |
| - spi-max-frequency = <500000>; |
191 |
| - }; |
192 |
| -}; |
193 |
| - |
194 | 98 | &fec1 {
|
195 | 99 | pinctrl-names = "default";
|
196 | 100 | pinctrl-0 = <&pinctrl_fec1>;
|
|
206 | 110 | ethphy0: ethernet-phy@0 {
|
207 | 111 | compatible = "ethernet-phy-ieee802.3-c22";
|
208 | 112 | reg = <0>;
|
209 |
| - reset-gpios = <&gpio4 22 GPIO_ACTIVE_LOW>; |
| 113 | + reset-gpios = <&gpio3 6 GPIO_ACTIVE_LOW>; |
210 | 114 | reset-assert-us = <15000>;
|
211 | 115 | reset-deassert-us = <100000>;
|
212 | 116 | qca,disable-smarteee;
|
|
340 | 244 | scl-gpios = <&gpio5 16 GPIO_ACTIVE_HIGH>;
|
341 | 245 | sda-gpios = <&gpio5 17 GPIO_ACTIVE_HIGH>;
|
342 | 246 | status = "okay";
|
343 |
| - |
344 |
| - adv_bridge: adv7535@3d { |
345 |
| - compatible = "adi,adv7535"; |
346 |
| - reg = <0x3d>; |
347 |
| - adi,addr-cec = <0x3c>; |
348 |
| - adi,dsi-lanes = <4>; |
349 |
| - status = "okay"; |
350 |
| - |
351 |
| - port { |
352 |
| - adv7535_from_dsim: endpoint { |
353 |
| - remote-endpoint = <&dsim_to_adv7535>; |
354 |
| - }; |
355 |
| - }; |
356 |
| - }; |
357 |
| - |
358 |
| - ptn5110: tcpc@50 { |
359 |
| - compatible = "nxp,ptn5110"; |
360 |
| - pinctrl-names = "default"; |
361 |
| - pinctrl-0 = <&pinctrl_typec1>; |
362 |
| - reg = <0x50>; |
363 |
| - interrupt-parent = <&gpio2>; |
364 |
| - interrupts = <11 8>; |
365 |
| - status = "okay"; |
366 |
| - |
367 |
| - port { |
368 |
| - typec1_dr_sw: endpoint { |
369 |
| - remote-endpoint = <&usb1_drd_sw>; |
370 |
| - }; |
371 |
| - }; |
372 |
| - |
373 |
| - typec1_con: connector { |
374 |
| - compatible = "usb-c-connector"; |
375 |
| - label = "USB-C"; |
376 |
| - power-role = "dual"; |
377 |
| - data-role = "dual"; |
378 |
| - try-power-role = "sink"; |
379 |
| - source-pdos = <PDO_FIXED(5000, 3000, PDO_FIXED_USB_COMM)>; |
380 |
| - sink-pdos = <PDO_FIXED(5000, 3000, PDO_FIXED_USB_COMM) |
381 |
| - PDO_VAR(5000, 20000, 3000)>; |
382 |
| - op-sink-microwatt = <15000000>; |
383 |
| - self-powered; |
384 |
| - }; |
385 |
| - }; |
386 | 247 | };
|
387 | 248 |
|
388 | 249 | &i2c3 {
|
|
393 | 254 | scl-gpios = <&gpio5 18 GPIO_ACTIVE_HIGH>;
|
394 | 255 | sda-gpios = <&gpio5 19 GPIO_ACTIVE_HIGH>;
|
395 | 256 | status = "okay";
|
396 |
| - |
397 |
| - pca6416: gpio@20 { |
398 |
| - compatible = "ti,tca6416"; |
399 |
| - reg = <0x20>; |
400 |
| - gpio-controller; |
401 |
| - #gpio-cells = <2>; |
402 |
| - }; |
403 | 257 | };
|
404 | 258 |
|
405 | 259 | &pcie_phy {
|
|
413 | 267 | &pcie0 {
|
414 | 268 | pinctrl-names = "default";
|
415 | 269 | pinctrl-0 = <&pinctrl_pcie0>;
|
416 |
| - reset-gpio = <&gpio4 21 GPIO_ACTIVE_LOW>; |
| 270 | + reset-gpio = <&gpio3 25 GPIO_ACTIVE_LOW>; |
417 | 271 | clocks = <&clk IMX8MM_CLK_PCIE1_ROOT>, <&clk IMX8MM_CLK_PCIE1_AUX>,
|
418 | 272 | <&pcie0_refclk>;
|
419 | 273 | clock-names = "pcie", "pcie_aux", "pcie_bus";
|
|
423 | 277 | assigned-clock-parents = <&clk IMX8MM_SYS_PLL2_50M>,
|
424 | 278 | <&clk IMX8MM_SYS_PLL2_250M>;
|
425 | 279 | vpcie-supply = <®_pcie0>;
|
426 |
| - status = "okay"; |
427 |
| -}; |
428 |
| - |
429 |
| -&sai2 { |
430 |
| - #sound-dai-cells = <0>; |
431 |
| - pinctrl-names = "default"; |
432 |
| - pinctrl-0 = <&pinctrl_sai2>; |
433 |
| - assigned-clocks = <&clk IMX8MM_CLK_SAI2>; |
434 |
| - assigned-clock-parents = <&clk IMX8MM_AUDIO_PLL1_OUT>; |
435 |
| - assigned-clock-rates = <24576000>; |
436 |
| - status = "okay"; |
437 |
| -}; |
438 |
| - |
439 |
| -&sai3 { |
440 |
| - pinctrl-names = "default"; |
441 |
| - pinctrl-0 = <&pinctrl_sai3>; |
442 |
| - assigned-clocks = <&clk IMX8MM_CLK_SAI3>; |
443 |
| - assigned-clock-parents = <&clk IMX8MM_AUDIO_PLL1_OUT>; |
444 |
| - assigned-clock-rates = <24576000>; |
445 |
| - status = "okay"; |
| 280 | + status = "disabled"; |
446 | 281 | };
|
447 | 282 |
|
448 | 283 | &snvs_pwrkey {
|
|
493 | 328 | status = "okay";
|
494 | 329 | };
|
495 | 330 |
|
496 |
| -&pwm1 { |
497 |
| - pinctrl-names = "default"; |
498 |
| - pinctrl-0 = <&pinctrl_backlight>; |
499 |
| - status = "okay"; |
500 |
| -}; |
501 |
| - |
502 | 331 | &lcdif {
|
503 | 332 | display = <&display0>;
|
504 | 333 | status = "okay";
|
|
0 commit comments