2 * sama5d27_som1.dtsi - Device Tree file for SAMA5D27 SOM1
4 * Copyright (C) 2017 Microchip Corporation
5 * Wenyou Yang <wenyou.yang@microchip.com>
7 * This file is dual-licensed: you can use it either under the terms
8 * of the GPL or the X11 license, at your option. Note that this dual
9 * licensing only applies to this file, and not this project as a
12 * a) This file is free software; you can redistribute it and/or
13 * modify it under the terms of the GNU General Public License as
14 * published by the Free Software Foundation; either version 2 of the
15 * License, or (at your option) any later version.
17 * This file is distributed in the hope that it will be useful,
18 * but WITHOUT ANY WARRANTY; without even the implied warranty of
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 * GNU General Public License for more details.
24 * b) Permission is hereby granted, free of charge, to any person
25 * obtaining a copy of this software and associated documentation
26 * files (the "Software"), to deal in the Software without
27 * restriction, including without limitation the rights to use,
28 * copy, modify, merge, publish, distribute, sublicense, and/or
29 * sell copies of the Software, and to permit persons to whom the
30 * Software is furnished to do so, subject to the following
33 * The above copyright notice and this permission notice shall be
34 * included in all copies or substantial portions of the Software.
36 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
37 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
38 * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
39 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
40 * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
41 * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
42 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
43 * OTHER DEALINGS IN THE SOFTWARE.
46 #include "sama5d2.dtsi"
47 #include "sama5d2-pinfunc.h"
49 model = "Atmel SAMA5D27 SOM1 EK";
50 compatible = "atmel,sama5d27-som1-ek", "atmel,sama5d2", "atmel,sama5";
53 reg = <0x20000000 0x8000000>;
63 pinctrl-names = "default";
64 pinctrl-0 = <&pinctrl_qspi1_sck_cs_default &pinctrl_qspi1_dat_default>;
69 compatible = "spi-flash";
71 spi-max-frequency = <50000000>;
72 spi-rx-bus-width = <4>;
73 spi-tx-bus-width = <4>;
78 macb0: ethernet@f8008000 {
79 pinctrl-names = "default";
80 pinctrl-0 = <&pinctrl_macb0_rmii &pinctrl_macb0_phy_irq>;
90 pinctrl-names = "default";
91 pinctrl-0 = <&pinctrl_i2c0_default>;
94 i2c_eeprom: i2c_eeprom@50 {
95 compatible = "microchip,24aa02e48";
101 pinctrl-names = "default";
102 pinctrl-0 = <&pinctrl_i2c1_default>;
106 pioA: gpio@fc038000 {
108 pinctrl_i2c0_default: i2c0_default {
109 pinmux = <PIN_PD21__TWD0>,
114 pinctrl_i2c1_default: i2c1_default {
115 pinmux = <PIN_PD4__TWD1>,
120 pinctrl_macb0_phy_irq: macb0_phy_irq {
121 pinmux = <PIN_PD31__GPIO>;
125 pinctrl_macb0_rmii: macb0_rmii {
126 pinmux = <PIN_PD9__GTXCK>,
139 pinctrl_qspi1_sck_cs_default: qspi1_sck_cs_default {
140 pinmux = <PIN_PB5__QSPI1_SCK>,
146 pinctrl_qspi1_dat_default: qspi1_dat_default {
147 pinmux = <PIN_PB7__QSPI1_IO0>,
148 <PIN_PB8__QSPI1_IO1>,
149 <PIN_PB9__QSPI1_IO2>,
150 <PIN_PB10__QSPI1_IO3>;