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 vmmc-supply = <®_cldo1>;
60 cd-gpios = <&pio 5 6 GPIO_ACTIVE_LOW>;
77 compatible = "x-powers,axp805", "x-powers,axp806";
79 interrupt-parent = <&r_intc>;
80 interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
82 #interrupt-cells = <1>;
83 x-powers,self-working-mode;
84 vina-supply = <®_vcc5v>;
85 vinb-supply = <®_vcc5v>;
86 vinc-supply = <®_vcc5v>;
87 vind-supply = <®_vcc5v>;
88 vine-supply = <®_vcc5v>;
89 aldoin-supply = <®_vcc5v>;
90 bldoin-supply = <®_vcc5v>;
91 cldoin-supply = <®_vcc5v>;
96 regulator-min-microvolt = <3300000>;
97 regulator-max-microvolt = <3300000>;
98 regulator-name = "vcc-pl";
102 regulator-min-microvolt = <3300000>;
103 regulator-max-microvolt = <3300000>;
104 regulator-name = "vcc-ac200";
109 regulator-min-microvolt = <3300000>;
110 regulator-max-microvolt = <3300000>;
111 regulator-name = "vcc25-dram";
116 regulator-min-microvolt = <1800000>;
117 regulator-max-microvolt = <1800000>;
118 regulator-name = "vcc-bias-pll";
123 regulator-min-microvolt = <1800000>;
124 regulator-max-microvolt = <1800000>;
125 regulator-name = "vcc-efuse-pcie-hdmi-io";
130 regulator-min-microvolt = <1800000>;
131 regulator-max-microvolt = <1800000>;
132 regulator-name = "vcc-dcxoio";
141 regulator-min-microvolt = <3300000>;
142 regulator-max-microvolt = <3300000>;
143 regulator-name = "vcc-3v3";
147 regulator-min-microvolt = <3300000>;
148 regulator-max-microvolt = <3300000>;
149 regulator-name = "vcc-wifi-1";
153 regulator-min-microvolt = <3300000>;
154 regulator-max-microvolt = <3300000>;
155 regulator-name = "vcc-wifi-2";
160 regulator-min-microvolt = <810000>;
161 regulator-max-microvolt = <1080000>;
162 regulator-name = "vdd-cpu";
166 regulator-min-microvolt = <810000>;
167 regulator-max-microvolt = <1080000>;
168 regulator-name = "vdd-gpu";
173 regulator-min-microvolt = <960000>;
174 regulator-max-microvolt = <960000>;
175 regulator-name = "vdd-sys";
180 regulator-min-microvolt = <1200000>;
181 regulator-max-microvolt = <1200000>;
182 regulator-name = "vcc-dram";
193 pinctrl-names = "default";
194 pinctrl-0 = <&uart0_ph_pins>;
204 usb0_id_det-gpios = <&pio 2 6 GPIO_ACTIVE_HIGH>; /* PC6 */
205 usb0_vbus-supply = <®_vcc5v>;
206 usb3_vbus-supply = <®_vcc5v>;