18c2ecf20Sopenharmony_ci* Dialog DA9063/DA9063L Power Management Integrated Circuit (PMIC) 28c2ecf20Sopenharmony_ci 38c2ecf20Sopenharmony_ciDA9093 consists of a large and varied group of sub-devices (I2C Only): 48c2ecf20Sopenharmony_ci 58c2ecf20Sopenharmony_ciDevice Supply Names Description 68c2ecf20Sopenharmony_ci------ ------------ ----------- 78c2ecf20Sopenharmony_cida9063-regulator : : LDOs & BUCKs 88c2ecf20Sopenharmony_cida9063-onkey : : On Key 98c2ecf20Sopenharmony_cida9063-rtc : : Real-Time Clock (DA9063 only) 108c2ecf20Sopenharmony_cida9063-watchdog : : Watchdog 118c2ecf20Sopenharmony_ci 128c2ecf20Sopenharmony_ci====== 138c2ecf20Sopenharmony_ci 148c2ecf20Sopenharmony_ciRequired properties: 158c2ecf20Sopenharmony_ci 168c2ecf20Sopenharmony_ci- compatible : Should be "dlg,da9063" or "dlg,da9063l" 178c2ecf20Sopenharmony_ci- reg : Specifies the I2C slave address (this defaults to 0x58 but it can be 188c2ecf20Sopenharmony_ci modified to match the chip's OTP settings). 198c2ecf20Sopenharmony_ci- interrupts : IRQ line information. 208c2ecf20Sopenharmony_ci- interrupt-controller 218c2ecf20Sopenharmony_ci 228c2ecf20Sopenharmony_ciSub-nodes: 238c2ecf20Sopenharmony_ci 248c2ecf20Sopenharmony_ci- regulators : This node defines the settings for the LDOs and BUCKs. 258c2ecf20Sopenharmony_ci The DA9063(L) regulators are bound using their names listed below: 268c2ecf20Sopenharmony_ci 278c2ecf20Sopenharmony_ci bcore1 : BUCK CORE1 288c2ecf20Sopenharmony_ci bcore2 : BUCK CORE2 298c2ecf20Sopenharmony_ci bpro : BUCK PRO 308c2ecf20Sopenharmony_ci bmem : BUCK MEM 318c2ecf20Sopenharmony_ci bio : BUCK IO 328c2ecf20Sopenharmony_ci bperi : BUCK PERI 338c2ecf20Sopenharmony_ci ldo1 : LDO_1 (DA9063 only) 348c2ecf20Sopenharmony_ci ldo2 : LDO_2 (DA9063 only) 358c2ecf20Sopenharmony_ci ldo3 : LDO_3 368c2ecf20Sopenharmony_ci ldo4 : LDO_4 (DA9063 only) 378c2ecf20Sopenharmony_ci ldo5 : LDO_5 (DA9063 only) 388c2ecf20Sopenharmony_ci ldo6 : LDO_6 (DA9063 only) 398c2ecf20Sopenharmony_ci ldo7 : LDO_7 408c2ecf20Sopenharmony_ci ldo8 : LDO_8 418c2ecf20Sopenharmony_ci ldo9 : LDO_9 428c2ecf20Sopenharmony_ci ldo10 : LDO_10 (DA9063 only) 438c2ecf20Sopenharmony_ci ldo11 : LDO_11 448c2ecf20Sopenharmony_ci 458c2ecf20Sopenharmony_ci The component follows the standard regulator framework and the bindings 468c2ecf20Sopenharmony_ci details of individual regulator device can be found in: 478c2ecf20Sopenharmony_ci Documentation/devicetree/bindings/regulator/regulator.txt 488c2ecf20Sopenharmony_ci 498c2ecf20Sopenharmony_ci- rtc : This node defines settings for the Real-Time Clock associated with 508c2ecf20Sopenharmony_ci the DA9063 only. The RTC is not present in DA9063L. There are currently 518c2ecf20Sopenharmony_ci no entries in this binding, however compatible = "dlg,da9063-rtc" should 528c2ecf20Sopenharmony_ci be added if a node is created. 538c2ecf20Sopenharmony_ci 548c2ecf20Sopenharmony_ci- onkey : This node defines the OnKey settings for controlling the key 558c2ecf20Sopenharmony_ci functionality of the device. The node should contain the compatible property 568c2ecf20Sopenharmony_ci with the value "dlg,da9063-onkey". 578c2ecf20Sopenharmony_ci 588c2ecf20Sopenharmony_ci Optional onkey properties: 598c2ecf20Sopenharmony_ci 608c2ecf20Sopenharmony_ci - dlg,disable-key-power : Disable power-down using a long key-press. If this 618c2ecf20Sopenharmony_ci entry exists the OnKey driver will remove support for the KEY_POWER key 628c2ecf20Sopenharmony_ci press. If this entry does not exist then by default the key-press 638c2ecf20Sopenharmony_ci triggered power down is enabled and the OnKey will support both KEY_POWER 648c2ecf20Sopenharmony_ci and KEY_SLEEP. 658c2ecf20Sopenharmony_ci 668c2ecf20Sopenharmony_ci- watchdog : This node defines settings for the Watchdog timer associated 678c2ecf20Sopenharmony_ci with the DA9063 and DA9063L. There are currently no entries in this 688c2ecf20Sopenharmony_ci binding, however compatible = "dlg,da9063-watchdog" should be added 698c2ecf20Sopenharmony_ci if a node is created. 708c2ecf20Sopenharmony_ci 718c2ecf20Sopenharmony_ci 728c2ecf20Sopenharmony_ciExample: 738c2ecf20Sopenharmony_ci 748c2ecf20Sopenharmony_ci pmic0: da9063@58 { 758c2ecf20Sopenharmony_ci compatible = "dlg,da9063" 768c2ecf20Sopenharmony_ci reg = <0x58>; 778c2ecf20Sopenharmony_ci interrupt-parent = <&gpio6>; 788c2ecf20Sopenharmony_ci interrupts = <11 IRQ_TYPE_LEVEL_LOW>; 798c2ecf20Sopenharmony_ci interrupt-controller; 808c2ecf20Sopenharmony_ci 818c2ecf20Sopenharmony_ci rtc { 828c2ecf20Sopenharmony_ci compatible = "dlg,da9063-rtc"; 838c2ecf20Sopenharmony_ci }; 848c2ecf20Sopenharmony_ci 858c2ecf20Sopenharmony_ci wdt { 868c2ecf20Sopenharmony_ci compatible = "dlg,da9063-watchdog"; 878c2ecf20Sopenharmony_ci }; 888c2ecf20Sopenharmony_ci 898c2ecf20Sopenharmony_ci onkey { 908c2ecf20Sopenharmony_ci compatible = "dlg,da9063-onkey"; 918c2ecf20Sopenharmony_ci dlg,disable-key-power; 928c2ecf20Sopenharmony_ci }; 938c2ecf20Sopenharmony_ci 948c2ecf20Sopenharmony_ci regulators { 958c2ecf20Sopenharmony_ci DA9063_BCORE1: bcore1 { 968c2ecf20Sopenharmony_ci regulator-name = "BCORE1"; 978c2ecf20Sopenharmony_ci regulator-min-microvolt = <300000>; 988c2ecf20Sopenharmony_ci regulator-max-microvolt = <1570000>; 998c2ecf20Sopenharmony_ci regulator-min-microamp = <500000>; 1008c2ecf20Sopenharmony_ci regulator-max-microamp = <2000000>; 1018c2ecf20Sopenharmony_ci regulator-boot-on; 1028c2ecf20Sopenharmony_ci }; 1038c2ecf20Sopenharmony_ci DA9063_LDO11: ldo11 { 1048c2ecf20Sopenharmony_ci regulator-name = "LDO_11"; 1058c2ecf20Sopenharmony_ci regulator-min-microvolt = <900000>; 1068c2ecf20Sopenharmony_ci regulator-max-microvolt = <3600000>; 1078c2ecf20Sopenharmony_ci regulator-boot-on; 1088c2ecf20Sopenharmony_ci }; 1098c2ecf20Sopenharmony_ci }; 1108c2ecf20Sopenharmony_ci }; 1118c2ecf20Sopenharmony_ci 112