diff options
author | Beniamino Galvani <b.galvani@gmail.com> | 2014-06-26 14:03:41 -0400 |
---|---|---|
committer | Heiko Stuebner <heiko@sntech.de> | 2014-07-26 18:24:16 -0400 |
commit | 550c7f4e6377cf5093b1b8d6b99cde2506bfea23 (patch) | |
tree | 941516fdcc50b41de51cc97b05a9153103b307c2 /arch/arm/boot/dts/rk3188.dtsi | |
parent | 69667ca2c4ad5bd346fb694a68e676fa46b2fba0 (diff) |
ARM: dts: rockchip: add pwm nodes
This adds the necessary nodex and pinctrl settings for the Rockchip PWM-driver.
Signed-off-by: Beniamino Galvani <b.galvani@gmail.com>
Modified to use the new clock defines and added rk3066 pins.
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 | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/rk3188.dtsi b/arch/arm/boot/dts/rk3188.dtsi index ba1193ca00a7..27215e0b5c3b 100644 --- a/arch/arm/boot/dts/rk3188.dtsi +++ b/arch/arm/boot/dts/rk3188.dtsi | |||
@@ -182,6 +182,30 @@ | |||
182 | }; | 182 | }; |
183 | }; | 183 | }; |
184 | 184 | ||
185 | pwm0 { | ||
186 | pwm0_out: pwm0-out { | ||
187 | rockchip,pins = <RK_GPIO3 27 RK_FUNC_1 &pcfg_pull_none>; | ||
188 | }; | ||
189 | }; | ||
190 | |||
191 | pwm1 { | ||
192 | pwm1_out: pwm1-out { | ||
193 | rockchip,pins = <RK_GPIO3 28 RK_FUNC_1 &pcfg_pull_none>; | ||
194 | }; | ||
195 | }; | ||
196 | |||
197 | pwm2 { | ||
198 | pwm2_out: pwm2-out { | ||
199 | rockchip,pins = <RK_GPIO3 29 RK_FUNC_1 &pcfg_pull_none>; | ||
200 | }; | ||
201 | }; | ||
202 | |||
203 | pwm3 { | ||
204 | pwm3_out: pwm3-out { | ||
205 | rockchip,pins = <RK_GPIO3 30 RK_FUNC_1 &pcfg_pull_none>; | ||
206 | }; | ||
207 | }; | ||
208 | |||
185 | uart0 { | 209 | uart0 { |
186 | uart0_xfer: uart0-xfer { | 210 | uart0_xfer: uart0-xfer { |
187 | rockchip,pins = <RK_GPIO1 0 RK_FUNC_1 &pcfg_pull_up>, | 211 | rockchip,pins = <RK_GPIO1 0 RK_FUNC_1 &pcfg_pull_up>, |
@@ -337,6 +361,26 @@ | |||
337 | pinctrl-0 = <&i2c4_xfer>; | 361 | pinctrl-0 = <&i2c4_xfer>; |
338 | }; | 362 | }; |
339 | 363 | ||
364 | &pwm0 { | ||
365 | pinctrl-names = "default"; | ||
366 | pinctrl-0 = <&pwm0_out>; | ||
367 | }; | ||
368 | |||
369 | &pwm1 { | ||
370 | pinctrl-names = "default"; | ||
371 | pinctrl-0 = <&pwm1_out>; | ||
372 | }; | ||
373 | |||
374 | &pwm2 { | ||
375 | pinctrl-names = "default"; | ||
376 | pinctrl-0 = <&pwm2_out>; | ||
377 | }; | ||
378 | |||
379 | &pwm3 { | ||
380 | pinctrl-names = "default"; | ||
381 | pinctrl-0 = <&pwm3_out>; | ||
382 | }; | ||
383 | |||
340 | &uart0 { | 384 | &uart0 { |
341 | pinctrl-names = "default"; | 385 | pinctrl-names = "default"; |
342 | pinctrl-0 = <&uart0_xfer>; | 386 | pinctrl-0 = <&uart0_xfer>; |