1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2 // Copyright 2017 Icenowy Zheng <icenowy@aosc.x 2 // Copyright 2017 Icenowy Zheng <icenowy@aosc.xyz> 3 3 4 /* 4 /* 5 * AXP803 Integrated Power Management Chip 5 * AXP803 Integrated Power Management Chip 6 * http://files.pine64.org/doc/datasheet/pine6 6 * http://files.pine64.org/doc/datasheet/pine64/AXP803_Datasheet_V1.0.pdf 7 */ 7 */ 8 8 9 &axp803 { 9 &axp803 { 10 interrupt-controller; 10 interrupt-controller; 11 #interrupt-cells = <1>; 11 #interrupt-cells = <1>; 12 12 13 ac_power_supply: ac-power { 13 ac_power_supply: ac-power { 14 compatible = "x-powers,axp803- 14 compatible = "x-powers,axp803-ac-power-supply", 15 "x-powers,axp813- 15 "x-powers,axp813-ac-power-supply"; 16 status = "disabled"; 16 status = "disabled"; 17 }; 17 }; 18 18 19 axp_adc: adc { 19 axp_adc: adc { 20 compatible = "x-powers,axp803- 20 compatible = "x-powers,axp803-adc", "x-powers,axp813-adc"; 21 #io-channel-cells = <1>; 21 #io-channel-cells = <1>; 22 }; 22 }; 23 23 24 axp_gpio: gpio { 24 axp_gpio: gpio { 25 compatible = "x-powers,axp803- 25 compatible = "x-powers,axp803-gpio", "x-powers,axp813-gpio"; 26 gpio-controller; 26 gpio-controller; 27 #gpio-cells = <2>; 27 #gpio-cells = <2>; 28 }; 28 }; 29 29 30 battery_power_supply: battery-power { 30 battery_power_supply: battery-power { 31 compatible = "x-powers,axp803- 31 compatible = "x-powers,axp803-battery-power-supply", 32 "x-powers,axp813- 32 "x-powers,axp813-battery-power-supply"; 33 status = "disabled"; 33 status = "disabled"; 34 }; 34 }; 35 35 36 regulators { 36 regulators { 37 /* Default work frequency for 37 /* Default work frequency for buck regulators */ 38 x-powers,dcdc-freq = <3000>; 38 x-powers,dcdc-freq = <3000>; 39 39 40 reg_aldo1: aldo1 { 40 reg_aldo1: aldo1 { 41 regulator-name = "aldo 41 regulator-name = "aldo1"; 42 }; 42 }; 43 43 44 reg_aldo2: aldo2 { 44 reg_aldo2: aldo2 { 45 regulator-name = "aldo 45 regulator-name = "aldo2"; 46 }; 46 }; 47 47 48 reg_aldo3: aldo3 { 48 reg_aldo3: aldo3 { 49 regulator-name = "aldo 49 regulator-name = "aldo3"; 50 }; 50 }; 51 51 52 reg_dc1sw: dc1sw { 52 reg_dc1sw: dc1sw { 53 regulator-name = "dc1s 53 regulator-name = "dc1sw"; 54 }; 54 }; 55 55 56 reg_dcdc1: dcdc1 { 56 reg_dcdc1: dcdc1 { 57 regulator-name = "dcdc 57 regulator-name = "dcdc1"; 58 }; 58 }; 59 59 60 reg_dcdc2: dcdc2 { 60 reg_dcdc2: dcdc2 { 61 regulator-name = "dcdc 61 regulator-name = "dcdc2"; 62 }; 62 }; 63 63 64 reg_dcdc3: dcdc3 { 64 reg_dcdc3: dcdc3 { 65 regulator-name = "dcdc 65 regulator-name = "dcdc3"; 66 }; 66 }; 67 67 68 reg_dcdc4: dcdc4 { 68 reg_dcdc4: dcdc4 { 69 regulator-name = "dcdc 69 regulator-name = "dcdc4"; 70 }; 70 }; 71 71 72 reg_dcdc5: dcdc5 { 72 reg_dcdc5: dcdc5 { 73 regulator-name = "dcdc 73 regulator-name = "dcdc5"; 74 }; 74 }; 75 75 76 reg_dcdc6: dcdc6 { 76 reg_dcdc6: dcdc6 { 77 regulator-name = "dcdc 77 regulator-name = "dcdc6"; 78 }; 78 }; 79 79 80 reg_dldo1: dldo1 { 80 reg_dldo1: dldo1 { 81 regulator-name = "dldo 81 regulator-name = "dldo1"; 82 }; 82 }; 83 83 84 reg_dldo2: dldo2 { 84 reg_dldo2: dldo2 { 85 regulator-name = "dldo 85 regulator-name = "dldo2"; 86 }; 86 }; 87 87 88 reg_dldo3: dldo3 { 88 reg_dldo3: dldo3 { 89 regulator-name = "dldo 89 regulator-name = "dldo3"; 90 }; 90 }; 91 91 92 reg_dldo4: dldo4 { 92 reg_dldo4: dldo4 { 93 regulator-name = "dldo 93 regulator-name = "dldo4"; 94 }; 94 }; 95 95 96 reg_eldo1: eldo1 { 96 reg_eldo1: eldo1 { 97 regulator-name = "eldo 97 regulator-name = "eldo1"; 98 }; 98 }; 99 99 100 reg_eldo2: eldo2 { 100 reg_eldo2: eldo2 { 101 regulator-name = "eldo 101 regulator-name = "eldo2"; 102 }; 102 }; 103 103 104 reg_eldo3: eldo3 { 104 reg_eldo3: eldo3 { 105 regulator-name = "eldo 105 regulator-name = "eldo3"; 106 }; 106 }; 107 107 108 reg_fldo1: fldo1 { 108 reg_fldo1: fldo1 { 109 regulator-name = "fldo 109 regulator-name = "fldo1"; 110 }; 110 }; 111 111 112 reg_fldo2: fldo2 { 112 reg_fldo2: fldo2 { 113 regulator-name = "fldo 113 regulator-name = "fldo2"; 114 }; 114 }; 115 115 116 reg_ldo_io0: ldo-io0 { 116 reg_ldo_io0: ldo-io0 { 117 regulator-name = "ldo- 117 regulator-name = "ldo-io0"; 118 status = "disabled"; 118 status = "disabled"; 119 }; 119 }; 120 120 121 reg_ldo_io1: ldo-io1 { 121 reg_ldo_io1: ldo-io1 { 122 regulator-name = "ldo- 122 regulator-name = "ldo-io1"; 123 status = "disabled"; 123 status = "disabled"; 124 }; 124 }; 125 125 126 reg_rtc_ldo: rtc-ldo { 126 reg_rtc_ldo: rtc-ldo { 127 /* RTC_LDO is a fixed, 127 /* RTC_LDO is a fixed, always-on regulator */ 128 regulator-always-on; 128 regulator-always-on; 129 regulator-min-microvol 129 regulator-min-microvolt = <3000000>; 130 regulator-max-microvol 130 regulator-max-microvolt = <3000000>; 131 regulator-name = "rtc- 131 regulator-name = "rtc-ldo"; 132 }; 132 }; 133 133 134 reg_drivevbus: drivevbus { 134 reg_drivevbus: drivevbus { 135 regulator-name = "driv 135 regulator-name = "drivevbus"; 136 status = "disabled"; 136 status = "disabled"; 137 }; 137 }; 138 }; 138 }; 139 139 140 usb_power_supply: usb-power { 140 usb_power_supply: usb-power { 141 compatible = "x-powers,axp803- 141 compatible = "x-powers,axp803-usb-power-supply", 142 "x-powers,axp813- 142 "x-powers,axp813-usb-power-supply"; 143 status = "disabled"; 143 status = "disabled"; 144 }; 144 }; 145 }; 145 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.