Skip to content

Commit b1488eb

Browse files
boards: microchip: sam: add and enable pit64b1
Add and enable pit64b1 counter device. Signed-off-by: CHEN Xing <[email protected]>
1 parent 8fa5ddb commit b1488eb

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

boards/microchip/sam/sama7g54_ek/sama7g54_ek.dts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,12 @@
185185
clock-frequency = <DT_FREQ_M(10)>;
186186
};
187187

188+
&pit64b1 {
189+
top-alarm;
190+
prescaler-period = <15>;
191+
status = "okay";
192+
};
193+
188194
&sdmmc0 {
189195
pinctrl-names = "default";
190196
pinctrl-0 = <&pinctrl_sdmmc0_default>;

boards/microchip/sam/sama7g54_ek/sama7g54_ek.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ toolchain:
99
- zephyr
1010
ram: 128
1111
supported:
12+
- counter
1213
- sdhc
1314
- shell
1415
- uart

0 commit comments

Comments
 (0)