diff options
author | Doug Anderson <dianders@chromium.org> | 2014-08-26 13:28:43 -0400 |
---|---|---|
committer | Heiko Stuebner <heiko@sntech.de> | 2014-09-09 06:54:41 -0400 |
commit | 60c20784f243199599a425f73b8060da3a0f5ead (patch) | |
tree | 57f802ff1157deac93d1cd155ef0d346cd4e07d5 | |
parent | d7f9a3887b91df6404bb4aae101efecc4a4909f7 (diff) |
ARM: dts: Add rk808 PMIC to rk3288-evb-rk808
This adds initial support. For now, regulators are always on and we
don't specify the input supply for all of the regulators.
Signed-off-by: huang lin <hl@rock-chips.com>
Signed-off-by: Doug Anderson <dianders@chromium.org>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
-rw-r--r-- | arch/arm/boot/dts/rk3288-evb-rk808.dts | 131 |
1 files changed, 131 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/rk3288-evb-rk808.dts b/arch/arm/boot/dts/rk3288-evb-rk808.dts index 9a88b6c66396..36db177f6a5a 100644 --- a/arch/arm/boot/dts/rk3288-evb-rk808.dts +++ b/arch/arm/boot/dts/rk3288-evb-rk808.dts | |||
@@ -16,3 +16,134 @@ | |||
16 | / { | 16 | / { |
17 | compatible = "rockchip,rk3288-evb-rk808", "rockchip,rk3288"; | 17 | compatible = "rockchip,rk3288-evb-rk808", "rockchip,rk3288"; |
18 | }; | 18 | }; |
19 | |||
20 | &i2c0 { | ||
21 | status = "okay"; | ||
22 | |||
23 | rk808: pmic@1b { | ||
24 | compatible = "rockchip,rk808"; | ||
25 | reg = <0x1b>; | ||
26 | interrupt-parent = <&gpio0>; | ||
27 | interrupts = <4 IRQ_TYPE_LEVEL_LOW>; | ||
28 | pinctrl-names = "default"; | ||
29 | pinctrl-0 = <&pmic_int>; | ||
30 | rockchip,system-power-controller; | ||
31 | wakeup-source; | ||
32 | #clock-cells = <1>; | ||
33 | clock-output-names = "xin32k", "rk808-clkout2"; | ||
34 | |||
35 | vcc8-supply = <&vcc_18>; | ||
36 | vcc9-supply = <&vcc_io>; | ||
37 | vcc10-supply = <&vcc_io>; | ||
38 | vcc12-supply = <&vcc_io>; | ||
39 | vddio-supply = <&vccio_pmu>; | ||
40 | |||
41 | regulators { | ||
42 | vdd_cpu: DCDC_REG1 { | ||
43 | regulator-always-on; | ||
44 | regulator-boot-on; | ||
45 | regulator-min-microvolt = <750000>; | ||
46 | regulator-max-microvolt = <1300000>; | ||
47 | regulator-name = "vdd_arm"; | ||
48 | }; | ||
49 | |||
50 | vdd_gpu: DCDC_REG2 { | ||
51 | regulator-always-on; | ||
52 | regulator-boot-on; | ||
53 | regulator-min-microvolt = <850000>; | ||
54 | regulator-max-microvolt = <1250000>; | ||
55 | regulator-name = "vdd_gpu"; | ||
56 | }; | ||
57 | |||
58 | vcc_ddr: DCDC_REG3 { | ||
59 | regulator-always-on; | ||
60 | regulator-boot-on; | ||
61 | regulator-name = "vcc_ddr"; | ||
62 | }; | ||
63 | |||
64 | vcc_io: DCDC_REG4 { | ||
65 | regulator-always-on; | ||
66 | regulator-boot-on; | ||
67 | regulator-min-microvolt = <3300000>; | ||
68 | regulator-max-microvolt = <3300000>; | ||
69 | regulator-name = "vcc_io"; | ||
70 | }; | ||
71 | |||
72 | vccio_pmu: LDO_REG1 { | ||
73 | regulator-always-on; | ||
74 | regulator-boot-on; | ||
75 | regulator-min-microvolt = <3300000>; | ||
76 | regulator-max-microvolt = <3300000>; | ||
77 | regulator-name = "vccio_pmu"; | ||
78 | }; | ||
79 | |||
80 | vcc_tp: LDO_REG2 { | ||
81 | regulator-always-on; | ||
82 | regulator-boot-on; | ||
83 | regulator-min-microvolt = <3300000>; | ||
84 | regulator-max-microvolt = <3300000>; | ||
85 | regulator-name = "vcc_tp"; | ||
86 | }; | ||
87 | |||
88 | vdd_10: LDO_REG3 { | ||
89 | regulator-always-on; | ||
90 | regulator-boot-on; | ||
91 | regulator-min-microvolt = <1000000>; | ||
92 | regulator-max-microvolt = <1000000>; | ||
93 | regulator-name = "vdd_10"; | ||
94 | }; | ||
95 | |||
96 | vcc18_lcd: LDO_REG4 { | ||
97 | regulator-always-on; | ||
98 | regulator-boot-on; | ||
99 | regulator-min-microvolt = <1800000>; | ||
100 | regulator-max-microvolt = <1800000>; | ||
101 | regulator-name = "vcc18_lcd"; | ||
102 | }; | ||
103 | |||
104 | vccio_sd: LDO_REG5 { | ||
105 | regulator-always-on; | ||
106 | regulator-boot-on; | ||
107 | regulator-min-microvolt = <1800000>; | ||
108 | regulator-max-microvolt = <3300000>; | ||
109 | regulator-name = "vccio_sd"; | ||
110 | }; | ||
111 | |||
112 | vdd10_lcd: LDO_REG6 { | ||
113 | regulator-always-on; | ||
114 | regulator-boot-on; | ||
115 | regulator-min-microvolt = <1000000>; | ||
116 | regulator-max-microvolt = <1000000>; | ||
117 | regulator-name = "vdd10_lcd"; | ||
118 | }; | ||
119 | |||
120 | vcc_18: LDO_REG7 { | ||
121 | regulator-always-on; | ||
122 | regulator-boot-on; | ||
123 | regulator-min-microvolt = <1800000>; | ||
124 | regulator-max-microvolt = <1800000>; | ||
125 | regulator-name = "vcc_18"; | ||
126 | }; | ||
127 | |||
128 | vcca_codec: LDO_REG8 { | ||
129 | regulator-always-on; | ||
130 | regulator-boot-on; | ||
131 | regulator-min-microvolt = <3300000>; | ||
132 | regulator-max-microvolt = <3300000>; | ||
133 | regulator-name = "vcca_codec"; | ||
134 | }; | ||
135 | |||
136 | vcc_wl: SWITCH_REG1 { | ||
137 | regulator-always-on; | ||
138 | regulator-boot-on; | ||
139 | regulator-name = "vcc_wl"; | ||
140 | }; | ||
141 | |||
142 | vcc_lcd: SWITCH_REG2 { | ||
143 | regulator-always-on; | ||
144 | regulator-boot-on; | ||
145 | regulator-name = "vcc_lcd"; | ||
146 | }; | ||
147 | }; | ||
148 | }; | ||
149 | }; | ||