mirror of
				git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
				synced 2025-10-31 08:44:41 +00:00 
			
		
		
		
	ARM: sun4i: cubieboard: Enable the i2c controllers
The Cubieboard makes use of the first two i2c controllers found on the Allwinner A10; i2c-0 is used internally for the PMIC, while i2c-1 is exposed on the board headers. This patch enables them in the device tree. Signed-off-by: Emilio López <emilio@elopez.com.ar> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Reviewed-by: Tomasz Figa <tomasz.figa@gmail.com>
This commit is contained in:
		
							parent
							
								
									351617cd02
								
							
						
					
					
						commit
						f51cb49b1d
					
				
					 1 changed files with 12 additions and 0 deletions
				
			
		|  | @ -41,6 +41,18 @@ | |||
| 			pinctrl-0 = <&uart0_pins_a>; | ||||
| 			status = "okay"; | ||||
| 		}; | ||||
| 
 | ||||
| 		i2c0: i2c@01c2ac00 { | ||||
| 			pinctrl-names = "default"; | ||||
| 			pinctrl-0 = <&i2c0_pins_a>; | ||||
| 			status = "okay"; | ||||
| 		}; | ||||
| 
 | ||||
| 		i2c1: i2c@01c2b000 { | ||||
| 			pinctrl-names = "default"; | ||||
| 			pinctrl-0 = <&i2c1_pins_a>; | ||||
| 			status = "okay"; | ||||
| 		}; | ||||
| 	}; | ||||
| 
 | ||||
| 	leds { | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Emilio López
						Emilio López