Jean-Christophe PLAGNIOL-VILLARD | 5b6089c | 2012-04-09 19:26:33 +0800 | [diff] [blame] | 1 | /* |
| 2 | * at91sam9260.dtsi - Device Tree Include file for AT91SAM9260 family SoC |
| 3 | * |
| 4 | * Copyright (C) 2011 Atmel, |
| 5 | * 2011 Nicolas Ferre <nicolas.ferre@atmel.com>, |
| 6 | * 2011 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> |
| 7 | * |
| 8 | * Licensed under GPLv2 or later. |
| 9 | */ |
| 10 | |
| 11 | /include/ "skeleton.dtsi" |
| 12 | |
| 13 | / { |
| 14 | model = "Atmel AT91SAM9260 family SoC"; |
| 15 | compatible = "atmel,at91sam9260"; |
| 16 | interrupt-parent = <&aic>; |
| 17 | |
| 18 | aliases { |
| 19 | serial0 = &dbgu; |
| 20 | serial1 = &usart0; |
| 21 | serial2 = &usart1; |
| 22 | serial3 = &usart2; |
| 23 | serial4 = &usart3; |
| 24 | serial5 = &usart4; |
| 25 | serial6 = &usart5; |
| 26 | gpio0 = &pioA; |
| 27 | gpio1 = &pioB; |
| 28 | gpio2 = &pioC; |
| 29 | tcb0 = &tcb0; |
| 30 | tcb1 = &tcb1; |
Ludovic Desroches | 05dcd36 | 2012-09-12 08:42:16 +0200 | [diff] [blame] | 31 | i2c0 = &i2c0; |
Bo Shen | 099343c | 2012-11-07 11:41:41 +0800 | [diff] [blame] | 32 | ssc0 = &ssc0; |
Jean-Christophe PLAGNIOL-VILLARD | 5b6089c | 2012-04-09 19:26:33 +0800 | [diff] [blame] | 33 | }; |
| 34 | cpus { |
| 35 | cpu@0 { |
| 36 | compatible = "arm,arm926ejs"; |
| 37 | }; |
| 38 | }; |
| 39 | |
| 40 | memory { |
| 41 | reg = <0x20000000 0x04000000>; |
| 42 | }; |
| 43 | |
| 44 | ahb { |
| 45 | compatible = "simple-bus"; |
| 46 | #address-cells = <1>; |
| 47 | #size-cells = <1>; |
| 48 | ranges; |
| 49 | |
| 50 | apb { |
| 51 | compatible = "simple-bus"; |
| 52 | #address-cells = <1>; |
| 53 | #size-cells = <1>; |
| 54 | ranges; |
| 55 | |
| 56 | aic: interrupt-controller@fffff000 { |
Ludovic Desroches | f8a073e | 2012-06-20 16:13:30 +0200 | [diff] [blame] | 57 | #interrupt-cells = <3>; |
Jean-Christophe PLAGNIOL-VILLARD | 5b6089c | 2012-04-09 19:26:33 +0800 | [diff] [blame] | 58 | compatible = "atmel,at91rm9200-aic"; |
| 59 | interrupt-controller; |
| 60 | reg = <0xfffff000 0x200>; |
Jean-Christophe PLAGNIOL-VILLARD | c657394 | 2012-04-09 19:36:36 +0800 | [diff] [blame] | 61 | atmel,external-irqs = <29 30 31>; |
Jean-Christophe PLAGNIOL-VILLARD | 5b6089c | 2012-04-09 19:26:33 +0800 | [diff] [blame] | 62 | }; |
| 63 | |
| 64 | ramc0: ramc@ffffea00 { |
| 65 | compatible = "atmel,at91sam9260-sdramc"; |
| 66 | reg = <0xffffea00 0x200>; |
| 67 | }; |
| 68 | |
| 69 | pmc: pmc@fffffc00 { |
| 70 | compatible = "atmel,at91rm9200-pmc"; |
| 71 | reg = <0xfffffc00 0x100>; |
| 72 | }; |
| 73 | |
| 74 | rstc@fffffd00 { |
| 75 | compatible = "atmel,at91sam9260-rstc"; |
| 76 | reg = <0xfffffd00 0x10>; |
| 77 | }; |
| 78 | |
| 79 | shdwc@fffffd10 { |
| 80 | compatible = "atmel,at91sam9260-shdwc"; |
| 81 | reg = <0xfffffd10 0x10>; |
| 82 | }; |
| 83 | |
| 84 | pit: timer@fffffd30 { |
| 85 | compatible = "atmel,at91sam9260-pit"; |
| 86 | reg = <0xfffffd30 0xf>; |
Ludovic Desroches | f8a073e | 2012-06-20 16:13:30 +0200 | [diff] [blame] | 87 | interrupts = <1 4 7>; |
Jean-Christophe PLAGNIOL-VILLARD | 5b6089c | 2012-04-09 19:26:33 +0800 | [diff] [blame] | 88 | }; |
| 89 | |
| 90 | tcb0: timer@fffa0000 { |
| 91 | compatible = "atmel,at91rm9200-tcb"; |
| 92 | reg = <0xfffa0000 0x100>; |
Ludovic Desroches | f8a073e | 2012-06-20 16:13:30 +0200 | [diff] [blame] | 93 | interrupts = <17 4 0 18 4 0 19 4 0>; |
Jean-Christophe PLAGNIOL-VILLARD | 5b6089c | 2012-04-09 19:26:33 +0800 | [diff] [blame] | 94 | }; |
| 95 | |
| 96 | tcb1: timer@fffdc000 { |
| 97 | compatible = "atmel,at91rm9200-tcb"; |
| 98 | reg = <0xfffdc000 0x100>; |
Ludovic Desroches | f8a073e | 2012-06-20 16:13:30 +0200 | [diff] [blame] | 99 | interrupts = <26 4 0 27 4 0 28 4 0>; |
Jean-Christophe PLAGNIOL-VILLARD | 5b6089c | 2012-04-09 19:26:33 +0800 | [diff] [blame] | 100 | }; |
| 101 | |
| 102 | pioA: gpio@fffff400 { |
| 103 | compatible = "atmel,at91rm9200-gpio"; |
| 104 | reg = <0xfffff400 0x100>; |
Ludovic Desroches | f8a073e | 2012-06-20 16:13:30 +0200 | [diff] [blame] | 105 | interrupts = <2 4 1>; |
Jean-Christophe PLAGNIOL-VILLARD | 5b6089c | 2012-04-09 19:26:33 +0800 | [diff] [blame] | 106 | #gpio-cells = <2>; |
| 107 | gpio-controller; |
| 108 | interrupt-controller; |
Jean-Christophe PLAGNIOL-VILLARD | 51ac51a | 2012-09-13 12:40:26 +0200 | [diff] [blame] | 109 | #interrupt-cells = <2>; |
Jean-Christophe PLAGNIOL-VILLARD | 5b6089c | 2012-04-09 19:26:33 +0800 | [diff] [blame] | 110 | }; |
| 111 | |
| 112 | pioB: gpio@fffff600 { |
| 113 | compatible = "atmel,at91rm9200-gpio"; |
| 114 | reg = <0xfffff600 0x100>; |
Ludovic Desroches | f8a073e | 2012-06-20 16:13:30 +0200 | [diff] [blame] | 115 | interrupts = <3 4 1>; |
Jean-Christophe PLAGNIOL-VILLARD | 5b6089c | 2012-04-09 19:26:33 +0800 | [diff] [blame] | 116 | #gpio-cells = <2>; |
| 117 | gpio-controller; |
| 118 | interrupt-controller; |
Jean-Christophe PLAGNIOL-VILLARD | 51ac51a | 2012-09-13 12:40:26 +0200 | [diff] [blame] | 119 | #interrupt-cells = <2>; |
Jean-Christophe PLAGNIOL-VILLARD | 5b6089c | 2012-04-09 19:26:33 +0800 | [diff] [blame] | 120 | }; |
| 121 | |
| 122 | pioC: gpio@fffff800 { |
| 123 | compatible = "atmel,at91rm9200-gpio"; |
| 124 | reg = <0xfffff800 0x100>; |
Ludovic Desroches | f8a073e | 2012-06-20 16:13:30 +0200 | [diff] [blame] | 125 | interrupts = <4 4 1>; |
Jean-Christophe PLAGNIOL-VILLARD | 5b6089c | 2012-04-09 19:26:33 +0800 | [diff] [blame] | 126 | #gpio-cells = <2>; |
| 127 | gpio-controller; |
| 128 | interrupt-controller; |
Jean-Christophe PLAGNIOL-VILLARD | 51ac51a | 2012-09-13 12:40:26 +0200 | [diff] [blame] | 129 | #interrupt-cells = <2>; |
Jean-Christophe PLAGNIOL-VILLARD | 5b6089c | 2012-04-09 19:26:33 +0800 | [diff] [blame] | 130 | }; |
| 131 | |
| 132 | dbgu: serial@fffff200 { |
| 133 | compatible = "atmel,at91sam9260-usart"; |
| 134 | reg = <0xfffff200 0x200>; |
Ludovic Desroches | f8a073e | 2012-06-20 16:13:30 +0200 | [diff] [blame] | 135 | interrupts = <1 4 7>; |
Jean-Christophe PLAGNIOL-VILLARD | 5b6089c | 2012-04-09 19:26:33 +0800 | [diff] [blame] | 136 | status = "disabled"; |
| 137 | }; |
| 138 | |
| 139 | usart0: serial@fffb0000 { |
| 140 | compatible = "atmel,at91sam9260-usart"; |
| 141 | reg = <0xfffb0000 0x200>; |
Ludovic Desroches | f8a073e | 2012-06-20 16:13:30 +0200 | [diff] [blame] | 142 | interrupts = <6 4 5>; |
Jean-Christophe PLAGNIOL-VILLARD | 5b6089c | 2012-04-09 19:26:33 +0800 | [diff] [blame] | 143 | atmel,use-dma-rx; |
| 144 | atmel,use-dma-tx; |
| 145 | status = "disabled"; |
| 146 | }; |
| 147 | |
| 148 | usart1: serial@fffb4000 { |
| 149 | compatible = "atmel,at91sam9260-usart"; |
| 150 | reg = <0xfffb4000 0x200>; |
Ludovic Desroches | f8a073e | 2012-06-20 16:13:30 +0200 | [diff] [blame] | 151 | interrupts = <7 4 5>; |
Jean-Christophe PLAGNIOL-VILLARD | 5b6089c | 2012-04-09 19:26:33 +0800 | [diff] [blame] | 152 | atmel,use-dma-rx; |
| 153 | atmel,use-dma-tx; |
| 154 | status = "disabled"; |
| 155 | }; |
| 156 | |
| 157 | usart2: serial@fffb8000 { |
| 158 | compatible = "atmel,at91sam9260-usart"; |
| 159 | reg = <0xfffb8000 0x200>; |
Ludovic Desroches | f8a073e | 2012-06-20 16:13:30 +0200 | [diff] [blame] | 160 | interrupts = <8 4 5>; |
Jean-Christophe PLAGNIOL-VILLARD | 5b6089c | 2012-04-09 19:26:33 +0800 | [diff] [blame] | 161 | atmel,use-dma-rx; |
| 162 | atmel,use-dma-tx; |
| 163 | status = "disabled"; |
| 164 | }; |
| 165 | |
| 166 | usart3: serial@fffd0000 { |
| 167 | compatible = "atmel,at91sam9260-usart"; |
| 168 | reg = <0xfffd0000 0x200>; |
Ludovic Desroches | f8a073e | 2012-06-20 16:13:30 +0200 | [diff] [blame] | 169 | interrupts = <23 4 5>; |
Jean-Christophe PLAGNIOL-VILLARD | 5b6089c | 2012-04-09 19:26:33 +0800 | [diff] [blame] | 170 | atmel,use-dma-rx; |
| 171 | atmel,use-dma-tx; |
| 172 | status = "disabled"; |
| 173 | }; |
| 174 | |
| 175 | usart4: serial@fffd4000 { |
| 176 | compatible = "atmel,at91sam9260-usart"; |
| 177 | reg = <0xfffd4000 0x200>; |
Ludovic Desroches | f8a073e | 2012-06-20 16:13:30 +0200 | [diff] [blame] | 178 | interrupts = <24 4 5>; |
Jean-Christophe PLAGNIOL-VILLARD | 5b6089c | 2012-04-09 19:26:33 +0800 | [diff] [blame] | 179 | atmel,use-dma-rx; |
| 180 | atmel,use-dma-tx; |
| 181 | status = "disabled"; |
| 182 | }; |
| 183 | |
| 184 | usart5: serial@fffd8000 { |
| 185 | compatible = "atmel,at91sam9260-usart"; |
| 186 | reg = <0xfffd8000 0x200>; |
Ludovic Desroches | f8a073e | 2012-06-20 16:13:30 +0200 | [diff] [blame] | 187 | interrupts = <25 4 5>; |
Jean-Christophe PLAGNIOL-VILLARD | 5b6089c | 2012-04-09 19:26:33 +0800 | [diff] [blame] | 188 | atmel,use-dma-rx; |
| 189 | atmel,use-dma-tx; |
| 190 | status = "disabled"; |
| 191 | }; |
| 192 | |
| 193 | macb0: ethernet@fffc4000 { |
| 194 | compatible = "cdns,at32ap7000-macb", "cdns,macb"; |
| 195 | reg = <0xfffc4000 0x100>; |
Ludovic Desroches | f8a073e | 2012-06-20 16:13:30 +0200 | [diff] [blame] | 196 | interrupts = <21 4 3>; |
Jean-Christophe PLAGNIOL-VILLARD | 5b6089c | 2012-04-09 19:26:33 +0800 | [diff] [blame] | 197 | status = "disabled"; |
| 198 | }; |
| 199 | |
| 200 | usb1: gadget@fffa4000 { |
| 201 | compatible = "atmel,at91rm9200-udc"; |
| 202 | reg = <0xfffa4000 0x4000>; |
Ludovic Desroches | f8a073e | 2012-06-20 16:13:30 +0200 | [diff] [blame] | 203 | interrupts = <10 4 2>; |
Jean-Christophe PLAGNIOL-VILLARD | 5b6089c | 2012-04-09 19:26:33 +0800 | [diff] [blame] | 204 | status = "disabled"; |
| 205 | }; |
Nicolas Ferre | 73d68d9 | 2012-05-16 17:37:06 +0200 | [diff] [blame] | 206 | |
Ludovic Desroches | 05dcd36 | 2012-09-12 08:42:16 +0200 | [diff] [blame] | 207 | i2c0: i2c@fffac000 { |
| 208 | compatible = "atmel,at91sam9260-i2c"; |
| 209 | reg = <0xfffac000 0x100>; |
| 210 | interrupts = <11 4 6>; |
| 211 | #address-cells = <1>; |
| 212 | #size-cells = <0>; |
| 213 | status = "disabled"; |
| 214 | }; |
| 215 | |
Bo Shen | 099343c | 2012-11-07 11:41:41 +0800 | [diff] [blame] | 216 | ssc0: ssc@fffbc000 { |
| 217 | compatible = "atmel,at91rm9200-ssc"; |
| 218 | reg = <0xfffbc000 0x4000>; |
| 219 | interrupts = <14 4 5>; |
| 220 | status = "disable"; |
| 221 | }; |
| 222 | |
Nicolas Ferre | 73d68d9 | 2012-05-16 17:37:06 +0200 | [diff] [blame] | 223 | adc0: adc@fffe0000 { |
| 224 | compatible = "atmel,at91sam9260-adc"; |
| 225 | reg = <0xfffe0000 0x100>; |
Ludovic Desroches | f8a073e | 2012-06-20 16:13:30 +0200 | [diff] [blame] | 226 | interrupts = <5 4 0>; |
Nicolas Ferre | 73d68d9 | 2012-05-16 17:37:06 +0200 | [diff] [blame] | 227 | atmel,adc-use-external-triggers; |
| 228 | atmel,adc-channels-used = <0xf>; |
| 229 | atmel,adc-vref = <3300>; |
| 230 | atmel,adc-num-channels = <4>; |
| 231 | atmel,adc-startup-time = <15>; |
| 232 | atmel,adc-channel-base = <0x30>; |
| 233 | atmel,adc-drdy-mask = <0x10000>; |
| 234 | atmel,adc-status-register = <0x1c>; |
| 235 | atmel,adc-trigger-register = <0x04>; |
| 236 | |
| 237 | trigger@0 { |
| 238 | trigger-name = "timer-counter-0"; |
| 239 | trigger-value = <0x1>; |
| 240 | }; |
| 241 | trigger@1 { |
| 242 | trigger-name = "timer-counter-1"; |
| 243 | trigger-value = <0x3>; |
| 244 | }; |
| 245 | |
| 246 | trigger@2 { |
| 247 | trigger-name = "timer-counter-2"; |
| 248 | trigger-value = <0x5>; |
| 249 | }; |
| 250 | |
| 251 | trigger@3 { |
| 252 | trigger-name = "external"; |
| 253 | trigger-value = <0x13>; |
| 254 | trigger-external; |
| 255 | }; |
| 256 | }; |
Jean-Christophe PLAGNIOL-VILLARD | 5b6089c | 2012-04-09 19:26:33 +0800 | [diff] [blame] | 257 | }; |
| 258 | |
| 259 | nand0: nand@40000000 { |
| 260 | compatible = "atmel,at91rm9200-nand"; |
| 261 | #address-cells = <1>; |
| 262 | #size-cells = <1>; |
| 263 | reg = <0x40000000 0x10000000 |
| 264 | 0xffffe800 0x200 |
| 265 | >; |
| 266 | atmel,nand-addr-offset = <21>; |
| 267 | atmel,nand-cmd-offset = <22>; |
| 268 | gpios = <&pioC 13 0 |
| 269 | &pioC 14 0 |
| 270 | 0 |
| 271 | >; |
| 272 | status = "disabled"; |
| 273 | }; |
| 274 | |
| 275 | usb0: ohci@00500000 { |
| 276 | compatible = "atmel,at91rm9200-ohci", "usb-ohci"; |
| 277 | reg = <0x00500000 0x100000>; |
Ludovic Desroches | f8a073e | 2012-06-20 16:13:30 +0200 | [diff] [blame] | 278 | interrupts = <20 4 2>; |
Jean-Christophe PLAGNIOL-VILLARD | 5b6089c | 2012-04-09 19:26:33 +0800 | [diff] [blame] | 279 | status = "disabled"; |
| 280 | }; |
| 281 | }; |
| 282 | |
| 283 | i2c@0 { |
| 284 | compatible = "i2c-gpio"; |
| 285 | gpios = <&pioA 23 0 /* sda */ |
| 286 | &pioA 24 0 /* scl */ |
| 287 | >; |
| 288 | i2c-gpio,sda-open-drain; |
| 289 | i2c-gpio,scl-open-drain; |
| 290 | i2c-gpio,delay-us = <2>; /* ~100 kHz */ |
| 291 | #address-cells = <1>; |
| 292 | #size-cells = <0>; |
| 293 | status = "disabled"; |
| 294 | }; |
| 295 | }; |