diff options
author | Heiko Stuebner <heiko@sntech.de> | 2014-06-24 14:12:06 -0400 |
---|---|---|
committer | Heiko Stuebner <heiko@sntech.de> | 2014-07-26 17:35:29 -0400 |
commit | 9cdffd8cb9b5f30495a9c284ab05d5b803f3b457 (patch) | |
tree | aff9869175fd8962e7378b27ffd9556b39354577 /arch/arm/boot/dts/rk3188.dtsi | |
parent | ff84b90ecd1cfd00af3d1832fd8bf3c18e555d4e (diff) |
ARM: dts: add rk3066 and rk3188 i2c device nodes and pinctrl settings
The core controller settings themself are identical, only the compatible and
pinctrl settings differ.
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Diffstat (limited to 'arch/arm/boot/dts/rk3188.dtsi')
-rw-r--r-- | arch/arm/boot/dts/rk3188.dtsi | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/rk3188.dtsi b/arch/arm/boot/dts/rk3188.dtsi index dd7f61fe98d4..ba1193ca00a7 100644 --- a/arch/arm/boot/dts/rk3188.dtsi +++ b/arch/arm/boot/dts/rk3188.dtsi | |||
@@ -147,6 +147,41 @@ | |||
147 | bias-disable; | 147 | bias-disable; |
148 | }; | 148 | }; |
149 | 149 | ||
150 | i2c0 { | ||
151 | i2c0_xfer: i2c0-xfer { | ||
152 | rockchip,pins = <RK_GPIO1 24 RK_FUNC_1 &pcfg_pull_none>, | ||
153 | <RK_GPIO1 25 RK_FUNC_1 &pcfg_pull_none>; | ||
154 | }; | ||
155 | }; | ||
156 | |||
157 | i2c1 { | ||
158 | i2c1_xfer: i2c1-xfer { | ||
159 | rockchip,pins = <RK_GPIO1 26 RK_FUNC_1 &pcfg_pull_none>, | ||
160 | <RK_GPIO1 27 RK_FUNC_1 &pcfg_pull_none>; | ||
161 | }; | ||
162 | }; | ||
163 | |||
164 | i2c2 { | ||
165 | i2c2_xfer: i2c2-xfer { | ||
166 | rockchip,pins = <RK_GPIO1 28 RK_FUNC_1 &pcfg_pull_none>, | ||
167 | <RK_GPIO1 29 RK_FUNC_1 &pcfg_pull_none>; | ||
168 | }; | ||
169 | }; | ||
170 | |||
171 | i2c3 { | ||
172 | i2c3_xfer: i2c3-xfer { | ||
173 | rockchip,pins = <RK_GPIO3 14 RK_FUNC_2 &pcfg_pull_none>, | ||
174 | <RK_GPIO3 15 RK_FUNC_2 &pcfg_pull_none>; | ||
175 | }; | ||
176 | }; | ||
177 | |||
178 | i2c4 { | ||
179 | i2c4_xfer: i2c4-xfer { | ||
180 | rockchip,pins = <RK_GPIO1 30 RK_FUNC_1 &pcfg_pull_none>, | ||
181 | <RK_GPIO1 31 RK_FUNC_1 &pcfg_pull_none>; | ||
182 | }; | ||
183 | }; | ||
184 | |||
150 | uart0 { | 185 | uart0 { |
151 | uart0_xfer: uart0-xfer { | 186 | uart0_xfer: uart0-xfer { |
152 | rockchip,pins = <RK_GPIO1 0 RK_FUNC_1 &pcfg_pull_up>, | 187 | rockchip,pins = <RK_GPIO1 0 RK_FUNC_1 &pcfg_pull_up>, |
@@ -272,6 +307,36 @@ | |||
272 | interrupts = <GIC_PPI 13 0xf04>; | 307 | interrupts = <GIC_PPI 13 0xf04>; |
273 | }; | 308 | }; |
274 | 309 | ||
310 | &i2c0 { | ||
311 | compatible = "rockchip,rk3188-i2c"; | ||
312 | pinctrl-names = "default"; | ||
313 | pinctrl-0 = <&i2c0_xfer>; | ||
314 | }; | ||
315 | |||
316 | &i2c1 { | ||
317 | compatible = "rockchip,rk3188-i2c"; | ||
318 | pinctrl-names = "default"; | ||
319 | pinctrl-0 = <&i2c1_xfer>; | ||
320 | }; | ||
321 | |||
322 | &i2c2 { | ||
323 | compatible = "rockchip,rk3188-i2c"; | ||
324 | pinctrl-names = "default"; | ||
325 | pinctrl-0 = <&i2c2_xfer>; | ||
326 | }; | ||
327 | |||
328 | &i2c3 { | ||
329 | compatible = "rockchip,rk3188-i2c"; | ||
330 | pinctrl-names = "default"; | ||
331 | pinctrl-0 = <&i2c3_xfer>; | ||
332 | }; | ||
333 | |||
334 | &i2c4 { | ||
335 | compatible = "rockchip,rk3188-i2c"; | ||
336 | pinctrl-names = "default"; | ||
337 | pinctrl-0 = <&i2c4_xfer>; | ||
338 | }; | ||
339 | |||
275 | &uart0 { | 340 | &uart0 { |
276 | pinctrl-names = "default"; | 341 | pinctrl-names = "default"; |
277 | pinctrl-0 = <&uart0_xfer>; | 342 | pinctrl-0 = <&uart0_xfer>; |