1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * Device Tree file for VInCo platform
5 * Copyright (C) 2014 Atmel,
6 * 2014 Nicolas Ferre <nicolas.ferre@atmel.com>
7 * 2015 Gregory CLEMENT <gregory.clement@free-electrons.com>
10 #include "sama5d4.dtsi"
13 model = "L+G VInCo platform";
14 compatible = "l+g,vinco", "atmel,sama5d4", "atmel,sama5";
17 stdout-path = "serial0:115200n8";
21 reg = <0x20000000 0x4000000>;
26 clock-frequency = <32768>;
30 clock-frequency = <12000000>;
38 status = "okay"; /* Enable ADC IIO support */
42 pinctrl-names = "default";
43 pinctrl-0 = <&pinctrl_mmc0_clk_cmd_dat0
45 &pinctrl_mmc0_dat4_7>;
46 vqmmc-supply = <&vcc_3v3_reg>;
47 vmmc-supply = <&vcc_3v3_reg>;
60 cs-gpios = <&pioC 3 0>, <0>, <0>, <0>;
63 compatible = "n25q32b", "jedec,spi-nor";
64 spi-max-frequency = <50000000>;
75 /* kerkey security module */
78 macb0: ethernet@f8020000 {
84 reset-gpios = <&pioE 8 GPIO_ACTIVE_LOW>;
85 interrupt-parent = <&pioB>;
86 interrupts = <15 IRQ_TYPE_EDGE_FALLING>;
95 compatible = "epson,rx8900";
100 usart2: serial@fc008000 {
105 usart3: serial@fc00c000 {
110 usart4: serial@fc010000 {
112 pinctrl-0 = <&pinctrl_usart4 &pinctrl_usart4_rts>;
113 linux,rs485-enabled-at-boot-time;
117 tcb2: timer@fc024000 {
119 compatible = "atmel,tcb-timer";
124 compatible = "atmel,tcb-timer";
129 macb1: ethernet@fc028000 {
132 #address-cells = <1>;
138 interrupt-parent = <&pioB>;
139 interrupts = <31 IRQ_TYPE_EDGE_FALLING>;
140 reset-gpios = <&pioE 6 GPIO_ACTIVE_LOW>;
150 pinctrl_usba_vbus: usba_vbus {
152 <AT91_PIOE 31 AT91_PERIPH_GPIO AT91_PINCTRL_DEGLITCH>;
158 usb0: gadget@400000 {
159 atmel,vbus-gpio = <&pioE 31 GPIO_ACTIVE_HIGH>;
160 pinctrl-names = "default";
161 pinctrl-0 = <&pinctrl_usba_vbus>;
168 &pioE 11 GPIO_ACTIVE_LOW
169 &pioE 12 GPIO_ACTIVE_LOW
182 compatible = "gpio-leds";
187 gpios = <&pioA 7 GPIO_ACTIVE_LOW>;
188 default-state = "off";
193 gpios = <&pioA 9 GPIO_ACTIVE_LOW>;
194 default-state = "off";
199 gpios = <&pioA 24 GPIO_ACTIVE_LOW>;
200 default-state = "off";
205 gpios = <&pioA 25 GPIO_ACTIVE_LOW>;
206 default-state = "off";
211 gpios = <&pioA 29 GPIO_ACTIVE_LOW>;
212 default-state = "off";
217 gpios = <&pioA 26 GPIO_ACTIVE_LOW>;
218 default-state = "on";
223 vcc_3v3_reg: fixedregulator_3v3 {
224 compatible = "regulator-fixed";
225 regulator-name = "VCC 3V3";
226 regulator-min-microvolt = <3300000>;
227 regulator-max-microvolt = <3300000>;