1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * at91-foxg20.dts - Device Tree file for Acme Systems FoxG20 board
5 * Based on DT files for at91sam9g20ek evaluation board (AT91SAM9G20 SoC)
7 * Copyright (C) 2013 Douglas Gilbert <dgilbert@interlog.com>
10 #include "at91sam9g20.dtsi"
13 model = "Acme Systems FoxG20";
14 compatible = "acme,foxg20", "atmel,at91sam9g20", "atmel,at91sam9";
17 bootargs = "console=ttyS0,115200 root=/dev/mmcblk0p2 rw rootwait";
21 reg = <0x20000000 0x4000000>;
26 clock-frequency = <32768>;
30 clock-frequency = <18432000>;
36 tcb0: timer@fffa0000 {
38 compatible = "atmel,tcb-timer";
43 compatible = "atmel,tcb-timer";
48 usb1: gadget@fffa4000 {
49 atmel,vbus-gpio = <&pioC 6 GPIO_ACTIVE_HIGH>;
56 &pinctrl_mmc0_slot1_cmd_dat0
57 &pinctrl_mmc0_slot1_dat1_3>;
66 usart0: serial@fffb0000 {
75 usart1: serial@fffb4000 {
79 usart2: serial@fffb8000 {
83 macb0: ethernet@fffc4000 {
88 usart3: serial@fffd0000 {
92 uart0: serial@fffd4000 {
96 uart1: serial@fffd8000 {
100 dbgu: serial@fffff200 {
106 pinctrl_pck0_as_mck: pck0_as_mck {
108 <AT91_PIOC 1 AT91_PERIPH_B AT91_PINCTRL_NONE>;
113 pinctrl_board_mmc0_slot1: mmc0_slot1-board {
115 <AT91_PIOC 9 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP_DEGLITCH>; /* CD pin */
120 pinctrl_i2c0: i2c0-0 {
122 <AT91_PIOA 23 AT91_PERIPH_A AT91_PINCTRL_MULTI_DRIVE /* TWD (SDA), open drain */
123 AT91_PIOA 24 AT91_PERIPH_A AT91_PINCTRL_MULTI_DRIVE>; /* TWCK (SCL), open drain */
140 pinctrl-names = "default";
141 pinctrl-0 = <&pinctrl_i2c0>;
142 i2c-gpio,delay-us = <5>; /* ~85 kHz */
147 compatible = "gpio-leds";
149 /* red LED marked "PC7" near mini USB (device) receptacle */
152 gpios = <&pioC 7 GPIO_ACTIVE_HIGH>; /* PC7 */
153 linux,default-trigger = "heartbeat";
158 compatible = "gpio-keys";
162 gpios = <&pioC 4 GPIO_ACTIVE_LOW>;
163 linux,code = <0x103>;