1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2 // Copyright (C) 2018 Amarula Solutions
3 // Author: Jagan Teki <jagan@amarulasolutions.com>
7 #include "sun50i-h6.dtsi"
9 #include <dt-bindings/gpio/gpio.h>
12 model = "OrangePi One Plus";
13 compatible = "xunlong,orangepi-one-plus", "allwinner,sun50i-h6";
20 stdout-path = "serial0:115200n8";
24 compatible = "gpio-leds";
27 label = "orangepi:red:power";
28 gpios = <&r_pio 0 4 GPIO_ACTIVE_HIGH>; /* PL4 */
33 label = "orangepi:green:status";
34 gpios = <&r_pio 0 7 GPIO_ACTIVE_HIGH>; /* PL7 */
39 /* board wide 5V supply directly from the DC jack */
40 compatible = "regulator-fixed";
41 regulator-name = "vcc-5v";
42 regulator-min-microvolt = <5000000>;
43 regulator-max-microvolt = <5000000>;
57 mali-supply = <®_dcdcc>;
62 vmmc-supply = <®_cldo1>;
63 cd-gpios = <&pio 5 6 GPIO_ACTIVE_LOW>;
80 compatible = "x-powers,axp805", "x-powers,axp806";
82 interrupt-parent = <&r_intc>;
83 interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
85 #interrupt-cells = <1>;
86 x-powers,self-working-mode;
87 vina-supply = <®_vcc5v>;
88 vinb-supply = <®_vcc5v>;
89 vinc-supply = <®_vcc5v>;
90 vind-supply = <®_vcc5v>;
91 vine-supply = <®_vcc5v>;
92 aldoin-supply = <®_vcc5v>;
93 bldoin-supply = <®_vcc5v>;
94 cldoin-supply = <®_vcc5v>;
99 regulator-min-microvolt = <3300000>;
100 regulator-max-microvolt = <3300000>;
101 regulator-name = "vcc-pl";
105 regulator-min-microvolt = <3300000>;
106 regulator-max-microvolt = <3300000>;
107 regulator-name = "vcc-ac200";
112 regulator-min-microvolt = <3300000>;
113 regulator-max-microvolt = <3300000>;
114 regulator-name = "vcc25-dram";
119 regulator-min-microvolt = <1800000>;
120 regulator-max-microvolt = <1800000>;
121 regulator-name = "vcc-bias-pll";
126 regulator-min-microvolt = <1800000>;
127 regulator-max-microvolt = <1800000>;
128 regulator-name = "vcc-efuse-pcie-hdmi-io";
133 regulator-min-microvolt = <1800000>;
134 regulator-max-microvolt = <1800000>;
135 regulator-name = "vcc-dcxoio";
144 regulator-min-microvolt = <3300000>;
145 regulator-max-microvolt = <3300000>;
146 regulator-name = "vcc-3v3";
150 regulator-min-microvolt = <3300000>;
151 regulator-max-microvolt = <3300000>;
152 regulator-name = "vcc-wifi-1";
156 regulator-min-microvolt = <3300000>;
157 regulator-max-microvolt = <3300000>;
158 regulator-name = "vcc-wifi-2";
163 regulator-min-microvolt = <810000>;
164 regulator-max-microvolt = <1080000>;
165 regulator-name = "vdd-cpu";
169 regulator-enable-ramp-delay = <32000>;
170 regulator-min-microvolt = <810000>;
171 regulator-max-microvolt = <1080000>;
172 regulator-name = "vdd-gpu";
177 regulator-min-microvolt = <960000>;
178 regulator-max-microvolt = <960000>;
179 regulator-name = "vdd-sys";
184 regulator-min-microvolt = <1200000>;
185 regulator-max-microvolt = <1200000>;
186 regulator-name = "vcc-dram";
201 pinctrl-names = "default";
202 pinctrl-0 = <&uart0_ph_pins>;
212 usb0_id_det-gpios = <&pio 2 6 GPIO_ACTIVE_HIGH>; /* PC6 */
213 usb0_vbus-supply = <®_vcc5v>;
214 usb3_vbus-supply = <®_vcc5v>;