Skip to content

Commit

Permalink
Fixing wrong led definition in device tree
Browse files Browse the repository at this point in the history
The pin-out declared in the device tree does not respect the
schematics of the thingy:91X.

The pwm are also wrongly defined, but as their names are ambiguous,
like pwm_0 instead of pwm_green, this commit does not change the
pin control of the pwm. A note should be made that the pwm channels
are RBG instead of RGB if their definition in the device tree remains
the same

Signed-off-by: GiulianoFranchetto <[email protected]>
  • Loading branch information
GiulianoFranchetto committed Jan 25, 2025
1 parent ba827b3 commit 3abc913
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions boards/nordic/thingy91x/thingy91x_nrf9151_common.dts
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@
label = "RGB red channel";
};
green_led: led_2 {
gpios = <&gpio0 30 0>;
gpios = <&gpio0 31 0>;
label = "RGB green channel";
};
blue_led: led_3 {
gpios = <&gpio0 31 0>;
gpios = <&gpio0 30 0>;
label = "RGB blue channel";
};
};
Expand Down

0 comments on commit 3abc913

Please sign in to comment.