Skip to content

Commit f134d3b

Browse files
Hieu Nguyenkartben
authored andcommitted
boards: renesas: rzg3s_smarc: Add PWM support
Add PWM support for board RZ/G3S-SMARC Signed-off-by: Hieu Nguyen <[email protected]> Signed-off-by: Binh Nguyen <[email protected]>
1 parent 3f96a35 commit f134d3b

File tree

3 files changed

+23
-0
lines changed

3 files changed

+23
-0
lines changed

boards/renesas/rzg3s_smarc/doc/index.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,8 @@ and the following hardware features:
6969
+-----------+------------+-------------------------------------+
7070
| GTM | on-chip | counter |
7171
+-----------+------------+-------------------------------------+
72+
| GPT | on-chip | pwm |
73+
+-----------+------------+-------------------------------------+
7274

7375
Other hardware features are currently not supported by the port.
7476

boards/renesas/rzg3s_smarc/rzg3s_smarc-pinctrl.dtsi

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,24 @@
3535
<RZG_PINMUX(PORT_15, 2, 6)>; /* TXD */
3636
};
3737
};
38+
39+
/omit-if-no-ref/ gpt0_pins: gpt0 {
40+
gpt0-pinmux {
41+
pinmux = <RZG_PINMUX(PORT_13, 0, 2)>, /* GTIOCA */
42+
<RZG_PINMUX(PORT_13, 1, 2)>; /* GTIOCB */
43+
};
44+
};
45+
46+
/omit-if-no-ref/ gpt3_pins: gpt3 {
47+
gpt3-pinmux {
48+
pinmux = <RZG_PINMUX(PORT_18, 0, 7)>, /* GTIOCA */
49+
<RZG_PINMUX(PORT_18, 1, 7)>; /* GTIOCB */
50+
};
51+
};
52+
53+
/omit-if-no-ref/ gpt6_pins: gpt6 {
54+
gpt6-pinmux {
55+
pinmux = <RZG_PINMUX(PORT_13, 4, 7)>; /* GTIOCA */
56+
};
57+
};
3858
};

boards/renesas/rzg3s_smarc/rzg3s_smarc_r9a08g045s33gbg_cm33.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,4 @@ supported:
99
- uart
1010
- gpio
1111
- counter
12+
- pwm

0 commit comments

Comments
 (0)