"C:\ncs\v2.9.1\nrf\boards\nordic\thingy91x\thingy91x_nrf9151_common.dts" lists LED GPIO as
leds {
compatible = "gpio-leds";
red_led: led_1 {
gpios = <&gpio0 29 0>;
label = "RGB red channel";
};
green_led: led_2 {
gpios = <&gpio0 30 0>;
label = "RGB green channel";
};
blue_led: led_3 {
gpios = <&gpio0 31 0>;
label = "RGB blue channel";
};
};
This swaps the Green and Blue LEDs based on the hardware schematic
Using sw0 for button input seems to be connected to button2 on the side of the board and not the top button1.
My code example: