Skip to content

Commit b1b64e7

Browse files
committed
boards: adafruit: Fix ws2812 pin on Adafruit Feather RP2040.
As stated in [1], the ws2812 pin is on GPIO16. [1] https://github.com/adafruit/Adafruit-Feather-RP2040-PCB/blob/main/Adafruit%20Feather%20RP2040%20pinout.pdf Signed-off-by: Jörg Hofrichter <[email protected]>
1 parent 8f60b74 commit b1b64e7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

boards/adafruit/feather_rp2040/adafruit_feather_rp2040-pinctrl.dtsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454

5555
ws2812_pio1_default: ws2812_pio1_default {
5656
ws2812 {
57-
pinmux = <PIO1_P12>;
57+
pinmux = <PIO1_P16>;
5858
};
5959
};
6060
};

boards/adafruit/feather_rp2040/adafruit_feather_rp2040.dts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ zephyr_i2c: &i2c1 {
134134

135135
ws2812: ws2812 {
136136
status = "okay";
137-
gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>;
137+
gpios = <&gpio0 16 GPIO_ACTIVE_HIGH>;
138138
chain-length = <1>;
139139
color-mapping = <LED_COLOR_ID_GREEN
140140
LED_COLOR_ID_RED

0 commit comments

Comments
 (0)