aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/rk3066a-bqcurie2.dts
diff options
context:
space:
mode:
authorHeiko Stuebner <heiko@sntech.de>2014-06-25 19:33:58 -0400
committerHeiko Stuebner <heiko@sntech.de>2014-07-26 17:39:13 -0400
commita953a6c77da2b8c2beb6db500b870e0b8c48fe64 (patch)
tree0c5cb7679c3e1131cf9e515b0518983e519ae7e8 /arch/arm/boot/dts/rk3066a-bqcurie2.dts
parent9cdffd8cb9b5f30495a9c284ab05d5b803f3b457 (diff)
ARM: dts: rockchip: add tps65910 regulator for bqcurie2
The Curie2 uses a tps659102 as its main pmic, so add the i2c1 and tps65910 node as well as define the used voltages and regulator-names according to the schematics. Also fix the supply of the sd0 regulator, as it is supplied by the vio reg. Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Diffstat (limited to 'arch/arm/boot/dts/rk3066a-bqcurie2.dts')
-rw-r--r--arch/arm/boot/dts/rk3066a-bqcurie2.dts87
1 files changed, 87 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/rk3066a-bqcurie2.dts b/arch/arm/boot/dts/rk3066a-bqcurie2.dts
index 38910f6992bf..8b479f767561 100644
--- a/arch/arm/boot/dts/rk3066a-bqcurie2.dts
+++ b/arch/arm/boot/dts/rk3066a-bqcurie2.dts
@@ -31,6 +31,7 @@
31 regulator-max-microvolt = <3000000>; 31 regulator-max-microvolt = <3000000>;
32 gpio = <&gpio3 7 GPIO_ACTIVE_LOW>; 32 gpio = <&gpio3 7 GPIO_ACTIVE_LOW>;
33 startup-delay-us = <100000>; 33 startup-delay-us = <100000>;
34 vin-supply = <&vcc_io>;
34 }; 35 };
35 36
36 gpio-keys { 37 gpio-keys {
@@ -59,6 +60,92 @@
59 }; 60 };
60}; 61};
61 62
63&i2c1 {
64 status = "okay";
65 clock-frequency = <400000>;
66
67 tps: tps@2d {
68 reg = <0x2d>;
69
70 interrupt-parent = <&gpio6>;
71 interrupts = <6 IRQ_TYPE_LEVEL_LOW>;
72
73 vcc5-supply = <&vcc_io>;
74 vcc6-supply = <&vcc_io>;
75
76 regulators {
77 vcc_rtc: regulator@0 {
78 regulator-name = "vcc_rtc";
79 regulator-always-on;
80 };
81
82 vcc_io: regulator@1 {
83 regulator-name = "vcc_io";
84 regulator-always-on;
85 };
86
87 vdd_arm: regulator@2 {
88 regulator-name = "vdd_arm";
89 regulator-min-microvolt = <600000>;
90 regulator-max-microvolt = <1500000>;
91 regulator-boot-on;
92 regulator-always-on;
93 };
94
95 vcc_ddr: regulator@3 {
96 regulator-name = "vcc_ddr";
97 regulator-min-microvolt = <600000>;
98 regulator-max-microvolt = <1500000>;
99 regulator-boot-on;
100 regulator-always-on;
101 };
102
103 vcc18_cif: regulator@5 {
104 regulator-name = "vcc18_cif";
105 regulator-always-on;
106 };
107
108 vdd_11: regulator@6 {
109 regulator-name = "vdd_11";
110 regulator-always-on;
111 };
112
113 vcc_25: regulator@7 {
114 regulator-name = "vcc_25";
115 regulator-always-on;
116 };
117
118 vcc_18: regulator@8 {
119 regulator-name = "vcc_18";
120 regulator-always-on;
121 };
122
123 vcc25_hdmi: regulator@9 {
124 regulator-name = "vcc25_hdmi";
125 regulator-always-on;
126 };
127
128 vcca_33: regulator@10 {
129 regulator-name = "vcca_33";
130 regulator-always-on;
131 };
132
133 vcc_tp: regulator@11 {
134 regulator-name = "vcc_tp";
135 regulator-always-on;
136 };
137
138 vcc28_cif: regulator@12 {
139 regulator-name = "vcc28_cif";
140 regulator-always-on;
141 };
142 };
143 };
144};
145
146/* must be included after &tps gets defined */
147#include "tps65910.dtsi"
148
62&mmc0 { /* sdmmc */ 149&mmc0 { /* sdmmc */
63 num-slots = <1>; 150 num-slots = <1>;
64 status = "okay"; 151 status = "okay";