~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/scripts/dtc/include-prefixes/arm64/rockchip/rk3588s-odroid-m2.dts

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
  2 
  3 /dts-v1/;
  4 
  5 #include <dt-bindings/gpio/gpio.h>
  6 #include <dt-bindings/leds/common.h>
  7 #include <dt-bindings/pinctrl/rockchip.h>
  8 #include <dt-bindings/usb/pd.h>
  9 #include "rk3588s.dtsi"
 10 
 11 / {
 12         model = "Hardkernel ODROID-M2";
 13         compatible = "hardkernel,odroid-m2", "rockchip,rk3588s";
 14 
 15         aliases {
 16                 ethernet0 = &gmac1;
 17                 mmc0 = &sdhci;
 18                 mmc1 = &sdmmc;
 19         };
 20 
 21         chosen {
 22                 stdout-path = "serial2:1500000n8";
 23         };
 24 
 25         leds {
 26                 compatible = "gpio-leds";
 27                 pinctrl-names = "default";
 28                 pinctrl-0 = <&pwr_led>, <&sys_led>;
 29 
 30                 led_pwr: led-0 {
 31                         color = <LED_COLOR_ID_RED>;
 32                         default-state = "on";
 33                         function = LED_FUNCTION_POWER;
 34                         gpios = <&gpio1 RK_PB5 GPIO_ACTIVE_HIGH>;
 35                         linux,default-trigger = "default-on";
 36                 };
 37 
 38                 led_sys: led-1 {
 39                         color = <LED_COLOR_ID_BLUE>;
 40                         default-state = "on";
 41                         function = LED_FUNCTION_HEARTBEAT;
 42                         gpios = <&gpio1 RK_PB1 GPIO_ACTIVE_HIGH>;
 43                         linux,default-trigger = "heartbeat";
 44                 };
 45         };
 46 
 47         fan: pwm-fan {
 48                 compatible = "pwm-fan";
 49                 #cooling-cells = <2>;
 50                 cooling-levels = <0 192 224 255>;
 51                 fan-supply = <&vcc5v0_sys>;
 52                 pwms = <&pwm0 0 22222 0>;
 53         };
 54 
 55         vcc_1v1_nldo_s3: regulator-1v1-vcc-nldo-s3 {
 56                 compatible = "regulator-fixed";
 57                 regulator-name = "vcc_1v1_nldo_s3";
 58                 regulator-always-on;
 59                 regulator-boot-on;
 60                 regulator-min-microvolt = <1100000>;
 61                 regulator-max-microvolt = <1100000>;
 62                 vin-supply = <&vcc4v0_sys>;
 63         };
 64 
 65         vcc3v3_lcd: regulator-3v3-vcc-lcd {
 66                 compatible = "regulator-fixed";
 67                 enable-active-high;
 68                 gpios = <&gpio4 RK_PA3 GPIO_ACTIVE_HIGH>;
 69                 pinctrl-names = "default";
 70                 pinctrl-0 = <&lcd_pwren>;
 71                 regulator-name = "vcc3v3_lcd";
 72                 regulator-min-microvolt = <3300000>;
 73                 regulator-max-microvolt = <3300000>;
 74                 vin-supply = <&vcc_3v3_s3>;
 75         };
 76 
 77         vcc3v3_pcie: regulator-3v3-vcc-pcie {
 78                 compatible = "regulator-fixed";
 79                 enable-active-high;
 80                 gpios = <&gpio0 RK_PC6 GPIO_ACTIVE_HIGH>;
 81                 pinctrl-names = "default";
 82                 pinctrl-0 = <&pcie_pwren>;
 83                 regulator-name = "vcc3v3_pcie";
 84                 regulator-min-microvolt = <3300000>;
 85                 regulator-max-microvolt = <3300000>;
 86                 vin-supply = <&vcc_3v3_s3>;
 87         };
 88 
 89         vcc_3v3_s0: regulator-3v3-vcc-s0 {
 90                 compatible = "regulator-fixed";
 91                 regulator-name = "vcc_3v3_s0";
 92                 regulator-always-on;
 93                 regulator-boot-on;
 94                 regulator-min-microvolt = <3300000>;
 95                 regulator-max-microvolt = <3300000>;
 96                 vin-supply = <&vcc_3v3_s3>;
 97         };
 98 
 99         vcc4v0_sys: regulator-4v0-vcc-sys {
100                 compatible = "regulator-fixed";
101                 regulator-name = "vcc4v0_sys";
102                 regulator-always-on;
103                 regulator-boot-on;
104                 regulator-min-microvolt = <4800000>;
105                 regulator-max-microvolt = <4800000>;
106                 vin-supply = <&vcc12v_dcin>;
107         };
108 
109         vcc5v0_sys: regulator-5v0-vcc-sys {
110                 compatible = "regulator-fixed";
111                 enable-active-high;
112                 gpios = <&gpio0 RK_PD3 GPIO_ACTIVE_HIGH>;
113                 pinctrl-names = "default";
114                 pinctrl-0 = <&vcc5v0_pwren>;
115                 regulator-name = "vcc5v0_sys";
116                 regulator-always-on;
117                 regulator-boot-on;
118                 regulator-min-microvolt = <5000000>;
119                 regulator-max-microvolt = <5000000>;
120                 vin-supply = <&vcc12v_dcin>;
121         };
122 
123         vcc5v0_usb2_host: regulator-5v0-vcc-usb2-host {
124                 compatible = "regulator-fixed";
125                 enable-active-high;
126                 gpios = <&gpio1 RK_PC6 GPIO_ACTIVE_HIGH>;
127                 pinctrl-names = "default";
128                 pinctrl-0 = <&usb2_host_pwren>;
129                 regulator-name = "vcc5v0_usb2_host";
130                 regulator-min-microvolt = <5000000>;
131                 regulator-max-microvolt = <5000000>;
132                 vin-supply = <&vcc5v0_sys>;
133         };
134 
135         vcc5v0_usb3_host: regulator-5v0-vcc-usb3-host {
136                 compatible = "regulator-fixed";
137                 enable-active-high;
138                 gpios = <&gpio1 RK_PA6 GPIO_ACTIVE_HIGH>;
139                 pinctrl-names = "default";
140                 pinctrl-0 = <&usb3_host_pwren>;
141                 regulator-name = "vcc5v0_usb3_host";
142                 regulator-min-microvolt = <5000000>;
143                 regulator-max-microvolt = <5000000>;
144                 vin-supply = <&vcc5v0_sys>;
145         };
146 
147         vcc5v0_usb3_typec: regulator-5v0-vcc-usb3-typec {
148                 compatible = "regulator-fixed";
149                 enable-active-high;
150                 gpios = <&gpio0 RK_PA0 GPIO_ACTIVE_HIGH>;
151                 pinctrl-names = "default";
152                 pinctrl-0 = <&usb3_typec_pwren>;
153                 regulator-name = "vcc5v0_usb3_typec";
154                 regulator-min-microvolt = <5000000>;
155                 regulator-max-microvolt = <5000000>;
156                 vin-supply = <&vcc5v0_sys>;
157         };
158 
159         vcca: regulator-5v0-vcca {
160                 compatible = "regulator-fixed";
161                 regulator-name = "vcca";
162                 regulator-always-on;
163                 regulator-boot-on;
164                 regulator-min-microvolt = <5000000>;
165                 regulator-max-microvolt = <5000000>;
166                 vin-supply = <&vcc12v_dcin>;
167         };
168 
169         vcc12v_dcin: regulator-12v0-vcc-dcin {
170                 compatible = "regulator-fixed";
171                 regulator-name = "vcc12v_dcin";
172                 regulator-always-on;
173                 regulator-boot-on;
174                 regulator-min-microvolt = <12000000>;
175                 regulator-max-microvolt = <12000000>;
176         };
177 };
178 
179 &combphy0_ps {
180         status = "okay";
181 };
182 
183 &combphy2_psu {
184         status = "okay";
185 };
186 
187 &cpu_b0 {
188         cpu-supply = <&vdd_cpu_big0_s0>;
189 };
190 
191 &cpu_b1 {
192         cpu-supply = <&vdd_cpu_big0_s0>;
193 };
194 
195 &cpu_b2 {
196         cpu-supply = <&vdd_cpu_big1_s0>;
197 };
198 
199 &cpu_b3 {
200         cpu-supply = <&vdd_cpu_big1_s0>;
201 };
202 
203 &cpu_l0 {
204         cpu-supply = <&vdd_cpu_lit_s0>;
205 };
206 
207 &cpu_l1 {
208         cpu-supply = <&vdd_cpu_lit_s0>;
209 };
210 
211 &cpu_l2 {
212         cpu-supply = <&vdd_cpu_lit_s0>;
213 };
214 
215 &cpu_l3 {
216         cpu-supply = <&vdd_cpu_lit_s0>;
217 };
218 
219 &gmac1 {
220         clock_in_out = "output";
221         phy-handle = <&rgmii_phy1>;
222         phy-mode = "rgmii-id";
223         phy-supply = <&vcc_3v3_s0>;
224         pinctrl-names = "default";
225         pinctrl-0 = <&gmac1_miim
226                      &gmac1_tx_bus2
227                      &gmac1_rx_bus2
228                      &gmac1_rgmii_clk
229                      &gmac1_rgmii_bus
230                      &gmac1_clkinout>;
231         status = "okay";
232 };
233 
234 &gpu {
235         mali-supply = <&vdd_gpu_s0>;
236         status = "okay";
237 };
238 
239 &i2c0 {
240         pinctrl-names = "default";
241         pinctrl-0 = <&i2c0m2_xfer>;
242         status = "okay";
243 
244         vdd_cpu_big0_s0: regulator@42 {
245                 compatible = "rockchip,rk8602";
246                 reg = <0x42>;
247                 fcs,suspend-voltage-selector = <1>;
248                 regulator-name = "vdd_cpu_big0_s0";
249                 regulator-always-on;
250                 regulator-boot-on;
251                 regulator-min-microvolt = <550000>;
252                 regulator-max-microvolt = <1050000>;
253                 regulator-ramp-delay = <2300>;
254                 vin-supply = <&vcc4v0_sys>;
255 
256                 regulator-state-mem {
257                         regulator-off-in-suspend;
258                 };
259         };
260 
261         vdd_cpu_big1_s0: regulator@43 {
262                 compatible = "rockchip,rk8603", "rockchip,rk8602";
263                 reg = <0x43>;
264                 fcs,suspend-voltage-selector = <1>;
265                 regulator-name = "vdd_cpu_big1_s0";
266                 regulator-always-on;
267                 regulator-boot-on;
268                 regulator-min-microvolt = <550000>;
269                 regulator-max-microvolt = <1050000>;
270                 regulator-ramp-delay = <2300>;
271                 vin-supply = <&vcc4v0_sys>;
272 
273                 regulator-state-mem {
274                         regulator-off-in-suspend;
275                 };
276         };
277 };
278 
279 &i2c2 {
280         status = "okay";
281 
282         vdd_npu_s0: regulator@42 {
283                 compatible = "rockchip,rk8602";
284                 reg = <0x42>;
285                 fcs,suspend-voltage-selector = <1>;
286                 regulator-name = "vdd_npu_s0";
287                 regulator-always-on;
288                 regulator-boot-on;
289                 regulator-min-microvolt = <550000>;
290                 regulator-max-microvolt = <950000>;
291                 regulator-ramp-delay = <2300>;
292                 vin-supply = <&vcc4v0_sys>;
293 
294                 regulator-state-mem {
295                         regulator-off-in-suspend;
296                 };
297         };
298 };
299 
300 &i2c8 {
301         clock-frequency = <400000>;
302         pinctrl-names = "default";
303         pinctrl-0 = <&i2c8m2_xfer>;
304         status = "okay";
305 
306         usbc0: usb-typec@22 {
307                 compatible = "fcs,fusb302";
308                 reg = <0x22>;
309                 interrupt-parent = <&gpio4>;
310                 interrupts = <RK_PA5 IRQ_TYPE_LEVEL_LOW>;
311                 pinctrl-names = "default";
312                 pinctrl-0 = <&usbc0_int>;
313                 vbus-supply = <&vcc5v0_usb3_typec>;
314 
315                 connector {
316                         compatible = "usb-c-connector";
317                         data-role = "dual";
318                         label = "USB-C";
319                         op-sink-microwatt = <1000000>;
320                         power-role = "dual";
321                         sink-pdos = <PDO_FIXED(5000, 1000, PDO_FIXED_USB_COMM)>;
322                         source-pdos = <PDO_FIXED(5000, 3000, PDO_FIXED_USB_COMM)>;
323                         try-power-role = "source";
324 
325                         ports {
326                                 #address-cells = <1>;
327                                 #size-cells = <0>;
328 
329                                 port@0 {
330                                         reg = <0>;
331 
332                                         usbc0_role_switch: endpoint {
333                                                 remote-endpoint = <&usb_host0_xhci_role_switch>;
334                                         };
335                                 };
336 
337                                 port@1 {
338                                         reg = <1>;
339 
340                                         usbc0_orientation_switch: endpoint {
341                                                 remote-endpoint = <&usbdp_phy0_orientation_switch>;
342                                         };
343                                 };
344 
345                                 port@2 {
346                                         reg = <2>;
347 
348                                         usbc0_dp_altmode_mux: endpoint {
349                                                 remote-endpoint = <&usbdp_phy0_dp_altmode_mux>;
350                                         };
351                                 };
352                         };
353                 };
354         };
355 
356         pcf8563: rtc@51 {
357                 compatible = "nxp,pcf8563";
358                 reg = <0x51>;
359                 interrupt-parent = <&gpio0>;
360                 interrupts = <RK_PB0 IRQ_TYPE_LEVEL_LOW>;
361                 pinctrl-names = "default";
362                 pinctrl-0 = <&pcf8563_int>;
363                 wakeup-source;
364         };
365 };
366 
367 &mdio1 {
368         rgmii_phy1: ethernet-phy@1 {
369                 compatible = "ethernet-phy-id001c.c916";
370                 reg = <1>;
371                 reset-assert-us = <20000>;
372                 reset-deassert-us = <100000>;
373                 reset-gpios = <&gpio3 RK_PB7 GPIO_ACTIVE_LOW>;
374         };
375 };
376 
377 &package_thermal {
378         polling-delay = <1000>;
379 
380         trips {
381                 package_fan0: package-fan0 {
382                         hysteresis = <2000>;
383                         temperature = <60000>;
384                         type = "active";
385                 };
386         };
387 
388         cooling-maps {
389                 map0 {
390                         cooling-device = <&fan 1 THERMAL_NO_LIMIT>;
391                         trip = <&package_fan0>;
392                 };
393         };
394 };
395 
396 &pcie2x1l2 {
397         pinctrl-names = "default";
398         pinctrl-0 = <&pcie20x1_pins>;
399         reset-gpios = <&gpio1 RK_PA7 GPIO_ACTIVE_HIGH>;
400         vpcie3v3-supply = <&vcc3v3_pcie>;
401         status = "okay";
402 };
403 
404 &pinctrl {
405         lcd {
406                 lcd_pwren: lcd-pwren {
407                         rockchip,pins = <4 RK_PA3 RK_FUNC_GPIO &pcfg_pull_none>;
408                 };
409         };
410 
411         leds {
412                 pwr_led: pwr-led {
413                         rockchip,pins = <1 RK_PB5 RK_FUNC_GPIO &pcfg_pull_none>;
414                 };
415 
416                 sys_led: sys-led {
417                         rockchip,pins = <1 RK_PB1 RK_FUNC_GPIO &pcfg_pull_none>;
418                 };
419         };
420 
421         pcie {
422                 pcie20x1_pins: pcie20x1-pins {
423                         rockchip,pins =
424                                 <1 RK_PA0 4 &pcfg_pull_none>,
425                                 <1 RK_PA7 RK_FUNC_GPIO &pcfg_pull_none>,
426                                 <1 RK_PA1 4 &pcfg_pull_none>;
427                 };
428 
429                 pcie_pwren: pcie-pwren {
430                         rockchip,pins = <0 RK_PC6 RK_FUNC_GPIO &pcfg_pull_none>;
431                 };
432         };
433 
434         regulator {
435                 vcc5v0_pwren: vcc5v0-pwren {
436                         rockchip,pins = <0 RK_PD3 RK_FUNC_GPIO &pcfg_pull_none>;
437                 };
438         };
439 
440         rtc {
441                 pcf8563_int: pcf8563-int {
442                         rockchip,pins = <0 RK_PB0 RK_FUNC_GPIO &pcfg_pull_none>;
443                 };
444         };
445 
446         usb {
447                 usb2_host_pwren: usb2-host-pwren {
448                         rockchip,pins = <1 RK_PC6 RK_FUNC_GPIO &pcfg_pull_none>;
449                 };
450 
451                 usb3_host_pwren: usb3-host-pwren {
452                         rockchip,pins = <1 RK_PA6 RK_FUNC_GPIO &pcfg_pull_none>;
453                 };
454 
455                 usb3_typec_pwren: usb3-typec-pwren {
456                         rockchip,pins = <0 RK_PA0 RK_FUNC_GPIO &pcfg_pull_none>;
457                 };
458 
459                 usbc0_int: usbc0-int {
460                         rockchip,pins = <4 RK_PA5 RK_FUNC_GPIO &pcfg_pull_none>;
461                 };
462         };
463 };
464 
465 &pwm0 {
466         pinctrl-names = "default";
467         pinctrl-0 = <&pwm0m2_pins>;
468         status = "okay";
469 };
470 
471 &saradc {
472         vref-supply = <&vcca_1v8_s0>;
473         status = "okay";
474 };
475 
476 &sdhci {
477         bus-width = <8>;
478         mmc-hs400-1_8v;
479         mmc-hs400-enhanced-strobe;
480         no-sd;
481         no-sdio;
482         non-removable;
483         vmmc-supply = <&vcc_3v3_s0>;
484         vqmmc-supply = <&vcc_1v8_s0>;
485         status = "okay";
486 };
487 
488 &sdmmc {
489         bus-width = <4>;
490         cap-sd-highspeed;
491         cd-gpios = <&gpio0 RK_PA4 GPIO_ACTIVE_LOW>;
492         disable-wp;
493         max-frequency = <150000000>;
494         no-mmc;
495         no-sdio;
496         sd-uhs-sdr104;
497         vmmc-supply = <&vcc_3v3_s3>;
498         vqmmc-supply = <&vccio_sd_s0>;
499         status = "okay";
500 };
501 
502 &spi2 {
503         assigned-clocks = <&cru CLK_SPI2>;
504         assigned-clock-rates = <200000000>;
505         num-cs = <1>;
506         pinctrl-names = "default";
507         pinctrl-0 = <&spi2m2_cs0>, <&spi2m2_pins>;
508         status = "okay";
509 
510         pmic@0 {
511                 compatible = "rockchip,rk806";
512                 reg = <0x0>;
513                 #gpio-cells = <2>;
514                 gpio-controller;
515                 interrupt-parent = <&gpio0>;
516                 interrupts = <RK_PA7 IRQ_TYPE_LEVEL_LOW>;
517                 pinctrl-names = "default";
518                 pinctrl-0 = <&pmic_pins>, <&rk806_dvs1_null>,
519                             <&rk806_dvs2_null>, <&rk806_dvs3_null>;
520                 spi-max-frequency = <1000000>;
521                 system-power-controller;
522 
523                 vcc1-supply = <&vcc4v0_sys>;
524                 vcc2-supply = <&vcc4v0_sys>;
525                 vcc3-supply = <&vcc4v0_sys>;
526                 vcc4-supply = <&vcc4v0_sys>;
527                 vcc5-supply = <&vcc4v0_sys>;
528                 vcc6-supply = <&vcc4v0_sys>;
529                 vcc7-supply = <&vcc4v0_sys>;
530                 vcc8-supply = <&vcc4v0_sys>;
531                 vcc9-supply = <&vcc4v0_sys>;
532                 vcc10-supply = <&vcc4v0_sys>;
533                 vcc11-supply = <&vcc_2v0_pldo_s3>;
534                 vcc12-supply = <&vcc4v0_sys>;
535                 vcc13-supply = <&vcc_1v1_nldo_s3>;
536                 vcc14-supply = <&vcc_1v1_nldo_s3>;
537                 vcca-supply = <&vcca>;
538 
539                 rk806_dvs1_null: dvs1-null-pins {
540                         pins = "gpio_pwrctrl1";
541                         function = "pin_fun0";
542                 };
543 
544                 rk806_dvs2_null: dvs2-null-pins {
545                         pins = "gpio_pwrctrl2";
546                         function = "pin_fun0";
547                 };
548 
549                 rk806_dvs3_null: dvs3-null-pins {
550                         pins = "gpio_pwrctrl3";
551                         function = "pin_fun0";
552                 };
553 
554                 regulators {
555                         vdd_gpu_s0: dcdc-reg1 {
556                                 regulator-name = "vdd_gpu_s0";
557                                 regulator-boot-on;
558                                 regulator-min-microvolt = <550000>;
559                                 regulator-max-microvolt = <950000>;
560                                 regulator-ramp-delay = <12500>;
561                                 regulator-enable-ramp-delay = <400>;
562 
563                                 regulator-state-mem {
564                                         regulator-off-in-suspend;
565                                 };
566                         };
567 
568                         vdd_cpu_lit_s0: dcdc-reg2 {
569                                 regulator-name = "vdd_cpu_lit_s0";
570                                 regulator-always-on;
571                                 regulator-boot-on;
572                                 regulator-min-microvolt = <550000>;
573                                 regulator-max-microvolt = <950000>;
574                                 regulator-ramp-delay = <12500>;
575 
576                                 regulator-state-mem {
577                                         regulator-off-in-suspend;
578                                 };
579                         };
580 
581                         vdd_logic_s0: dcdc-reg3 {
582                                 regulator-name = "vdd_logic_s0";
583                                 regulator-always-on;
584                                 regulator-boot-on;
585                                 regulator-min-microvolt = <675000>;
586                                 regulator-max-microvolt = <750000>;
587                                 regulator-ramp-delay = <12500>;
588 
589                                 regulator-state-mem {
590                                         regulator-off-in-suspend;
591                                         regulator-suspend-microvolt = <750000>;
592                                 };
593                         };
594 
595                         vdd_vdenc_s0: dcdc-reg4 {
596                                 regulator-name = "vdd_vdenc_s0";
597                                 regulator-always-on;
598                                 regulator-boot-on;
599                                 regulator-min-microvolt = <550000>;
600                                 regulator-max-microvolt = <950000>;
601                                 regulator-ramp-delay = <12500>;
602 
603                                 regulator-state-mem {
604                                         regulator-off-in-suspend;
605                                 };
606                         };
607 
608                         vdd_ddr_s0: dcdc-reg5 {
609                                 regulator-name = "vdd_ddr_s0";
610                                 regulator-always-on;
611                                 regulator-boot-on;
612                                 regulator-min-microvolt = <675000>;
613                                 regulator-max-microvolt = <900000>;
614                                 regulator-ramp-delay = <12500>;
615 
616                                 regulator-state-mem {
617                                         regulator-off-in-suspend;
618                                         regulator-suspend-microvolt = <850000>;
619                                 };
620                         };
621 
622                         vdd2_ddr_s3: dcdc-reg6 {
623                                 regulator-name = "vdd2_ddr_s3";
624                                 regulator-always-on;
625                                 regulator-boot-on;
626 
627                                 regulator-state-mem {
628                                         regulator-on-in-suspend;
629                                 };
630                         };
631 
632                         vcc_2v0_pldo_s3: dcdc-reg7 {
633                                 regulator-name = "vdd_2v0_pldo_s3";
634                                 regulator-always-on;
635                                 regulator-boot-on;
636                                 regulator-min-microvolt = <2000000>;
637                                 regulator-max-microvolt = <2000000>;
638                                 regulator-ramp-delay = <12500>;
639 
640                                 regulator-state-mem {
641                                         regulator-on-in-suspend;
642                                         regulator-suspend-microvolt = <2000000>;
643                                 };
644                         };
645 
646                         vcc_3v3_s3: dcdc-reg8 {
647                                 regulator-name = "vcc_3v3_s3";
648                                 regulator-always-on;
649                                 regulator-boot-on;
650                                 regulator-min-microvolt = <3300000>;
651                                 regulator-max-microvolt = <3300000>;
652 
653                                 regulator-state-mem {
654                                         regulator-on-in-suspend;
655                                         regulator-suspend-microvolt = <3300000>;
656                                 };
657                         };
658 
659                         vddq_ddr_s0: dcdc-reg9 {
660                                 regulator-name = "vddq_ddr_s0";
661                                 regulator-always-on;
662                                 regulator-boot-on;
663 
664                                 regulator-state-mem {
665                                         regulator-off-in-suspend;
666                                 };
667                         };
668 
669                         vcc_1v8_s3: dcdc-reg10 {
670                                 regulator-name = "vcc_1v8_s3";
671                                 regulator-always-on;
672                                 regulator-boot-on;
673                                 regulator-min-microvolt = <1800000>;
674                                 regulator-max-microvolt = <1800000>;
675 
676                                 regulator-state-mem {
677                                         regulator-on-in-suspend;
678                                         regulator-suspend-microvolt = <1800000>;
679                                 };
680                         };
681 
682                         vcc_1v8_s0: pldo-reg1 {
683                                 regulator-name = "vcc_1v8_s0";
684                                 regulator-always-on;
685                                 regulator-boot-on;
686                                 regulator-min-microvolt = <1800000>;
687                                 regulator-max-microvolt = <1800000>;
688 
689                                 regulator-state-mem {
690                                         regulator-off-in-suspend;
691                                 };
692                         };
693 
694                         vcca_1v8_s0: pldo-reg2 {
695                                 regulator-name = "vcca_1v8_s0";
696                                 regulator-always-on;
697                                 regulator-boot-on;
698                                 regulator-min-microvolt = <1800000>;
699                                 regulator-max-microvolt = <1800000>;
700 
701                                 regulator-state-mem {
702                                         regulator-off-in-suspend;
703                                         regulator-suspend-microvolt = <1800000>;
704                                 };
705                         };
706 
707                         vdda_1v2_s0: pldo-reg3 {
708                                 regulator-name = "vdda_1v2_s0";
709                                 regulator-always-on;
710                                 regulator-boot-on;
711                                 regulator-min-microvolt = <1200000>;
712                                 regulator-max-microvolt = <1200000>;
713 
714                                 regulator-state-mem {
715                                         regulator-off-in-suspend;
716                                 };
717                         };
718 
719                         vcca_3v3_s0: pldo-reg4 {
720                                 regulator-name = "vcca_3v3_s0";
721                                 regulator-always-on;
722                                 regulator-boot-on;
723                                 regulator-min-microvolt = <3300000>;
724                                 regulator-max-microvolt = <3300000>;
725                                 regulator-ramp-delay = <12500>;
726 
727                                 regulator-state-mem {
728                                         regulator-off-in-suspend;
729                                 };
730                         };
731 
732                         vccio_sd_s0: pldo-reg5 {
733                                 regulator-name = "vccio_sd_s0";
734                                 regulator-always-on;
735                                 regulator-boot-on;
736                                 regulator-min-microvolt = <1800000>;
737                                 regulator-max-microvolt = <3300000>;
738                                 regulator-ramp-delay = <12500>;
739 
740                                 regulator-state-mem {
741                                         regulator-off-in-suspend;
742                                 };
743                         };
744 
745                         vcc_1v8_s3_pldo6: pldo-reg6 {
746                                 regulator-name = "vcc_1v8_s3_pldo6";
747                                 regulator-always-on;
748                                 regulator-boot-on;
749                                 regulator-min-microvolt = <1800000>;
750                                 regulator-max-microvolt = <1800000>;
751 
752                                 regulator-state-mem {
753                                         regulator-on-in-suspend;
754                                         regulator-suspend-microvolt = <1800000>;
755                                 };
756                         };
757 
758                         vdd_0v75_s3: nldo-reg1 {
759                                 regulator-name = "vdd_0v75_s3";
760                                 regulator-always-on;
761                                 regulator-boot-on;
762                                 regulator-min-microvolt = <750000>;
763                                 regulator-max-microvolt = <750000>;
764 
765                                 regulator-state-mem {
766                                         regulator-on-in-suspend;
767                                         regulator-suspend-microvolt = <750000>;
768                                 };
769                         };
770 
771                         vdda_ddr_pll_s0: nldo-reg2 {
772                                 regulator-name = "vdda_ddr_pll_s0";
773                                 regulator-always-on;
774                                 regulator-boot-on;
775                                 regulator-min-microvolt = <900000>;
776                                 regulator-max-microvolt = <900000>;
777 
778                                 regulator-state-mem {
779                                         regulator-off-in-suspend;
780                                         regulator-suspend-microvolt = <850000>;
781                                 };
782                         };
783 
784                         vdda_0v75_s0: nldo-reg3 {
785                                 regulator-name = "vdda_0v75_s0";
786                                 regulator-always-on;
787                                 regulator-boot-on;
788                                 regulator-min-microvolt = <837500>;
789                                 regulator-max-microvolt = <837500>;
790 
791                                 regulator-state-mem {
792                                         regulator-off-in-suspend;
793                                 };
794                         };
795 
796                         vdda_0v85_s0: nldo-reg4 {
797                                 regulator-name = "vdda_0v85_s0";
798                                 regulator-always-on;
799                                 regulator-boot-on;
800                                 regulator-min-microvolt = <850000>;
801                                 regulator-max-microvolt = <850000>;
802 
803                                 regulator-state-mem {
804                                         regulator-off-in-suspend;
805                                 };
806                         };
807 
808                         /* Schematics show not in use */
809                         nldo-reg5 {
810                         };
811                 };
812         };
813 };
814 
815 &tsadc {
816         status = "okay";
817 };
818 
819 &u2phy0 {
820         status = "okay";
821 };
822 
823 &u2phy0_otg {
824         status = "okay";
825 };
826 
827 &u2phy2 {
828         status = "okay";
829 };
830 
831 &u2phy2_host {
832         phy-supply = <&vcc5v0_usb2_host>;
833         status = "okay";
834 };
835 
836 &u2phy3 {
837         status = "okay";
838 };
839 
840 &u2phy3_host {
841         phy-supply = <&vcc5v0_usb3_host>;
842         status = "okay";
843 };
844 
845 &uart2 {
846         pinctrl-names = "default";
847         pinctrl-0 = <&uart2m0_xfer>;
848         status = "okay";
849 };
850 
851 &usb_host0_ehci {
852         status = "okay";
853 };
854 
855 &usb_host0_ohci {
856         status = "okay";
857 };
858 
859 &usb_host0_xhci {
860         usb-role-switch;
861         status = "okay";
862 
863         port {
864                 usb_host0_xhci_role_switch: endpoint {
865                         remote-endpoint = <&usbc0_role_switch>;
866                 };
867         };
868 };
869 
870 &usb_host1_ehci {
871         status = "okay";
872 };
873 
874 &usb_host1_ohci {
875         status = "okay";
876 };
877 
878 &usb_host2_xhci {
879         status = "okay";
880 };
881 
882 &usbdp_phy0 {
883         mode-switch;
884         orientation-switch;
885         sbu1-dc-gpios = <&gpio4 RK_PA0 GPIO_ACTIVE_HIGH>;
886         sbu2-dc-gpios = <&gpio4 RK_PA1 GPIO_ACTIVE_HIGH>;
887         status = "okay";
888 
889         port {
890                 #address-cells = <1>;
891                 #size-cells = <0>;
892 
893                 usbdp_phy0_orientation_switch: endpoint@0 {
894                         reg = <0>;
895                         remote-endpoint = <&usbc0_orientation_switch>;
896                 };
897 
898                 usbdp_phy0_dp_altmode_mux: endpoint@1 {
899                         reg = <1>;
900                         remote-endpoint = <&usbc0_dp_altmode_mux>;
901                 };
902         };
903 };

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php