WIP FPC-III support
[linux/fpc-iii.git] / arch / arm64 / boot / dts / allwinner / sun50i-a100-allwinner-perf1.dts
blobd34c2bb1079f36ee0bf82b9eae535706ad2d62f4
1 // SPDX-License-Identifier: (GPL-2.0+ or MIT)
2 /*
3  * Copyright (c) 2020 Yangtao Li <frank@allwinnertech.com>
4  */
6 /dts-v1/;
8 #include "sun50i-a100.dtsi"
11         model = "Allwinner A100 Perf1";
12         compatible = "allwinner,a100-perf1", "allwinner,sun50i-a100";
14         aliases {
15                 serial0 = &uart0;
16         };
18         chosen {
19                 stdout-path = "serial0:115200n8";
20         };
23 &pio {
24         vcc-pb-supply = <&reg_dcdc1>;
25         vcc-pc-supply = <&reg_eldo1>;
26         vcc-pd-supply = <&reg_dcdc1>;
27         vcc-pe-supply = <&reg_dldo2>;
28         vcc-pf-supply = <&reg_dcdc1>;
29         vcc-pg-supply = <&reg_dldo1>;
30         vcc-ph-supply = <&reg_dcdc1>;
33 &r_pio {
34         /*
35          * FIXME: We can't add that supply for now since it would
36          * create a circular dependency between pinctrl, the regulator
37          * and the RSB Bus.
38          *
39          * vcc-pl-supply = <&reg_aldo3>;
40          */
43 &r_i2c0 {
44         status = "okay";
46         axp803: pmic@34 {
47                 compatible = "x-powers,axp803";
48                 reg = <0x34>;
49                 interrupt-parent = <&r_intc>;
50                 interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
51                 x-powers,drive-vbus-en; /* set N_VBUSEN as output pin */
52         };
55 #include "axp803.dtsi"
57 &ac_power_supply {
58         status = "okay";
61 &reg_aldo1 {
62         regulator-always-on;
63         regulator-min-microvolt = <1800000>;
64         regulator-max-microvolt = <1800000>;
65         regulator-name = "vcc-pll-avcc";
68 &reg_aldo2 {
69         regulator-always-on;
70         regulator-min-microvolt = <1800000>;
71         regulator-max-microvolt = <1800000>;
72         regulator-name = "vcc-dram-1";
75 &reg_aldo3 {
76         regulator-always-on;
77         regulator-min-microvolt = <3300000>;
78         regulator-max-microvolt = <3300000>;
79         regulator-name = "vcc-usb-pl";
82 &reg_dcdc1 {
83         regulator-always-on;
84         regulator-min-microvolt = <3300000>;
85         regulator-max-microvolt = <3300000>;
86         regulator-name = "vcc-io-usb-pd-emmc-nand-card";
89 &reg_dcdc2 {
90         regulator-always-on;
91         /*
92          * FIXME: update min and max before support dvfs.
93          */
94         regulator-min-microvolt = <500000>;
95         regulator-max-microvolt = <1300000>;
96         regulator-name = "vdd-cpux";
99 /* DCDC3 is polyphased with DCDC2 */
101 &reg_dcdc4 {
102         regulator-always-on;
103         regulator-min-microvolt = <950000>;
104         regulator-max-microvolt = <950000>;
105         regulator-name = "vdd-sys-usb-dram";
108 &reg_dcdc5 {
109         regulator-always-on;
110         regulator-min-microvolt = <1500000>;
111         regulator-max-microvolt = <1500000>;
112         regulator-name = "vcc-dram-2";
115 &reg_dldo1 {
116         regulator-min-microvolt = <3300000>;
117         regulator-max-microvolt = <3300000>;
118         regulator-name = "vcc-pg-dcxo-wifi";
121 &reg_dldo2 {
122         regulator-min-microvolt = <1800000>;
123         regulator-max-microvolt = <2800000>;
124         regulator-name = "vcc-pe-csi";
127 &reg_dldo3 {
128         regulator-min-microvolt = <1800000>;
129         regulator-max-microvolt = <3300000>;
130         regulator-name = "ldo-avdd-csi";
133 &reg_dldo4 {
134         regulator-min-microvolt = <1800000>;
135         regulator-max-microvolt = <2800000>;
136         regulator-name = "avcc-csi";
139 &reg_eldo1 {
140         regulator-min-microvolt = <1800000>;
141         regulator-max-microvolt = <1800000>;
142         regulator-name = "vcc-pc-lvds-csi-efuse-emmc-nand";
145 &reg_eldo2 {
146         regulator-min-microvolt = <1200000>;
147         regulator-max-microvolt = <1800000>;
148         regulator-name = "dvdd-csi";
151 &reg_eldo3 {
152         regulator-min-microvolt = <1800000>;
153         regulator-max-microvolt = <1800000>;
154         regulator-name = "vcc-mipi-lcd";
157 &reg_fldo1 {
158         regulator-always-on;
159         regulator-min-microvolt = <900000>;
160         regulator-max-microvolt = <900000>;
161         regulator-name = "vdd-cpus-usb";
164 &reg_ldo_io0 {
165         regulator-min-microvolt = <3300000>;
166         regulator-max-microvolt = <3300000>;
167         regulator-name = "vcc-ctp";
168         status = "okay";
171 &reg_drivevbus {
172         regulator-name = "usb0-vbus";
173         status = "okay";
176 &uart0 {
177         pinctrl-names = "default";
178         pinctrl-0 = <&uart0_pb_pins>;
179         status = "okay";