Skip to content

Commit 0a9e500

Browse files
Hieu Nguyenjhedberg
authored andcommitted
boards: renesas: Add PWM support for Renesas RZ/T2M, N2L, V2L
Add PWM support for board Renesas RZ/T2M-RSK, RZ/N2L-RSK, RZ/V2L-SMARC Signed-off-by: Hieu Nguyen <[email protected]> Signed-off-by: Tien Nguyen <[email protected]>
1 parent f9fd3d3 commit 0a9e500

File tree

6 files changed

+42
-0
lines changed

6 files changed

+42
-0
lines changed

boards/renesas/rzn2l_rsk/rzn2l_rsk-pinctrl.dtsi

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,18 @@
2727
input-enable;
2828
};
2929
};
30+
31+
/omit-if-no-ref/ gpt4_pins: gpt4 {
32+
gpt4-pinmux {
33+
pinmux = <RZN_PINMUX(PORT_03, 5, 4)>, /* GTIOCA */
34+
<RZN_PINMUX(PORT_03, 6, 5)>; /* GTIOCB */
35+
};
36+
};
37+
38+
/omit-if-no-ref/ gpt5_pins: gpt5 {
39+
gpt5-pinmux {
40+
pinmux = <RZN_PINMUX(PORT_03, 7, 5)>, /* GTIOCA */
41+
<RZN_PINMUX(PORT_04, 0, 3)>; /* GTIOCB */
42+
};
43+
};
3044
};

boards/renesas/rzn2l_rsk/rzn2l_rsk.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,5 @@ toolchain:
77
supported:
88
- uart
99
- gpio
10+
- pwm
1011
vendor: renesas

boards/renesas/rzt2m_rsk/rzt2m_rsk-pinctrl.dtsi

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,17 @@
2020
input-enable;
2121
};
2222
};
23+
24+
/omit-if-no-ref/ gpt0_pins: gpt0 {
25+
gpt0-pinmux {
26+
pinmux = <RZT_PINMUX(PORT_17, 4, 3)>; /* GTIOCA */
27+
};
28+
};
29+
30+
/omit-if-no-ref/ gpt4_pins: gpt4 {
31+
gpt4-pinmux {
32+
pinmux = <RZT_PINMUX(PORT_03, 5, 4)>, /* GTIOCA */
33+
<RZT_PINMUX(PORT_03, 6, 5)>; /* GTIOCB */
34+
};
35+
};
2336
};

boards/renesas/rzt2m_rsk/rzt2m_rsk_r9a07g075m24gbg_cr520.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,5 @@ toolchain:
1212
supported:
1313
- uart
1414
- gpio
15+
- pwm
1516
vendor: renesas

boards/renesas/rzv2l_smarc/rzv2l_smarc-pinctrl.dtsi

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,16 @@
1313
<RZV_PINMUX(PORT_48, 1, 1)>; /* RXD */
1414
};
1515
};
16+
17+
/omit-if-no-ref/ gpt6_pins: gpt6 {
18+
gpt6-pinmux {
19+
pinmux = <RZV_PINMUX(PORT_43, 0, 3)>; /* GTIOCA */
20+
};
21+
};
22+
23+
/omit-if-no-ref/ gpt7_pins: gpt7 {
24+
gpt7-pinmux {
25+
pinmux = <RZV_PINMUX(PORT_41, 0, 2)>; /* GTIOCA */
26+
};
27+
};
1628
};

boards/renesas/rzv2l_smarc/rzv2l_smarc_r9a07g054l23gbg_cm33.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,5 @@ toolchain:
88
supported:
99
- uart
1010
- gpio
11+
- pwm
1112
vendor: renesas

0 commit comments

Comments
 (0)