kernel: update 3.14 to 3.14.18
[openwrt/svn-archive/archive.git] / target / linux / sunxi / patches-3.14 / 251-2-dt-sun7i-add-pinmux-for-pwm.patch
1 From cf34231072d53e643d6ef1baa95a8e9df644542e Mon Sep 17 00:00:00 2001
2 From: Alexandre Belloni <alexandre.belloni@free-electrons.com>
3 Date: Mon, 28 Apr 2014 18:17:12 +0200
4 Subject: [PATCH] ARM: sun7i: dt: add pinmux configuration for the PWM
5
6 Add the pinctrl descriptions for both PWM channels of the Allwinner A20.
7
8 Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
9 Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
10 ---
11 arch/arm/boot/dts/sun7i-a20.dtsi | 14 ++++++++++++++
12 1 file changed, 14 insertions(+)
13
14 --- a/arch/arm/boot/dts/sun7i-a20.dtsi
15 +++ b/arch/arm/boot/dts/sun7i-a20.dtsi
16 @@ -584,6 +584,20 @@
17 #size-cells = <0>;
18 #gpio-cells = <3>;
19
20 + pwm0_pins_a: pwm0@0 {
21 + allwinner,pins = "PB2";
22 + allwinner,function = "pwm";
23 + allwinner,drive = <0>;
24 + allwinner,pull = <0>;
25 + };
26 +
27 + pwm1_pins_a: pwm1@0 {
28 + allwinner,pins = "PI3";
29 + allwinner,function = "pwm";
30 + allwinner,drive = <0>;
31 + allwinner,pull = <0>;
32 + };
33 +
34 uart0_pins_a: uart0@0 {
35 allwinner,pins = "PB22", "PB23";
36 allwinner,function = "uart0";