2 * Device Tree file for VInCo platform
4 * Copyright (C) 2014 Atmel,
5 * 2014 Nicolas Ferre <nicolas.ferre@atmel.com>
6 * 2015 Gregory CLEMENT <gregory.clement@free-electrons.com>
8 * This file is dual-licensed: you can use it either under the terms
9 * of the GPL or the X11 license, at your option. Note that this dual
10 * licensing only applies to this file, and not this project as a
13 * a) This file is free software; you can redistribute it and/or
14 * modify it under the terms of the GNU General Public License as
15 * published by the Free Software Foundation; either version 2 of the
16 * License, or (at your option) any later version.
18 * This file is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU General Public License for more details.
25 * b) Permission is hereby granted, free of charge, to any person
26 * obtaining a copy of this software and associated documentation
27 * files (the "Software"), to deal in the Software without
28 * restriction, including without limitation the rights to use,
29 * copy, modify, merge, publish, distribute, sublicense, and/or
30 * sell copies of the Software, and to permit persons to whom the
31 * Software is furnished to do so, subject to the following
34 * The above copyright notice and this permission notice shall be
35 * included in all copies or substantial portions of the Software.
37 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
38 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
39 * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
40 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
41 * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
42 * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
43 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
44 * OTHER DEALINGS IN THE SOFTWARE.
47 #include "sama5d4.dtsi"
50 model = "L+G VInCo platform";
51 compatible = "l+g,vinco", "atmel,sama5d4", "atmel,sama5";
54 stdout-path = "serial0:115200n8";
58 reg = <0x20000000 0x4000000>;
63 clock-frequency = <32768>;
67 clock-frequency = <12000000>;
75 status = "okay"; /* Enable ADC IIO support */
79 pinctrl-names = "default";
80 pinctrl-0 = <&pinctrl_mmc0_clk_cmd_dat0
82 &pinctrl_mmc0_dat4_7>;
83 vqmmc-supply = <&vcc_3v3_reg>;
84 vmmc-supply = <&vcc_3v3_reg>;
97 cs-gpios = <&pioC 3 0>, <0>, <0>, <0>;
100 compatible = "n25q32b", "jedec,spi-nor";
101 spi-max-frequency = <50000000>;
112 /* kerkey security module */
115 macb0: ethernet@f8020000 {
121 reset-gpios = <&pioE 8 GPIO_ACTIVE_LOW>;
122 interrupt-parent = <&pioB>;
123 interrupts = <15 IRQ_TYPE_EDGE_FALLING>;
132 compatible = "epson,rx8900";
137 usart2: serial@fc008000 {
142 usart3: serial@fc00c000 {
147 usart4: serial@fc010000 {
149 pinctrl-0 = <&pinctrl_usart4 &pinctrl_usart4_rts>;
150 linux,rs485-enabled-at-boot-time;
154 tcb2: timer@fc024000 {
156 compatible = "atmel,tcb-timer";
161 compatible = "atmel,tcb-timer";
166 macb1: ethernet@fc028000 {
169 #address-cells = <1>;
175 interrupt-parent = <&pioB>;
176 interrupts = <31 IRQ_TYPE_EDGE_FALLING>;
177 reset-gpios = <&pioE 6 GPIO_ACTIVE_LOW>;
187 pinctrl_usba_vbus: usba_vbus {
189 <AT91_PIOE 31 AT91_PERIPH_GPIO AT91_PINCTRL_DEGLITCH>;
195 usb0: gadget@400000 {
196 atmel,vbus-gpio = <&pioE 31 GPIO_ACTIVE_HIGH>;
197 pinctrl-names = "default";
198 pinctrl-0 = <&pinctrl_usba_vbus>;
205 &pioE 11 GPIO_ACTIVE_LOW
206 &pioE 12 GPIO_ACTIVE_LOW
219 compatible = "gpio-leds";
224 gpios = <&pioA 7 GPIO_ACTIVE_LOW>;
225 default-state = "off";
230 gpios = <&pioA 9 GPIO_ACTIVE_LOW>;
231 default-state = "off";
236 gpios = <&pioA 24 GPIO_ACTIVE_LOW>;
237 default-state = "off";
242 gpios = <&pioA 25 GPIO_ACTIVE_LOW>;
243 default-state = "off";
248 gpios = <&pioA 29 GPIO_ACTIVE_LOW>;
249 default-state = "off";
254 gpios = <&pioA 26 GPIO_ACTIVE_LOW>;
255 default-state = "on";
260 vcc_3v3_reg: fixedregulator_3v3 {
261 compatible = "regulator-fixed";
262 regulator-name = "VCC 3V3";
263 regulator-min-microvolt = <3300000>;
264 regulator-max-microvolt = <3300000>;