From d0d3be5d8287ff737cfe4381c44706f1d8f7b881 Mon Sep 17 00:00:00 2001 From: Zoltan HERPAI Date: Wed, 27 Aug 2014 12:09:46 +0000 Subject: sunxi: initial 3.14 patchset Signed-off-by: Zoltan HERPAI git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42313 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- .../252-2-dt-sun7i-add-pwm-support.patch | 35 ++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 target/linux/sunxi/patches-3.14/252-2-dt-sun7i-add-pwm-support.patch (limited to 'target/linux/sunxi/patches-3.14/252-2-dt-sun7i-add-pwm-support.patch') diff --git a/target/linux/sunxi/patches-3.14/252-2-dt-sun7i-add-pwm-support.patch b/target/linux/sunxi/patches-3.14/252-2-dt-sun7i-add-pwm-support.patch new file mode 100644 index 0000000000..3bb1186523 --- /dev/null +++ b/target/linux/sunxi/patches-3.14/252-2-dt-sun7i-add-pwm-support.patch @@ -0,0 +1,35 @@ +From 216a4cc15c24d46a5b50b3f9a224576a69c1a83e Mon Sep 17 00:00:00 2001 +From: Alexandre Belloni +Date: Mon, 28 Apr 2014 18:17:13 +0200 +Subject: [PATCH] ARM: sun7i: dt: add PWM support + +Add the PWM bindings for the Allwinner A20. + +Signed-off-by: Alexandre Belloni +Signed-off-by: Maxime Ripard +--- + arch/arm/boot/dts/sun7i-a20.dtsi | 8 ++++++++ + 1 file changed, 8 insertions(+) + +diff --git a/arch/arm/boot/dts/sun7i-a20.dtsi b/arch/arm/boot/dts/sun7i-a20.dtsi +index 2eaf7c0f..61a4b5e 100644 +--- a/arch/arm/boot/dts/sun7i-a20.dtsi ++++ b/arch/arm/boot/dts/sun7i-a20.dtsi +@@ -706,6 +706,14 @@ + interrupts = <0 24 4>; + }; + ++ pwm: pwm@01c20e00 { ++ compatible = "allwinner,sun7i-a20-pwm"; ++ reg = <0x01c20e00 0xc>; ++ clocks = <&osc24M>; ++ #pwm-cells = <3>; ++ status = "disabled"; ++ }; ++ + sid: eeprom@01c23800 { + compatible = "allwinner,sun7i-a20-sid"; + reg = <0x01c23800 0x200>; +-- +2.0.3 + -- cgit v1.2.3