Skip to content

Commit e72cdcd

Browse files
EmilioCBenfabiobaltieri
authored andcommitted
boards: arm: mimxrt595_evk: Added Pinctrl
Adding Pinctrl for SC Timer Support. Signed-off-by: Emilio Benavente <[email protected]>
1 parent a818d06 commit e72cdcd

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

boards/arm/mimxrt595_evk/mimxrt595_evk_cm33-pinctrl.dtsi

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,4 +188,13 @@
188188
drive-strength = "normal";
189189
};
190190
};
191+
192+
pinmux_sctimer_default: pinmux_sctimer_default {
193+
group0 {
194+
pinmux = <SCT0_OUT0_PIO0_5>,
195+
<SCT0_OUT1_PIO0_6>;
196+
slew-rate = "normal";
197+
drive-strength = "normal";
198+
};
199+
};
191200
};

boards/arm/mimxrt595_evk/mimxrt595_evk_cm33.dts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
accel0 = &fxos8700;
2727
sdhc0 = &usdhc0;
2828
kscan0 = &touch_controller;
29+
pwm-0 = &sc_timer;
2930
};
3031

3132
chosen {
@@ -467,3 +468,9 @@ zephyr_udc0: &usbhs {
467468
ahb-write-wait-interval = <0>;
468469
};
469470
};
471+
472+
&sc_timer {
473+
pinctrl-0 = <&pinmux_sctimer_default>;
474+
pinctrl-names = "default";
475+
status = "okay";
476+
};

0 commit comments

Comments
 (0)