diff options
author | Zoltan HERPAI <wigyori@uid0.hu> | 2014-08-27 12:09:46 +0000 |
---|---|---|
committer | Zoltan HERPAI <wigyori@uid0.hu> | 2014-08-27 12:09:46 +0000 |
commit | d0d3be5d8287ff737cfe4381c44706f1d8f7b881 (patch) | |
tree | ab287cf326cc235e7ee9161a13b57f4bd0fecc5b /target/linux/sunxi/patches-3.14/251-2-dt-sun7i-add-pinmux-for-pwm.patch | |
parent | 6e912a1e62ebb1ab2fdd3f63bff61936be65a84b (diff) | |
download | upstream-d0d3be5d8287ff737cfe4381c44706f1d8f7b881.tar.gz upstream-d0d3be5d8287ff737cfe4381c44706f1d8f7b881.tar.bz2 upstream-d0d3be5d8287ff737cfe4381c44706f1d8f7b881.zip |
sunxi: initial 3.14 patchset
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42313 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/sunxi/patches-3.14/251-2-dt-sun7i-add-pinmux-for-pwm.patch')
-rw-r--r-- | target/linux/sunxi/patches-3.14/251-2-dt-sun7i-add-pinmux-for-pwm.patch | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/target/linux/sunxi/patches-3.14/251-2-dt-sun7i-add-pinmux-for-pwm.patch b/target/linux/sunxi/patches-3.14/251-2-dt-sun7i-add-pinmux-for-pwm.patch new file mode 100644 index 0000000000..128e064046 --- /dev/null +++ b/target/linux/sunxi/patches-3.14/251-2-dt-sun7i-add-pinmux-for-pwm.patch @@ -0,0 +1,41 @@ +From cf34231072d53e643d6ef1baa95a8e9df644542e Mon Sep 17 00:00:00 2001 +From: Alexandre Belloni <alexandre.belloni@free-electrons.com> +Date: Mon, 28 Apr 2014 18:17:12 +0200 +Subject: [PATCH] ARM: sun7i: dt: add pinmux configuration for the PWM + +Add the pinctrl descriptions for both PWM channels of the Allwinner A20. + +Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> +Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> +--- + arch/arm/boot/dts/sun7i-a20.dtsi | 14 ++++++++++++++ + 1 file changed, 14 insertions(+) + +diff --git a/arch/arm/boot/dts/sun7i-a20.dtsi b/arch/arm/boot/dts/sun7i-a20.dtsi +index f9f5e0c..2eaf7c0f 100644 +--- a/arch/arm/boot/dts/sun7i-a20.dtsi ++++ b/arch/arm/boot/dts/sun7i-a20.dtsi +@@ -554,6 +554,20 @@ + #size-cells = <0>; + #gpio-cells = <3>; + ++ pwm0_pins_a: pwm0@0 { ++ allwinner,pins = "PB2"; ++ allwinner,function = "pwm"; ++ allwinner,drive = <0>; ++ allwinner,pull = <0>; ++ }; ++ ++ pwm1_pins_a: pwm1@0 { ++ allwinner,pins = "PI3"; ++ allwinner,function = "pwm"; ++ allwinner,drive = <0>; ++ allwinner,pull = <0>; ++ }; ++ + uart0_pins_a: uart0@0 { + allwinner,pins = "PB22", "PB23"; + allwinner,function = "uart0"; +-- +2.0.3 + |