Skip to content

Commit

Permalink
Update shiva.overlay
Browse files Browse the repository at this point in the history
  • Loading branch information
1000eyed authored Jun 22, 2024
1 parent 10b5dab commit 99f1d48
Showing 1 changed file with 23 additions and 1 deletion.
24 changes: 23 additions & 1 deletion config/boards/shields/shiva/shiva.overlay
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,26 @@
RC(6,0) RC(6,1) RC(7,1) RC(7,2) RC(7,3) RC(7,4) RC(6,5)
>;
};
};
};

/ {
aliases {
led-red = &led0;
led-green = &led1;
led-blue = &led2;
};

leds {
compatible = "gpio-leds";
status = "okay";
led0: led_0 {
gpios = <&gpio1 01 GPIO_ACTIVE_HIGH>; // red LED, connected to P0.26
};
led1: led_1 {
gpios = <&gpio1 02 GPIO_ACTIVE_HIGH>; // green LED, connected to P0.30
};
led2: led_2 {
gpios = <&gpio1 07 GPIO_ACTIVE_HIGH>; // blue LED, connected to P0.06
};
};
};

0 comments on commit 99f1d48

Please sign in to comment.