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