Lines Matching +full:pg +full:- +full:gpios
1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 /dts-v1/;
8 #include "sun50i-h616.dtsi"
9 #include "sun50i-h616-cpu-opp.dtsi"
11 #include <dt-bindings/gpio/gpio.h>
12 #include <dt-bindings/interrupt-controller/arm-gic.h>
13 #include <dt-bindings/leds/common.h>
17 compatible = "xunlong,orangepi-zero2w", "allwinner,sun50i-h618";
24 stdout-path = "serial0:115200n8";
28 compatible = "gpio-leds";
30 led-0 {
33 gpios = <&pio 2 13 GPIO_ACTIVE_HIGH>; /* PC13 */
38 /* board wide 5V supply directly from the USB-C socket */
39 compatible = "regulator-fixed";
40 regulator-name = "vcc-5v";
41 regulator-min-microvolt = <5000000>;
42 regulator-max-microvolt = <5000000>;
43 regulator-always-on;
48 compatible = "regulator-fixed";
49 regulator-name = "vcc-3v3";
50 regulator-min-microvolt = <3300000>;
51 regulator-max-microvolt = <3300000>;
52 vin-supply = <®_vcc5v>;
53 regulator-always-on;
58 cpu-supply = <®_dcdc2>;
68 cd-gpios = <&pio 5 6 GPIO_ACTIVE_LOW>; /* PF6 */
69 bus-width = <4>;
70 vmmc-supply = <®_vcc3v3>;
79 vcc-pc-supply = <®_dldo1>;
80 vcc-pf-supply = <®_dldo1>; /* internally via VCC-IO */
81 vcc-pg-supply = <®_aldo1>;
82 vcc-ph-supply = <®_dldo1>; /* internally via VCC-IO */
83 vcc-pi-supply = <®_dldo1>;
90 compatible = "x-powers,axp313a";
92 #interrupt-cells = <1>;
93 interrupt-controller;
94 interrupt-parent = <&pio>;
97 vin1-supply = <®_vcc5v>;
98 vin2-supply = <®_vcc5v>;
99 vin3-supply = <®_vcc5v>;
102 /* Supplies VCC-PLL and DRAM */
104 regulator-always-on;
105 regulator-min-microvolt = <1800000>;
106 regulator-max-microvolt = <1800000>;
107 regulator-name = "vcc1v8";
110 /* Supplies VCC-IO, so needs to be always on. */
112 regulator-always-on;
113 regulator-min-microvolt = <3300000>;
114 regulator-max-microvolt = <3300000>;
115 regulator-name = "vcc3v3";
119 regulator-always-on;
120 regulator-min-microvolt = <810000>;
121 regulator-max-microvolt = <990000>;
122 regulator-name = "vdd-gpu-sys";
126 regulator-always-on;
127 regulator-min-microvolt = <810000>;
128 regulator-max-microvolt = <1100000>;
129 regulator-name = "vdd-cpu";
133 regulator-always-on;
134 regulator-min-microvolt = <1100000>;
135 regulator-max-microvolt = <1100000>;
136 regulator-name = "vdd-dram";
144 pinctrl-names = "default";
145 pinctrl-0 = <&spi0_pins>, <&spi0_cs0_pin>;
148 #address-cells = <1>;
149 #size-cells = <1>;
150 compatible = "jedec,spi-nor";
152 spi-max-frequency = <40000000>;
157 pinctrl-names = "default";
158 pinctrl-0 = <&uart0_ph_pins>;
164 * PHY0 pins are connected to a USB-C socket, but a role switch
168 * The board can be powered via GPIOs, in this case port0 *can*
170 * then provided by the GPIOs. Any user of this setup would
179 usb1_vbus-supply = <®_vcc5v>;