summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Kemnade <andreas@kemnade.info>2023-08-19 17:31:09 +0300
committerTony Lindgren <tony@atomide.com>2023-09-26 10:18:16 +0300
commit05ee882d396f0468882c2f47b3428884d2cd3f09 (patch)
tree40aa06be34d4dc5ab8c9b6ba05f4176432270d4c
parent0bb80ecc33a8fb5a682236443c1e740d5c917d1d (diff)
downloadlinux-05ee882d396f0468882c2f47b3428884d2cd3f09.tar.xz
ARM: dts: omap4: embt2ws: add LED
Add LED since the driver is now available. Signed-off-by: Andreas Kemnade <andreas@kemnade.info> Message-ID: <20230819143109.471615-1-andreas@kemnade.info> Signed-off-by: Tony Lindgren <tony@atomide.com>
-rw-r--r--arch/arm/boot/dts/ti/omap/omap4-epson-embt2ws.dts27
1 files changed, 26 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/ti/omap/omap4-epson-embt2ws.dts b/arch/arm/boot/dts/ti/omap/omap4-epson-embt2ws.dts
index e119e2cccc4e..f47d330fb6ee 100644
--- a/arch/arm/boot/dts/ti/omap/omap4-epson-embt2ws.dts
+++ b/arch/arm/boot/dts/ti/omap/omap4-epson-embt2ws.dts
@@ -4,6 +4,7 @@
*/
/dts-v1/;
+#include <dt-bindings/leds/common.h>
#include <dt-bindings/input/input.h>
#include "omap4460.dtsi"
@@ -206,7 +207,31 @@
clock-frequency = <100000>;
- /* TODO: BD2606MVV at 0x66 */
+ led-controller@66 {
+ compatible = "rohm,bd2606mvv";
+ reg = <0x66>;
+
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ led@0 {
+ reg = <0>;
+ color = <LED_COLOR_ID_GREEN>;
+ function = LED_FUNCTION_STATUS;
+ };
+
+ led@2 {
+ reg = <2>;
+ color = <LED_COLOR_ID_BLUE>;
+ function = LED_FUNCTION_STATUS;
+ };
+
+ led@4 {
+ reg = <4>;
+ color = <LED_COLOR_ID_RED>;
+ function = LED_FUNCTION_STATUS;
+ };
+ };
};
&i2c4 {