Lines Matching +full:shared +full:- +full:pin

1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * Author: Frank Wunderlich <frank-w@public-files.de>
7 /dts-v1/;
8 #include <dt-bindings/gpio/gpio.h>
9 #include <dt-bindings/leds/common.h>
10 #include <dt-bindings/pinctrl/rockchip.h>
11 #include <dt-bindings/soc/rockchip,vop2.h>
15 model = "Bananapi-R2 Pro (RK3568) DDR4 Board";
16 compatible = "rockchip,rk3568-bpi-r2pro", "rockchip,rk3568";
26 stdout-path = "serial2:1500000n8";
30 compatible = "gpio-leds";
31 pinctrl-names = "default";
32 pinctrl-0 = <&blue_led_pin &green_led_pin>;
34 blue_led: led-0 {
36 default-state = "off";
41 green_led: led-1 {
43 default-state = "on";
49 dc_12v: dc-12v-regulator {
50 compatible = "regulator-fixed";
51 regulator-name = "dc_12v";
52 regulator-always-on;
53 regulator-boot-on;
54 regulator-min-microvolt = <12000000>;
55 regulator-max-microvolt = <12000000>;
58 hdmi-con {
59 compatible = "hdmi-connector";
64 remote-endpoint = <&hdmi_out_con>;
69 vcc3v3_sys: vcc3v3-sys-regulator {
70 compatible = "regulator-fixed";
71 regulator-name = "vcc3v3_sys";
72 regulator-always-on;
73 regulator-boot-on;
74 regulator-min-microvolt = <3300000>;
75 regulator-max-microvolt = <3300000>;
76 vin-supply = <&dc_12v>;
79 vcc5v0_sys: vcc5v0-sys-regulator {
80 compatible = "regulator-fixed";
81 regulator-name = "vcc5v0_sys";
82 regulator-always-on;
83 regulator-boot-on;
84 regulator-min-microvolt = <5000000>;
85 regulator-max-microvolt = <5000000>;
86 vin-supply = <&dc_12v>;
89 pcie30_avdd0v9: pcie30-avdd0v9-regulator {
90 compatible = "regulator-fixed";
91 regulator-name = "pcie30_avdd0v9";
92 regulator-always-on;
93 regulator-boot-on;
94 regulator-min-microvolt = <900000>;
95 regulator-max-microvolt = <900000>;
96 vin-supply = <&vcc3v3_sys>;
99 pcie30_avdd1v8: pcie30-avdd1v8-regulator {
100 compatible = "regulator-fixed";
101 regulator-name = "pcie30_avdd1v8";
102 regulator-always-on;
103 regulator-boot-on;
104 regulator-min-microvolt = <1800000>;
105 regulator-max-microvolt = <1800000>;
106 vin-supply = <&vcc3v3_sys>;
110 vcc3v3_pi6c_05: vcc3v3-pi6c-05-regulator {
111 compatible = "regulator-fixed";
112 regulator-name = "vcc3v3_pcie";
113 regulator-min-microvolt = <3300000>;
114 regulator-max-microvolt = <3300000>;
115 enable-active-high;
117 startup-delay-us = <200000>;
118 vin-supply = <&vcc5v0_sys>;
122 vcc3v3_minipcie: vcc3v3-minipcie-regulator {
123 compatible = "regulator-fixed";
124 regulator-name = "vcc3v3_minipcie";
125 regulator-min-microvolt = <3300000>;
126 regulator-max-microvolt = <3300000>;
127 enable-active-high;
129 pinctrl-names = "default";
130 pinctrl-0 = <&minipcie_enable_h>;
131 startup-delay-us = <50000>;
132 vin-supply = <&vcc3v3_pi6c_05>;
136 vcc3v3_ngff: vcc3v3-ngff-regulator {
137 compatible = "regulator-fixed";
138 regulator-name = "vcc3v3_ngff";
139 regulator-min-microvolt = <3300000>;
140 regulator-max-microvolt = <3300000>;
141 enable-active-high;
143 pinctrl-names = "default";
144 pinctrl-0 = <&ngffpcie_enable_h>;
145 startup-delay-us = <50000>;
146 vin-supply = <&vcc3v3_pi6c_05>;
149 vcc5v0_usb: vcc5v0-usb-regulator {
150 compatible = "regulator-fixed";
151 regulator-name = "vcc5v0_usb";
152 regulator-always-on;
153 regulator-boot-on;
154 regulator-min-microvolt = <5000000>;
155 regulator-max-microvolt = <5000000>;
156 vin-supply = <&dc_12v>;
159 vcc5v0_usb_host: vcc5v0-usb-host-regulator {
160 compatible = "regulator-fixed";
161 enable-active-high;
163 pinctrl-names = "default";
164 pinctrl-0 = <&vcc5v0_usb_host_en>;
165 regulator-name = "vcc5v0_usb_host";
166 regulator-min-microvolt = <5000000>;
167 regulator-max-microvolt = <5000000>;
168 vin-supply = <&vcc5v0_usb>;
171 vcc5v0_usb_otg: vcc5v0-usb-otg-regulator {
172 compatible = "regulator-fixed";
173 enable-active-high;
175 pinctrl-names = "default";
176 pinctrl-0 = <&vcc5v0_usb_otg_en>;
177 regulator-name = "vcc5v0_usb_otg";
178 regulator-min-microvolt = <5000000>;
179 regulator-max-microvolt = <5000000>;
180 vin-supply = <&vcc5v0_usb>;
200 assigned-clocks = <&cru SCLK_GMAC0_RX_TX>, <&cru SCLK_GMAC0>;
201 assigned-clock-parents = <&cru SCLK_GMAC0_RGMII_SPEED>, <&cru CLK_MAC0_2TOP>;
203 phy-mode = "rgmii";
204 pinctrl-names = "default";
205 pinctrl-0 = <&gmac0_miim
210 snps,reset-gpio = <&gpio3 RK_PB7 GPIO_ACTIVE_LOW>;
211 snps,reset-active-low;
213 snps,reset-delays-us = <0 20000 100000>;
218 fixed-link {
220 full-duplex;
226 assigned-clocks = <&cru SCLK_GMAC1_RX_TX>, <&cru SCLK_GMAC1>;
227 assigned-clock-parents = <&cru SCLK_GMAC1_RGMII_SPEED>, <&cru CLK_MAC1_2TOP>;
229 phy-handle = <&rgmii_phy1>;
230 phy-mode = "rgmii";
231 pinctrl-names = "default";
232 pinctrl-0 = <&gmac1m1_miim
238 snps,reset-gpio = <&gpio3 RK_PB0 GPIO_ACTIVE_LOW>;
239 snps,reset-active-low;
241 snps,reset-delays-us = <0 20000 100000>;
250 mali-supply = <&vdd_gpu>;
255 avdd-0v9-supply = <&vdda0v9_image>;
256 avdd-1v8-supply = <&vcca1v8_image>;
262 remote-endpoint = <&vp0_out_hdmi>;
268 remote-endpoint = <&hdmi_con_in>;
282 interrupt-parent = <&gpio0>;
284 #clock-cells = <1>;
285 pinctrl-names = "default";
286 pinctrl-0 = <&pmic_int>;
287 rockchip,system-power-controller;
288 vcc1-supply = <&vcc3v3_sys>;
289 vcc2-supply = <&vcc3v3_sys>;
290 vcc3-supply = <&vcc3v3_sys>;
291 vcc4-supply = <&vcc3v3_sys>;
292 vcc5-supply = <&vcc3v3_sys>;
293 vcc6-supply = <&vcc3v3_sys>;
294 vcc7-supply = <&vcc3v3_sys>;
295 vcc8-supply = <&vcc3v3_sys>;
296 vcc9-supply = <&vcc3v3_sys>;
297 wakeup-source;
301 regulator-name = "vdd_logic";
302 regulator-always-on;
303 regulator-boot-on;
304 regulator-init-microvolt = <900000>;
305 regulator-initial-mode = <0x2>;
306 regulator-min-microvolt = <500000>;
307 regulator-max-microvolt = <1350000>;
308 regulator-ramp-delay = <6001>;
310 regulator-state-mem {
311 regulator-off-in-suspend;
316 regulator-name = "vdd_gpu";
317 regulator-always-on;
318 regulator-init-microvolt = <900000>;
319 regulator-initial-mode = <0x2>;
320 regulator-min-microvolt = <500000>;
321 regulator-max-microvolt = <1350000>;
322 regulator-ramp-delay = <6001>;
324 regulator-state-mem {
325 regulator-off-in-suspend;
330 regulator-name = "vcc_ddr";
331 regulator-always-on;
332 regulator-boot-on;
333 regulator-initial-mode = <0x2>;
335 regulator-state-mem {
336 regulator-on-in-suspend;
341 regulator-name = "vdd_npu";
342 regulator-init-microvolt = <900000>;
343 regulator-initial-mode = <0x2>;
344 regulator-min-microvolt = <500000>;
345 regulator-max-microvolt = <1350000>;
346 regulator-ramp-delay = <6001>;
348 regulator-state-mem {
349 regulator-off-in-suspend;
354 regulator-name = "vcc_1v8";
355 regulator-always-on;
356 regulator-boot-on;
357 regulator-min-microvolt = <1800000>;
358 regulator-max-microvolt = <1800000>;
360 regulator-state-mem {
361 regulator-off-in-suspend;
366 regulator-name = "vdda0v9_image";
367 regulator-always-on;
368 regulator-min-microvolt = <900000>;
369 regulator-max-microvolt = <900000>;
371 regulator-state-mem {
372 regulator-off-in-suspend;
377 regulator-name = "vdda_0v9";
378 regulator-always-on;
379 regulator-boot-on;
380 regulator-min-microvolt = <900000>;
381 regulator-max-microvolt = <900000>;
383 regulator-state-mem {
384 regulator-off-in-suspend;
389 regulator-name = "vdda0v9_pmu";
390 regulator-always-on;
391 regulator-boot-on;
392 regulator-min-microvolt = <900000>;
393 regulator-max-microvolt = <900000>;
395 regulator-state-mem {
396 regulator-on-in-suspend;
397 regulator-suspend-microvolt = <900000>;
402 regulator-name = "vccio_acodec";
403 regulator-always-on;
404 regulator-boot-on;
405 regulator-min-microvolt = <3300000>;
406 regulator-max-microvolt = <3300000>;
408 regulator-state-mem {
409 regulator-off-in-suspend;
414 regulator-name = "vccio_sd";
415 regulator-min-microvolt = <1800000>;
416 regulator-max-microvolt = <3300000>;
418 regulator-state-mem {
419 regulator-off-in-suspend;
424 regulator-name = "vcc3v3_pmu";
425 regulator-always-on;
426 regulator-boot-on;
427 regulator-min-microvolt = <3300000>;
428 regulator-max-microvolt = <3300000>;
430 regulator-state-mem {
431 regulator-on-in-suspend;
432 regulator-suspend-microvolt = <3300000>;
437 regulator-name = "vcca_1v8";
438 regulator-always-on;
439 regulator-boot-on;
440 regulator-min-microvolt = <1800000>;
441 regulator-max-microvolt = <1800000>;
443 regulator-state-mem {
444 regulator-off-in-suspend;
449 regulator-name = "vcca1v8_pmu";
450 regulator-always-on;
451 regulator-boot-on;
452 regulator-min-microvolt = <1800000>;
453 regulator-max-microvolt = <1800000>;
455 regulator-state-mem {
456 regulator-on-in-suspend;
457 regulator-suspend-microvolt = <1800000>;
462 regulator-name = "vcca1v8_image";
463 regulator-always-on;
464 regulator-min-microvolt = <1800000>;
465 regulator-max-microvolt = <1800000>;
467 regulator-state-mem {
468 regulator-off-in-suspend;
473 regulator-name = "vcc_3v3";
474 regulator-always-on;
475 regulator-boot-on;
477 regulator-state-mem {
478 regulator-off-in-suspend;
483 regulator-name = "vcc3v3_sd";
484 regulator-always-on;
486 regulator-state-mem {
487 regulator-off-in-suspend;
500 interrupt-parent = <&gpio0>;
502 #clock-cells = <0>;
503 clock-output-names = "rtcic_32kout";
504 pinctrl-names = "default";
505 pinctrl-0 = <&hym8563_int>;
506 wakeup-source;
511 /* pin 3 (SDA) + 4 (SCL) of header con2 */
521 #address-cells = <1>;
522 #size-cells = <0>;
529 #address-cells = <1>;
530 #size-cells = <0>;
556 phy-mode = "rgmii";
558 fixed-link {
560 full-duplex;
569 rgmii_phy1: ethernet-phy@0 {
570 compatible = "ethernet-phy-ieee802.3-c22";
576 data-lanes = <1 2>;
577 phy-supply = <&vcc3v3_pi6c_05>;
583 num-lanes = <1>;
584 pinctrl-names = "default";
585 pinctrl-0 = <&ngffpcie_reset_h>;
586 reset-gpios = <&gpio3 RK_PA1 GPIO_ACTIVE_HIGH>;
587 vpcie3v3-supply = <&vcc3v3_ngff>;
593 num-lanes = <1>;
594 pinctrl-names = "default";
595 pinctrl-0 = <&minipcie_reset_h>;
596 reset-gpios = <&gpio2 RK_PD6 GPIO_ACTIVE_HIGH>;
597 vpcie3v3-supply = <&vcc3v3_minipcie>;
603 blue_led_pin: blue-led-pin {
606 green_led_pin: green-led-pin {
612 hym8563_int: hym8563-int {
618 minipcie_enable_h: minipcie-enable-h {
622 ngffpcie_enable_h: ngffpcie-enable-h {
626 minipcie_reset_h: minipcie-reset-h {
630 ngffpcie_reset_h: ngffpcie-reset-h {
654 pmuio1-supply = <&vcc3v3_pmu>;
655 pmuio2-supply = <&vcc3v3_pmu>;
656 vccio1-supply = <&vccio_acodec>;
657 vccio3-supply = <&vccio_sd>;
658 vccio4-supply = <&vcc_3v3>;
659 vccio5-supply = <&vcc_3v3>;
660 vccio6-supply = <&vcc_1v8>;
661 vccio7-supply = <&vcc_3v3>;
666 /* fan 5v - gnd - pwm */
671 /* pin 7 of header con2 */
676 /* pin 15 of header con2 */
681 /* pin 21 of header con2 */
682 /* shared with uart9 + spi3 */
683 pinctrl-0 = <&pwm12m1_pins>;
688 /* pin 24 of header con2 */
689 /* shared with uart9 */
690 pinctrl-0 = <&pwm13m1_pins>;
695 /* pin 23 of header con2 */
696 /* shared with spi3 */
697 pinctrl-0 = <&pwm14m1_pins>;
702 /* pin 19 of header con2 */
703 /* shared with spi3 */
704 pinctrl-0 = <&pwm15m1_pins>;
709 vref-supply = <&vcca_1v8>;
718 bus-width = <8>;
719 max-frequency = <200000000>;
720 non-removable;
721 pinctrl-names = "default";
722 pinctrl-0 = <&emmc_bus8 &emmc_clk &emmc_cmd &emmc_datastrobe>;
727 bus-width = <4>;
728 cap-sd-highspeed;
729 cd-gpios = <&gpio0 RK_PA4 GPIO_ACTIVE_LOW>;
730 disable-wp;
731 pinctrl-names = "default";
732 pinctrl-0 = <&sdmmc0_bus4 &sdmmc0_clk &sdmmc0_cmd &sdmmc0_det>;
733 sd-uhs-sdr104;
734 vmmc-supply = <&vcc3v3_sd>;
735 vqmmc-supply = <&vccio_sd>;
740 /* pin 19 (MO) + 21 (MI) + 23 (CK) of header con2 */
741 /* shared with pwm12/14/15 and uart9 */
742 pinctrl-0 = <&spi3m1_pins>;
747 rockchip,hw-tshut-mode = <1>;
748 rockchip,hw-tshut-polarity = <0>;
753 /* pin 8 (TX) + 10 (RX) (RTS:16, CTS:18) of header con2 */
758 /* debug-uart */
763 /* pin 11 (TX) + 13 (RX) of header con2 */
764 pinctrl-0 = <&uart7m1_xfer>;
769 /* pin 21 (TX) + 24 (RX) of header con2 */
770 /* shared with pwm13 and pwm12/spi3 */
771 pinctrl-0 = <&uart9m1_xfer>;
805 phy-supply = <&vcc5v0_usb_host>;
810 phy-supply = <&vcc5v0_usb_otg>;
828 assigned-clocks = <&cru DCLK_VOP0>, <&cru DCLK_VOP1>;
829 assigned-clock-parents = <&pmucru PLL_HPLL>, <&cru PLL_VPLL>;
840 remote-endpoint = <&hdmi_in_vp0>;