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 = "hdmi-connector";
26 ddc-en-gpios = <&pio 7 2 GPIO_ACTIVE_HIGH>; /* PH2 */
29 hdmi_con_in: endpoint {
30 remote-endpoint = <&hdmi_out_con>;
35 ext_osc32k: ext_osc32k_clk {
37 compatible = "fixed-clock";
38 clock-frequency = <32768>;
39 clock-output-names = "ext_osc32k";
43 compatible = "gpio-leds";
46 label = "orangepi:red:power";
47 gpios = <&r_pio 0 4 GPIO_ACTIVE_HIGH>; /* PL4 */
52 label = "orangepi:green:status";
53 gpios = <&r_pio 0 7 GPIO_ACTIVE_HIGH>; /* PL7 */
58 /* board wide 5V supply directly from the DC jack */
59 compatible = "regulator-fixed";
60 regulator-name = "vcc-5v";
61 regulator-min-microvolt = <5000000>;
62 regulator-max-microvolt = <5000000>;
80 mali-supply = <®_dcdcc>;
89 hdmi_out_con: endpoint {
90 remote-endpoint = <&hdmi_con_in>;
95 vmmc-supply = <®_cldo1>;
96 cd-gpios = <&pio 5 6 GPIO_ACTIVE_LOW>;
110 vcc-pc-supply = <®_bldo2>;
111 vcc-pd-supply = <®_cldo1>;
112 vcc-pg-supply = <®_aldo1>;
119 compatible = "x-powers,axp805", "x-powers,axp806";
121 interrupt-parent = <&r_intc>;
122 interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
123 interrupt-controller;
124 #interrupt-cells = <1>;
125 x-powers,self-working-mode;
126 vina-supply = <®_vcc5v>;
127 vinb-supply = <®_vcc5v>;
128 vinc-supply = <®_vcc5v>;
129 vind-supply = <®_vcc5v>;
130 vine-supply = <®_vcc5v>;
131 aldoin-supply = <®_vcc5v>;
132 bldoin-supply = <®_vcc5v>;
133 cldoin-supply = <®_vcc5v>;
138 regulator-min-microvolt = <3300000>;
139 regulator-max-microvolt = <3300000>;
140 regulator-name = "vcc-pl";
144 regulator-min-microvolt = <3300000>;
145 regulator-max-microvolt = <3300000>;
146 regulator-name = "vcc-ac200";
151 regulator-min-microvolt = <3300000>;
152 regulator-max-microvolt = <3300000>;
153 regulator-name = "vcc25-dram";
158 regulator-min-microvolt = <1800000>;
159 regulator-max-microvolt = <1800000>;
160 regulator-name = "vcc-bias-pll";
165 regulator-min-microvolt = <1800000>;
166 regulator-max-microvolt = <1800000>;
167 regulator-name = "vcc-efuse-pcie-hdmi-io";
172 regulator-min-microvolt = <1800000>;
173 regulator-max-microvolt = <1800000>;
174 regulator-name = "vcc-dcxoio";
183 regulator-min-microvolt = <3300000>;
184 regulator-max-microvolt = <3300000>;
185 regulator-name = "vcc-3v3";
189 regulator-min-microvolt = <3300000>;
190 regulator-max-microvolt = <3300000>;
191 regulator-name = "vcc-wifi-1";
195 regulator-min-microvolt = <3300000>;
196 regulator-max-microvolt = <3300000>;
197 regulator-name = "vcc-wifi-2";
202 regulator-min-microvolt = <810000>;
203 regulator-max-microvolt = <1080000>;
204 regulator-name = "vdd-cpu";
208 regulator-enable-ramp-delay = <32000>;
209 regulator-min-microvolt = <810000>;
210 regulator-max-microvolt = <1080000>;
211 regulator-name = "vdd-gpu";
216 regulator-min-microvolt = <960000>;
217 regulator-max-microvolt = <960000>;
218 regulator-name = "vdd-sys";
223 regulator-min-microvolt = <1200000>;
224 regulator-max-microvolt = <1200000>;
225 regulator-name = "vcc-dram";
240 vcc-pm-supply = <®_bldo3>;
244 clocks = <&ext_osc32k>;
248 pinctrl-names = "default";
249 pinctrl-0 = <&uart0_ph_pins>;
255 * OrangePi Lite 2 and One Plus, where this DT is used, don't
256 * have a controllable VBUS even though they do have an ID pin.
257 * Using it as anything but a USB host is unsafe.
264 usb0_id_det-gpios = <&pio 2 6 GPIO_ACTIVE_HIGH>; /* PC6 */
265 usb0_vbus-supply = <®_vcc5v>;
266 usb3_vbus-supply = <®_vcc5v>;