mirror of
				git://git.openwrt.org/openwrt/openwrt.git
				synced 2025-10-31 05:54:26 -04:00 
			
		
		
		
	Targets were build tested and patches are refreshed. Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 42463
		
			
				
	
	
		
			31 lines
		
	
	
		
			894 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
			
		
		
	
	
			31 lines
		
	
	
		
			894 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
| From 216a4cc15c24d46a5b50b3f9a224576a69c1a83e Mon Sep 17 00:00:00 2001
 | |
| From: Alexandre Belloni <alexandre.belloni@free-electrons.com>
 | |
| 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 <alexandre.belloni@free-electrons.com>
 | |
| Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
 | |
| ---
 | |
|  arch/arm/boot/dts/sun7i-a20.dtsi | 8 ++++++++
 | |
|  1 file changed, 8 insertions(+)
 | |
| 
 | |
| --- a/arch/arm/boot/dts/sun7i-a20.dtsi
 | |
| +++ b/arch/arm/boot/dts/sun7i-a20.dtsi
 | |
| @@ -764,6 +764,14 @@
 | |
|  			status = "disabled";
 | |
|  		};
 | |
|  
 | |
| +		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>;
 |