Skip to content

Commit fc1363c

Browse files
committed
boards: shields: arduino_giga_display_shield: add LED to DT
Added is31fl3197@50 to overlay Also updated GIGA board yaml file to say that it supports i2c Signed-off-by: Kurt Eckhardt <[email protected]>
1 parent 1d9e270 commit fc1363c

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

boards/arduino/giga_r1/arduino_giga_r1_stm32h747xx_m7.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ supported:
1212
- gpio
1313
- arduino_spi
1414
- spi
15+
- i2c
1516
- memc
1617
- usb_device
1718
vendor: arduino

boards/shields/arduino_giga_display_shield/boards/arduino_giga_r1_m7.overlay

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
*/
66

77
#include <zephyr/dt-bindings/display/panel.h>
8+
#include <zephyr/dt-bindings/led/led.h>
89

910
/ {
1011
lvgl_pointer {
@@ -93,4 +94,15 @@
9394
reset-gpios = <&gpioi 2 GPIO_ACTIVE_LOW>;
9495
irq-gpios = <&gpioi 1 GPIO_ACTIVE_HIGH>;
9596
};
97+
is31fl3197@50 {
98+
compatible = "issi,is31fl3197";
99+
reg = <0x50>;
100+
101+
led_rgb {
102+
label = "RGB LED";
103+
color-mapping = <LED_COLOR_ID_RED>,
104+
<LED_COLOR_ID_GREEN>,
105+
<LED_COLOR_ID_BLUE>;
106+
};
107+
};
96108
};

0 commit comments

Comments
 (0)