mirror of
				git://git.openwrt.org/openwrt/openwrt.git
				synced 2025-10-31 05:54:26 -04:00 
			
		
		
		
	Ran update_kernel.sh in a fresh clone without any existing toolchains. Removed upstreamed: mvebu/patches-5.4/319-ARM-dts-turris-omnia-configure-LED-2--INTn-pin-as-interrupt-pin.patch Build system : x86_64 Build-tested : ipq806x/R7800 Run-tested : ipq806x/R7800 No dmesg regressions, everything functional Signed-off-by: John Audia <graysky@archlinux.us>
		
			
				
	
	
		
			36 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			Diff
		
	
	
	
	
	
			
		
		
	
	
			36 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			Diff
		
	
	
	
	
	
| From: Jernej Skrabec <jernej.skrabec@siol.net>
 | |
| 
 | |
| Allwinner H6 PWM is similar to that in A20 except that it has additional
 | |
| bus clock and reset line.
 | |
| 
 | |
| Note that first PWM channel is connected to output pin and second
 | |
| channel is used internally, as a clock source to AC200 co-packaged chip.
 | |
| This means that any combination of these two channels can be used and
 | |
| thus it doesn't make sense to add pinctrl nodes at this point.
 | |
| 
 | |
| Signed-off-by: Jernej Skrabec <jernej.skrabec@siol.net>
 | |
| Signed-off-by: Clément Péron <peron.clem@gmail.com>
 | |
| ---
 | |
|  arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi | 10 ++++++++++
 | |
|  1 file changed, 10 insertions(+)
 | |
| 
 | |
| --- a/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi
 | |
| +++ b/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi
 | |
| @@ -231,6 +231,16 @@
 | |
|  			status = "disabled";
 | |
|  		};
 | |
|  
 | |
| +		pwm: pwm@300a000 {
 | |
| +			compatible = "allwinner,sun50i-h6-pwm";
 | |
| +			reg = <0x0300a000 0x400>;
 | |
| +			clocks = <&osc24M>, <&ccu CLK_BUS_PWM>;
 | |
| +			clock-names = "mod", "bus";
 | |
| +			resets = <&ccu RST_BUS_PWM>;
 | |
| +			#pwm-cells = <3>;
 | |
| +			status = "disabled";
 | |
| +		};
 | |
| +
 | |
|  		pio: pinctrl@300b000 {
 | |
|  			compatible = "allwinner,sun50i-h6-pinctrl";
 | |
|  			reg = <0x0300b000 0x400>;
 |