1 // SPDX-License-Identifier: GPL-2.0-or-later 2 /* 3 * at91-foxg20.dts - Device Tree file for Acme 4 * 5 * Based on DT files for at91sam9g20ek evaluat 6 * 7 * Copyright (C) 2013 Douglas Gilbert <dgilbert 8 */ 9 /dts-v1/; 10 #include "at91sam9g20.dtsi" 11 12 / { 13 model = "Acme Systems FoxG20"; 14 compatible = "acme,foxg20", "atmel,at9 15 16 chosen { 17 bootargs = "console=ttyS0,1152 18 }; 19 20 memory@20000000 { 21 reg = <0x20000000 0x4000000>; 22 }; 23 24 clocks { 25 slow_xtal { 26 clock-frequency = <327 27 }; 28 29 main_xtal { 30 clock-frequency = <184 31 }; 32 }; 33 34 ahb { 35 apb { 36 tcb0: timer@fffa0000 { 37 timer@0 { 38 compat 39 reg = 40 }; 41 42 timer@2 { 43 compat 44 reg = 45 }; 46 }; 47 48 usb1: gadget@fffa4000 49 atmel,vbus-gpi 50 status = "okay 51 }; 52 53 mmc0: mmc@fffa8000 { 54 pinctrl-0 = < 55 &pinct 56 &pinct 57 &pinct 58 pinctrl-names 59 status = "okay 60 61 slot@1 { 62 reg = 63 bus-wi 64 }; 65 }; 66 67 usart0: serial@fffb000 68 pinctrl-0 = 69 <&pinc 70 &pinc 71 &pinc 72 >; 73 status = "okay 74 }; 75 76 usart1: serial@fffb400 77 status = "okay 78 }; 79 80 usart2: serial@fffb800 81 status = "okay 82 }; 83 84 macb0: ethernet@fffc40 85 phy-mode = "rm 86 status = "okay 87 }; 88 89 usart3: serial@fffd000 90 status = "okay 91 }; 92 93 uart0: serial@fffd4000 94 status = "okay 95 }; 96 97 uart1: serial@fffd8000 98 status = "okay 99 }; 100 101 dbgu: serial@fffff200 102 status = "okay 103 }; 104 105 pinctrl@fffff400 { 106 board { 107 pinctr 108 109 110 }; 111 }; 112 113 mmc0_slot1 { 114 pinctr 115 116 117 }; 118 }; 119 120 i2c0 { 121 pinctr 122 123 124 125 }; 126 }; 127 }; 128 129 watchdog@fffffd40 { 130 status = "okay 131 }; 132 }; 133 134 usb0: ohci@500000 { 135 num-ports = <2>; 136 status = "okay"; 137 }; 138 }; 139 140 i2c-gpio-0 { 141 pinctrl-names = "default"; 142 pinctrl-0 = <&pinctrl_i2c0>; 143 i2c-gpio,delay-us = <5>; 144 status = "okay"; 145 }; 146 147 leds { 148 compatible = "gpio-leds"; 149 150 /* red LED marked "PC7" near m 151 user_led { 152 label = "user_led"; 153 gpios = <&pioC 7 GPIO_ 154 linux,default-trigger 155 }; 156 }; 157 158 gpio-keys { 159 compatible = "gpio-keys"; 160 161 button { 162 label = "Button"; 163 gpios = <&pioC 4 GPIO_ 164 linux,code = <0x103>; 165 wakeup-source; 166 }; 167 }; 168 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.