diff options
author | AnilKumar Ch <anilkumar@ti.com> | 2012-08-21 07:17:29 -0400 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2012-08-30 16:59:41 -0400 |
commit | 1b2a9702b0f5f377ceacdbd3b2cfdf863ef53bbc (patch) | |
tree | 9cdfce8ce2562440958caa3d5bd3328d55b398f8 /arch/arm | |
parent | 54a37bae248d5b9e1d1057c4f8b4f8af8d6e5456 (diff) |
arm/dts: Add tps65910 regulator DT data to am335x-evm.dts
Add tps65910 regulator device tree data to AM335x-EVM by adding
regulator consumers with tightened constraints and regulator-name.
TPS65910 regulator handle can be obtained by using this regulator
name.
This patch also add I2C node with I2C frequency and tps65910 PMIC
I2C slave address.
Signed-off-by: AnilKumar Ch <anilkumar@ti.com>
Reviewed-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/boot/dts/am335x-evm.dts | 94 |
1 files changed, 94 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/am335x-evm.dts b/arch/arm/boot/dts/am335x-evm.dts index 5dd8a6b9f194..9fcbacdb8f38 100644 --- a/arch/arm/boot/dts/am335x-evm.dts +++ b/arch/arm/boot/dts/am335x-evm.dts | |||
@@ -22,5 +22,99 @@ | |||
22 | uart1: serial@44E09000 { | 22 | uart1: serial@44E09000 { |
23 | status = "okay"; | 23 | status = "okay"; |
24 | }; | 24 | }; |
25 | |||
26 | i2c1: i2c@44E0B000 { | ||
27 | status = "okay"; | ||
28 | clock-frequency = <400000>; | ||
29 | |||
30 | tps: tps@2D { | ||
31 | reg = <0x2D>; | ||
32 | }; | ||
33 | }; | ||
34 | }; | ||
35 | |||
36 | vbat: fixedregulator@0 { | ||
37 | compatible = "regulator-fixed"; | ||
38 | regulator-name = "vbat"; | ||
39 | regulator-min-microvolt = <5000000>; | ||
40 | regulator-max-microvolt = <5000000>; | ||
41 | regulator-boot-on; | ||
42 | }; | ||
43 | }; | ||
44 | |||
45 | /include/ "tps65910.dtsi" | ||
46 | |||
47 | &tps { | ||
48 | vcc1-supply = <&vbat>; | ||
49 | vcc2-supply = <&vbat>; | ||
50 | vcc3-supply = <&vbat>; | ||
51 | vcc4-supply = <&vbat>; | ||
52 | vcc5-supply = <&vbat>; | ||
53 | vcc6-supply = <&vbat>; | ||
54 | vcc7-supply = <&vbat>; | ||
55 | vccio-supply = <&vbat>; | ||
56 | |||
57 | regulators { | ||
58 | vrtc_reg: regulator@0 { | ||
59 | regulator-always-on; | ||
60 | }; | ||
61 | |||
62 | vio_reg: regulator@1 { | ||
63 | regulator-always-on; | ||
64 | }; | ||
65 | |||
66 | vdd1_reg: regulator@2 { | ||
67 | /* VDD_MPU voltage limits 0.95V - 1.26V with +/-4% tolerance */ | ||
68 | regulator-name = "vdd_mpu"; | ||
69 | regulator-min-microvolt = <912500>; | ||
70 | regulator-max-microvolt = <1312500>; | ||
71 | regulator-boot-on; | ||
72 | regulator-always-on; | ||
73 | }; | ||
74 | |||
75 | vdd2_reg: regulator@3 { | ||
76 | /* VDD_CORE voltage limits 0.95V - 1.1V with +/-4% tolerance */ | ||
77 | regulator-name = "vdd_core"; | ||
78 | regulator-min-microvolt = <912500>; | ||
79 | regulator-max-microvolt = <1150000>; | ||
80 | regulator-boot-on; | ||
81 | regulator-always-on; | ||
82 | }; | ||
83 | |||
84 | vdd3_reg: regulator@4 { | ||
85 | regulator-always-on; | ||
86 | }; | ||
87 | |||
88 | vdig1_reg: regulator@5 { | ||
89 | regulator-always-on; | ||
90 | }; | ||
91 | |||
92 | vdig2_reg: regulator@6 { | ||
93 | regulator-always-on; | ||
94 | }; | ||
95 | |||
96 | vpll_reg: regulator@7 { | ||
97 | regulator-always-on; | ||
98 | }; | ||
99 | |||
100 | vdac_reg: regulator@8 { | ||
101 | regulator-always-on; | ||
102 | }; | ||
103 | |||
104 | vaux1_reg: regulator@9 { | ||
105 | regulator-always-on; | ||
106 | }; | ||
107 | |||
108 | vaux2_reg: regulator@10 { | ||
109 | regulator-always-on; | ||
110 | }; | ||
111 | |||
112 | vaux33_reg: regulator@11 { | ||
113 | regulator-always-on; | ||
114 | }; | ||
115 | |||
116 | vmmc_reg: regulator@12 { | ||
117 | regulator-always-on; | ||
118 | }; | ||
25 | }; | 119 | }; |
26 | }; | 120 | }; |