1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2 /* 3 * Copyright (c) 2020 Yangtao Li <frank@allwinnertech.com> 4 */ 5 6 /dts-v1/; 7 8 #include "sun50i-a100.dtsi" 9 10 /{ 11 model = "Allwinner A100 Perf1"; 12 compatible = "allwinner,a100-perf1", "allwinner,sun50i-a100"; 13 14 aliases { 15 serial0 = &uart0; 16 }; 17 18 chosen { 19 stdout-path = "serial0:115200n8"; 20 }; 21 }; 22 23 &pio { 24 vcc-pb-supply = <®_dcdc1>; 25 vcc-pc-supply = <®_eldo1>; 26 vcc-pd-supply = <®_dcdc1>; 27 vcc-pe-supply = <®_dldo2>; 28 vcc-pf-supply = <®_dcdc1>; 29 vcc-pg-supply = <®_dldo1>; 30 vcc-ph-supply = <®_dcdc1>; 31 }; 32 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 = <®_aldo3>; 40 */ 41 }; 42 43 &r_i2c0 { 44 status = "okay"; 45 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 }; 53 }; 54 55 #include "axp803.dtsi" 56 57 &ac_power_supply { 58 status = "okay"; 59 }; 60 61 ®_aldo1 { 62 regulator-always-on; 63 regulator-min-microvolt = <1800000>; 64 regulator-max-microvolt = <1800000>; 65 regulator-name = "vcc-pll-avcc"; 66 }; 67 68 ®_aldo2 { 69 regulator-always-on; 70 regulator-min-microvolt = <1800000>; 71 regulator-max-microvolt = <1800000>; 72 regulator-name = "vcc-dram-1"; 73 }; 74 75 ®_aldo3 { 76 regulator-always-on; 77 regulator-min-microvolt = <3300000>; 78 regulator-max-microvolt = <3300000>; 79 regulator-name = "vcc-usb-pl"; 80 }; 81 82 ®_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"; 87 }; 88 89 ®_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"; 97 }; 98 99 /* DCDC3 is polyphased with DCDC2 */ 100 101 ®_dcdc4 { 102 regulator-always-on; 103 regulator-min-microvolt = <950000>; 104 regulator-max-microvolt = <950000>; 105 regulator-name = "vdd-sys-usb-dram"; 106 }; 107 108 ®_dcdc5 { 109 regulator-always-on; 110 regulator-min-microvolt = <1500000>; 111 regulator-max-microvolt = <1500000>; 112 regulator-name = "vcc-dram-2"; 113 }; 114 115 ®_dldo1 { 116 regulator-min-microvolt = <3300000>; 117 regulator-max-microvolt = <3300000>; 118 regulator-name = "vcc-pg-dcxo-wifi"; 119 }; 120 121 ®_dldo2 { 122 regulator-min-microvolt = <1800000>; 123 regulator-max-microvolt = <2800000>; 124 regulator-name = "vcc-pe-csi"; 125 }; 126 127 ®_dldo3 { 128 regulator-min-microvolt = <1800000>; 129 regulator-max-microvolt = <3300000>; 130 regulator-name = "ldo-avdd-csi"; 131 }; 132 133 ®_dldo4 { 134 regulator-min-microvolt = <1800000>; 135 regulator-max-microvolt = <2800000>; 136 regulator-name = "avcc-csi"; 137 }; 138 139 ®_eldo1 { 140 regulator-min-microvolt = <1800000>; 141 regulator-max-microvolt = <1800000>; 142 regulator-name = "vcc-pc-lvds-csi-efuse-emmc-nand"; 143 }; 144 145 ®_eldo2 { 146 regulator-min-microvolt = <1200000>; 147 regulator-max-microvolt = <1800000>; 148 regulator-name = "dvdd-csi"; 149 }; 150 151 ®_eldo3 { 152 regulator-min-microvolt = <1800000>; 153 regulator-max-microvolt = <1800000>; 154 regulator-name = "vcc-mipi-lcd"; 155 }; 156 157 ®_fldo1 { 158 regulator-always-on; 159 regulator-min-microvolt = <900000>; 160 regulator-max-microvolt = <900000>; 161 regulator-name = "vdd-cpus-usb"; 162 }; 163 164 ®_ldo_io0 { 165 regulator-min-microvolt = <3300000>; 166 regulator-max-microvolt = <3300000>; 167 regulator-name = "vcc-ctp"; 168 status = "okay"; 169 }; 170 171 ®_drivevbus { 172 regulator-name = "usb0-vbus"; 173 status = "okay"; 174 }; 175 176 &uart0 { 177 pinctrl-names = "default"; 178 pinctrl-0 = <&uart0_pb_pins>; 179 status = "okay"; 180 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.