Nicolas Ferre | 467f1cf | 2012-01-26 11:59:20 +0100 | [diff] [blame] | 1 | /* |
| 2 | * at91sam9x5.dtsi - Device Tree Include file for AT91SAM9x5 family SoC |
| 3 | * applies to AT91SAM9G15, AT91SAM9G25, AT91SAM9G35, |
| 4 | * AT91SAM9X25, AT91SAM9X35 SoC |
| 5 | * |
| 6 | * Copyright (C) 2012 Atmel, |
| 7 | * 2012 Nicolas Ferre <nicolas.ferre@atmel.com> |
| 8 | * |
| 9 | * Licensed under GPLv2 or later. |
| 10 | */ |
| 11 | |
| 12 | /include/ "skeleton.dtsi" |
| 13 | |
| 14 | / { |
| 15 | model = "Atmel AT91SAM9x5 family SoC"; |
| 16 | compatible = "atmel,at91sam9x5"; |
| 17 | interrupt-parent = <&aic>; |
| 18 | |
| 19 | aliases { |
| 20 | serial0 = &dbgu; |
| 21 | serial1 = &usart0; |
| 22 | serial2 = &usart1; |
| 23 | serial3 = &usart2; |
| 24 | gpio0 = &pioA; |
| 25 | gpio1 = &pioB; |
| 26 | gpio2 = &pioC; |
| 27 | gpio3 = &pioD; |
| 28 | tcb0 = &tcb0; |
| 29 | tcb1 = &tcb1; |
| 30 | }; |
| 31 | cpus { |
| 32 | cpu@0 { |
| 33 | compatible = "arm,arm926ejs"; |
| 34 | }; |
| 35 | }; |
| 36 | |
Ludovic Desroches | dcce6ce | 2012-04-02 20:44:20 +0200 | [diff] [blame] | 37 | memory { |
Nicolas Ferre | 467f1cf | 2012-01-26 11:59:20 +0100 | [diff] [blame] | 38 | reg = <0x20000000 0x10000000>; |
| 39 | }; |
| 40 | |
| 41 | ahb { |
| 42 | compatible = "simple-bus"; |
| 43 | #address-cells = <1>; |
| 44 | #size-cells = <1>; |
| 45 | ranges; |
| 46 | |
| 47 | apb { |
| 48 | compatible = "simple-bus"; |
| 49 | #address-cells = <1>; |
| 50 | #size-cells = <1>; |
| 51 | ranges; |
| 52 | |
| 53 | aic: interrupt-controller@fffff000 { |
Ludovic Desroches | f8a073e | 2012-06-20 16:13:30 +0200 | [diff] [blame] | 54 | #interrupt-cells = <3>; |
Nicolas Ferre | 467f1cf | 2012-01-26 11:59:20 +0100 | [diff] [blame] | 55 | compatible = "atmel,at91rm9200-aic"; |
| 56 | interrupt-controller; |
Nicolas Ferre | 467f1cf | 2012-01-26 11:59:20 +0100 | [diff] [blame] | 57 | reg = <0xfffff000 0x200>; |
Jean-Christophe PLAGNIOL-VILLARD | c657394 | 2012-04-09 19:36:36 +0800 | [diff] [blame] | 58 | atmel,external-irqs = <31>; |
Nicolas Ferre | 467f1cf | 2012-01-26 11:59:20 +0100 | [diff] [blame] | 59 | }; |
| 60 | |
Jean-Christophe PLAGNIOL-VILLARD | a7776ec | 2012-03-02 20:54:37 +0800 | [diff] [blame] | 61 | ramc0: ramc@ffffe800 { |
| 62 | compatible = "atmel,at91sam9g45-ddramc"; |
| 63 | reg = <0xffffe800 0x200>; |
| 64 | }; |
| 65 | |
Jean-Christophe PLAGNIOL-VILLARD | eb5e76f | 2012-03-02 20:44:23 +0800 | [diff] [blame] | 66 | pmc: pmc@fffffc00 { |
| 67 | compatible = "atmel,at91rm9200-pmc"; |
| 68 | reg = <0xfffffc00 0x100>; |
| 69 | }; |
| 70 | |
Jean-Christophe PLAGNIOL-VILLARD | c8082d3 | 2012-03-03 03:16:27 +0800 | [diff] [blame] | 71 | rstc@fffffe00 { |
| 72 | compatible = "atmel,at91sam9g45-rstc"; |
| 73 | reg = <0xfffffe00 0x10>; |
| 74 | }; |
| 75 | |
Jean-Christophe PLAGNIOL-VILLARD | 82015c4 | 2012-03-02 21:01:00 +0800 | [diff] [blame] | 76 | shdwc@fffffe10 { |
| 77 | compatible = "atmel,at91sam9x5-shdwc"; |
| 78 | reg = <0xfffffe10 0x10>; |
| 79 | }; |
| 80 | |
Nicolas Ferre | 467f1cf | 2012-01-26 11:59:20 +0100 | [diff] [blame] | 81 | pit: timer@fffffe30 { |
| 82 | compatible = "atmel,at91sam9260-pit"; |
| 83 | reg = <0xfffffe30 0xf>; |
Ludovic Desroches | f8a073e | 2012-06-20 16:13:30 +0200 | [diff] [blame] | 84 | interrupts = <1 4 7>; |
Nicolas Ferre | 467f1cf | 2012-01-26 11:59:20 +0100 | [diff] [blame] | 85 | }; |
| 86 | |
| 87 | tcb0: timer@f8008000 { |
| 88 | compatible = "atmel,at91sam9x5-tcb"; |
| 89 | reg = <0xf8008000 0x100>; |
Ludovic Desroches | f8a073e | 2012-06-20 16:13:30 +0200 | [diff] [blame] | 90 | interrupts = <17 4 0>; |
Nicolas Ferre | 467f1cf | 2012-01-26 11:59:20 +0100 | [diff] [blame] | 91 | }; |
| 92 | |
| 93 | tcb1: timer@f800c000 { |
| 94 | compatible = "atmel,at91sam9x5-tcb"; |
| 95 | reg = <0xf800c000 0x100>; |
Ludovic Desroches | f8a073e | 2012-06-20 16:13:30 +0200 | [diff] [blame] | 96 | interrupts = <17 4 0>; |
Nicolas Ferre | 467f1cf | 2012-01-26 11:59:20 +0100 | [diff] [blame] | 97 | }; |
| 98 | |
| 99 | dma0: dma-controller@ffffec00 { |
| 100 | compatible = "atmel,at91sam9g45-dma"; |
| 101 | reg = <0xffffec00 0x200>; |
Ludovic Desroches | f8a073e | 2012-06-20 16:13:30 +0200 | [diff] [blame] | 102 | interrupts = <20 4 0>; |
Nicolas Ferre | 467f1cf | 2012-01-26 11:59:20 +0100 | [diff] [blame] | 103 | }; |
| 104 | |
| 105 | dma1: dma-controller@ffffee00 { |
| 106 | compatible = "atmel,at91sam9g45-dma"; |
| 107 | reg = <0xffffee00 0x200>; |
Ludovic Desroches | f8a073e | 2012-06-20 16:13:30 +0200 | [diff] [blame] | 108 | interrupts = <21 4 0>; |
Nicolas Ferre | 467f1cf | 2012-01-26 11:59:20 +0100 | [diff] [blame] | 109 | }; |
| 110 | |
| 111 | pioA: gpio@fffff400 { |
Nicolas Ferre | 582d5fb | 2010-07-20 19:18:51 +0200 | [diff] [blame] | 112 | compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio"; |
Nicolas Ferre | 467f1cf | 2012-01-26 11:59:20 +0100 | [diff] [blame] | 113 | reg = <0xfffff400 0x100>; |
Ludovic Desroches | f8a073e | 2012-06-20 16:13:30 +0200 | [diff] [blame] | 114 | interrupts = <2 4 1>; |
Nicolas Ferre | 467f1cf | 2012-01-26 11:59:20 +0100 | [diff] [blame] | 115 | #gpio-cells = <2>; |
| 116 | gpio-controller; |
Nicolas Ferre | 21f8187 | 2012-02-11 15:41:40 +0100 | [diff] [blame] | 117 | interrupt-controller; |
Nicolas Ferre | 467f1cf | 2012-01-26 11:59:20 +0100 | [diff] [blame] | 118 | }; |
| 119 | |
| 120 | pioB: gpio@fffff600 { |
Nicolas Ferre | 582d5fb | 2010-07-20 19:18:51 +0200 | [diff] [blame] | 121 | compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio"; |
Nicolas Ferre | 467f1cf | 2012-01-26 11:59:20 +0100 | [diff] [blame] | 122 | reg = <0xfffff600 0x100>; |
Ludovic Desroches | f8a073e | 2012-06-20 16:13:30 +0200 | [diff] [blame] | 123 | interrupts = <2 4 1>; |
Nicolas Ferre | 467f1cf | 2012-01-26 11:59:20 +0100 | [diff] [blame] | 124 | #gpio-cells = <2>; |
| 125 | gpio-controller; |
Nicolas Ferre | 21f8187 | 2012-02-11 15:41:40 +0100 | [diff] [blame] | 126 | interrupt-controller; |
Nicolas Ferre | 467f1cf | 2012-01-26 11:59:20 +0100 | [diff] [blame] | 127 | }; |
| 128 | |
| 129 | pioC: gpio@fffff800 { |
Nicolas Ferre | 582d5fb | 2010-07-20 19:18:51 +0200 | [diff] [blame] | 130 | compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio"; |
Nicolas Ferre | 467f1cf | 2012-01-26 11:59:20 +0100 | [diff] [blame] | 131 | reg = <0xfffff800 0x100>; |
Ludovic Desroches | f8a073e | 2012-06-20 16:13:30 +0200 | [diff] [blame] | 132 | interrupts = <3 4 1>; |
Nicolas Ferre | 467f1cf | 2012-01-26 11:59:20 +0100 | [diff] [blame] | 133 | #gpio-cells = <2>; |
| 134 | gpio-controller; |
Nicolas Ferre | 21f8187 | 2012-02-11 15:41:40 +0100 | [diff] [blame] | 135 | interrupt-controller; |
Nicolas Ferre | 467f1cf | 2012-01-26 11:59:20 +0100 | [diff] [blame] | 136 | }; |
| 137 | |
| 138 | pioD: gpio@fffffa00 { |
Nicolas Ferre | 582d5fb | 2010-07-20 19:18:51 +0200 | [diff] [blame] | 139 | compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio"; |
Nicolas Ferre | 467f1cf | 2012-01-26 11:59:20 +0100 | [diff] [blame] | 140 | reg = <0xfffffa00 0x100>; |
Ludovic Desroches | f8a073e | 2012-06-20 16:13:30 +0200 | [diff] [blame] | 141 | interrupts = <3 4 1>; |
Nicolas Ferre | 467f1cf | 2012-01-26 11:59:20 +0100 | [diff] [blame] | 142 | #gpio-cells = <2>; |
| 143 | gpio-controller; |
Nicolas Ferre | 21f8187 | 2012-02-11 15:41:40 +0100 | [diff] [blame] | 144 | interrupt-controller; |
Nicolas Ferre | 467f1cf | 2012-01-26 11:59:20 +0100 | [diff] [blame] | 145 | }; |
| 146 | |
| 147 | dbgu: serial@fffff200 { |
| 148 | compatible = "atmel,at91sam9260-usart"; |
| 149 | reg = <0xfffff200 0x200>; |
Ludovic Desroches | f8a073e | 2012-06-20 16:13:30 +0200 | [diff] [blame] | 150 | interrupts = <1 4 7>; |
Nicolas Ferre | 467f1cf | 2012-01-26 11:59:20 +0100 | [diff] [blame] | 151 | status = "disabled"; |
| 152 | }; |
| 153 | |
| 154 | usart0: serial@f801c000 { |
| 155 | compatible = "atmel,at91sam9260-usart"; |
| 156 | reg = <0xf801c000 0x200>; |
Ludovic Desroches | f8a073e | 2012-06-20 16:13:30 +0200 | [diff] [blame] | 157 | interrupts = <5 4 5>; |
Nicolas Ferre | 467f1cf | 2012-01-26 11:59:20 +0100 | [diff] [blame] | 158 | atmel,use-dma-rx; |
| 159 | atmel,use-dma-tx; |
| 160 | status = "disabled"; |
| 161 | }; |
| 162 | |
| 163 | usart1: serial@f8020000 { |
| 164 | compatible = "atmel,at91sam9260-usart"; |
| 165 | reg = <0xf8020000 0x200>; |
Ludovic Desroches | f8a073e | 2012-06-20 16:13:30 +0200 | [diff] [blame] | 166 | interrupts = <6 4 5>; |
Nicolas Ferre | 467f1cf | 2012-01-26 11:59:20 +0100 | [diff] [blame] | 167 | atmel,use-dma-rx; |
| 168 | atmel,use-dma-tx; |
| 169 | status = "disabled"; |
| 170 | }; |
| 171 | |
| 172 | usart2: serial@f8024000 { |
| 173 | compatible = "atmel,at91sam9260-usart"; |
| 174 | reg = <0xf8024000 0x200>; |
Ludovic Desroches | f8a073e | 2012-06-20 16:13:30 +0200 | [diff] [blame] | 175 | interrupts = <7 4 5>; |
Nicolas Ferre | 467f1cf | 2012-01-26 11:59:20 +0100 | [diff] [blame] | 176 | atmel,use-dma-rx; |
| 177 | atmel,use-dma-tx; |
| 178 | status = "disabled"; |
| 179 | }; |
| 180 | |
| 181 | macb0: ethernet@f802c000 { |
| 182 | compatible = "cdns,at32ap7000-macb", "cdns,macb"; |
| 183 | reg = <0xf802c000 0x100>; |
Ludovic Desroches | f8a073e | 2012-06-20 16:13:30 +0200 | [diff] [blame] | 184 | interrupts = <24 4 3>; |
Nicolas Ferre | 467f1cf | 2012-01-26 11:59:20 +0100 | [diff] [blame] | 185 | status = "disabled"; |
| 186 | }; |
| 187 | |
| 188 | macb1: ethernet@f8030000 { |
| 189 | compatible = "cdns,at32ap7000-macb", "cdns,macb"; |
| 190 | reg = <0xf8030000 0x100>; |
Ludovic Desroches | f8a073e | 2012-06-20 16:13:30 +0200 | [diff] [blame] | 191 | interrupts = <27 4 3>; |
Nicolas Ferre | 467f1cf | 2012-01-26 11:59:20 +0100 | [diff] [blame] | 192 | status = "disabled"; |
| 193 | }; |
Maxime Ripard | d029f37 | 2012-05-11 15:35:39 +0200 | [diff] [blame] | 194 | |
| 195 | adc0: adc@f804c000 { |
| 196 | compatible = "atmel,at91sam9260-adc"; |
| 197 | reg = <0xf804c000 0x100>; |
Ludovic Desroches | f8a073e | 2012-06-20 16:13:30 +0200 | [diff] [blame] | 198 | interrupts = <19 4 0>; |
Maxime Ripard | d029f37 | 2012-05-11 15:35:39 +0200 | [diff] [blame] | 199 | atmel,adc-use-external; |
| 200 | atmel,adc-channels-used = <0xffff>; |
| 201 | atmel,adc-vref = <3300>; |
| 202 | atmel,adc-num-channels = <12>; |
| 203 | atmel,adc-startup-time = <40>; |
| 204 | atmel,adc-channel-base = <0x50>; |
| 205 | atmel,adc-drdy-mask = <0x1000000>; |
| 206 | atmel,adc-status-register = <0x30>; |
| 207 | atmel,adc-trigger-register = <0xc0>; |
| 208 | |
| 209 | trigger@0 { |
| 210 | trigger-name = "external-rising"; |
| 211 | trigger-value = <0x1>; |
| 212 | trigger-external; |
| 213 | }; |
| 214 | |
| 215 | trigger@1 { |
| 216 | trigger-name = "external-falling"; |
| 217 | trigger-value = <0x2>; |
| 218 | trigger-external; |
| 219 | }; |
| 220 | |
| 221 | trigger@2 { |
| 222 | trigger-name = "external-any"; |
| 223 | trigger-value = <0x3>; |
| 224 | trigger-external; |
| 225 | }; |
| 226 | |
| 227 | trigger@3 { |
| 228 | trigger-name = "continuous"; |
| 229 | trigger-value = <0x6>; |
| 230 | }; |
| 231 | }; |
Nicolas Ferre | 467f1cf | 2012-01-26 11:59:20 +0100 | [diff] [blame] | 232 | }; |
Jean-Christophe PLAGNIOL-VILLARD | 86a89f4 | 2012-02-21 21:38:18 +0800 | [diff] [blame] | 233 | |
| 234 | nand0: nand@40000000 { |
| 235 | compatible = "atmel,at91rm9200-nand"; |
| 236 | #address-cells = <1>; |
| 237 | #size-cells = <1>; |
| 238 | reg = <0x40000000 0x10000000 |
| 239 | >; |
| 240 | atmel,nand-addr-offset = <21>; |
| 241 | atmel,nand-cmd-offset = <22>; |
Nicolas Ferre | 4352808 | 2012-03-22 14:47:40 +0100 | [diff] [blame] | 242 | gpios = <&pioD 5 0 |
| 243 | &pioD 4 0 |
Jean-Christophe PLAGNIOL-VILLARD | 86a89f4 | 2012-02-21 21:38:18 +0800 | [diff] [blame] | 244 | 0 |
| 245 | >; |
| 246 | status = "disabled"; |
| 247 | }; |
Jean-Christophe PLAGNIOL-VILLARD | 6a06245 | 2011-11-21 06:55:18 +0800 | [diff] [blame] | 248 | |
| 249 | usb0: ohci@00600000 { |
| 250 | compatible = "atmel,at91rm9200-ohci", "usb-ohci"; |
| 251 | reg = <0x00600000 0x100000>; |
Ludovic Desroches | f8a073e | 2012-06-20 16:13:30 +0200 | [diff] [blame] | 252 | interrupts = <22 4 2>; |
Jean-Christophe PLAGNIOL-VILLARD | 6a06245 | 2011-11-21 06:55:18 +0800 | [diff] [blame] | 253 | status = "disabled"; |
| 254 | }; |
Jean-Christophe PLAGNIOL-VILLARD | 62c5553 | 2011-11-22 12:11:13 +0800 | [diff] [blame] | 255 | |
| 256 | usb1: ehci@00700000 { |
| 257 | compatible = "atmel,at91sam9g45-ehci", "usb-ehci"; |
| 258 | reg = <0x00700000 0x100000>; |
Ludovic Desroches | f8a073e | 2012-06-20 16:13:30 +0200 | [diff] [blame] | 259 | interrupts = <22 4 2>; |
Jean-Christophe PLAGNIOL-VILLARD | 62c5553 | 2011-11-22 12:11:13 +0800 | [diff] [blame] | 260 | status = "disabled"; |
| 261 | }; |
Nicolas Ferre | 467f1cf | 2012-01-26 11:59:20 +0100 | [diff] [blame] | 262 | }; |
Jean-Christophe PLAGNIOL-VILLARD | 10f71c2 | 2012-02-23 22:50:32 +0800 | [diff] [blame] | 263 | |
| 264 | i2c@0 { |
| 265 | compatible = "i2c-gpio"; |
| 266 | gpios = <&pioA 30 0 /* sda */ |
| 267 | &pioA 31 0 /* scl */ |
| 268 | >; |
| 269 | i2c-gpio,sda-open-drain; |
| 270 | i2c-gpio,scl-open-drain; |
| 271 | i2c-gpio,delay-us = <2>; /* ~100 kHz */ |
| 272 | #address-cells = <1>; |
| 273 | #size-cells = <0>; |
| 274 | status = "disabled"; |
| 275 | }; |
| 276 | |
| 277 | i2c@1 { |
| 278 | compatible = "i2c-gpio"; |
| 279 | gpios = <&pioC 0 0 /* sda */ |
| 280 | &pioC 1 0 /* scl */ |
| 281 | >; |
| 282 | i2c-gpio,sda-open-drain; |
| 283 | i2c-gpio,scl-open-drain; |
| 284 | i2c-gpio,delay-us = <2>; /* ~100 kHz */ |
| 285 | #address-cells = <1>; |
| 286 | #size-cells = <0>; |
| 287 | status = "disabled"; |
| 288 | }; |
| 289 | |
| 290 | i2c@2 { |
| 291 | compatible = "i2c-gpio"; |
| 292 | gpios = <&pioB 4 0 /* sda */ |
| 293 | &pioB 5 0 /* scl */ |
| 294 | >; |
| 295 | i2c-gpio,sda-open-drain; |
| 296 | i2c-gpio,scl-open-drain; |
| 297 | i2c-gpio,delay-us = <2>; /* ~100 kHz */ |
| 298 | #address-cells = <1>; |
| 299 | #size-cells = <0>; |
| 300 | status = "disabled"; |
| 301 | }; |
Nicolas Ferre | 467f1cf | 2012-01-26 11:59:20 +0100 | [diff] [blame] | 302 | }; |