boards: arm: ubx_evkninab3_nrf52840 correct LED order

Corrected order of led0, led1, led2 to be red, green, blue
Corrected PWM instance

Signed-off-by: Bob Recny <bob.recny@u-blox.com>
This commit is contained in:
Bob Recny 2021-04-27 21:09:09 +00:00 committed by Ioannis Glaropoulos
commit 82e6a3832e
2 changed files with 11 additions and 11 deletions

View file

@ -95,9 +95,9 @@ Connections and IOs
LED LED
--- ---
* LED1 (red) = P0.13 * LED0 (red) = P0.13
* LED1 (green) = P0.25
* LED2 (blue) = P1.00 * LED2 (blue) = P1.00
* LED3 (green) = P0.25
Push buttons Push buttons
------------ ------------

View file

@ -29,12 +29,12 @@
label = "Red LED 0"; label = "Red LED 0";
}; };
led1: led_1 { led1: led_1 {
gpios = <&gpio1 0 GPIO_ACTIVE_LOW>; gpios = <&gpio0 25 GPIO_ACTIVE_LOW>;
label = "Blue LED 1"; label = "Green LED 1";
}; };
led2: led_2 { led2: led_2 {
gpios = <&gpio0 25 GPIO_ACTIVE_LOW>; gpios = <&gpio1 0 GPIO_ACTIVE_LOW>;
label = "Green LED 2"; label = "Blue LED 2";
}; };
}; };
@ -44,10 +44,10 @@
pwms = <&pwm0 13>; pwms = <&pwm0 13>;
}; };
green_pwm_led: green_pwm_led { green_pwm_led: green_pwm_led {
pwms = <&pwm0 32>; pwms = <&pwm0 25>;
}; };
blue_pwm_led: blue_pwm_led { blue_pwm_led: blue_pwm_led {
pwms = <&pwm0 25>; pwms = <&pwm0 32>;
}; };
}; };
@ -111,11 +111,11 @@
led1 = &led1; led1 = &led1;
led2 = &led2; led2 = &led2;
pwm-led0 = &red_pwm_led; pwm-led0 = &red_pwm_led;
pwm-led1 = &blue_pwm_led; pwm-led1 = &green_pwm_led;
pwm-led2 = &green_pwm_led; pwm-led2 = &blue_pwm_led;
red-pwm-led = &red_pwm_led; red-pwm-led = &red_pwm_led;
blue-pwm-led = &blue_pwm_led;
green-pwm-led = &green_pwm_led; green-pwm-led = &green_pwm_led;
blue-pwm-led = &blue_pwm_led;
sw0 = &button0; sw0 = &button0;
sw1 = &button1; sw1 = &button1;
}; };