18c2ecf20Sopenharmony_ciTPS6586x family of regulators 28c2ecf20Sopenharmony_ci 38c2ecf20Sopenharmony_ciRequired properties: 48c2ecf20Sopenharmony_ci- compatible: "ti,tps6586x" 58c2ecf20Sopenharmony_ci- reg: I2C slave address 68c2ecf20Sopenharmony_ci- interrupts: the interrupt outputs of the controller 78c2ecf20Sopenharmony_ci- #gpio-cells: number of cells to describe a GPIO 88c2ecf20Sopenharmony_ci- gpio-controller: mark the device as a GPIO controller 98c2ecf20Sopenharmony_ci- regulators: A node that houses a sub-node for each regulator within the 108c2ecf20Sopenharmony_ci device. Each sub-node is identified using the node's name (or the deprecated 118c2ecf20Sopenharmony_ci regulator-compatible property if present), with valid values listed below. 128c2ecf20Sopenharmony_ci The content of each sub-node is defined by the standard binding for 138c2ecf20Sopenharmony_ci regulators; see regulator.txt. 148c2ecf20Sopenharmony_ci sys, sm[0-2], ldo[0-9] and ldo_rtc 158c2ecf20Sopenharmony_ci- sys-supply: The input supply for SYS. 168c2ecf20Sopenharmony_ci- vin-sm0-supply: The input supply for the SM0. 178c2ecf20Sopenharmony_ci- vin-sm1-supply: The input supply for the SM1. 188c2ecf20Sopenharmony_ci- vin-sm2-supply: The input supply for the SM2. 198c2ecf20Sopenharmony_ci- vinldo01-supply: The input supply for the LDO1 and LDO2 208c2ecf20Sopenharmony_ci- vinldo23-supply: The input supply for the LDO2 and LDO3 218c2ecf20Sopenharmony_ci- vinldo4-supply: The input supply for the LDO4 228c2ecf20Sopenharmony_ci- vinldo678-supply: The input supply for the LDO6, LDO7 and LDO8 238c2ecf20Sopenharmony_ci- vinldo9-supply: The input supply for the LDO9 248c2ecf20Sopenharmony_ci 258c2ecf20Sopenharmony_ciOptional properties: 268c2ecf20Sopenharmony_ci- ti,system-power-controller: Telling whether or not this pmic is controlling 278c2ecf20Sopenharmony_ci the system power. 288c2ecf20Sopenharmony_ci 298c2ecf20Sopenharmony_ciEach regulator is defined using the standard binding for regulators. 308c2ecf20Sopenharmony_ci 318c2ecf20Sopenharmony_ciNote: LDO5 and LDO_RTC is supplied by SYS regulator internally and driver 328c2ecf20Sopenharmony_ci take care of making proper parent child relationship. 338c2ecf20Sopenharmony_ci 348c2ecf20Sopenharmony_ciExample: 358c2ecf20Sopenharmony_ci 368c2ecf20Sopenharmony_ci pmu: tps6586x@34 { 378c2ecf20Sopenharmony_ci compatible = "ti,tps6586x"; 388c2ecf20Sopenharmony_ci reg = <0x34>; 398c2ecf20Sopenharmony_ci interrupts = <0 88 0x4>; 408c2ecf20Sopenharmony_ci 418c2ecf20Sopenharmony_ci #gpio-cells = <2>; 428c2ecf20Sopenharmony_ci gpio-controller; 438c2ecf20Sopenharmony_ci 448c2ecf20Sopenharmony_ci ti,system-power-controller; 458c2ecf20Sopenharmony_ci 468c2ecf20Sopenharmony_ci sys-supply = <&some_reg>; 478c2ecf20Sopenharmony_ci vin-sm0-supply = <&some_reg>; 488c2ecf20Sopenharmony_ci vin-sm1-supply = <&some_reg>; 498c2ecf20Sopenharmony_ci vin-sm2-supply = <&some_reg>; 508c2ecf20Sopenharmony_ci vinldo01-supply = <...>; 518c2ecf20Sopenharmony_ci vinldo23-supply = <...>; 528c2ecf20Sopenharmony_ci vinldo4-supply = <...>; 538c2ecf20Sopenharmony_ci vinldo678-supply = <...>; 548c2ecf20Sopenharmony_ci vinldo9-supply = <...>; 558c2ecf20Sopenharmony_ci 568c2ecf20Sopenharmony_ci regulators { 578c2ecf20Sopenharmony_ci sys_reg: sys { 588c2ecf20Sopenharmony_ci regulator-name = "vdd_sys"; 598c2ecf20Sopenharmony_ci regulator-boot-on; 608c2ecf20Sopenharmony_ci regulator-always-on; 618c2ecf20Sopenharmony_ci }; 628c2ecf20Sopenharmony_ci 638c2ecf20Sopenharmony_ci sm0_reg: sm0 { 648c2ecf20Sopenharmony_ci regulator-min-microvolt = < 725000>; 658c2ecf20Sopenharmony_ci regulator-max-microvolt = <1500000>; 668c2ecf20Sopenharmony_ci regulator-boot-on; 678c2ecf20Sopenharmony_ci regulator-always-on; 688c2ecf20Sopenharmony_ci }; 698c2ecf20Sopenharmony_ci 708c2ecf20Sopenharmony_ci sm1_reg: sm1 { 718c2ecf20Sopenharmony_ci regulator-min-microvolt = < 725000>; 728c2ecf20Sopenharmony_ci regulator-max-microvolt = <1500000>; 738c2ecf20Sopenharmony_ci regulator-boot-on; 748c2ecf20Sopenharmony_ci regulator-always-on; 758c2ecf20Sopenharmony_ci }; 768c2ecf20Sopenharmony_ci 778c2ecf20Sopenharmony_ci sm2_reg: sm2 { 788c2ecf20Sopenharmony_ci regulator-min-microvolt = <3000000>; 798c2ecf20Sopenharmony_ci regulator-max-microvolt = <4550000>; 808c2ecf20Sopenharmony_ci regulator-boot-on; 818c2ecf20Sopenharmony_ci regulator-always-on; 828c2ecf20Sopenharmony_ci }; 838c2ecf20Sopenharmony_ci 848c2ecf20Sopenharmony_ci ldo0_reg: ldo0 { 858c2ecf20Sopenharmony_ci regulator-name = "PCIE CLK"; 868c2ecf20Sopenharmony_ci regulator-min-microvolt = <3300000>; 878c2ecf20Sopenharmony_ci regulator-max-microvolt = <3300000>; 888c2ecf20Sopenharmony_ci }; 898c2ecf20Sopenharmony_ci 908c2ecf20Sopenharmony_ci ldo1_reg: ldo1 { 918c2ecf20Sopenharmony_ci regulator-min-microvolt = < 725000>; 928c2ecf20Sopenharmony_ci regulator-max-microvolt = <1500000>; 938c2ecf20Sopenharmony_ci }; 948c2ecf20Sopenharmony_ci 958c2ecf20Sopenharmony_ci ldo2_reg: ldo2 { 968c2ecf20Sopenharmony_ci regulator-min-microvolt = < 725000>; 978c2ecf20Sopenharmony_ci regulator-max-microvolt = <1500000>; 988c2ecf20Sopenharmony_ci }; 998c2ecf20Sopenharmony_ci 1008c2ecf20Sopenharmony_ci ldo3_reg: ldo3 { 1018c2ecf20Sopenharmony_ci regulator-min-microvolt = <1250000>; 1028c2ecf20Sopenharmony_ci regulator-max-microvolt = <3300000>; 1038c2ecf20Sopenharmony_ci }; 1048c2ecf20Sopenharmony_ci 1058c2ecf20Sopenharmony_ci ldo4_reg: ldo4 { 1068c2ecf20Sopenharmony_ci regulator-min-microvolt = <1700000>; 1078c2ecf20Sopenharmony_ci regulator-max-microvolt = <2475000>; 1088c2ecf20Sopenharmony_ci }; 1098c2ecf20Sopenharmony_ci 1108c2ecf20Sopenharmony_ci ldo5_reg: ldo5 { 1118c2ecf20Sopenharmony_ci regulator-min-microvolt = <1250000>; 1128c2ecf20Sopenharmony_ci regulator-max-microvolt = <3300000>; 1138c2ecf20Sopenharmony_ci }; 1148c2ecf20Sopenharmony_ci 1158c2ecf20Sopenharmony_ci ldo6_reg: ldo6 { 1168c2ecf20Sopenharmony_ci regulator-min-microvolt = <1250000>; 1178c2ecf20Sopenharmony_ci regulator-max-microvolt = <3300000>; 1188c2ecf20Sopenharmony_ci }; 1198c2ecf20Sopenharmony_ci 1208c2ecf20Sopenharmony_ci ldo7_reg: ldo7 { 1218c2ecf20Sopenharmony_ci regulator-min-microvolt = <1250000>; 1228c2ecf20Sopenharmony_ci regulator-max-microvolt = <3300000>; 1238c2ecf20Sopenharmony_ci }; 1248c2ecf20Sopenharmony_ci 1258c2ecf20Sopenharmony_ci ldo8_reg: ldo8 { 1268c2ecf20Sopenharmony_ci regulator-min-microvolt = <1250000>; 1278c2ecf20Sopenharmony_ci regulator-max-microvolt = <3300000>; 1288c2ecf20Sopenharmony_ci }; 1298c2ecf20Sopenharmony_ci 1308c2ecf20Sopenharmony_ci ldo9_reg: ldo9 { 1318c2ecf20Sopenharmony_ci regulator-min-microvolt = <1250000>; 1328c2ecf20Sopenharmony_ci regulator-max-microvolt = <3300000>; 1338c2ecf20Sopenharmony_ci }; 1348c2ecf20Sopenharmony_ci }; 1358c2ecf20Sopenharmony_ci }; 136