blob: e777754a41345e60410240d83192951aa1c3826a [file] [log] [blame]
Eugen Hristev860d8ba2018-07-06 11:15:10 +03001// SPDX-License-Identifier: GPL-2.0+ OR MIT
2/*
3 * at91-sama5d2_icp.dts - Device Tree file for SAMA5D2 ICP board
4 * SAMA5D2 Industrial Connectivity Board
5 *
6 * Copyright (c) 2018, Microchip Technology Inc.
7 * 2018, Eugen Hristev <eugen.hristev@microchip.com>
8 */
9/dts-v1/;
10#include "sama5d2.dtsi"
11#include "sama5d2-pinfunc.h"
12
13/ {
14 model = "Microchip SAMA5D2 ICP";
15 compatible = "atmel,sama5d2-icp", "atmel,sama5d27", "atmel,sama5d2", "atmel,sama5";
16
17 aliases {
18 serial0 = &uart0;
19 i2c1 = &i2c1;
20 };
21
22 chosen {
23 stdout-path = "serial0:115200n8";
24 };
25
26 ahb {
27
28 sdmmc0: sdio-host@a0000000 {
29 bus-width = <4>;
30 pinctrl-names = "default";
31 pinctrl-0 = <&pinctrl_sdmmc0_default>;
32 status = "okay";
33 };
34
35 apb {
36 uart0: serial@f801c000 { /* mikrobus1 uart */
37 pinctrl-names = "default";
38 pinctrl-0 = <&pinctrl_mikrobus1_uart>;
39 status = "okay";
40 };
41
42 i2c1: i2c@fc028000 {
43 dmas = <0>, <0>;
44 pinctrl-names = "default";
45 pinctrl-0 = <&pinctrl_i2c1_default>;
46 status = "okay";
47
48 eeprom@50 {
49 compatible = "atmel,24c32";
50 reg = <0x50>;
51 pagesize = <16>;
52 };
53
54 eeprom@52 {
55 compatible = "atmel,24c32";
56 reg = <0x52>;
57 pagesize = <16>;
58 };
59
60 eeprom@53 {
61 compatible = "atmel,24c32";
62 reg = <0x53>;
63 pagesize = <16>;
64 };
65 };
66 pioA: gpio@fc038000 {
67 status = "okay";
68 pinctrl {
69 pinctrl_i2c1_default: i2c1_default {
70 pinmux = <PIN_PD19__TWD1>,
71 <PIN_PD20__TWCK1>;
72 bias-disable;
73 };
74
75 pinctrl_sdmmc0_default: sdmmc0_default {
76 pinmux = <PIN_PA1__SDMMC0_CMD>,
77 <PIN_PA2__SDMMC0_DAT0>,
78 <PIN_PA3__SDMMC0_DAT1>,
79 <PIN_PA4__SDMMC0_DAT2>,
80 <PIN_PA5__SDMMC0_DAT3>,
81 <PIN_PA0__SDMMC0_CK>,
82 <PIN_PA13__SDMMC0_CD>;
83 bias-disable;
84 };
85
86 pinctrl_mikrobus1_uart: mikrobus1_uart {
87 pinmux = <PIN_PB26__URXD0>,
88 <PIN_PB27__UTXD0>;
89 bias-disable;
90 };
91 };
92 };
93 };
94 };
95};