1 // SPDX-License-Identifier: (GPL-2.0+ or MIT)
3 * Copyright (C) 2018 Amarula Solutions
4 * Author: Jagan Teki <jagan@amarulasolutions.com>
9 #include "sun50i-h6.dtsi"
11 #include <dt-bindings/gpio/gpio.h>
14 model = "OrangePi One Plus";
15 compatible = "xunlong,orangepi-one-plus", "allwinner,sun50i-h6";
22 stdout-path = "serial0:115200n8";
26 compatible = "gpio-leds";
29 label = "orangepi:red:power";
30 gpios = <&r_pio 0 4 GPIO_ACTIVE_HIGH>; /* PL4 */
35 label = "orangepi:green:status";
36 gpios = <&r_pio 0 7 GPIO_ACTIVE_HIGH>; /* PL7 */
41 /* board wide 5V supply directly from the DC jack */
42 compatible = "regulator-fixed";
43 regulator-name = "vcc-5v";
44 regulator-min-microvolt = <5000000>;
45 regulator-max-microvolt = <5000000>;
59 pinctrl-names = "default";
60 pinctrl-0 = <&mmc0_pins>;
61 vmmc-supply = <®_cldo1>;
62 cd-gpios = <&pio 5 6 GPIO_ACTIVE_LOW>;
79 compatible = "x-powers,axp805", "x-powers,axp806";
81 interrupt-parent = <&r_intc>;
82 interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
84 #interrupt-cells = <1>;
85 x-powers,self-working-mode;
86 vina-supply = <®_vcc5v>;
87 vinb-supply = <®_vcc5v>;
88 vinc-supply = <®_vcc5v>;
89 vind-supply = <®_vcc5v>;
90 vine-supply = <®_vcc5v>;
91 aldoin-supply = <®_vcc5v>;
92 bldoin-supply = <®_vcc5v>;
93 cldoin-supply = <®_vcc5v>;
98 regulator-min-microvolt = <3300000>;
99 regulator-max-microvolt = <3300000>;
100 regulator-name = "vcc-pl";
104 regulator-min-microvolt = <3300000>;
105 regulator-max-microvolt = <3300000>;
106 regulator-name = "vcc-ac200";
111 regulator-min-microvolt = <3300000>;
112 regulator-max-microvolt = <3300000>;
113 regulator-name = "vcc25-dram";
118 regulator-min-microvolt = <1800000>;
119 regulator-max-microvolt = <1800000>;
120 regulator-name = "vcc-bias-pll";
125 regulator-min-microvolt = <1800000>;
126 regulator-max-microvolt = <1800000>;
127 regulator-name = "vcc-efuse-pcie-hdmi-io";
132 regulator-min-microvolt = <1800000>;
133 regulator-max-microvolt = <1800000>;
134 regulator-name = "vcc-dcxoio";
143 regulator-min-microvolt = <3300000>;
144 regulator-max-microvolt = <3300000>;
145 regulator-name = "vcc-3v3";
149 regulator-min-microvolt = <3300000>;
150 regulator-max-microvolt = <3300000>;
151 regulator-name = "vcc-wifi-1";
155 regulator-min-microvolt = <3300000>;
156 regulator-max-microvolt = <3300000>;
157 regulator-name = "vcc-wifi-2";
162 regulator-min-microvolt = <810000>;
163 regulator-max-microvolt = <1080000>;
164 regulator-name = "vdd-cpu";
168 regulator-min-microvolt = <810000>;
169 regulator-max-microvolt = <1080000>;
170 regulator-name = "vdd-gpu";
175 regulator-min-microvolt = <960000>;
176 regulator-max-microvolt = <960000>;
177 regulator-name = "vdd-sys";
182 regulator-min-microvolt = <1200000>;
183 regulator-max-microvolt = <1200000>;
184 regulator-name = "vcc-dram";
195 pinctrl-names = "default";
196 pinctrl-0 = <&uart0_ph_pins>;
206 usb0_id_det-gpios = <&pio 2 6 GPIO_ACTIVE_HIGH>; /* PC6 */
207 usb0_vbus-supply = <®_vcc5v>;
208 usb3_vbus-supply = <®_vcc5v>;