mirror of
				git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
				synced 2025-10-31 08:44:41 +00:00 
			
		
		
		
	arm64: dts: ti: Add LED controller to phyBOARD-Electra
With commit 9f6ffd0da6 ("dt-bindings: leds: Convert PCA9532 to dtschema"),
we can now add the LED controller without introducing new dtbs_check warnings.
Add missing I2C LED controller.
Signed-off-by: Wadim Egorov <w.egorov@phytec.de>
Link: https://lore.kernel.org/r/20230505131012.2027309-1-w.egorov@phytec.de
Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
			
			
This commit is contained in:
		
							parent
							
								
									58cd171af4
								
							
						
					
					
						commit
						2dc39c5649
					
				
					 1 changed files with 21 additions and 0 deletions
				
			
		|  | @ -15,6 +15,7 @@ | ||||||
| #include <dt-bindings/gpio/gpio.h> | #include <dt-bindings/gpio/gpio.h> | ||||||
| #include <dt-bindings/input/input.h> | #include <dt-bindings/input/input.h> | ||||||
| #include <dt-bindings/leds/common.h> | #include <dt-bindings/leds/common.h> | ||||||
|  | #include <dt-bindings/leds/leds-pca9532.h> | ||||||
| #include <dt-bindings/mux/ti-serdes.h> | #include <dt-bindings/mux/ti-serdes.h> | ||||||
| #include <dt-bindings/phy/phy.h> | #include <dt-bindings/phy/phy.h> | ||||||
| #include "k3-am642.dtsi" | #include "k3-am642.dtsi" | ||||||
|  | @ -210,6 +211,26 @@ | ||||||
| 		pagesize = <16>; | 		pagesize = <16>; | ||||||
| 		reg = <0x51>; | 		reg = <0x51>; | ||||||
| 	}; | 	}; | ||||||
|  | 
 | ||||||
|  | 	led-controller@62 { | ||||||
|  | 		compatible = "nxp,pca9533"; | ||||||
|  | 		reg = <0x62>; | ||||||
|  | 
 | ||||||
|  | 		led-3 { | ||||||
|  | 			label = "red:user"; | ||||||
|  | 			type = <PCA9532_TYPE_LED>; | ||||||
|  | 		}; | ||||||
|  | 
 | ||||||
|  | 		led-4 { | ||||||
|  | 			label = "green:user"; | ||||||
|  | 			type = <PCA9532_TYPE_LED>; | ||||||
|  | 		}; | ||||||
|  | 
 | ||||||
|  | 		led-5 { | ||||||
|  | 			label = "blue:user"; | ||||||
|  | 			type = <PCA9532_TYPE_LED>; | ||||||
|  | 		}; | ||||||
|  | 	}; | ||||||
| }; | }; | ||||||
| 
 | 
 | ||||||
| &main_mcan0 { | &main_mcan0 { | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Wadim Egorov
						Wadim Egorov