mirror of
				https://github.com/smaeul/u-boot.git
				synced 2025-10-31 03:58:17 +00:00 
			
		
		
		
	Convert altera timer to driver model. Signed-off-by: Thomas Chou <thomas@wytron.com.tw> Acked-by: Chin Liang See <clsee@altera.com>
		
			
				
	
	
		
			20 lines
		
	
	
		
			503 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
		
			503 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| Altera Timer
 | |
| 
 | |
| Required properties:
 | |
| 
 | |
| - compatible : should be "altr,timer-1.0"
 | |
| - reg : Specifies base physical address and size of the registers.
 | |
| - interrupt-parent: phandle of the interrupt controller
 | |
| - interrupts : Should contain the timer interrupt number
 | |
| - clock-frequency : The frequency of the clock that drives the counter, in Hz.
 | |
| 
 | |
| Example:
 | |
| 
 | |
| timer {
 | |
| 	compatible = "altr,timer-1.0";
 | |
| 	reg = <0x00400000 0x00000020>;
 | |
| 	interrupt-parent = <&cpu>;
 | |
| 	interrupts = <11>;
 | |
| 	clock-frequency = <125000000>;
 | |
| };
 |