Hong Xu | cce783c | 2012-04-17 14:26:29 +0800 | [diff] [blame] | 1 | /* |
| 2 | * at91sam9n12.dtsi - Device Tree include file for AT91SAM9N12 SoC |
| 3 | * |
| 4 | * Copyright (C) 2012 Atmel, |
| 5 | * 2012 Hong Xu <hong.xu@atmel.com> |
| 6 | * |
| 7 | * Licensed under GPLv2 or later. |
| 8 | */ |
| 9 | |
| 10 | /include/ "skeleton.dtsi" |
| 11 | |
| 12 | / { |
| 13 | model = "Atmel AT91SAM9N12 SoC"; |
| 14 | compatible = "atmel,at91sam9n12"; |
| 15 | interrupt-parent = <&aic>; |
| 16 | |
| 17 | aliases { |
| 18 | serial0 = &dbgu; |
| 19 | serial1 = &usart0; |
| 20 | serial2 = &usart1; |
| 21 | serial3 = &usart2; |
| 22 | serial4 = &usart3; |
| 23 | gpio0 = &pioA; |
| 24 | gpio1 = &pioB; |
| 25 | gpio2 = &pioC; |
| 26 | gpio3 = &pioD; |
| 27 | tcb0 = &tcb0; |
| 28 | tcb1 = &tcb1; |
Ludovic Desroches | 05dcd36 | 2012-09-12 08:42:16 +0200 | [diff] [blame] | 29 | i2c0 = &i2c0; |
| 30 | i2c1 = &i2c1; |
Bo Shen | 544ae6b | 2013-01-11 15:08:30 +0100 | [diff] [blame] | 31 | ssc0 = &ssc0; |
Hong Xu | cce783c | 2012-04-17 14:26:29 +0800 | [diff] [blame] | 32 | }; |
| 33 | cpus { |
Lorenzo Pieralisi | e757a6e | 2013-04-18 18:31:35 +0100 | [diff] [blame^] | 34 | #address-cells = <0>; |
| 35 | #size-cells = <0>; |
| 36 | |
| 37 | cpu { |
| 38 | compatible = "arm,arm926ej-s"; |
| 39 | device_type = "cpu"; |
Hong Xu | cce783c | 2012-04-17 14:26:29 +0800 | [diff] [blame] | 40 | }; |
| 41 | }; |
| 42 | |
| 43 | memory { |
| 44 | reg = <0x20000000 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>; |
Hong Xu | cce783c | 2012-04-17 14:26:29 +0800 | [diff] [blame] | 61 | compatible = "atmel,at91rm9200-aic"; |
| 62 | interrupt-controller; |
| 63 | reg = <0xfffff000 0x200>; |
| 64 | }; |
| 65 | |
| 66 | ramc0: ramc@ffffe800 { |
| 67 | compatible = "atmel,at91sam9g45-ddramc"; |
| 68 | reg = <0xffffe800 0x200>; |
| 69 | }; |
| 70 | |
| 71 | pmc: pmc@fffffc00 { |
| 72 | compatible = "atmel,at91rm9200-pmc"; |
| 73 | reg = <0xfffffc00 0x100>; |
| 74 | }; |
| 75 | |
| 76 | rstc@fffffe00 { |
| 77 | compatible = "atmel,at91sam9g45-rstc"; |
| 78 | reg = <0xfffffe00 0x10>; |
| 79 | }; |
| 80 | |
| 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>; |
Hong Xu | cce783c | 2012-04-17 14:26:29 +0800 | [diff] [blame] | 85 | }; |
| 86 | |
| 87 | shdwc@fffffe10 { |
| 88 | compatible = "atmel,at91sam9x5-shdwc"; |
| 89 | reg = <0xfffffe10 0x10>; |
| 90 | }; |
| 91 | |
Ludovic Desroches | 9873137 | 2012-11-19 12:23:36 +0100 | [diff] [blame] | 92 | mmc0: mmc@f0008000 { |
| 93 | compatible = "atmel,hsmci"; |
| 94 | reg = <0xf0008000 0x600>; |
| 95 | interrupts = <12 4 0>; |
Ludovic Desroches | 05c1bc9 | 2013-04-16 15:03:10 +0200 | [diff] [blame] | 96 | dmas = <&dma 1 0>; |
| 97 | dma-names = "rxtx"; |
Ludovic Desroches | 9873137 | 2012-11-19 12:23:36 +0100 | [diff] [blame] | 98 | #address-cells = <1>; |
| 99 | #size-cells = <0>; |
| 100 | status = "disabled"; |
| 101 | }; |
| 102 | |
Hong Xu | cce783c | 2012-04-17 14:26:29 +0800 | [diff] [blame] | 103 | tcb0: timer@f8008000 { |
| 104 | compatible = "atmel,at91sam9x5-tcb"; |
| 105 | reg = <0xf8008000 0x100>; |
Ludovic Desroches | f8a073e | 2012-06-20 16:13:30 +0200 | [diff] [blame] | 106 | interrupts = <17 4 0>; |
Hong Xu | cce783c | 2012-04-17 14:26:29 +0800 | [diff] [blame] | 107 | }; |
| 108 | |
| 109 | tcb1: timer@f800c000 { |
| 110 | compatible = "atmel,at91sam9x5-tcb"; |
| 111 | reg = <0xf800c000 0x100>; |
Ludovic Desroches | f8a073e | 2012-06-20 16:13:30 +0200 | [diff] [blame] | 112 | interrupts = <17 4 0>; |
Hong Xu | cce783c | 2012-04-17 14:26:29 +0800 | [diff] [blame] | 113 | }; |
| 114 | |
| 115 | dma: dma-controller@ffffec00 { |
| 116 | compatible = "atmel,at91sam9g45-dma"; |
| 117 | reg = <0xffffec00 0x200>; |
Ludovic Desroches | f8a073e | 2012-06-20 16:13:30 +0200 | [diff] [blame] | 118 | interrupts = <20 4 0>; |
Ludovic Desroches | 980ce7d | 2013-04-16 15:03:06 +0200 | [diff] [blame] | 119 | #dma-cells = <2>; |
Hong Xu | cce783c | 2012-04-17 14:26:29 +0800 | [diff] [blame] | 120 | }; |
| 121 | |
Jean-Christophe PLAGNIOL-VILLARD | e4541ff | 2012-07-04 17:20:46 +0800 | [diff] [blame] | 122 | pinctrl@fffff400 { |
| 123 | #address-cells = <1>; |
| 124 | #size-cells = <1>; |
Jean-Christophe PLAGNIOL-VILLARD | 5314ec8 | 2012-07-05 16:56:09 +0800 | [diff] [blame] | 125 | compatible = "atmel,at91sam9x5-pinctrl", "atmel,at91rm9200-pinctrl", "simple-bus"; |
Jean-Christophe PLAGNIOL-VILLARD | e4541ff | 2012-07-04 17:20:46 +0800 | [diff] [blame] | 126 | ranges = <0xfffff400 0xfffff400 0x800>; |
Hong Xu | cce783c | 2012-04-17 14:26:29 +0800 | [diff] [blame] | 127 | |
Jean-Christophe PLAGNIOL-VILLARD | 5314ec8 | 2012-07-05 16:56:09 +0800 | [diff] [blame] | 128 | atmel,mux-mask = < |
| 129 | /* A B C */ |
| 130 | 0xffffffff 0xffe07983 0x00000000 /* pioA */ |
| 131 | 0x00040000 0x00047e0f 0x00000000 /* pioB */ |
| 132 | 0xfdffffff 0x07c00000 0xb83fffff /* pioC */ |
| 133 | 0x003fffff 0x003f8000 0x00000000 /* pioD */ |
| 134 | >; |
| 135 | |
| 136 | /* shared pinctrl settings */ |
Jean-Christophe PLAGNIOL-VILLARD | ec6754a | 2012-07-05 16:56:09 +0800 | [diff] [blame] | 137 | dbgu { |
| 138 | pinctrl_dbgu: dbgu-0 { |
| 139 | atmel,pins = |
| 140 | <0 9 0x1 0x0 /* PA9 periph A */ |
| 141 | 0 10 0x1 0x1>; /* PA10 periph with pullup */ |
| 142 | }; |
| 143 | }; |
| 144 | |
Jean-Christophe PLAGNIOL-VILLARD | 9e3129e | 2012-11-19 06:40:01 +0800 | [diff] [blame] | 145 | usart0 { |
| 146 | pinctrl_usart0: usart0-0 { |
Jean-Christophe PLAGNIOL-VILLARD | ec6754a | 2012-07-05 16:56:09 +0800 | [diff] [blame] | 147 | atmel,pins = |
| 148 | <0 1 0x1 0x1 /* PA1 periph A with pullup */ |
| 149 | 0 0 0x1 0x0>; /* PA0 periph A */ |
| 150 | }; |
| 151 | |
Jean-Christophe PLAGNIOL-VILLARD | c58c0c5 | 2012-11-19 07:30:01 +0800 | [diff] [blame] | 152 | pinctrl_usart0_rts: usart0_rts-0 { |
Jean-Christophe PLAGNIOL-VILLARD | ec6754a | 2012-07-05 16:56:09 +0800 | [diff] [blame] | 153 | atmel,pins = |
Jean-Christophe PLAGNIOL-VILLARD | c58c0c5 | 2012-11-19 07:30:01 +0800 | [diff] [blame] | 154 | <0 2 0x1 0x0>; /* PA2 periph A */ |
| 155 | }; |
| 156 | |
| 157 | pinctrl_usart0_cts: usart0_cts-0 { |
| 158 | atmel,pins = |
| 159 | <0 3 0x1 0x0>; /* PA3 periph A */ |
Jean-Christophe PLAGNIOL-VILLARD | ec6754a | 2012-07-05 16:56:09 +0800 | [diff] [blame] | 160 | }; |
| 161 | }; |
| 162 | |
Jean-Christophe PLAGNIOL-VILLARD | 9e3129e | 2012-11-19 06:40:01 +0800 | [diff] [blame] | 163 | usart1 { |
| 164 | pinctrl_usart1: usart1-0 { |
Jean-Christophe PLAGNIOL-VILLARD | ec6754a | 2012-07-05 16:56:09 +0800 | [diff] [blame] | 165 | atmel,pins = |
| 166 | <0 6 0x1 0x1 /* PA6 periph A with pullup */ |
| 167 | 0 5 0x1 0x0>; /* PA5 periph A */ |
| 168 | }; |
| 169 | }; |
| 170 | |
Jean-Christophe PLAGNIOL-VILLARD | 9e3129e | 2012-11-19 06:40:01 +0800 | [diff] [blame] | 171 | usart2 { |
| 172 | pinctrl_usart2: usart2-0 { |
Jean-Christophe PLAGNIOL-VILLARD | ec6754a | 2012-07-05 16:56:09 +0800 | [diff] [blame] | 173 | atmel,pins = |
| 174 | <0 8 0x1 0x1 /* PA8 periph A with pullup */ |
| 175 | 0 7 0x1 0x0>; /* PA7 periph A */ |
| 176 | }; |
| 177 | |
Jean-Christophe PLAGNIOL-VILLARD | c58c0c5 | 2012-11-19 07:30:01 +0800 | [diff] [blame] | 178 | pinctrl_usart2_rts: usart2_rts-0 { |
Jean-Christophe PLAGNIOL-VILLARD | ec6754a | 2012-07-05 16:56:09 +0800 | [diff] [blame] | 179 | atmel,pins = |
Jean-Christophe PLAGNIOL-VILLARD | c58c0c5 | 2012-11-19 07:30:01 +0800 | [diff] [blame] | 180 | <1 0 0x2 0x0>; /* PB0 periph B */ |
| 181 | }; |
| 182 | |
| 183 | pinctrl_usart2_cts: usart2_cts-0 { |
| 184 | atmel,pins = |
| 185 | <1 1 0x2 0x0>; /* PB1 periph B */ |
Jean-Christophe PLAGNIOL-VILLARD | ec6754a | 2012-07-05 16:56:09 +0800 | [diff] [blame] | 186 | }; |
| 187 | }; |
| 188 | |
Jean-Christophe PLAGNIOL-VILLARD | 9e3129e | 2012-11-19 06:40:01 +0800 | [diff] [blame] | 189 | usart3 { |
| 190 | pinctrl_usart3: usart3-0 { |
Jean-Christophe PLAGNIOL-VILLARD | ec6754a | 2012-07-05 16:56:09 +0800 | [diff] [blame] | 191 | atmel,pins = |
| 192 | <2 23 0x2 0x1 /* PC23 periph B with pullup */ |
| 193 | 2 22 0x2 0x0>; /* PC22 periph B */ |
| 194 | }; |
| 195 | |
Jean-Christophe PLAGNIOL-VILLARD | c58c0c5 | 2012-11-19 07:30:01 +0800 | [diff] [blame] | 196 | pinctrl_usart3_rts: usart3_rts-0 { |
Jean-Christophe PLAGNIOL-VILLARD | ec6754a | 2012-07-05 16:56:09 +0800 | [diff] [blame] | 197 | atmel,pins = |
Jean-Christophe PLAGNIOL-VILLARD | c58c0c5 | 2012-11-19 07:30:01 +0800 | [diff] [blame] | 198 | <2 24 0x2 0x0>; /* PC24 periph B */ |
| 199 | }; |
| 200 | |
| 201 | pinctrl_usart3_cts: usart3_cts-0 { |
| 202 | atmel,pins = |
| 203 | <2 25 0x2 0x0>; /* PC25 periph B */ |
Jean-Christophe PLAGNIOL-VILLARD | ec6754a | 2012-07-05 16:56:09 +0800 | [diff] [blame] | 204 | }; |
| 205 | }; |
| 206 | |
Jean-Christophe PLAGNIOL-VILLARD | 9e3129e | 2012-11-19 06:40:01 +0800 | [diff] [blame] | 207 | uart0 { |
| 208 | pinctrl_uart0: uart0-0 { |
Jean-Christophe PLAGNIOL-VILLARD | ec6754a | 2012-07-05 16:56:09 +0800 | [diff] [blame] | 209 | atmel,pins = |
| 210 | <2 9 0x3 0x1 /* PC9 periph C with pullup */ |
| 211 | 2 8 0x3 0x0>; /* PC8 periph C */ |
| 212 | }; |
| 213 | }; |
| 214 | |
Jean-Christophe PLAGNIOL-VILLARD | 9e3129e | 2012-11-19 06:40:01 +0800 | [diff] [blame] | 215 | uart1 { |
| 216 | pinctrl_uart1: uart1-0 { |
Jean-Christophe PLAGNIOL-VILLARD | ec6754a | 2012-07-05 16:56:09 +0800 | [diff] [blame] | 217 | atmel,pins = |
| 218 | <2 16 0x3 0x1 /* PC17 periph C with pullup */ |
| 219 | 2 17 0x3 0x0>; /* PC16 periph C */ |
| 220 | }; |
| 221 | }; |
Jean-Christophe PLAGNIOL-VILLARD | 5314ec8 | 2012-07-05 16:56:09 +0800 | [diff] [blame] | 222 | |
Jean-Christophe PLAGNIOL-VILLARD | 7a38d45 | 2012-07-12 23:36:52 +0800 | [diff] [blame] | 223 | nand { |
| 224 | pinctrl_nand: nand-0 { |
| 225 | atmel,pins = |
| 226 | <3 5 0x0 0x1 /* PD5 gpio RDY pin pull_up*/ |
| 227 | 3 4 0x0 0x1>; /* PD4 gpio enable pin pull_up */ |
| 228 | }; |
| 229 | }; |
| 230 | |
Jean-Christophe PLAGNIOL-VILLARD | d4fe9ac | 2012-11-16 08:24:17 +0800 | [diff] [blame] | 231 | mmc0 { |
| 232 | pinctrl_mmc0_slot0_clk_cmd_dat0: mmc0_slot0_clk_cmd_dat0-0 { |
| 233 | atmel,pins = |
| 234 | <0 17 0x1 0x0 /* PA17 periph A */ |
| 235 | 0 16 0x1 0x1 /* PA16 periph A with pullup */ |
| 236 | 0 15 0x1 0x1>; /* PA15 periph A with pullup */ |
| 237 | }; |
| 238 | |
| 239 | pinctrl_mmc0_slot0_dat1_3: mmc0_slot0_dat1_3-0 { |
| 240 | atmel,pins = |
| 241 | <0 18 0x1 0x1 /* PA18 periph A with pullup */ |
| 242 | 0 19 0x1 0x1 /* PA19 periph A with pullup */ |
| 243 | 0 20 0x1 0x1>; /* PA20 periph A with pullup */ |
| 244 | }; |
| 245 | |
| 246 | pinctrl_mmc0_slot0_dat4_7: mmc0_slot0_dat4_7-0 { |
| 247 | atmel,pins = |
| 248 | <0 11 0x2 0x1 /* PA11 periph B with pullup */ |
| 249 | 0 12 0x2 0x1 /* PA12 periph B with pullup */ |
| 250 | 0 13 0x2 0x1 /* PA13 periph B with pullup */ |
| 251 | 0 14 0x2 0x1>; /* PA14 periph B with pullup */ |
| 252 | }; |
| 253 | }; |
| 254 | |
Bo Shen | 544ae6b | 2013-01-11 15:08:30 +0100 | [diff] [blame] | 255 | ssc0 { |
| 256 | pinctrl_ssc0_tx: ssc0_tx-0 { |
| 257 | atmel,pins = |
| 258 | <0 24 0x2 0x0 /* PA24 periph B */ |
| 259 | 0 25 0x2 0x0 /* PA25 periph B */ |
| 260 | 0 26 0x2 0x0>; /* PA26 periph B */ |
| 261 | }; |
| 262 | |
| 263 | pinctrl_ssc0_rx: ssc0_rx-0 { |
| 264 | atmel,pins = |
| 265 | <0 27 0x2 0x0 /* PA27 periph B */ |
| 266 | 0 28 0x2 0x0 /* PA28 periph B */ |
| 267 | 0 29 0x2 0x0>; /* PA29 periph B */ |
| 268 | }; |
| 269 | }; |
| 270 | |
Wenyou Yang | a68b728 | 2013-04-03 14:03:52 +0800 | [diff] [blame] | 271 | spi0 { |
| 272 | pinctrl_spi0: spi0-0 { |
| 273 | atmel,pins = |
| 274 | <0 11 0x1 0x0 /* PA11 periph A SPI0_MISO pin */ |
| 275 | 0 12 0x1 0x0 /* PA12 periph A SPI0_MOSI pin */ |
| 276 | 0 13 0x1 0x0>; /* PA13 periph A SPI0_SPCK pin */ |
| 277 | }; |
| 278 | }; |
| 279 | |
| 280 | spi1 { |
| 281 | pinctrl_spi1: spi1-0 { |
| 282 | atmel,pins = |
| 283 | <0 21 0x2 0x0 /* PA21 periph B SPI1_MISO pin */ |
| 284 | 0 22 0x2 0x0 /* PA22 periph B SPI1_MOSI pin */ |
| 285 | 0 23 0x2 0x0>; /* PA23 periph B SPI1_SPCK pin */ |
| 286 | }; |
| 287 | }; |
| 288 | |
Jean-Christophe PLAGNIOL-VILLARD | e4541ff | 2012-07-04 17:20:46 +0800 | [diff] [blame] | 289 | pioA: gpio@fffff400 { |
| 290 | compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio"; |
| 291 | reg = <0xfffff400 0x200>; |
| 292 | interrupts = <2 4 1>; |
| 293 | #gpio-cells = <2>; |
| 294 | gpio-controller; |
| 295 | interrupt-controller; |
| 296 | #interrupt-cells = <2>; |
| 297 | }; |
Hong Xu | cce783c | 2012-04-17 14:26:29 +0800 | [diff] [blame] | 298 | |
Jean-Christophe PLAGNIOL-VILLARD | e4541ff | 2012-07-04 17:20:46 +0800 | [diff] [blame] | 299 | pioB: gpio@fffff600 { |
| 300 | compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio"; |
| 301 | reg = <0xfffff600 0x200>; |
| 302 | interrupts = <2 4 1>; |
| 303 | #gpio-cells = <2>; |
| 304 | gpio-controller; |
| 305 | interrupt-controller; |
| 306 | #interrupt-cells = <2>; |
| 307 | }; |
Hong Xu | cce783c | 2012-04-17 14:26:29 +0800 | [diff] [blame] | 308 | |
Jean-Christophe PLAGNIOL-VILLARD | e4541ff | 2012-07-04 17:20:46 +0800 | [diff] [blame] | 309 | pioC: gpio@fffff800 { |
| 310 | compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio"; |
| 311 | reg = <0xfffff800 0x200>; |
| 312 | interrupts = <3 4 1>; |
| 313 | #gpio-cells = <2>; |
| 314 | gpio-controller; |
| 315 | interrupt-controller; |
| 316 | #interrupt-cells = <2>; |
| 317 | }; |
| 318 | |
| 319 | pioD: gpio@fffffa00 { |
| 320 | compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio"; |
| 321 | reg = <0xfffffa00 0x200>; |
| 322 | interrupts = <3 4 1>; |
| 323 | #gpio-cells = <2>; |
| 324 | gpio-controller; |
| 325 | interrupt-controller; |
| 326 | #interrupt-cells = <2>; |
| 327 | }; |
Hong Xu | cce783c | 2012-04-17 14:26:29 +0800 | [diff] [blame] | 328 | }; |
| 329 | |
| 330 | dbgu: serial@fffff200 { |
| 331 | compatible = "atmel,at91sam9260-usart"; |
| 332 | reg = <0xfffff200 0x200>; |
Ludovic Desroches | f8a073e | 2012-06-20 16:13:30 +0200 | [diff] [blame] | 333 | interrupts = <1 4 7>; |
Jean-Christophe PLAGNIOL-VILLARD | ec6754a | 2012-07-05 16:56:09 +0800 | [diff] [blame] | 334 | pinctrl-names = "default"; |
| 335 | pinctrl-0 = <&pinctrl_dbgu>; |
Hong Xu | cce783c | 2012-04-17 14:26:29 +0800 | [diff] [blame] | 336 | status = "disabled"; |
| 337 | }; |
| 338 | |
Bo Shen | 544ae6b | 2013-01-11 15:08:30 +0100 | [diff] [blame] | 339 | ssc0: ssc@f0010000 { |
| 340 | compatible = "atmel,at91sam9g45-ssc"; |
| 341 | reg = <0xf0010000 0x4000>; |
| 342 | interrupts = <28 4 5>; |
| 343 | pinctrl-names = "default"; |
| 344 | pinctrl-0 = <&pinctrl_ssc0_tx &pinctrl_ssc0_rx>; |
| 345 | status = "disabled"; |
| 346 | }; |
| 347 | |
Hong Xu | cce783c | 2012-04-17 14:26:29 +0800 | [diff] [blame] | 348 | usart0: serial@f801c000 { |
| 349 | compatible = "atmel,at91sam9260-usart"; |
| 350 | reg = <0xf801c000 0x4000>; |
Ludovic Desroches | f8a073e | 2012-06-20 16:13:30 +0200 | [diff] [blame] | 351 | interrupts = <5 4 5>; |
Jean-Christophe PLAGNIOL-VILLARD | ec6754a | 2012-07-05 16:56:09 +0800 | [diff] [blame] | 352 | pinctrl-names = "default"; |
Jean-Christophe PLAGNIOL-VILLARD | 9e3129e | 2012-11-19 06:40:01 +0800 | [diff] [blame] | 353 | pinctrl-0 = <&pinctrl_usart0>; |
Hong Xu | cce783c | 2012-04-17 14:26:29 +0800 | [diff] [blame] | 354 | status = "disabled"; |
| 355 | }; |
| 356 | |
| 357 | usart1: serial@f8020000 { |
| 358 | compatible = "atmel,at91sam9260-usart"; |
| 359 | reg = <0xf8020000 0x4000>; |
Ludovic Desroches | f8a073e | 2012-06-20 16:13:30 +0200 | [diff] [blame] | 360 | interrupts = <6 4 5>; |
Jean-Christophe PLAGNIOL-VILLARD | ec6754a | 2012-07-05 16:56:09 +0800 | [diff] [blame] | 361 | pinctrl-names = "default"; |
Jean-Christophe PLAGNIOL-VILLARD | 9e3129e | 2012-11-19 06:40:01 +0800 | [diff] [blame] | 362 | pinctrl-0 = <&pinctrl_usart1>; |
Hong Xu | cce783c | 2012-04-17 14:26:29 +0800 | [diff] [blame] | 363 | status = "disabled"; |
| 364 | }; |
| 365 | |
| 366 | usart2: serial@f8024000 { |
| 367 | compatible = "atmel,at91sam9260-usart"; |
| 368 | reg = <0xf8024000 0x4000>; |
Ludovic Desroches | f8a073e | 2012-06-20 16:13:30 +0200 | [diff] [blame] | 369 | interrupts = <7 4 5>; |
Jean-Christophe PLAGNIOL-VILLARD | ec6754a | 2012-07-05 16:56:09 +0800 | [diff] [blame] | 370 | pinctrl-names = "default"; |
Jean-Christophe PLAGNIOL-VILLARD | 9e3129e | 2012-11-19 06:40:01 +0800 | [diff] [blame] | 371 | pinctrl-0 = <&pinctrl_usart2>; |
Hong Xu | cce783c | 2012-04-17 14:26:29 +0800 | [diff] [blame] | 372 | status = "disabled"; |
| 373 | }; |
| 374 | |
| 375 | usart3: serial@f8028000 { |
| 376 | compatible = "atmel,at91sam9260-usart"; |
| 377 | reg = <0xf8028000 0x4000>; |
Ludovic Desroches | f8a073e | 2012-06-20 16:13:30 +0200 | [diff] [blame] | 378 | interrupts = <8 4 5>; |
Jean-Christophe PLAGNIOL-VILLARD | ec6754a | 2012-07-05 16:56:09 +0800 | [diff] [blame] | 379 | pinctrl-names = "default"; |
Jean-Christophe PLAGNIOL-VILLARD | 9e3129e | 2012-11-19 06:40:01 +0800 | [diff] [blame] | 380 | pinctrl-0 = <&pinctrl_usart3>; |
Hong Xu | cce783c | 2012-04-17 14:26:29 +0800 | [diff] [blame] | 381 | status = "disabled"; |
| 382 | }; |
Ludovic Desroches | 05dcd36 | 2012-09-12 08:42:16 +0200 | [diff] [blame] | 383 | |
| 384 | i2c0: i2c@f8010000 { |
| 385 | compatible = "atmel,at91sam9x5-i2c"; |
| 386 | reg = <0xf8010000 0x100>; |
| 387 | interrupts = <9 4 6>; |
Ludovic Desroches | d9a63a4 | 2013-04-16 15:03:08 +0200 | [diff] [blame] | 388 | dmas = <&dma 1 13>, |
| 389 | <&dma 1 14>; |
| 390 | dma-names = "tx", "rx"; |
Ludovic Desroches | 05dcd36 | 2012-09-12 08:42:16 +0200 | [diff] [blame] | 391 | #address-cells = <1>; |
| 392 | #size-cells = <0>; |
| 393 | status = "disabled"; |
| 394 | }; |
| 395 | |
| 396 | i2c1: i2c@f8014000 { |
| 397 | compatible = "atmel,at91sam9x5-i2c"; |
| 398 | reg = <0xf8014000 0x100>; |
| 399 | interrupts = <10 4 6>; |
Ludovic Desroches | d9a63a4 | 2013-04-16 15:03:08 +0200 | [diff] [blame] | 400 | dmas = <&dma 1 15>, |
| 401 | <&dma 1 16>; |
| 402 | dma-names = "tx", "rx"; |
Ludovic Desroches | 05dcd36 | 2012-09-12 08:42:16 +0200 | [diff] [blame] | 403 | #address-cells = <1>; |
| 404 | #size-cells = <0>; |
| 405 | status = "disabled"; |
| 406 | }; |
Richard Genoud | d50f88a | 2013-04-03 14:02:18 +0800 | [diff] [blame] | 407 | |
| 408 | spi0: spi@f0000000 { |
| 409 | #address-cells = <1>; |
| 410 | #size-cells = <0>; |
| 411 | compatible = "atmel,at91rm9200-spi"; |
| 412 | reg = <0xf0000000 0x100>; |
| 413 | interrupts = <13 4 3>; |
Wenyou Yang | a68b728 | 2013-04-03 14:03:52 +0800 | [diff] [blame] | 414 | pinctrl-names = "default"; |
| 415 | pinctrl-0 = <&pinctrl_spi0>; |
Richard Genoud | d50f88a | 2013-04-03 14:02:18 +0800 | [diff] [blame] | 416 | status = "disabled"; |
| 417 | }; |
| 418 | |
| 419 | spi1: spi@f0004000 { |
| 420 | #address-cells = <1>; |
| 421 | #size-cells = <0>; |
| 422 | compatible = "atmel,at91rm9200-spi"; |
| 423 | reg = <0xf0004000 0x100>; |
| 424 | interrupts = <14 4 3>; |
Wenyou Yang | a68b728 | 2013-04-03 14:03:52 +0800 | [diff] [blame] | 425 | pinctrl-names = "default"; |
| 426 | pinctrl-0 = <&pinctrl_spi1>; |
Richard Genoud | d50f88a | 2013-04-03 14:02:18 +0800 | [diff] [blame] | 427 | status = "disabled"; |
| 428 | }; |
Hong Xu | cce783c | 2012-04-17 14:26:29 +0800 | [diff] [blame] | 429 | }; |
| 430 | |
| 431 | nand0: nand@40000000 { |
| 432 | compatible = "atmel,at91rm9200-nand"; |
| 433 | #address-cells = <1>; |
| 434 | #size-cells = <1>; |
| 435 | reg = < 0x40000000 0x10000000 |
| 436 | 0xffffe000 0x00000600 |
| 437 | 0xffffe600 0x00000200 |
Josh Wu | c18c6b2 | 2013-01-23 20:47:10 +0800 | [diff] [blame] | 438 | 0x00108000 0x00018000 |
Hong Xu | cce783c | 2012-04-17 14:26:29 +0800 | [diff] [blame] | 439 | >; |
Josh Wu | c18c6b2 | 2013-01-23 20:47:10 +0800 | [diff] [blame] | 440 | atmel,pmecc-lookup-table-offset = <0x0 0x8000>; |
Hong Xu | cce783c | 2012-04-17 14:26:29 +0800 | [diff] [blame] | 441 | atmel,nand-addr-offset = <21>; |
| 442 | atmel,nand-cmd-offset = <22>; |
Jean-Christophe PLAGNIOL-VILLARD | 7a38d45 | 2012-07-12 23:36:52 +0800 | [diff] [blame] | 443 | pinctrl-names = "default"; |
| 444 | pinctrl-0 = <&pinctrl_nand>; |
Hong Xu | cce783c | 2012-04-17 14:26:29 +0800 | [diff] [blame] | 445 | gpios = <&pioD 5 0 |
| 446 | &pioD 4 0 |
| 447 | 0 |
| 448 | >; |
| 449 | status = "disabled"; |
| 450 | }; |
| 451 | |
| 452 | usb0: ohci@00500000 { |
| 453 | compatible = "atmel,at91rm9200-ohci", "usb-ohci"; |
| 454 | reg = <0x00500000 0x00100000>; |
Ludovic Desroches | f8a073e | 2012-06-20 16:13:30 +0200 | [diff] [blame] | 455 | interrupts = <22 4 2>; |
Hong Xu | cce783c | 2012-04-17 14:26:29 +0800 | [diff] [blame] | 456 | status = "disabled"; |
| 457 | }; |
| 458 | }; |
| 459 | |
| 460 | i2c@0 { |
| 461 | compatible = "i2c-gpio"; |
| 462 | gpios = <&pioA 30 0 /* sda */ |
| 463 | &pioA 31 0 /* scl */ |
| 464 | >; |
| 465 | i2c-gpio,sda-open-drain; |
| 466 | i2c-gpio,scl-open-drain; |
| 467 | i2c-gpio,delay-us = <2>; /* ~100 kHz */ |
| 468 | #address-cells = <1>; |
| 469 | #size-cells = <0>; |
| 470 | status = "disabled"; |
| 471 | }; |
| 472 | }; |