Skip to content

Commit

Permalink
soc: riscv: telink: replace b92 overlay to Zephyr
Browse files Browse the repository at this point in the history
  - update pwm channel and funcs according to Zephyr
  - replace updated overlay info to the Zephyr
  - delete tlsr9528.overlay file

Signed-off-by: Borys Nykytiuk <[email protected]>
  • Loading branch information
BorysNykytiuk committed Nov 20, 2024
1 parent 649c19f commit c1bc97c
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions src/platform/telink/tlsr9528a.overlay
Original file line number Diff line number Diff line change
Expand Up @@ -34,18 +34,18 @@
pwm_pool {
compatible = "pwm-leds";
out {
pwms = <&pwm0 2 PWM_MSEC(20) PWM_POLARITY_NORMAL>,
<&pwm0 0 PWM_MSEC(20) PWM_POLARITY_NORMAL>,
<&pwm0 1 PWM_MSEC(20) PWM_POLARITY_NORMAL>;
pwms = <&pwm0 0 PWM_MSEC(20) PWM_POLARITY_NORMAL>,
<&pwm0 1 PWM_MSEC(20) PWM_POLARITY_NORMAL>,
<&pwm0 2 PWM_MSEC(20) PWM_POLARITY_NORMAL>;
};
};
};

&pwm0 {
/* On board RGB LEDs */
pinctrl-ch0 = <&pwm_ch0_pe7_default>;
pinctrl-ch2 = <&pwm_ch1_pd1_default>;
pinctrl-ch1 = <&pwm_ch2_pd0_default>;
pinctrl-ch1 = <&pwm_ch1_pd1_default>;
pinctrl-ch2 = <&pwm_ch2_pd0_default>;
};

&pinctrl {
Expand All @@ -59,4 +59,3 @@
pinmux = <B9x_PINMUX_SET(B9x_PORT_D, B9x_PIN_0, B92_FUNC_PWM2)>;
};
};

0 comments on commit c1bc97c

Please sign in to comment.