2012-04-26 14:52:21 +00:00
|
|
|
TPS6586x family of regulators
|
|
|
|
|
|
|
|
Required properties:
|
|
|
|
- compatible: "ti,tps6586x"
|
|
|
|
- reg: I2C slave address
|
|
|
|
- interrupts: the interrupt outputs of the controller
|
|
|
|
- #gpio-cells: number of cells to describe a GPIO
|
|
|
|
- gpio-controller: mark the device as a GPIO controller
|
2012-07-05 07:23:04 +00:00
|
|
|
- regulators: list of regulators provided by this controller, must have
|
|
|
|
property "regulator-compatible" to match their hardware counterparts:
|
|
|
|
sm[0-2], ldo[0-9] and ldo_rtc
|
2012-04-26 14:52:21 +00:00
|
|
|
|
|
|
|
Each regulator is defined using the standard binding for regulators.
|
|
|
|
|
|
|
|
Example:
|
|
|
|
|
|
|
|
pmu: tps6586x@34 {
|
|
|
|
compatible = "ti,tps6586x";
|
|
|
|
reg = <0x34>;
|
|
|
|
interrupts = <0 88 0x4>;
|
|
|
|
|
|
|
|
#gpio-cells = <2>;
|
|
|
|
gpio-controller;
|
|
|
|
|
|
|
|
regulators {
|
2012-07-05 07:23:04 +00:00
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
|
|
|
|
sm0_reg: regulator@0 {
|
|
|
|
reg = <0>;
|
|
|
|
regulator-compatible = "sm0";
|
2012-04-26 14:52:21 +00:00
|
|
|
regulator-min-microvolt = < 725000>;
|
|
|
|
regulator-max-microvolt = <1500000>;
|
|
|
|
regulator-boot-on;
|
|
|
|
regulator-always-on;
|
|
|
|
};
|
|
|
|
|
2012-07-05 07:23:04 +00:00
|
|
|
sm1_reg: regulator@1 {
|
|
|
|
reg = <1>;
|
|
|
|
regulator-compatible = "sm1";
|
2012-04-26 14:52:21 +00:00
|
|
|
regulator-min-microvolt = < 725000>;
|
|
|
|
regulator-max-microvolt = <1500000>;
|
|
|
|
regulator-boot-on;
|
|
|
|
regulator-always-on;
|
|
|
|
};
|
|
|
|
|
2012-07-05 07:23:04 +00:00
|
|
|
sm2_reg: regulator@2 {
|
|
|
|
reg = <2>;
|
|
|
|
regulator-compatible = "sm2";
|
2012-04-26 14:52:21 +00:00
|
|
|
regulator-min-microvolt = <3000000>;
|
|
|
|
regulator-max-microvolt = <4550000>;
|
|
|
|
regulator-boot-on;
|
|
|
|
regulator-always-on;
|
|
|
|
};
|
|
|
|
|
2012-07-05 07:23:04 +00:00
|
|
|
ldo0_reg: regulator@3 {
|
|
|
|
reg = <3>;
|
|
|
|
regulator-compatible = "ldo0";
|
2012-04-26 14:52:21 +00:00
|
|
|
regulator-name = "PCIE CLK";
|
|
|
|
regulator-min-microvolt = <3300000>;
|
|
|
|
regulator-max-microvolt = <3300000>;
|
|
|
|
};
|
|
|
|
|
2012-07-05 07:23:04 +00:00
|
|
|
ldo1_reg: regulator@4 {
|
|
|
|
reg = <4>;
|
|
|
|
regulator-compatible = "ldo1";
|
2012-04-26 14:52:21 +00:00
|
|
|
regulator-min-microvolt = < 725000>;
|
|
|
|
regulator-max-microvolt = <1500000>;
|
|
|
|
};
|
|
|
|
|
2012-07-05 07:23:04 +00:00
|
|
|
ldo2_reg: regulator@5 {
|
|
|
|
reg = <5>;
|
|
|
|
regulator-compatible = "ldo2";
|
2012-04-26 14:52:21 +00:00
|
|
|
regulator-min-microvolt = < 725000>;
|
|
|
|
regulator-max-microvolt = <1500000>;
|
|
|
|
};
|
|
|
|
|
2012-07-05 07:23:04 +00:00
|
|
|
ldo3_reg: regulator@6 {
|
|
|
|
reg = <6>;
|
|
|
|
regulator-compatible = "ldo3";
|
2012-04-26 14:52:21 +00:00
|
|
|
regulator-min-microvolt = <1250000>;
|
|
|
|
regulator-max-microvolt = <3300000>;
|
|
|
|
};
|
|
|
|
|
2012-07-05 07:23:04 +00:00
|
|
|
ldo4_reg: regulator@7 {
|
|
|
|
reg = <7>;
|
|
|
|
regulator-compatible = "ldo4";
|
2012-04-26 14:52:21 +00:00
|
|
|
regulator-min-microvolt = <1700000>;
|
|
|
|
regulator-max-microvolt = <2475000>;
|
|
|
|
};
|
|
|
|
|
2012-07-05 07:23:04 +00:00
|
|
|
ldo5_reg: regulator@8 {
|
|
|
|
reg = <8>;
|
|
|
|
regulator-compatible = "ldo5";
|
2012-04-26 14:52:21 +00:00
|
|
|
regulator-min-microvolt = <1250000>;
|
|
|
|
regulator-max-microvolt = <3300000>;
|
|
|
|
};
|
|
|
|
|
2012-07-05 07:23:04 +00:00
|
|
|
ldo6_reg: regulator@9 {
|
|
|
|
reg = <9>;
|
|
|
|
regulator-compatible = "ldo6";
|
2012-04-26 14:52:21 +00:00
|
|
|
regulator-min-microvolt = <1250000>;
|
|
|
|
regulator-max-microvolt = <3300000>;
|
|
|
|
};
|
|
|
|
|
2012-07-05 07:23:04 +00:00
|
|
|
ldo7_reg: regulator@10 {
|
|
|
|
reg = <10>;
|
|
|
|
regulator-compatible = "ldo7";
|
2012-04-26 14:52:21 +00:00
|
|
|
regulator-min-microvolt = <1250000>;
|
|
|
|
regulator-max-microvolt = <3300000>;
|
|
|
|
};
|
|
|
|
|
2012-07-05 07:23:04 +00:00
|
|
|
ldo8_reg: regulator@11 {
|
|
|
|
reg = <11>;
|
|
|
|
regulator-compatible = "ldo8";
|
2012-04-26 14:52:21 +00:00
|
|
|
regulator-min-microvolt = <1250000>;
|
|
|
|
regulator-max-microvolt = <3300000>;
|
|
|
|
};
|
|
|
|
|
2012-07-05 07:23:04 +00:00
|
|
|
ldo9_reg: regulator@12 {
|
|
|
|
reg = <12>;
|
|
|
|
regulator-compatible = "ldo9";
|
2012-04-26 14:52:21 +00:00
|
|
|
regulator-min-microvolt = <1250000>;
|
|
|
|
regulator-max-microvolt = <3300000>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|