1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2 // Copyright (c) 2017 Icenowy Zheng <icenowy@aosc.xyz>
3 // Based on sun50i-a64-pine64.dts, which is:
4 // Copyright (c) 2016 ARM Ltd.
6 #include "sun50i-a64.dtsi"
7 #include "sun50i-a64-cpu-opp.dtsi"
9 #include <dt-bindings/gpio/gpio.h>
12 cpvdd-supply = <®_eldo1>;
16 cpu-supply = <®_dcdc2>;
20 cpu-supply = <®_dcdc2>;
24 cpu-supply = <®_dcdc2>;
28 cpu-supply = <®_dcdc2>;
32 pinctrl-names = "default";
33 pinctrl-0 = <&mmc0_pins>;
34 vmmc-supply = <®_dcdc1>;
38 cd-gpios = <&pio 5 6 GPIO_ACTIVE_LOW>; /* PF6 */
46 compatible = "x-powers,axp803";
48 interrupt-parent = <&r_intc>;
49 interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
59 compatible = "jedec,spi-nor";
61 spi-max-frequency = <40000000>;
65 #include "axp803.dtsi"
69 regulator-min-microvolt = <1800000>;
70 regulator-max-microvolt = <3300000>;
71 regulator-name = "vcc-pl";
76 regulator-min-microvolt = <3000000>;
77 regulator-max-microvolt = <3000000>;
78 regulator-name = "vcc-pll-avcc";
83 regulator-min-microvolt = <3300000>;
84 regulator-max-microvolt = <3300000>;
85 regulator-name = "vcc-3v3";
90 regulator-min-microvolt = <1040000>;
91 regulator-max-microvolt = <1300000>;
92 regulator-name = "vdd-cpux";
95 /* DCDC3 is polyphased with DCDC2 */
99 regulator-min-microvolt = <1200000>;
100 regulator-max-microvolt = <1200000>;
101 regulator-name = "vcc-dram";
106 regulator-min-microvolt = <1100000>;
107 regulator-max-microvolt = <1100000>;
108 regulator-name = "vdd-sys";
113 regulator-min-microvolt = <1800000>;
114 regulator-max-microvolt = <1800000>;
115 regulator-name = "vdd-1v8-lpddr";
119 regulator-min-microvolt = <1200000>;
120 regulator-max-microvolt = <1200000>;
121 regulator-name = "vcc-1v2-hsic";
125 * The A64 chip cannot work without this regulator off, although
126 * it seems to be only driving the AR100 core.
127 * Maybe we don't still know well about CPUs domain.
131 regulator-min-microvolt = <1100000>;
132 regulator-max-microvolt = <1100000>;
133 regulator-name = "vdd-cpus";
137 regulator-name = "vcc-rtc";