Skip to content

Commit 209878f

Browse files
committed
boards: microchip: sam: add device-tree file for sama7d65_curiosity
Introduce sama7d65_curiosity.dts for sama7d65_curiosity board. Signed-off-by: Tony Han <tony.han@microchip.com>
1 parent f6f1d61 commit 209878f

File tree

1 file changed

+64
-0
lines changed

1 file changed

+64
-0
lines changed
Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
/*
2+
* Copyright (C) 2025 Microchip Technology Inc. and its subsidiaries
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*
6+
*/
7+
8+
/dts-v1/;
9+
#include <common/freq.h>
10+
#include <dt-bindings/mfd/mfd_mchp_sam_flexcom.h>
11+
#include <dt-bindings/pinctrl/sama7d65-pinctrl.h>
12+
#include <microchip/sam/sama7d65.dtsi>
13+
14+
/ {
15+
model = "SAMA7D65-Curiosity board";
16+
compatible = "microchip,sama7d65curiosity", "microchip,sama7d6", "microchip,sama7";
17+
18+
chosen {
19+
zephyr,sram = &ddram;
20+
zephyr,console = &uart6;
21+
zephyr,shell-uart = &uart6;
22+
};
23+
24+
clocks {
25+
main_xtal {
26+
clock-frequency = <DT_FREQ_M(24)>;
27+
};
28+
29+
slow_xtal {
30+
clock-frequency = <32768>;
31+
};
32+
};
33+
34+
ddram: ddram@60000000 {
35+
compatible = "ddram";
36+
reg = <0x60000000 DT_SIZE_M(1024)>;
37+
};
38+
};
39+
40+
&flx6 {
41+
mchp,flexcom-mode = <SAM_FLEXCOM_MODE_USART>;
42+
status = "okay";
43+
44+
uart6: serial@200 {
45+
current-speed = <115200>;
46+
pinctrl-0 = <&pinctrl_uart6_default>;
47+
pinctrl-names = "default";
48+
status = "okay";
49+
};
50+
};
51+
52+
&pinctrl {
53+
pinctrl_uart6_default: uart6-default {
54+
group1 {
55+
pinmux = <PIN_PD18__FLEXCOM6_IO0>,
56+
<PIN_PD19__FLEXCOM6_IO1>;
57+
bias-disable;
58+
};
59+
};
60+
};
61+
62+
&pit64b0 {
63+
clock-frequency = <DT_FREQ_M(10)>;
64+
};

0 commit comments

Comments
 (0)