Nicolas Ferre | 49fe2ba | 2011-10-10 18:29:24 +0200 | [diff] [blame] | 1 | /* |
| 2 | * at91sam9g45.dtsi - Device Tree Include file for AT91SAM9G45 family SoC |
| 3 | * applies to AT91SAM9G45, AT91SAM9M10, |
| 4 | * AT91SAM9G46, AT91SAM9M11 SoC |
| 5 | * |
| 6 | * Copyright (C) 2011 Atmel, |
| 7 | * 2011 Nicolas Ferre <nicolas.ferre@atmel.com> |
| 8 | * |
| 9 | * Licensed under GPLv2 or later. |
| 10 | */ |
| 11 | |
| 12 | /include/ "skeleton.dtsi" |
| 13 | |
| 14 | / { |
| 15 | model = "Atmel AT91SAM9G45 family SoC"; |
| 16 | compatible = "atmel,at91sam9g45"; |
| 17 | interrupt-parent = <&aic>; |
| 18 | |
| 19 | aliases { |
| 20 | serial0 = &dbgu; |
| 21 | serial1 = &usart0; |
| 22 | serial2 = &usart1; |
| 23 | serial3 = &usart2; |
| 24 | serial4 = &usart3; |
Nicolas Ferre | 21f8187 | 2012-02-11 15:41:40 +0100 | [diff] [blame] | 25 | gpio0 = &pioA; |
| 26 | gpio1 = &pioB; |
| 27 | gpio2 = &pioC; |
| 28 | gpio3 = &pioD; |
| 29 | gpio4 = &pioE; |
Nicolas Ferre | 3a61a5d | 2012-01-19 10:13:40 +0100 | [diff] [blame] | 30 | tcb0 = &tcb0; |
| 31 | tcb1 = &tcb1; |
Ludovic Desroches | 05dcd36 | 2012-09-12 08:42:16 +0200 | [diff] [blame] | 32 | i2c0 = &i2c0; |
| 33 | i2c1 = &i2c1; |
Bo Shen | 099343c | 2012-11-07 11:41:41 +0800 | [diff] [blame] | 34 | ssc0 = &ssc0; |
| 35 | ssc1 = &ssc1; |
Nicolas Ferre | 49fe2ba | 2011-10-10 18:29:24 +0200 | [diff] [blame] | 36 | }; |
| 37 | cpus { |
| 38 | cpu@0 { |
| 39 | compatible = "arm,arm926ejs"; |
| 40 | }; |
| 41 | }; |
| 42 | |
Ludovic Desroches | dcce6ce | 2012-04-02 20:44:20 +0200 | [diff] [blame] | 43 | memory { |
Nicolas Ferre | 49fe2ba | 2011-10-10 18:29:24 +0200 | [diff] [blame] | 44 | reg = <0x70000000 0x10000000>; |
| 45 | }; |
| 46 | |
| 47 | ahb { |
| 48 | compatible = "simple-bus"; |
| 49 | #address-cells = <1>; |
| 50 | #size-cells = <1>; |
| 51 | ranges; |
| 52 | |
| 53 | apb { |
| 54 | compatible = "simple-bus"; |
| 55 | #address-cells = <1>; |
| 56 | #size-cells = <1>; |
| 57 | ranges; |
| 58 | |
| 59 | aic: interrupt-controller@fffff000 { |
Ludovic Desroches | f8a073e | 2012-06-20 16:13:30 +0200 | [diff] [blame] | 60 | #interrupt-cells = <3>; |
Nicolas Ferre | 49fe2ba | 2011-10-10 18:29:24 +0200 | [diff] [blame] | 61 | compatible = "atmel,at91rm9200-aic"; |
| 62 | interrupt-controller; |
Nicolas Ferre | 49fe2ba | 2011-10-10 18:29:24 +0200 | [diff] [blame] | 63 | reg = <0xfffff000 0x200>; |
Jean-Christophe PLAGNIOL-VILLARD | c657394 | 2012-04-09 19:36:36 +0800 | [diff] [blame] | 64 | atmel,external-irqs = <31>; |
Nicolas Ferre | 49fe2ba | 2011-10-10 18:29:24 +0200 | [diff] [blame] | 65 | }; |
| 66 | |
Jean-Christophe PLAGNIOL-VILLARD | a7776ec | 2012-03-02 20:54:37 +0800 | [diff] [blame] | 67 | ramc0: ramc@ffffe400 { |
| 68 | compatible = "atmel,at91sam9g45-ddramc"; |
| 69 | reg = <0xffffe400 0x200 |
| 70 | 0xffffe600 0x200>; |
| 71 | }; |
| 72 | |
Jean-Christophe PLAGNIOL-VILLARD | eb5e76f | 2012-03-02 20:44:23 +0800 | [diff] [blame] | 73 | pmc: pmc@fffffc00 { |
| 74 | compatible = "atmel,at91rm9200-pmc"; |
| 75 | reg = <0xfffffc00 0x100>; |
| 76 | }; |
| 77 | |
Jean-Christophe PLAGNIOL-VILLARD | c8082d3 | 2012-03-03 03:16:27 +0800 | [diff] [blame] | 78 | rstc@fffffd00 { |
| 79 | compatible = "atmel,at91sam9g45-rstc"; |
| 80 | reg = <0xfffffd00 0x10>; |
| 81 | }; |
| 82 | |
Jean-Christophe PLAGNIOL-VILLARD | 23fa648 | 2012-02-27 11:19:34 +0100 | [diff] [blame] | 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 | 23fa648 | 2012-02-27 11:19:34 +0100 | [diff] [blame] | 87 | }; |
| 88 | |
Nicolas Ferre | 3a61a5d | 2012-01-19 10:13:40 +0100 | [diff] [blame] | 89 | |
Jean-Christophe PLAGNIOL-VILLARD | 82015c4 | 2012-03-02 21:01:00 +0800 | [diff] [blame] | 90 | shdwc@fffffd10 { |
| 91 | compatible = "atmel,at91sam9rl-shdwc"; |
| 92 | reg = <0xfffffd10 0x10>; |
| 93 | }; |
| 94 | |
Nicolas Ferre | 3a61a5d | 2012-01-19 10:13:40 +0100 | [diff] [blame] | 95 | tcb0: timer@fff7c000 { |
| 96 | compatible = "atmel,at91rm9200-tcb"; |
| 97 | reg = <0xfff7c000 0x100>; |
Ludovic Desroches | f8a073e | 2012-06-20 16:13:30 +0200 | [diff] [blame] | 98 | interrupts = <18 4 0>; |
Nicolas Ferre | 3a61a5d | 2012-01-19 10:13:40 +0100 | [diff] [blame] | 99 | }; |
| 100 | |
| 101 | tcb1: timer@fffd4000 { |
| 102 | compatible = "atmel,at91rm9200-tcb"; |
| 103 | reg = <0xfffd4000 0x100>; |
Ludovic Desroches | f8a073e | 2012-06-20 16:13:30 +0200 | [diff] [blame] | 104 | interrupts = <18 4 0>; |
Nicolas Ferre | 3a61a5d | 2012-01-19 10:13:40 +0100 | [diff] [blame] | 105 | }; |
| 106 | |
Nicolas Ferre | 49fe2ba | 2011-10-10 18:29:24 +0200 | [diff] [blame] | 107 | dma: dma-controller@ffffec00 { |
| 108 | compatible = "atmel,at91sam9g45-dma"; |
| 109 | reg = <0xffffec00 0x200>; |
Ludovic Desroches | f8a073e | 2012-06-20 16:13:30 +0200 | [diff] [blame] | 110 | interrupts = <21 4 0>; |
Nicolas Ferre | 49fe2ba | 2011-10-10 18:29:24 +0200 | [diff] [blame] | 111 | }; |
| 112 | |
Nicolas Ferre | 21f8187 | 2012-02-11 15:41:40 +0100 | [diff] [blame] | 113 | pioA: gpio@fffff200 { |
| 114 | compatible = "atmel,at91rm9200-gpio"; |
| 115 | reg = <0xfffff200 0x100>; |
Ludovic Desroches | f8a073e | 2012-06-20 16:13:30 +0200 | [diff] [blame] | 116 | interrupts = <2 4 1>; |
Nicolas Ferre | 21f8187 | 2012-02-11 15:41:40 +0100 | [diff] [blame] | 117 | #gpio-cells = <2>; |
| 118 | gpio-controller; |
| 119 | interrupt-controller; |
Jean-Christophe PLAGNIOL-VILLARD | 51ac51a | 2012-09-13 12:40:26 +0200 | [diff] [blame] | 120 | #interrupt-cells = <2>; |
Nicolas Ferre | 21f8187 | 2012-02-11 15:41:40 +0100 | [diff] [blame] | 121 | }; |
| 122 | |
| 123 | pioB: gpio@fffff400 { |
| 124 | compatible = "atmel,at91rm9200-gpio"; |
| 125 | reg = <0xfffff400 0x100>; |
Ludovic Desroches | f8a073e | 2012-06-20 16:13:30 +0200 | [diff] [blame] | 126 | interrupts = <3 4 1>; |
Nicolas Ferre | 21f8187 | 2012-02-11 15:41:40 +0100 | [diff] [blame] | 127 | #gpio-cells = <2>; |
| 128 | gpio-controller; |
| 129 | interrupt-controller; |
Jean-Christophe PLAGNIOL-VILLARD | 51ac51a | 2012-09-13 12:40:26 +0200 | [diff] [blame] | 130 | #interrupt-cells = <2>; |
Nicolas Ferre | 21f8187 | 2012-02-11 15:41:40 +0100 | [diff] [blame] | 131 | }; |
| 132 | |
| 133 | pioC: gpio@fffff600 { |
| 134 | compatible = "atmel,at91rm9200-gpio"; |
| 135 | reg = <0xfffff600 0x100>; |
Ludovic Desroches | f8a073e | 2012-06-20 16:13:30 +0200 | [diff] [blame] | 136 | interrupts = <4 4 1>; |
Nicolas Ferre | 21f8187 | 2012-02-11 15:41:40 +0100 | [diff] [blame] | 137 | #gpio-cells = <2>; |
| 138 | gpio-controller; |
| 139 | interrupt-controller; |
Jean-Christophe PLAGNIOL-VILLARD | 51ac51a | 2012-09-13 12:40:26 +0200 | [diff] [blame] | 140 | #interrupt-cells = <2>; |
Nicolas Ferre | 21f8187 | 2012-02-11 15:41:40 +0100 | [diff] [blame] | 141 | }; |
| 142 | |
| 143 | pioD: gpio@fffff800 { |
| 144 | compatible = "atmel,at91rm9200-gpio"; |
| 145 | reg = <0xfffff800 0x100>; |
Ludovic Desroches | f8a073e | 2012-06-20 16:13:30 +0200 | [diff] [blame] | 146 | interrupts = <5 4 1>; |
Nicolas Ferre | 21f8187 | 2012-02-11 15:41:40 +0100 | [diff] [blame] | 147 | #gpio-cells = <2>; |
| 148 | gpio-controller; |
| 149 | interrupt-controller; |
Jean-Christophe PLAGNIOL-VILLARD | 51ac51a | 2012-09-13 12:40:26 +0200 | [diff] [blame] | 150 | #interrupt-cells = <2>; |
Nicolas Ferre | 21f8187 | 2012-02-11 15:41:40 +0100 | [diff] [blame] | 151 | }; |
| 152 | |
| 153 | pioE: gpio@fffffa00 { |
| 154 | compatible = "atmel,at91rm9200-gpio"; |
| 155 | reg = <0xfffffa00 0x100>; |
Ludovic Desroches | f8a073e | 2012-06-20 16:13:30 +0200 | [diff] [blame] | 156 | interrupts = <5 4 1>; |
Nicolas Ferre | 21f8187 | 2012-02-11 15:41:40 +0100 | [diff] [blame] | 157 | #gpio-cells = <2>; |
| 158 | gpio-controller; |
| 159 | interrupt-controller; |
Jean-Christophe PLAGNIOL-VILLARD | 51ac51a | 2012-09-13 12:40:26 +0200 | [diff] [blame] | 160 | #interrupt-cells = <2>; |
Nicolas Ferre | 21f8187 | 2012-02-11 15:41:40 +0100 | [diff] [blame] | 161 | }; |
| 162 | |
Nicolas Ferre | 49fe2ba | 2011-10-10 18:29:24 +0200 | [diff] [blame] | 163 | dbgu: serial@ffffee00 { |
| 164 | compatible = "atmel,at91sam9260-usart"; |
| 165 | reg = <0xffffee00 0x200>; |
Ludovic Desroches | f8a073e | 2012-06-20 16:13:30 +0200 | [diff] [blame] | 166 | interrupts = <1 4 7>; |
Nicolas Ferre | 49fe2ba | 2011-10-10 18:29:24 +0200 | [diff] [blame] | 167 | status = "disabled"; |
| 168 | }; |
| 169 | |
| 170 | usart0: serial@fff8c000 { |
| 171 | compatible = "atmel,at91sam9260-usart"; |
| 172 | reg = <0xfff8c000 0x200>; |
Ludovic Desroches | f8a073e | 2012-06-20 16:13:30 +0200 | [diff] [blame] | 173 | interrupts = <7 4 5>; |
Nicolas Ferre | 49fe2ba | 2011-10-10 18:29:24 +0200 | [diff] [blame] | 174 | atmel,use-dma-rx; |
| 175 | atmel,use-dma-tx; |
| 176 | status = "disabled"; |
| 177 | }; |
| 178 | |
| 179 | usart1: serial@fff90000 { |
| 180 | compatible = "atmel,at91sam9260-usart"; |
| 181 | reg = <0xfff90000 0x200>; |
Ludovic Desroches | f8a073e | 2012-06-20 16:13:30 +0200 | [diff] [blame] | 182 | interrupts = <8 4 5>; |
Nicolas Ferre | 49fe2ba | 2011-10-10 18:29:24 +0200 | [diff] [blame] | 183 | atmel,use-dma-rx; |
| 184 | atmel,use-dma-tx; |
| 185 | status = "disabled"; |
| 186 | }; |
| 187 | |
| 188 | usart2: serial@fff94000 { |
| 189 | compatible = "atmel,at91sam9260-usart"; |
| 190 | reg = <0xfff94000 0x200>; |
Ludovic Desroches | f8a073e | 2012-06-20 16:13:30 +0200 | [diff] [blame] | 191 | interrupts = <9 4 5>; |
Nicolas Ferre | 49fe2ba | 2011-10-10 18:29:24 +0200 | [diff] [blame] | 192 | atmel,use-dma-rx; |
| 193 | atmel,use-dma-tx; |
| 194 | status = "disabled"; |
| 195 | }; |
| 196 | |
| 197 | usart3: serial@fff98000 { |
| 198 | compatible = "atmel,at91sam9260-usart"; |
| 199 | reg = <0xfff98000 0x200>; |
Ludovic Desroches | f8a073e | 2012-06-20 16:13:30 +0200 | [diff] [blame] | 200 | interrupts = <10 4 5>; |
Nicolas Ferre | 49fe2ba | 2011-10-10 18:29:24 +0200 | [diff] [blame] | 201 | atmel,use-dma-rx; |
| 202 | atmel,use-dma-tx; |
| 203 | status = "disabled"; |
| 204 | }; |
Nicolas Ferre | 0d4f99d | 2011-12-05 18:03:05 +0100 | [diff] [blame] | 205 | |
| 206 | macb0: ethernet@fffbc000 { |
| 207 | compatible = "cdns,at32ap7000-macb", "cdns,macb"; |
| 208 | reg = <0xfffbc000 0x100>; |
Ludovic Desroches | f8a073e | 2012-06-20 16:13:30 +0200 | [diff] [blame] | 209 | interrupts = <25 4 3>; |
Nicolas Ferre | 0d4f99d | 2011-12-05 18:03:05 +0100 | [diff] [blame] | 210 | status = "disabled"; |
| 211 | }; |
Maxime Ripard | 93b298b | 2012-05-11 15:35:38 +0200 | [diff] [blame] | 212 | |
Ludovic Desroches | 05dcd36 | 2012-09-12 08:42:16 +0200 | [diff] [blame] | 213 | i2c0: i2c@fff84000 { |
| 214 | compatible = "atmel,at91sam9g10-i2c"; |
| 215 | reg = <0xfff84000 0x100>; |
| 216 | interrupts = <12 4 6>; |
| 217 | #address-cells = <1>; |
| 218 | #size-cells = <0>; |
| 219 | status = "disabled"; |
| 220 | }; |
| 221 | |
| 222 | i2c1: i2c@fff88000 { |
| 223 | compatible = "atmel,at91sam9g10-i2c"; |
| 224 | reg = <0xfff88000 0x100>; |
| 225 | interrupts = <13 4 6>; |
| 226 | #address-cells = <1>; |
| 227 | #size-cells = <0>; |
| 228 | status = "disabled"; |
| 229 | }; |
| 230 | |
Bo Shen | 099343c | 2012-11-07 11:41:41 +0800 | [diff] [blame] | 231 | ssc0: ssc@fff9c000 { |
| 232 | compatible = "atmel,at91sam9g45-ssc"; |
| 233 | reg = <0xfff9c000 0x4000>; |
| 234 | interrupts = <16 4 5>; |
Bo Shen | 315656b | 2012-12-13 10:05:07 +0800 | [diff] [blame^] | 235 | status = "disabled"; |
Bo Shen | 099343c | 2012-11-07 11:41:41 +0800 | [diff] [blame] | 236 | }; |
| 237 | |
| 238 | ssc1: ssc@fffa0000 { |
| 239 | compatible = "atmel,at91sam9g45-ssc"; |
| 240 | reg = <0xfffa0000 0x4000>; |
| 241 | interrupts = <17 4 5>; |
Bo Shen | 315656b | 2012-12-13 10:05:07 +0800 | [diff] [blame^] | 242 | status = "disabled"; |
Bo Shen | 099343c | 2012-11-07 11:41:41 +0800 | [diff] [blame] | 243 | }; |
| 244 | |
Maxime Ripard | 93b298b | 2012-05-11 15:35:38 +0200 | [diff] [blame] | 245 | adc0: adc@fffb0000 { |
| 246 | compatible = "atmel,at91sam9260-adc"; |
| 247 | reg = <0xfffb0000 0x100>; |
Ludovic Desroches | f8a073e | 2012-06-20 16:13:30 +0200 | [diff] [blame] | 248 | interrupts = <20 4 0>; |
Maxime Ripard | 93b298b | 2012-05-11 15:35:38 +0200 | [diff] [blame] | 249 | atmel,adc-use-external-triggers; |
| 250 | atmel,adc-channels-used = <0xff>; |
| 251 | atmel,adc-vref = <3300>; |
| 252 | atmel,adc-num-channels = <8>; |
| 253 | atmel,adc-startup-time = <40>; |
| 254 | atmel,adc-channel-base = <0x30>; |
| 255 | atmel,adc-drdy-mask = <0x10000>; |
| 256 | atmel,adc-status-register = <0x1c>; |
| 257 | atmel,adc-trigger-register = <0x08>; |
| 258 | |
| 259 | trigger@0 { |
| 260 | trigger-name = "external-rising"; |
| 261 | trigger-value = <0x1>; |
| 262 | trigger-external; |
| 263 | }; |
| 264 | trigger@1 { |
| 265 | trigger-name = "external-falling"; |
| 266 | trigger-value = <0x2>; |
| 267 | trigger-external; |
| 268 | }; |
| 269 | |
| 270 | trigger@2 { |
| 271 | trigger-name = "external-any"; |
| 272 | trigger-value = <0x3>; |
| 273 | trigger-external; |
| 274 | }; |
| 275 | |
| 276 | trigger@3 { |
| 277 | trigger-name = "continuous"; |
| 278 | trigger-value = <0x6>; |
| 279 | }; |
| 280 | }; |
Nicolas Ferre | 49fe2ba | 2011-10-10 18:29:24 +0200 | [diff] [blame] | 281 | }; |
Jean-Christophe PLAGNIOL-VILLARD | d6a0166 | 2012-01-26 02:11:06 +0800 | [diff] [blame] | 282 | |
| 283 | nand0: nand@40000000 { |
| 284 | compatible = "atmel,at91rm9200-nand"; |
| 285 | #address-cells = <1>; |
| 286 | #size-cells = <1>; |
| 287 | reg = <0x40000000 0x10000000 |
| 288 | 0xffffe200 0x200 |
| 289 | >; |
| 290 | atmel,nand-addr-offset = <21>; |
| 291 | atmel,nand-cmd-offset = <22>; |
| 292 | gpios = <&pioC 8 0 |
| 293 | &pioC 14 0 |
| 294 | 0 |
| 295 | >; |
| 296 | status = "disabled"; |
| 297 | }; |
Jean-Christophe PLAGNIOL-VILLARD | 6a06245 | 2011-11-21 06:55:18 +0800 | [diff] [blame] | 298 | |
| 299 | usb0: ohci@00700000 { |
| 300 | compatible = "atmel,at91rm9200-ohci", "usb-ohci"; |
| 301 | reg = <0x00700000 0x100000>; |
Ludovic Desroches | f8a073e | 2012-06-20 16:13:30 +0200 | [diff] [blame] | 302 | interrupts = <22 4 2>; |
Jean-Christophe PLAGNIOL-VILLARD | 6a06245 | 2011-11-21 06:55:18 +0800 | [diff] [blame] | 303 | status = "disabled"; |
| 304 | }; |
Jean-Christophe PLAGNIOL-VILLARD | 62c5553 | 2011-11-22 12:11:13 +0800 | [diff] [blame] | 305 | |
| 306 | usb1: ehci@00800000 { |
| 307 | compatible = "atmel,at91sam9g45-ehci", "usb-ehci"; |
| 308 | reg = <0x00800000 0x100000>; |
Ludovic Desroches | f8a073e | 2012-06-20 16:13:30 +0200 | [diff] [blame] | 309 | interrupts = <22 4 2>; |
Jean-Christophe PLAGNIOL-VILLARD | 62c5553 | 2011-11-22 12:11:13 +0800 | [diff] [blame] | 310 | status = "disabled"; |
| 311 | }; |
Nicolas Ferre | 49fe2ba | 2011-10-10 18:29:24 +0200 | [diff] [blame] | 312 | }; |
Jean-Christophe PLAGNIOL-VILLARD | 8f24bda | 2012-02-05 18:32:37 +0800 | [diff] [blame] | 313 | |
| 314 | i2c@0 { |
| 315 | compatible = "i2c-gpio"; |
| 316 | gpios = <&pioA 20 0 /* sda */ |
| 317 | &pioA 21 0 /* scl */ |
| 318 | >; |
| 319 | i2c-gpio,sda-open-drain; |
| 320 | i2c-gpio,scl-open-drain; |
| 321 | i2c-gpio,delay-us = <5>; /* ~100 kHz */ |
| 322 | #address-cells = <1>; |
| 323 | #size-cells = <0>; |
| 324 | status = "disabled"; |
| 325 | }; |
Nicolas Ferre | 49fe2ba | 2011-10-10 18:29:24 +0200 | [diff] [blame] | 326 | }; |