1 /* 2 * Copyright 2015 Chen-Yu Tsai 3 * 4 * Chen-Yu Tsai <wens@csie.org> 5 * 6 * This file is dual-licensed: you can use it 7 * of the GPL or the X11 license, at your opti 8 * licensing only applies to this file, and no 9 * whole. 10 * 11 * a) This file is free software; you can red 12 * modify it under the terms of the GNU Ge 13 * published by the Free Software Foundati 14 * License, or (at your option) any later 15 * 16 * This file is distributed in the hope th 17 * but WITHOUT ANY WARRANTY; without even 18 * MERCHANTABILITY or FITNESS FOR A PARTIC 19 * GNU General Public License for more det 20 * 21 * Or, alternatively, 22 * 23 * b) Permission is hereby granted, free of c 24 * obtaining a copy of this software and a 25 * files (the "Software"), to deal in the 26 * restriction, including without limitati 27 * copy, modify, merge, publish, distribut 28 * sell copies of the Software, and to per 29 * Software is furnished to do so, subject 30 * conditions: 31 * 32 * The above copyright notice and this per 33 * included in all copies or substantial p 34 * 35 * THE SOFTWARE IS PROVIDED "AS IS", WITHO 36 * EXPRESS OR IMPLIED, INCLUDING BUT NOT L 37 * OF MERCHANTABILITY, FITNESS FOR A PARTI 38 * NONINFRINGEMENT. IN NO EVENT SHALL THE 39 * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGE 40 * WHETHER IN AN ACTION OF CONTRACT, TORT 41 * FROM, OUT OF OR IN CONNECTION WITH THE 42 * OTHER DEALINGS IN THE SOFTWARE. 43 */ 44 45 /* 46 * AXP221/221s/223 Integrated Power Management 47 * http://www.x-powers.com/product/AXP22X.php 48 * http://dl.linux-sunxi.org/AXP/AXP221%20Data 49 */ 50 51 &axp22x { 52 interrupt-controller; 53 #interrupt-cells = <1>; 54 55 ac_power_supply: ac-power { 56 compatible = "x-powers,axp221- 57 status = "disabled"; 58 }; 59 60 axp_adc: adc { 61 compatible = "x-powers,axp221- 62 #io-channel-cells = <1>; 63 }; 64 65 battery_power_supply: battery-power { 66 compatible = "x-powers,axp221- 67 status = "disabled"; 68 }; 69 70 axp_gpio: gpio { 71 compatible = "x-powers,axp221- 72 gpio-controller; 73 #gpio-cells = <2>; 74 }; 75 76 regulators { 77 /* Default work frequency for 78 x-powers,dcdc-freq = <3000>; 79 80 reg_dcdc1: dcdc1 { 81 regulator-name = "dcdc 82 }; 83 84 reg_dcdc2: dcdc2 { 85 regulator-name = "dcdc 86 }; 87 88 reg_dcdc3: dcdc3 { 89 regulator-name = "dcdc 90 }; 91 92 reg_dcdc4: dcdc4 { 93 regulator-name = "dcdc 94 }; 95 96 reg_dcdc5: dcdc5 { 97 regulator-name = "dcdc 98 }; 99 100 reg_dc1sw: dc1sw { 101 regulator-name = "dc1s 102 }; 103 104 reg_dc5ldo: dc5ldo { 105 regulator-name = "dc5l 106 }; 107 108 reg_aldo1: aldo1 { 109 regulator-name = "aldo 110 }; 111 112 reg_aldo2: aldo2 { 113 regulator-name = "aldo 114 }; 115 116 reg_aldo3: aldo3 { 117 regulator-name = "aldo 118 }; 119 120 reg_dldo1: dldo1 { 121 regulator-name = "dldo 122 }; 123 124 reg_dldo2: dldo2 { 125 regulator-name = "dldo 126 }; 127 128 reg_dldo3: dldo3 { 129 regulator-name = "dldo 130 }; 131 132 reg_dldo4: dldo4 { 133 regulator-name = "dldo 134 }; 135 136 reg_eldo1: eldo1 { 137 regulator-name = "eldo 138 }; 139 140 reg_eldo2: eldo2 { 141 regulator-name = "eldo 142 }; 143 144 reg_eldo3: eldo3 { 145 regulator-name = "eldo 146 }; 147 148 reg_ldo_io0: ldo_io0 { 149 regulator-name = "ldo_ 150 status = "disabled"; 151 }; 152 153 reg_ldo_io1: ldo_io1 { 154 regulator-name = "ldo_ 155 status = "disabled"; 156 }; 157 158 reg_rtc_ldo: rtc_ldo { 159 /* RTC_LDO is a fixed, 160 regulator-always-on; 161 regulator-min-microvol 162 regulator-max-microvol 163 regulator-name = "rtc_ 164 }; 165 166 reg_drivevbus: drivevbus { 167 regulator-name = "driv 168 status = "disabled"; 169 }; 170 }; 171 172 usb_power_supply: usb-power { 173 compatible = "x-powers,axp221- 174 status = "disabled"; 175 }; 176 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.