From daff69550f031313486345526f97c17c3f356c15 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20J=C3=A4ger?= Date: Mon, 12 Apr 2021 11:09:11 +0200 Subject: [PATCH] MPPT 1210 HUS: Match LED assignment with manual --- boards/arm/mppt_1210_hus/mppt_1210_hus.dts | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/boards/arm/mppt_1210_hus/mppt_1210_hus.dts b/boards/arm/mppt_1210_hus/mppt_1210_hus.dts index f6f9d9b..36d109f 100644 --- a/boards/arm/mppt_1210_hus/mppt_1210_hus.dts +++ b/boards/arm/mppt_1210_hus/mppt_1210_hus.dts @@ -32,27 +32,27 @@ leds { compatible = "charlieplexing-leds"; gpios = <&gpiob 13 GPIO_ACTIVE_HIGH>, /* Pin A */ - <&gpiob 2 GPIO_ACTIVE_HIGH>, /* Pin C */ - <&gpiob 14 GPIO_ACTIVE_HIGH>; /* Pin B */ + <&gpiob 14 GPIO_ACTIVE_HIGH>, /* Pin B */ + <&gpiob 2 GPIO_ACTIVE_HIGH>; /* Pin C */ soc_1 { - states = <1 0 2>; + states = <1 2 0>; /* LED1 */ }; soc_2 { - states = <0 1 2>; + states = <0 2 1>; /* LED2 */ }; soc_3 { - states = <1 2 0>; - }; - - rxtx { - states = <2 1 0>; + states = <1 0 2>; /* LED3 */ }; load { - states = <2 0 1>; + states = <2 0 1>; /* LED4 */ + }; + + rxtx { + states = <2 1 0>; /* LED5 */ }; };