summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/microchip/at91-sama7d65_curiosity.dts
blob: 0f86360fb733ad1e11e22936be08055de5a19bcd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
/*
 *  at91-sama7d65_curiosity.dts - Device Tree file for SAMA7D65 Curiosity board
 *
 *  Copyright (c) 2024 Microchip Technology Inc. and its subsidiaries
 *
 *  Author: Romain Sioen <romain.sioen@microchip.com>
 *
 */
/dts-v1/;
#include "sama7d65-pinfunc.h"
#include "sama7d65.dtsi"
#include <dt-bindings/mfd/atmel-flexcom.h>
#include <dt-bindings/pinctrl/at91.h>

/ {
	model = "Microchip SAMA7D65 Curiosity";
	compatible = "microchip,sama7d65-curiosity", "microchip,sama7d65",
		     "microchip,sama7d6", "microchip,sama7";

	aliases {
		serial0 = &uart6;
	};

	chosen {
		stdout-path = "serial0:115200n8";
	};

	memory@60000000 {
		device_type = "memory";
		reg = <0x60000000 0x40000000>;
	};
};

&flx6 {
	atmel,flexcom-mode = <ATMEL_FLEXCOM_MODE_USART>;
	status = "okay";
};

&uart6 {
	pinctrl-names = "default";
	pinctrl-0 = <&pinctrl_uart6_default>;
	status = "okay";
};

&main_xtal {
	clock-frequency = <24000000>;
};

&pioa {
	pinctrl_sdmmc1_default: sdmmc1-default {
		cmd-data {
			pinmux = <PIN_PB22__SDMMC1_CMD>,
				 <PIN_PB24__SDMMC1_DAT0>,
				 <PIN_PB25__SDMMC1_DAT1>,
				 <PIN_PB26__SDMMC1_DAT2>,
				 <PIN_PB27__SDMMC1_DAT3>;
			slew-rate = <0>;
			bias-disable;
		};

		ck-cd-rstn-vddsel {
			pinmux = <PIN_PB23__SDMMC1_CK>,
				 <PIN_PB21__SDMMC1_RSTN>,
				 <PIN_PB30__SDMMC1_1V8SEL>,
				 <PIN_PB29__SDMMC1_CD>,
				 <PIN_PB28__SDMMC1_WP>;
			slew-rate = <0>;
			bias-disable;
		};
	};

	pinctrl_uart6_default: uart6-default {
		pinmux = <PIN_PD18__FLEXCOM6_IO0>,
			 <PIN_PD19__FLEXCOM6_IO1>;
		bias-disable;
	};
};

&sdmmc1 {
	bus-width = <4>;
	pinctrl-names = "default";
	pinctrl-0 = <&pinctrl_sdmmc1_default>;
	status = "okay";
};

&slow_xtal {
	clock-frequency = <32768>;
};