Skip to content

Commit e771f00

Browse files
quytranpzzkartben
authored andcommitted
boards: renesas: rx: Add MTU node property on RX130 board
Enables MTU on board on RSK-RX130 Signed-off-by: Quy Tran <[email protected]>
1 parent 26f9fdf commit e771f00

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

boards/renesas/rsk_rx130/rsk_rx130.dts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,3 +110,13 @@
110110
&port_irq1 {
111111
status = "okay";
112112
};
113+
114+
&mtu1 {
115+
status = "okay";
116+
pinctrl-0 = <&pwm1_default>;
117+
pinctrl-names = "default";
118+
119+
pwm1: pwm {
120+
status = "okay";
121+
};
122+
};

boards/renesas/rsk_rx130/rsk_rx130_512kb-pinctrl.dtsi

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,10 @@
2727
<RX_PSEL(RX_PSEL_P1nPFS_SCL, 1, 2)>; /* SCL P12*/
2828
};
2929
};
30+
31+
pwm1_default: pwm1_default {
32+
group1 {
33+
psels = <RX_PSEL(RX_PSEL_P2nPFS_MTIOC1A, 2, 0)>; /* P20 MTIOC1A JA2-PIN22*/
34+
};
35+
};
3036
};

0 commit comments

Comments
 (0)