blob: 0f86360fb733ad1e11e22936be08055de5a19bcd [file] [log] [blame]
Tom Riniab06a532025-04-02 08:31:19 -06001// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2/*
3 * at91-sama7d65_curiosity.dts - Device Tree file for SAMA7D65 Curiosity board
4 *
5 * Copyright (c) 2024 Microchip Technology Inc. and its subsidiaries
6 *
7 * Author: Romain Sioen <romain.sioen@microchip.com>
8 *
9 */
10/dts-v1/;
11#include "sama7d65-pinfunc.h"
12#include "sama7d65.dtsi"
13#include <dt-bindings/mfd/atmel-flexcom.h>
14#include <dt-bindings/pinctrl/at91.h>
15
16/ {
17 model = "Microchip SAMA7D65 Curiosity";
18 compatible = "microchip,sama7d65-curiosity", "microchip,sama7d65",
19 "microchip,sama7d6", "microchip,sama7";
20
21 aliases {
22 serial0 = &uart6;
23 };
24
25 chosen {
26 stdout-path = "serial0:115200n8";
27 };
28
29 memory@60000000 {
30 device_type = "memory";
31 reg = <0x60000000 0x40000000>;
32 };
33};
34
35&flx6 {
36 atmel,flexcom-mode = <ATMEL_FLEXCOM_MODE_USART>;
37 status = "okay";
38};
39
40&uart6 {
41 pinctrl-names = "default";
42 pinctrl-0 = <&pinctrl_uart6_default>;
43 status = "okay";
44};
45
46&main_xtal {
47 clock-frequency = <24000000>;
48};
49
50&pioa {
51 pinctrl_sdmmc1_default: sdmmc1-default {
52 cmd-data {
53 pinmux = <PIN_PB22__SDMMC1_CMD>,
54 <PIN_PB24__SDMMC1_DAT0>,
55 <PIN_PB25__SDMMC1_DAT1>,
56 <PIN_PB26__SDMMC1_DAT2>,
57 <PIN_PB27__SDMMC1_DAT3>;
58 slew-rate = <0>;
59 bias-disable;
60 };
61
62 ck-cd-rstn-vddsel {
63 pinmux = <PIN_PB23__SDMMC1_CK>,
64 <PIN_PB21__SDMMC1_RSTN>,
65 <PIN_PB30__SDMMC1_1V8SEL>,
66 <PIN_PB29__SDMMC1_CD>,
67 <PIN_PB28__SDMMC1_WP>;
68 slew-rate = <0>;
69 bias-disable;
70 };
71 };
72
73 pinctrl_uart6_default: uart6-default {
74 pinmux = <PIN_PD18__FLEXCOM6_IO0>,
75 <PIN_PD19__FLEXCOM6_IO1>;
76 bias-disable;
77 };
78};
79
80&sdmmc1 {
81 bus-width = <4>;
82 pinctrl-names = "default";
83 pinctrl-0 = <&pinctrl_sdmmc1_default>;
84 status = "okay";
85};
86
87&slow_xtal {
88 clock-frequency = <32768>;
89};