|
23 | 23 |
|
24 | 24 | backlight: backlight { |
25 | 25 | compatible = "pwm-backlight"; |
26 | | - enable-gpios = <&gpio1 RK_PB5 GPIO_ACTIVE_HIGH>; |
27 | | - pwms = <&pwm0 0 25000 0>; |
| 26 | + enable-gpios = <&gpio4 RK_PD2 GPIO_ACTIVE_HIGH>; |
| 27 | + pwms = <&pwm0 0 740740 0>; |
28 | 28 | brightness-levels = < |
29 | 29 | 0 1 2 3 4 5 6 7 |
30 | 30 | 8 9 10 11 12 13 14 15 |
|
61 | 61 | default-brightness-level = <200>; |
62 | 62 | }; |
63 | 63 |
|
64 | | - leds { |
65 | | - status = "okay"; |
66 | | - compatible = "gpio-leds"; |
67 | | - |
68 | | - power-led { |
69 | | - label = "power"; |
70 | | - gpios = <&gpio0 11 GPIO_ACTIVE_HIGH>; |
71 | | - }; |
72 | | - |
73 | | - standby-led { |
74 | | - label = "standby"; |
75 | | - gpios = <&gpio0 2 GPIO_ACTIVE_HIGH>; |
76 | | - }; |
77 | | - }; |
78 | | - |
79 | | - clkin_gmac: external-gmac-clock { |
80 | | - compatible = "fixed-clock"; |
81 | | - clock-frequency = <125000000>; |
82 | | - clock-output-names = "clkin_gmac"; |
83 | | - #clock-cells = <0>; |
84 | | - }; |
85 | | - |
86 | 64 | sdio_pwrseq: sdio-pwrseq { |
87 | 65 | compatible = "mmc-pwrseq-simple"; |
88 | 66 | clocks = <&rk808 1>; |
|
137 | 115 |
|
138 | 116 | vcc5v0_host: vcc5v0-host-regulator { |
139 | 117 | compatible = "regulator-fixed"; |
140 | | - gpio = <&gpio4 RK_PD2 GPIO_ACTIVE_HIGH>; |
| 118 | + gpio = <&gpio4 RK_PC5 GPIO_ACTIVE_HIGH>; |
141 | 119 | pinctrl-names = "default"; |
142 | 120 | pinctrl-0 = <&host_vbus_drv>; |
143 | 121 | regulator-name = "vcc5v0_host"; |
144 | 122 | }; |
145 | 123 |
|
146 | | - vcc5v0_typec0: vcc5v0-typec0-en { |
147 | | - compatible = "regulator-fixed"; |
148 | | - regulator-name = "vcc5v0_typec0"; |
149 | | - gpio = <&gpio1 3 GPIO_ACTIVE_HIGH>; |
150 | | - }; |
151 | | - |
152 | | - vcc_phy: vcc-phy-regulator { |
| 124 | + vcc5v0_usb3_host: vcc5v0-usb3-host-regulator { |
153 | 125 | compatible = "regulator-fixed"; |
154 | | - regulator-name = "vcc_phy"; |
| 126 | + enable-active-high; |
| 127 | + gpio = <&gpio0 RK_PA6 GPIO_ACTIVE_HIGH>; |
| 128 | + pinctrl-names = "default"; |
| 129 | + pinctrl-0 = <&host_usb3_drv>; |
| 130 | + regulator-name = "vcc5v0_usb3_host"; |
155 | 131 | regulator-always-on; |
156 | | - regulator-boot-on; |
157 | 132 | }; |
158 | 133 |
|
159 | 134 | vdd_log: vdd-log { |
|
188 | 163 | status = "okay"; |
189 | 164 | }; |
190 | 165 |
|
191 | | -&gmac { |
192 | | - assigned-clocks = <&cru SCLK_RMII_SRC>; |
193 | | - assigned-clock-parents = <&clkin_gmac>; |
194 | | - clock_in_out = "input"; |
195 | | - phy-supply = <&vcc_phy>; |
196 | | - phy-mode = "rgmii"; |
197 | | - pinctrl-names = "default"; |
198 | | - pinctrl-0 = <&rgmii_pins>; |
199 | | - snps,reset-gpio = <&gpio3 RK_PB7 GPIO_ACTIVE_LOW>; |
200 | | - snps,reset-active-low; |
201 | | - snps,reset-delays-us = <0 10000 50000>; |
202 | | - tx_delay = <0x28>; |
203 | | - rx_delay = <0x20>; |
204 | | - status = "okay"; |
205 | | -}; |
206 | | - |
207 | 166 | &i2c0 { |
208 | 167 | clock-frequency = <400000>; |
209 | 168 | i2c-scl-rising-time-ns = <168>; |
|
240 | 199 | regulator-name = "vdd_center"; |
241 | 200 | regulator-always-on; |
242 | 201 | regulator-boot-on; |
243 | | - regulator-min-microvolt = <750000>; |
| 202 | + regulator-min-microvolt = <900000>; |
244 | 203 | regulator-max-microvolt = <1350000>; |
245 | 204 | regulator-ramp-delay = <6001>; |
246 | 205 | regulator-state-mem { |
|
395 | 354 | }; |
396 | 355 | }; |
397 | 356 |
|
398 | | -&i2c1 { |
399 | | - i2c-scl-rising-time-ns = <300>; |
400 | | - i2c-scl-falling-time-ns = <15>; |
401 | | - status = "okay"; |
402 | | -}; |
403 | | - |
404 | | -&i2c3 { |
405 | | - i2c-scl-rising-time-ns = <450>; |
406 | | - i2c-scl-falling-time-ns = <15>; |
407 | | - status = "okay"; |
408 | | -}; |
409 | | - |
410 | 357 | &i2c4 { |
411 | 358 | i2c-scl-rising-time-ns = <600>; |
412 | 359 | i2c-scl-falling-time-ns = <20>; |
|
416 | 363 | &io_domains { |
417 | 364 | status = "okay"; |
418 | 365 |
|
419 | | - bt656-supply = <&vcc1v8_s0>; |
420 | | - audio-supply = <&vcc1v8_s0>; |
| 366 | + bt656-supply = <&vcc1v8_dvp>; |
| 367 | + audio-supply = <&vcca1v8_codec>; |
421 | 368 | sdmmc-supply = <&vcc_sd>; |
422 | 369 | gpio1830-supply = <&vcc_3v0>; |
423 | 370 | }; |
|
452 | 399 |
|
453 | 400 | usb2 { |
454 | 401 | host_vbus_drv: host-vbus-drv { |
455 | | - rockchip,pins = <4 RK_PD2 RK_FUNC_GPIO &pcfg_pull_none>; |
| 402 | + rockchip,pins = <4 RK_PC5 RK_FUNC_GPIO &pcfg_pull_none>; |
| 403 | + }; |
| 404 | + |
| 405 | + host_usb3_drv: host-usb3-drv { |
| 406 | + rockchip,pins = <0 RK_PA6 RK_FUNC_GPIO &pcfg_pull_none>; |
456 | 407 | }; |
457 | 408 | }; |
458 | 409 | }; |
|
526 | 477 | }; |
527 | 478 | }; |
528 | 479 |
|
529 | | -&uart0 { |
530 | | - pinctrl-names = "default"; |
531 | | - pinctrl-0 = <&uart0_xfer &uart0_cts>; |
532 | | - status = "okay"; |
533 | | -}; |
534 | | - |
535 | 480 | &uart2 { |
536 | 481 | u-boot,dm-pre-reloc; |
537 | 482 | status = "okay"; |
|
0 commit comments