~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/scripts/dtc/include-prefixes/arm/microchip/at91-ariag25.dts

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 // SPDX-License-Identifier: GPL-2.0-or-later
  2 /*
  3  * at91-ariag25.dts - Device Tree file for Acme Systems Aria G25 (AT91SAM9G25 based)
  4  *
  5  * Copyright (C) 2013 Douglas Gilbert <dgilbert@interlog.com>,
  6  *                    Robert Nelson <robertcnelson@gmail.com>
  7  */
  8 /dts-v1/;
  9 #include "at91sam9g25.dtsi"
 10 
 11 / {
 12         model = "Acme Systems Aria G25";
 13         compatible = "acme,ariag25", "atmel,at91sam9x5ek",
 14                      "atmel,at91sam9x5", "atmel,at91sam9";
 15 
 16         aliases {
 17                 serial5 = &uart0;
 18                 serial6 = &uart1;
 19         };
 20 
 21         chosen {
 22                 bootargs = "console=ttyS0,115200 root=/dev/mmcblk0p2 rw rootwait";
 23         };
 24 
 25         memory@20000000 {
 26                 /* 128 MB, change this for 256 MB revision */
 27                 reg = <0x20000000 0x8000000>;
 28         };
 29 
 30         clocks {
 31                 slow_xtal {
 32                         clock-frequency = <32768>;
 33                 };
 34 
 35                 main_xtal {
 36                         clock-frequency = <12000000>;
 37                 };
 38         };
 39 
 40         leds {
 41                 compatible = "gpio-leds";
 42 
 43                 /* little green LED in middle of Aria G25 module */
 44                 aria_led {
 45                         label = "aria_led";
 46                         gpios = <&pioB 8 GPIO_ACTIVE_HIGH>; /* PB8 */
 47                         linux,default-trigger = "heartbeat";
 48                 };
 49 
 50         };
 51 
 52         onewire {
 53                 compatible = "w1-gpio";
 54                 gpios = <&pioA 21 GPIO_ACTIVE_LOW>;
 55                 pinctrl-names = "default";
 56                 pinctrl-0 = <&pinctrl_w1_0>;
 57         };
 58 };
 59 
 60 &adc0 {
 61         status = "okay";
 62         atmel,adc-channels-used = <0xf>;
 63 };
 64 
 65 &dbgu {
 66         status = "okay";
 67 };
 68 
 69 &i2c0 {
 70         status = "okay";
 71 };
 72 
 73 &i2c1 {
 74         status = "okay";
 75 };
 76 
 77 /* TWD2+TCLK2 hidden behind ethernet, so no i2c2 */
 78 
 79 &macb0 {
 80         phy-mode = "rmii";
 81         /*
 82          * following can be overwritten by bootloader:
 83          * for example u-boot 'ftd set' command
 84          */
 85         local-mac-address = [00 00 00 00 00 00];
 86         status = "okay";
 87 };
 88 
 89 
 90 &mmc0 {
 91         /* N.B. Aria has no SD card detect (CD), assumed present */
 92 
 93         pinctrl-0 = <
 94                 &pinctrl_mmc0_slot0_clk_cmd_dat0
 95                 &pinctrl_mmc0_slot0_dat1_3>;
 96         pinctrl-names = "default";
 97         status = "okay";
 98 
 99         slot@0 {
100                 reg = <0>;
101                 bus-width = <4>;
102         };
103 };
104 
105 &pinctrl {
106         w1_0 {
107                 pinctrl_w1_0: w1_0-0 {
108                         atmel,pins = <0 21 0x0 0x1>; /* PA21 PIO, pull-up */
109                 };
110         };
111 };
112 
113 &rtc {
114         status = "okay";
115 };
116 
117 &tcb0 {
118         timer@0 {
119                 compatible = "atmel,tcb-timer";
120                 reg = <0>;
121         };
122 
123         timer@1 {
124                 compatible = "atmel,tcb-timer";
125                 reg = <1>;
126         };
127 };
128 
129 /*
130  * UART0/1 pins are marked as GPIO on
131  * Aria documentation.
132  * Change to "okay" if you need additional serial ports
133  */
134 &uart0 {
135         status = "disabled";
136 };
137 
138 &uart1 {
139         status = "disabled";
140 };
141 
142 &usart0 {
143         pinctrl-0 = <&pinctrl_usart0
144                      &pinctrl_usart0_rts
145                      &pinctrl_usart0_cts>;
146         status = "okay";
147 };
148 
149 &usart1 {
150         pinctrl-0 = <&pinctrl_usart1
151                      /* &pinctrl_usart1_rts */
152                      /* &pinctrl_usart1_cts */
153                     >;
154         status = "okay";
155 };
156 
157 &usart2 {
158         /* cannot activate RTS2+CTS2, clash with
159          * ethernet on PB0 and PB1 */
160         pinctrl-0 = <&pinctrl_usart2>;
161         status = "okay";
162 };
163 
164 &usart3 {
165         compatible = "atmel,at91sam9260-usart";
166         reg = <0xf8028000 0x200>;
167         interrupts = <8 4 5>;
168         pinctrl-names = "default";
169         pinctrl-0 = <&pinctrl_usart3
170                      /* &pinctrl_usart3_rts */
171                      /* &pinctrl_usart3_cts */
172                     >;
173         status = "okay";
174 };
175 
176 &usb0 {
177         status = "okay";
178         num-ports = <3>;
179 };
180 
181 &usb1 {
182         status = "okay";
183 };

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php