Joachim Eastwood | fe975cf | 2012-10-28 18:31:10 +0000 | [diff] [blame] | 1 | /* |
| 2 | * at91rm9200.dtsi - Device Tree Include file for AT91RM9200 family SoC |
| 3 | * |
| 4 | * Copyright (C) 2011 Atmel, |
| 5 | * 2011 Nicolas Ferre <nicolas.ferre@atmel.com>, |
| 6 | * 2012 Joachim Eastwood <manabian@gmail.com> |
| 7 | * |
| 8 | * Based on at91sam9260.dtsi |
| 9 | * |
| 10 | * Licensed under GPLv2 or later. |
| 11 | */ |
| 12 | |
Jean-Christophe PLAGNIOL-VILLARD | 6db64d2 | 2013-05-15 01:21:50 +0800 | [diff] [blame] | 13 | #include "skeleton.dtsi" |
Jean-Christophe PLAGNIOL-VILLARD | c9d0f31 | 2013-04-24 08:34:25 +0800 | [diff] [blame] | 14 | #include <dt-bindings/pinctrl/at91.h> |
Jean-Christophe PLAGNIOL-VILLARD | 5e8b3bc | 2013-04-24 08:34:25 +0800 | [diff] [blame] | 15 | #include <dt-bindings/interrupt-controller/irq.h> |
Jean-Christophe PLAGNIOL-VILLARD | 92f8629 | 2013-04-24 08:34:25 +0800 | [diff] [blame] | 16 | #include <dt-bindings/gpio/gpio.h> |
Joachim Eastwood | fe975cf | 2012-10-28 18:31:10 +0000 | [diff] [blame] | 17 | |
| 18 | / { |
| 19 | model = "Atmel AT91RM9200 family SoC"; |
| 20 | compatible = "atmel,at91rm9200"; |
| 21 | interrupt-parent = <&aic>; |
| 22 | |
| 23 | aliases { |
| 24 | serial0 = &dbgu; |
| 25 | serial1 = &usart0; |
| 26 | serial2 = &usart1; |
| 27 | serial3 = &usart2; |
| 28 | serial4 = &usart3; |
| 29 | gpio0 = &pioA; |
| 30 | gpio1 = &pioB; |
| 31 | gpio2 = &pioC; |
| 32 | gpio3 = &pioD; |
| 33 | tcb0 = &tcb0; |
| 34 | tcb1 = &tcb1; |
Joachim Eastwood | 2d25210 | 2013-02-08 02:25:54 +0100 | [diff] [blame] | 35 | i2c0 = &i2c0; |
Joachim Eastwood | 883a07f | 2012-12-04 19:10:58 +0100 | [diff] [blame] | 36 | ssc0 = &ssc0; |
| 37 | ssc1 = &ssc1; |
| 38 | ssc2 = &ssc2; |
Joachim Eastwood | fe975cf | 2012-10-28 18:31:10 +0000 | [diff] [blame] | 39 | }; |
| 40 | cpus { |
Lorenzo Pieralisi | e757a6e | 2013-04-18 18:31:35 +0100 | [diff] [blame] | 41 | #address-cells = <0>; |
| 42 | #size-cells = <0>; |
| 43 | |
| 44 | cpu { |
Joachim Eastwood | fe975cf | 2012-10-28 18:31:10 +0000 | [diff] [blame] | 45 | compatible = "arm,arm920t"; |
Lorenzo Pieralisi | e757a6e | 2013-04-18 18:31:35 +0100 | [diff] [blame] | 46 | device_type = "cpu"; |
Joachim Eastwood | fe975cf | 2012-10-28 18:31:10 +0000 | [diff] [blame] | 47 | }; |
| 48 | }; |
| 49 | |
| 50 | memory { |
| 51 | reg = <0x20000000 0x04000000>; |
| 52 | }; |
| 53 | |
| 54 | ahb { |
| 55 | compatible = "simple-bus"; |
| 56 | #address-cells = <1>; |
| 57 | #size-cells = <1>; |
| 58 | ranges; |
| 59 | |
| 60 | apb { |
| 61 | compatible = "simple-bus"; |
| 62 | #address-cells = <1>; |
| 63 | #size-cells = <1>; |
| 64 | ranges; |
| 65 | |
| 66 | aic: interrupt-controller@fffff000 { |
| 67 | #interrupt-cells = <3>; |
| 68 | compatible = "atmel,at91rm9200-aic"; |
| 69 | interrupt-controller; |
| 70 | reg = <0xfffff000 0x200>; |
| 71 | atmel,external-irqs = <25 26 27 28 29 30 31>; |
| 72 | }; |
| 73 | |
| 74 | ramc0: ramc@ffffff00 { |
| 75 | compatible = "atmel,at91rm9200-sdramc"; |
| 76 | reg = <0xffffff00 0x100>; |
| 77 | }; |
| 78 | |
| 79 | pmc: pmc@fffffc00 { |
| 80 | compatible = "atmel,at91rm9200-pmc"; |
| 81 | reg = <0xfffffc00 0x100>; |
| 82 | }; |
| 83 | |
| 84 | st: timer@fffffd00 { |
| 85 | compatible = "atmel,at91rm9200-st"; |
| 86 | reg = <0xfffffd00 0x100>; |
Jean-Christophe PLAGNIOL-VILLARD | 5e8b3bc | 2013-04-24 08:34:25 +0800 | [diff] [blame] | 87 | interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>; |
Joachim Eastwood | fe975cf | 2012-10-28 18:31:10 +0000 | [diff] [blame] | 88 | }; |
| 89 | |
| 90 | tcb0: timer@fffa0000 { |
| 91 | compatible = "atmel,at91rm9200-tcb"; |
| 92 | reg = <0xfffa0000 0x100>; |
Jean-Christophe PLAGNIOL-VILLARD | 5e8b3bc | 2013-04-24 08:34:25 +0800 | [diff] [blame] | 93 | interrupts = <17 IRQ_TYPE_LEVEL_HIGH 0 |
| 94 | 18 IRQ_TYPE_LEVEL_HIGH 0 |
| 95 | 19 IRQ_TYPE_LEVEL_HIGH 0>; |
Joachim Eastwood | fe975cf | 2012-10-28 18:31:10 +0000 | [diff] [blame] | 96 | }; |
| 97 | |
| 98 | tcb1: timer@fffa4000 { |
| 99 | compatible = "atmel,at91rm9200-tcb"; |
| 100 | reg = <0xfffa4000 0x100>; |
Jean-Christophe PLAGNIOL-VILLARD | 5e8b3bc | 2013-04-24 08:34:25 +0800 | [diff] [blame] | 101 | interrupts = <20 IRQ_TYPE_LEVEL_HIGH 0 |
| 102 | 21 IRQ_TYPE_LEVEL_HIGH 0 |
| 103 | 22 IRQ_TYPE_LEVEL_HIGH 0>; |
Joachim Eastwood | fe975cf | 2012-10-28 18:31:10 +0000 | [diff] [blame] | 104 | }; |
| 105 | |
Joachim Eastwood | 2d25210 | 2013-02-08 02:25:54 +0100 | [diff] [blame] | 106 | i2c0: i2c@fffb8000 { |
| 107 | compatible = "atmel,at91rm9200-i2c"; |
| 108 | reg = <0xfffb8000 0x4000>; |
Jean-Christophe PLAGNIOL-VILLARD | 5e8b3bc | 2013-04-24 08:34:25 +0800 | [diff] [blame] | 109 | interrupts = <12 IRQ_TYPE_LEVEL_HIGH 6>; |
Joachim Eastwood | 2d25210 | 2013-02-08 02:25:54 +0100 | [diff] [blame] | 110 | pinctrl-names = "default"; |
| 111 | pinctrl-0 = <&pinctrl_twi>; |
| 112 | #address-cells = <1>; |
| 113 | #size-cells = <0>; |
| 114 | status = "disabled"; |
| 115 | }; |
| 116 | |
Joachim Eastwood | 4e4c963 | 2012-12-04 19:10:57 +0100 | [diff] [blame] | 117 | mmc0: mmc@fffb4000 { |
| 118 | compatible = "atmel,hsmci"; |
| 119 | reg = <0xfffb4000 0x4000>; |
Jean-Christophe PLAGNIOL-VILLARD | 5e8b3bc | 2013-04-24 08:34:25 +0800 | [diff] [blame] | 120 | interrupts = <10 IRQ_TYPE_LEVEL_HIGH 0>; |
Joachim Eastwood | 4e4c963 | 2012-12-04 19:10:57 +0100 | [diff] [blame] | 121 | #address-cells = <1>; |
| 122 | #size-cells = <0>; |
Jean-Christophe PLAGNIOL-VILLARD | 90a69f1 | 2013-06-17 14:38:30 +0200 | [diff] [blame] | 123 | pinctrl-names = "default"; |
Joachim Eastwood | 4e4c963 | 2012-12-04 19:10:57 +0100 | [diff] [blame] | 124 | status = "disabled"; |
| 125 | }; |
| 126 | |
Joachim Eastwood | 883a07f | 2012-12-04 19:10:58 +0100 | [diff] [blame] | 127 | ssc0: ssc@fffd0000 { |
| 128 | compatible = "atmel,at91rm9200-ssc"; |
| 129 | reg = <0xfffd0000 0x4000>; |
Jean-Christophe PLAGNIOL-VILLARD | 5e8b3bc | 2013-04-24 08:34:25 +0800 | [diff] [blame] | 130 | interrupts = <14 IRQ_TYPE_LEVEL_HIGH 5>; |
Joachim Eastwood | 883a07f | 2012-12-04 19:10:58 +0100 | [diff] [blame] | 131 | pinctrl-names = "default"; |
| 132 | pinctrl-0 = <&pinctrl_ssc0_tx &pinctrl_ssc0_rx>; |
| 133 | status = "disable"; |
| 134 | }; |
| 135 | |
| 136 | ssc1: ssc@fffd4000 { |
| 137 | compatible = "atmel,at91rm9200-ssc"; |
| 138 | reg = <0xfffd4000 0x4000>; |
Jean-Christophe PLAGNIOL-VILLARD | 5e8b3bc | 2013-04-24 08:34:25 +0800 | [diff] [blame] | 139 | interrupts = <15 IRQ_TYPE_LEVEL_HIGH 5>; |
Joachim Eastwood | 883a07f | 2012-12-04 19:10:58 +0100 | [diff] [blame] | 140 | pinctrl-names = "default"; |
| 141 | pinctrl-0 = <&pinctrl_ssc1_tx &pinctrl_ssc1_rx>; |
| 142 | status = "disable"; |
| 143 | }; |
| 144 | |
| 145 | ssc2: ssc@fffd8000 { |
| 146 | compatible = "atmel,at91rm9200-ssc"; |
| 147 | reg = <0xfffd8000 0x4000>; |
Jean-Christophe PLAGNIOL-VILLARD | 5e8b3bc | 2013-04-24 08:34:25 +0800 | [diff] [blame] | 148 | interrupts = <16 IRQ_TYPE_LEVEL_HIGH 5>; |
Joachim Eastwood | 883a07f | 2012-12-04 19:10:58 +0100 | [diff] [blame] | 149 | pinctrl-names = "default"; |
| 150 | pinctrl-0 = <&pinctrl_ssc2_tx &pinctrl_ssc2_rx>; |
| 151 | status = "disable"; |
| 152 | }; |
| 153 | |
Joachim Eastwood | ce3b263 | 2012-12-04 19:10:59 +0100 | [diff] [blame] | 154 | macb0: ethernet@fffbc000 { |
| 155 | compatible = "cdns,at91rm9200-emac", "cdns,emac"; |
| 156 | reg = <0xfffbc000 0x4000>; |
Jean-Christophe PLAGNIOL-VILLARD | 5e8b3bc | 2013-04-24 08:34:25 +0800 | [diff] [blame] | 157 | interrupts = <24 IRQ_TYPE_LEVEL_HIGH 3>; |
Joachim Eastwood | ce3b263 | 2012-12-04 19:10:59 +0100 | [diff] [blame] | 158 | phy-mode = "rmii"; |
| 159 | pinctrl-names = "default"; |
| 160 | pinctrl-0 = <&pinctrl_macb_rmii>; |
| 161 | status = "disabled"; |
| 162 | }; |
| 163 | |
Joachim Eastwood | fe975cf | 2012-10-28 18:31:10 +0000 | [diff] [blame] | 164 | pinctrl@fffff400 { |
| 165 | #address-cells = <1>; |
| 166 | #size-cells = <1>; |
| 167 | compatible = "atmel,at91rm9200-pinctrl", "simple-bus"; |
| 168 | ranges = <0xfffff400 0xfffff400 0x800>; |
| 169 | |
| 170 | atmel,mux-mask = < |
| 171 | /* A B */ |
| 172 | 0xffffffff 0xffffffff /* pioA */ |
| 173 | 0xffffffff 0x083fffff /* pioB */ |
| 174 | 0xffff3fff 0x00000000 /* pioC */ |
| 175 | 0x03ff87ff 0x0fffff80 /* pioD */ |
| 176 | >; |
| 177 | |
| 178 | /* shared pinctrl settings */ |
| 179 | dbgu { |
| 180 | pinctrl_dbgu: dbgu-0 { |
| 181 | atmel,pins = |
Jean-Christophe PLAGNIOL-VILLARD | c9d0f31 | 2013-04-24 08:34:25 +0800 | [diff] [blame] | 182 | <AT91_PIOA 30 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA30 periph A */ |
| 183 | AT91_PIOA 31 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* PA31 periph with pullup */ |
Joachim Eastwood | fe975cf | 2012-10-28 18:31:10 +0000 | [diff] [blame] | 184 | }; |
| 185 | }; |
| 186 | |
| 187 | uart0 { |
| 188 | pinctrl_uart0: uart0-0 { |
| 189 | atmel,pins = |
Jean-Christophe PLAGNIOL-VILLARD | c9d0f31 | 2013-04-24 08:34:25 +0800 | [diff] [blame] | 190 | <AT91_PIOA 17 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA17 periph A */ |
| 191 | AT91_PIOA 18 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PA18 periph A */ |
Joachim Eastwood | fe975cf | 2012-10-28 18:31:10 +0000 | [diff] [blame] | 192 | }; |
| 193 | |
Nicolas Ferre | 5cffba2 | 2013-11-05 16:40:09 +0100 | [diff] [blame] | 194 | pinctrl_uart0_cts: uart0_cts-0 { |
Joachim Eastwood | fe975cf | 2012-10-28 18:31:10 +0000 | [diff] [blame] | 195 | atmel,pins = |
Jean-Christophe PLAGNIOL-VILLARD | c9d0f31 | 2013-04-24 08:34:25 +0800 | [diff] [blame] | 196 | <AT91_PIOA 20 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PA20 periph A */ |
Joachim Eastwood | fe975cf | 2012-10-28 18:31:10 +0000 | [diff] [blame] | 197 | }; |
| 198 | |
Nicolas Ferre | 5cffba2 | 2013-11-05 16:40:09 +0100 | [diff] [blame] | 199 | pinctrl_uart0_rts: uart0_rts-0 { |
Joachim Eastwood | fe975cf | 2012-10-28 18:31:10 +0000 | [diff] [blame] | 200 | atmel,pins = |
Jean-Christophe PLAGNIOL-VILLARD | c9d0f31 | 2013-04-24 08:34:25 +0800 | [diff] [blame] | 201 | <AT91_PIOA 21 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PA21 periph A */ |
Joachim Eastwood | fe975cf | 2012-10-28 18:31:10 +0000 | [diff] [blame] | 202 | }; |
| 203 | }; |
| 204 | |
| 205 | uart1 { |
| 206 | pinctrl_uart1: uart1-0 { |
| 207 | atmel,pins = |
Jean-Christophe PLAGNIOL-VILLARD | c9d0f31 | 2013-04-24 08:34:25 +0800 | [diff] [blame] | 208 | <AT91_PIOB 20 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PB20 periph A with pullup */ |
| 209 | AT91_PIOB 21 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PB21 periph A */ |
Joachim Eastwood | fe975cf | 2012-10-28 18:31:10 +0000 | [diff] [blame] | 210 | }; |
| 211 | |
| 212 | pinctrl_uart1_rts: uart1_rts-0 { |
| 213 | atmel,pins = |
Jean-Christophe PLAGNIOL-VILLARD | c9d0f31 | 2013-04-24 08:34:25 +0800 | [diff] [blame] | 214 | <AT91_PIOB 24 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PB24 periph A */ |
Joachim Eastwood | fe975cf | 2012-10-28 18:31:10 +0000 | [diff] [blame] | 215 | }; |
| 216 | |
| 217 | pinctrl_uart1_cts: uart1_cts-0 { |
| 218 | atmel,pins = |
Jean-Christophe PLAGNIOL-VILLARD | c9d0f31 | 2013-04-24 08:34:25 +0800 | [diff] [blame] | 219 | <AT91_PIOB 26 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PB26 periph A */ |
Joachim Eastwood | fe975cf | 2012-10-28 18:31:10 +0000 | [diff] [blame] | 220 | }; |
| 221 | |
| 222 | pinctrl_uart1_dtr_dsr: uart1_dtr_dsr-0 { |
| 223 | atmel,pins = |
Jean-Christophe PLAGNIOL-VILLARD | c9d0f31 | 2013-04-24 08:34:25 +0800 | [diff] [blame] | 224 | <AT91_PIOB 19 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB19 periph A */ |
| 225 | AT91_PIOB 25 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PB25 periph A */ |
Joachim Eastwood | fe975cf | 2012-10-28 18:31:10 +0000 | [diff] [blame] | 226 | }; |
| 227 | |
| 228 | pinctrl_uart1_dcd: uart1_dcd-0 { |
| 229 | atmel,pins = |
Jean-Christophe PLAGNIOL-VILLARD | c9d0f31 | 2013-04-24 08:34:25 +0800 | [diff] [blame] | 230 | <AT91_PIOB 23 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PB23 periph A */ |
Joachim Eastwood | fe975cf | 2012-10-28 18:31:10 +0000 | [diff] [blame] | 231 | }; |
| 232 | |
| 233 | pinctrl_uart1_ri: uart1_ri-0 { |
| 234 | atmel,pins = |
Jean-Christophe PLAGNIOL-VILLARD | c9d0f31 | 2013-04-24 08:34:25 +0800 | [diff] [blame] | 235 | <AT91_PIOB 18 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PB18 periph A */ |
Joachim Eastwood | fe975cf | 2012-10-28 18:31:10 +0000 | [diff] [blame] | 236 | }; |
| 237 | }; |
| 238 | |
| 239 | uart2 { |
| 240 | pinctrl_uart2: uart2-0 { |
| 241 | atmel,pins = |
Jean-Christophe PLAGNIOL-VILLARD | c9d0f31 | 2013-04-24 08:34:25 +0800 | [diff] [blame] | 242 | <AT91_PIOA 22 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA22 periph A */ |
| 243 | AT91_PIOA 23 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* PA23 periph A with pullup */ |
Joachim Eastwood | fe975cf | 2012-10-28 18:31:10 +0000 | [diff] [blame] | 244 | }; |
| 245 | |
| 246 | pinctrl_uart2_rts: uart2_rts-0 { |
| 247 | atmel,pins = |
Jean-Christophe PLAGNIOL-VILLARD | c9d0f31 | 2013-04-24 08:34:25 +0800 | [diff] [blame] | 248 | <AT91_PIOA 30 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PA30 periph B */ |
Joachim Eastwood | fe975cf | 2012-10-28 18:31:10 +0000 | [diff] [blame] | 249 | }; |
| 250 | |
| 251 | pinctrl_uart2_cts: uart2_cts-0 { |
| 252 | atmel,pins = |
Jean-Christophe PLAGNIOL-VILLARD | c9d0f31 | 2013-04-24 08:34:25 +0800 | [diff] [blame] | 253 | <AT91_PIOA 31 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PA31 periph B */ |
Joachim Eastwood | fe975cf | 2012-10-28 18:31:10 +0000 | [diff] [blame] | 254 | }; |
| 255 | }; |
| 256 | |
| 257 | uart3 { |
| 258 | pinctrl_uart3: uart3-0 { |
| 259 | atmel,pins = |
Jean-Christophe PLAGNIOL-VILLARD | c9d0f31 | 2013-04-24 08:34:25 +0800 | [diff] [blame] | 260 | <AT91_PIOA 5 AT91_PERIPH_B AT91_PINCTRL_PULL_UP /* PA5 periph B with pullup */ |
| 261 | AT91_PIOA 6 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PA6 periph B */ |
Joachim Eastwood | fe975cf | 2012-10-28 18:31:10 +0000 | [diff] [blame] | 262 | }; |
| 263 | |
| 264 | pinctrl_uart3_rts: uart3_rts-0 { |
| 265 | atmel,pins = |
Jean-Christophe PLAGNIOL-VILLARD | c9d0f31 | 2013-04-24 08:34:25 +0800 | [diff] [blame] | 266 | <AT91_PIOB 0 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PB0 periph B */ |
Joachim Eastwood | fe975cf | 2012-10-28 18:31:10 +0000 | [diff] [blame] | 267 | }; |
| 268 | |
| 269 | pinctrl_uart3_cts: uart3_cts-0 { |
| 270 | atmel,pins = |
Jean-Christophe PLAGNIOL-VILLARD | c9d0f31 | 2013-04-24 08:34:25 +0800 | [diff] [blame] | 271 | <AT91_PIOB 1 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PB1 periph B */ |
Joachim Eastwood | fe975cf | 2012-10-28 18:31:10 +0000 | [diff] [blame] | 272 | }; |
| 273 | }; |
| 274 | |
| 275 | nand { |
| 276 | pinctrl_nand: nand-0 { |
| 277 | atmel,pins = |
Jean-Christophe PLAGNIOL-VILLARD | c9d0f31 | 2013-04-24 08:34:25 +0800 | [diff] [blame] | 278 | <AT91_PIOC 2 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP /* PC2 gpio RDY pin pull_up */ |
| 279 | AT91_PIOB 1 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP>; /* PB1 gpio CD pin pull_up */ |
Joachim Eastwood | fe975cf | 2012-10-28 18:31:10 +0000 | [diff] [blame] | 280 | }; |
| 281 | }; |
| 282 | |
Joachim Eastwood | ce3b263 | 2012-12-04 19:10:59 +0100 | [diff] [blame] | 283 | macb { |
| 284 | pinctrl_macb_rmii: macb_rmii-0 { |
| 285 | atmel,pins = |
Jean-Christophe PLAGNIOL-VILLARD | c9d0f31 | 2013-04-24 08:34:25 +0800 | [diff] [blame] | 286 | <AT91_PIOA 7 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA7 periph A */ |
| 287 | AT91_PIOA 8 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA8 periph A */ |
| 288 | AT91_PIOA 9 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA9 periph A */ |
| 289 | AT91_PIOA 10 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA10 periph A */ |
| 290 | AT91_PIOA 11 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA11 periph A */ |
| 291 | AT91_PIOA 12 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA12 periph A */ |
| 292 | AT91_PIOA 13 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA13 periph A */ |
| 293 | AT91_PIOA 14 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA14 periph A */ |
| 294 | AT91_PIOA 15 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA15 periph A */ |
| 295 | AT91_PIOA 16 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PA16 periph A */ |
Joachim Eastwood | ce3b263 | 2012-12-04 19:10:59 +0100 | [diff] [blame] | 296 | }; |
| 297 | |
| 298 | pinctrl_macb_rmii_mii: macb_rmii_mii-0 { |
| 299 | atmel,pins = |
Jean-Christophe PLAGNIOL-VILLARD | c9d0f31 | 2013-04-24 08:34:25 +0800 | [diff] [blame] | 300 | <AT91_PIOB 12 AT91_PERIPH_B AT91_PINCTRL_NONE /* PB12 periph B */ |
| 301 | AT91_PIOB 13 AT91_PERIPH_B AT91_PINCTRL_NONE /* PB13 periph B */ |
| 302 | AT91_PIOB 14 AT91_PERIPH_B AT91_PINCTRL_NONE /* PB14 periph B */ |
| 303 | AT91_PIOB 15 AT91_PERIPH_B AT91_PINCTRL_NONE /* PB15 periph B */ |
| 304 | AT91_PIOB 16 AT91_PERIPH_B AT91_PINCTRL_NONE /* PB16 periph B */ |
| 305 | AT91_PIOB 17 AT91_PERIPH_B AT91_PINCTRL_NONE /* PB17 periph B */ |
| 306 | AT91_PIOB 18 AT91_PERIPH_B AT91_PINCTRL_NONE /* PB18 periph B */ |
| 307 | AT91_PIOB 19 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PB19 periph B */ |
Joachim Eastwood | ce3b263 | 2012-12-04 19:10:59 +0100 | [diff] [blame] | 308 | }; |
| 309 | }; |
| 310 | |
Joachim Eastwood | 4e4c963 | 2012-12-04 19:10:57 +0100 | [diff] [blame] | 311 | mmc0 { |
| 312 | pinctrl_mmc0_clk: mmc0_clk-0 { |
| 313 | atmel,pins = |
Jean-Christophe PLAGNIOL-VILLARD | c9d0f31 | 2013-04-24 08:34:25 +0800 | [diff] [blame] | 314 | <AT91_PIOA 27 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PA27 periph A */ |
Joachim Eastwood | 4e4c963 | 2012-12-04 19:10:57 +0100 | [diff] [blame] | 315 | }; |
| 316 | |
| 317 | pinctrl_mmc0_slot0_cmd_dat0: mmc0_slot0_cmd_dat0-0 { |
| 318 | atmel,pins = |
Jean-Christophe PLAGNIOL-VILLARD | c9d0f31 | 2013-04-24 08:34:25 +0800 | [diff] [blame] | 319 | <AT91_PIOA 28 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA28 periph A with pullup */ |
| 320 | AT91_PIOA 29 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* PA29 periph A with pullup */ |
Joachim Eastwood | 4e4c963 | 2012-12-04 19:10:57 +0100 | [diff] [blame] | 321 | }; |
| 322 | |
| 323 | pinctrl_mmc0_slot0_dat1_3: mmc0_slot0_dat1_3-0 { |
| 324 | atmel,pins = |
Jean-Christophe PLAGNIOL-VILLARD | c9d0f31 | 2013-04-24 08:34:25 +0800 | [diff] [blame] | 325 | <AT91_PIOB 3 AT91_PERIPH_B AT91_PINCTRL_PULL_UP /* PB3 periph B with pullup */ |
| 326 | AT91_PIOB 4 AT91_PERIPH_B AT91_PINCTRL_PULL_UP /* PB4 periph B with pullup */ |
| 327 | AT91_PIOB 5 AT91_PERIPH_B AT91_PINCTRL_PULL_UP>; /* PB5 periph B with pullup */ |
Joachim Eastwood | 4e4c963 | 2012-12-04 19:10:57 +0100 | [diff] [blame] | 328 | }; |
| 329 | |
| 330 | pinctrl_mmc0_slot1_cmd_dat0: mmc0_slot1_cmd_dat0-0 { |
| 331 | atmel,pins = |
Jean-Christophe PLAGNIOL-VILLARD | c9d0f31 | 2013-04-24 08:34:25 +0800 | [diff] [blame] | 332 | <AT91_PIOA 8 AT91_PERIPH_B AT91_PINCTRL_PULL_UP /* PA8 periph B with pullup */ |
| 333 | AT91_PIOA 9 AT91_PERIPH_B AT91_PINCTRL_PULL_UP>; /* PA9 periph B with pullup */ |
Joachim Eastwood | 4e4c963 | 2012-12-04 19:10:57 +0100 | [diff] [blame] | 334 | }; |
| 335 | |
| 336 | pinctrl_mmc0_slot1_dat1_3: mmc0_slot1_dat1_3-0 { |
| 337 | atmel,pins = |
Jean-Christophe PLAGNIOL-VILLARD | c9d0f31 | 2013-04-24 08:34:25 +0800 | [diff] [blame] | 338 | <AT91_PIOA 10 AT91_PERIPH_B AT91_PINCTRL_PULL_UP /* PA10 periph B with pullup */ |
| 339 | AT91_PIOA 11 AT91_PERIPH_B AT91_PINCTRL_PULL_UP /* PA11 periph B with pullup */ |
| 340 | AT91_PIOA 12 AT91_PERIPH_B AT91_PINCTRL_PULL_UP>; /* PA12 periph B with pullup */ |
Joachim Eastwood | 4e4c963 | 2012-12-04 19:10:57 +0100 | [diff] [blame] | 341 | }; |
| 342 | }; |
| 343 | |
Joachim Eastwood | 883a07f | 2012-12-04 19:10:58 +0100 | [diff] [blame] | 344 | ssc0 { |
| 345 | pinctrl_ssc0_tx: ssc0_tx-0 { |
| 346 | atmel,pins = |
Jean-Christophe PLAGNIOL-VILLARD | c9d0f31 | 2013-04-24 08:34:25 +0800 | [diff] [blame] | 347 | <AT91_PIOB 0 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB0 periph A */ |
| 348 | AT91_PIOB 1 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB1 periph A */ |
| 349 | AT91_PIOB 2 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PB2 periph A */ |
Joachim Eastwood | 883a07f | 2012-12-04 19:10:58 +0100 | [diff] [blame] | 350 | }; |
| 351 | |
| 352 | pinctrl_ssc0_rx: ssc0_rx-0 { |
| 353 | atmel,pins = |
Jean-Christophe PLAGNIOL-VILLARD | c9d0f31 | 2013-04-24 08:34:25 +0800 | [diff] [blame] | 354 | <AT91_PIOB 3 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB3 periph A */ |
| 355 | AT91_PIOB 4 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB4 periph A */ |
| 356 | AT91_PIOB 5 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PB5 periph A */ |
Joachim Eastwood | 883a07f | 2012-12-04 19:10:58 +0100 | [diff] [blame] | 357 | }; |
| 358 | }; |
| 359 | |
| 360 | ssc1 { |
| 361 | pinctrl_ssc1_tx: ssc1_tx-0 { |
| 362 | atmel,pins = |
Jean-Christophe PLAGNIOL-VILLARD | c9d0f31 | 2013-04-24 08:34:25 +0800 | [diff] [blame] | 363 | <AT91_PIOB 6 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB6 periph A */ |
| 364 | AT91_PIOB 7 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB7 periph A */ |
| 365 | AT91_PIOB 8 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PB8 periph A */ |
Joachim Eastwood | 883a07f | 2012-12-04 19:10:58 +0100 | [diff] [blame] | 366 | }; |
| 367 | |
| 368 | pinctrl_ssc1_rx: ssc1_rx-0 { |
| 369 | atmel,pins = |
Jean-Christophe PLAGNIOL-VILLARD | c9d0f31 | 2013-04-24 08:34:25 +0800 | [diff] [blame] | 370 | <AT91_PIOB 9 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB9 periph A */ |
| 371 | AT91_PIOB 10 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB10 periph A */ |
| 372 | AT91_PIOB 11 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PB11 periph A */ |
Joachim Eastwood | 883a07f | 2012-12-04 19:10:58 +0100 | [diff] [blame] | 373 | }; |
| 374 | }; |
| 375 | |
| 376 | ssc2 { |
| 377 | pinctrl_ssc2_tx: ssc2_tx-0 { |
| 378 | atmel,pins = |
Jean-Christophe PLAGNIOL-VILLARD | c9d0f31 | 2013-04-24 08:34:25 +0800 | [diff] [blame] | 379 | <AT91_PIOB 12 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB12 periph A */ |
| 380 | AT91_PIOB 13 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB13 periph A */ |
| 381 | AT91_PIOB 14 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PB14 periph A */ |
Joachim Eastwood | 883a07f | 2012-12-04 19:10:58 +0100 | [diff] [blame] | 382 | }; |
| 383 | |
| 384 | pinctrl_ssc2_rx: ssc2_rx-0 { |
| 385 | atmel,pins = |
Jean-Christophe PLAGNIOL-VILLARD | c9d0f31 | 2013-04-24 08:34:25 +0800 | [diff] [blame] | 386 | <AT91_PIOB 15 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB15 periph A */ |
| 387 | AT91_PIOB 16 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB16 periph A */ |
| 388 | AT91_PIOB 17 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PB17 periph A */ |
Joachim Eastwood | 883a07f | 2012-12-04 19:10:58 +0100 | [diff] [blame] | 389 | }; |
| 390 | }; |
| 391 | |
Joachim Eastwood | 2d25210 | 2013-02-08 02:25:54 +0100 | [diff] [blame] | 392 | twi { |
| 393 | pinctrl_twi: twi-0 { |
| 394 | atmel,pins = |
Jean-Christophe PLAGNIOL-VILLARD | c9d0f31 | 2013-04-24 08:34:25 +0800 | [diff] [blame] | 395 | <AT91_PIOA 25 AT91_PERIPH_A AT91_PINCTRL_MULTI_DRIVE /* PA25 periph A with multi drive */ |
| 396 | AT91_PIOA 26 AT91_PERIPH_A AT91_PINCTRL_MULTI_DRIVE>; /* PA26 periph A with multi drive */ |
Joachim Eastwood | 2d25210 | 2013-02-08 02:25:54 +0100 | [diff] [blame] | 397 | }; |
Joachim Eastwood | 83960c8 | 2013-02-08 02:25:55 +0100 | [diff] [blame] | 398 | |
| 399 | pinctrl_twi_gpio: twi_gpio-0 { |
| 400 | atmel,pins = |
Jean-Christophe PLAGNIOL-VILLARD | c9d0f31 | 2013-04-24 08:34:25 +0800 | [diff] [blame] | 401 | <AT91_PIOA 25 AT91_PERIPH_GPIO AT91_PINCTRL_MULTI_DRIVE /* PA25 GPIO with multi drive */ |
| 402 | AT91_PIOA 26 AT91_PERIPH_GPIO AT91_PINCTRL_MULTI_DRIVE>; /* PA26 GPIO with multi drive */ |
Joachim Eastwood | 83960c8 | 2013-02-08 02:25:55 +0100 | [diff] [blame] | 403 | }; |
Joachim Eastwood | 2d25210 | 2013-02-08 02:25:54 +0100 | [diff] [blame] | 404 | }; |
| 405 | |
Boris BREZILLON | 028633c | 2013-05-24 10:05:56 +0000 | [diff] [blame] | 406 | tcb0 { |
| 407 | pinctrl_tcb0_tclk0: tcb0_tclk0-0 { |
| 408 | atmel,pins = <AT91_PIOA 13 AT91_PERIPH_B AT91_PINCTRL_NONE>; |
| 409 | }; |
| 410 | |
| 411 | pinctrl_tcb0_tclk1: tcb0_tclk1-0 { |
| 412 | atmel,pins = <AT91_PIOA 14 AT91_PERIPH_B AT91_PINCTRL_NONE>; |
| 413 | }; |
| 414 | |
| 415 | pinctrl_tcb0_tclk2: tcb0_tclk2-0 { |
| 416 | atmel,pins = <AT91_PIOA 15 AT91_PERIPH_B AT91_PINCTRL_NONE>; |
| 417 | }; |
| 418 | |
| 419 | pinctrl_tcb0_tioa0: tcb0_tioa0-0 { |
| 420 | atmel,pins = <AT91_PIOA 17 AT91_PERIPH_B AT91_PINCTRL_NONE>; |
| 421 | }; |
| 422 | |
| 423 | pinctrl_tcb0_tioa1: tcb0_tioa1-0 { |
| 424 | atmel,pins = <AT91_PIOA 19 AT91_PERIPH_B AT91_PINCTRL_NONE>; |
| 425 | }; |
| 426 | |
| 427 | pinctrl_tcb0_tioa2: tcb0_tioa2-0 { |
| 428 | atmel,pins = <AT91_PIOA 21 AT91_PERIPH_B AT91_PINCTRL_NONE>; |
| 429 | }; |
| 430 | |
| 431 | pinctrl_tcb0_tiob0: tcb0_tiob0-0 { |
| 432 | atmel,pins = <AT91_PIOA 18 AT91_PERIPH_B AT91_PINCTRL_NONE>; |
| 433 | }; |
| 434 | |
| 435 | pinctrl_tcb0_tiob1: tcb0_tiob1-0 { |
| 436 | atmel,pins = <AT91_PIOA 20 AT91_PERIPH_B AT91_PINCTRL_NONE>; |
| 437 | }; |
| 438 | |
| 439 | pinctrl_tcb0_tiob2: tcb0_tiob2-0 { |
| 440 | atmel,pins = <AT91_PIOA 22 AT91_PERIPH_B AT91_PINCTRL_NONE>; |
| 441 | }; |
| 442 | }; |
| 443 | |
| 444 | tcb1 { |
| 445 | pinctrl_tcb1_tclk0: tcb1_tclk0-0 { |
| 446 | atmel,pins = <AT91_PIOA 27 AT91_PERIPH_B AT91_PINCTRL_NONE>; |
| 447 | }; |
| 448 | |
| 449 | pinctrl_tcb1_tclk1: tcb1_tclk1-0 { |
| 450 | atmel,pins = <AT91_PIOA 28 AT91_PERIPH_B AT91_PINCTRL_NONE>; |
| 451 | }; |
| 452 | |
| 453 | pinctrl_tcb1_tclk2: tcb1_tclk2-0 { |
| 454 | atmel,pins = <AT91_PIOA 29 AT91_PERIPH_B AT91_PINCTRL_NONE>; |
| 455 | }; |
| 456 | |
| 457 | pinctrl_tcb1_tioa0: tcb1_tioa0-0 { |
| 458 | atmel,pins = <AT91_PIOB 6 AT91_PERIPH_B AT91_PINCTRL_NONE>; |
| 459 | }; |
| 460 | |
| 461 | pinctrl_tcb1_tioa1: tcb1_tioa1-0 { |
| 462 | atmel,pins = <AT91_PIOB 8 AT91_PERIPH_B AT91_PINCTRL_NONE>; |
| 463 | }; |
| 464 | |
| 465 | pinctrl_tcb1_tioa2: tcb1_tioa2-0 { |
| 466 | atmel,pins = <AT91_PIOB 10 AT91_PERIPH_B AT91_PINCTRL_NONE>; |
| 467 | }; |
| 468 | |
| 469 | pinctrl_tcb1_tiob0: tcb1_tiob0-0 { |
| 470 | atmel,pins = <AT91_PIOB 7 AT91_PERIPH_B AT91_PINCTRL_NONE>; |
| 471 | }; |
| 472 | |
| 473 | pinctrl_tcb1_tiob1: tcb1_tiob1-0 { |
| 474 | atmel,pins = <AT91_PIOB 9 AT91_PERIPH_B AT91_PINCTRL_NONE>; |
| 475 | }; |
| 476 | |
| 477 | pinctrl_tcb1_tiob2: tcb1_tiob2-0 { |
| 478 | atmel,pins = <AT91_PIOB 11 AT91_PERIPH_B AT91_PINCTRL_NONE>; |
| 479 | }; |
| 480 | }; |
| 481 | |
Jean-Christophe PLAGNIOL-VILLARD | 32a8687 | 2013-06-17 14:38:27 +0200 | [diff] [blame] | 482 | spi0 { |
| 483 | pinctrl_spi0: spi0-0 { |
| 484 | atmel,pins = |
| 485 | <AT91_PIOA 0 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA0 periph A SPI0_MISO pin */ |
| 486 | AT91_PIOA 1 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA1 periph A SPI0_MOSI pin */ |
| 487 | AT91_PIOA 2 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PA2 periph A SPI0_SPCK pin */ |
| 488 | }; |
| 489 | }; |
| 490 | |
Joachim Eastwood | fe975cf | 2012-10-28 18:31:10 +0000 | [diff] [blame] | 491 | pioA: gpio@fffff400 { |
| 492 | compatible = "atmel,at91rm9200-gpio"; |
| 493 | reg = <0xfffff400 0x200>; |
Jean-Christophe PLAGNIOL-VILLARD | 5e8b3bc | 2013-04-24 08:34:25 +0800 | [diff] [blame] | 494 | interrupts = <2 IRQ_TYPE_LEVEL_HIGH 1>; |
Joachim Eastwood | fe975cf | 2012-10-28 18:31:10 +0000 | [diff] [blame] | 495 | #gpio-cells = <2>; |
| 496 | gpio-controller; |
| 497 | interrupt-controller; |
| 498 | #interrupt-cells = <2>; |
| 499 | }; |
| 500 | |
| 501 | pioB: gpio@fffff600 { |
| 502 | compatible = "atmel,at91rm9200-gpio"; |
| 503 | reg = <0xfffff600 0x200>; |
Jean-Christophe PLAGNIOL-VILLARD | 5e8b3bc | 2013-04-24 08:34:25 +0800 | [diff] [blame] | 504 | interrupts = <3 IRQ_TYPE_LEVEL_HIGH 1>; |
Joachim Eastwood | fe975cf | 2012-10-28 18:31:10 +0000 | [diff] [blame] | 505 | #gpio-cells = <2>; |
| 506 | gpio-controller; |
| 507 | interrupt-controller; |
| 508 | #interrupt-cells = <2>; |
| 509 | }; |
| 510 | |
| 511 | pioC: gpio@fffff800 { |
| 512 | compatible = "atmel,at91rm9200-gpio"; |
| 513 | reg = <0xfffff800 0x200>; |
Jean-Christophe PLAGNIOL-VILLARD | 5e8b3bc | 2013-04-24 08:34:25 +0800 | [diff] [blame] | 514 | interrupts = <4 IRQ_TYPE_LEVEL_HIGH 1>; |
Joachim Eastwood | fe975cf | 2012-10-28 18:31:10 +0000 | [diff] [blame] | 515 | #gpio-cells = <2>; |
| 516 | gpio-controller; |
| 517 | interrupt-controller; |
| 518 | #interrupt-cells = <2>; |
| 519 | }; |
| 520 | |
| 521 | pioD: gpio@fffffa00 { |
| 522 | compatible = "atmel,at91rm9200-gpio"; |
| 523 | reg = <0xfffffa00 0x200>; |
Jean-Christophe PLAGNIOL-VILLARD | 5e8b3bc | 2013-04-24 08:34:25 +0800 | [diff] [blame] | 524 | interrupts = <5 IRQ_TYPE_LEVEL_HIGH 1>; |
Joachim Eastwood | fe975cf | 2012-10-28 18:31:10 +0000 | [diff] [blame] | 525 | #gpio-cells = <2>; |
| 526 | gpio-controller; |
| 527 | interrupt-controller; |
| 528 | #interrupt-cells = <2>; |
| 529 | }; |
| 530 | }; |
| 531 | |
| 532 | dbgu: serial@fffff200 { |
| 533 | compatible = "atmel,at91rm9200-usart"; |
| 534 | reg = <0xfffff200 0x200>; |
Jean-Christophe PLAGNIOL-VILLARD | 5e8b3bc | 2013-04-24 08:34:25 +0800 | [diff] [blame] | 535 | interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>; |
Joachim Eastwood | fe975cf | 2012-10-28 18:31:10 +0000 | [diff] [blame] | 536 | pinctrl-names = "default"; |
| 537 | pinctrl-0 = <&pinctrl_dbgu>; |
| 538 | status = "disabled"; |
| 539 | }; |
| 540 | |
| 541 | usart0: serial@fffc0000 { |
| 542 | compatible = "atmel,at91rm9200-usart"; |
| 543 | reg = <0xfffc0000 0x200>; |
Jean-Christophe PLAGNIOL-VILLARD | 5e8b3bc | 2013-04-24 08:34:25 +0800 | [diff] [blame] | 544 | interrupts = <6 IRQ_TYPE_LEVEL_HIGH 5>; |
Joachim Eastwood | fe975cf | 2012-10-28 18:31:10 +0000 | [diff] [blame] | 545 | atmel,use-dma-rx; |
| 546 | atmel,use-dma-tx; |
| 547 | pinctrl-names = "default"; |
| 548 | pinctrl-0 = <&pinctrl_uart0>; |
| 549 | status = "disabled"; |
| 550 | }; |
| 551 | |
| 552 | usart1: serial@fffc4000 { |
| 553 | compatible = "atmel,at91rm9200-usart"; |
| 554 | reg = <0xfffc4000 0x200>; |
Jean-Christophe PLAGNIOL-VILLARD | 5e8b3bc | 2013-04-24 08:34:25 +0800 | [diff] [blame] | 555 | interrupts = <7 IRQ_TYPE_LEVEL_HIGH 5>; |
Joachim Eastwood | fe975cf | 2012-10-28 18:31:10 +0000 | [diff] [blame] | 556 | atmel,use-dma-rx; |
| 557 | atmel,use-dma-tx; |
| 558 | pinctrl-names = "default"; |
| 559 | pinctrl-0 = <&pinctrl_uart1>; |
| 560 | status = "disabled"; |
| 561 | }; |
| 562 | |
| 563 | usart2: serial@fffc8000 { |
| 564 | compatible = "atmel,at91rm9200-usart"; |
| 565 | reg = <0xfffc8000 0x200>; |
Jean-Christophe PLAGNIOL-VILLARD | 5e8b3bc | 2013-04-24 08:34:25 +0800 | [diff] [blame] | 566 | interrupts = <8 IRQ_TYPE_LEVEL_HIGH 5>; |
Joachim Eastwood | fe975cf | 2012-10-28 18:31:10 +0000 | [diff] [blame] | 567 | atmel,use-dma-rx; |
| 568 | atmel,use-dma-tx; |
| 569 | pinctrl-names = "default"; |
| 570 | pinctrl-0 = <&pinctrl_uart2>; |
| 571 | status = "disabled"; |
| 572 | }; |
| 573 | |
| 574 | usart3: serial@fffcc000 { |
| 575 | compatible = "atmel,at91rm9200-usart"; |
| 576 | reg = <0xfffcc000 0x200>; |
Jean-Christophe PLAGNIOL-VILLARD | 5e8b3bc | 2013-04-24 08:34:25 +0800 | [diff] [blame] | 577 | interrupts = <23 IRQ_TYPE_LEVEL_HIGH 5>; |
Joachim Eastwood | fe975cf | 2012-10-28 18:31:10 +0000 | [diff] [blame] | 578 | atmel,use-dma-rx; |
| 579 | atmel,use-dma-tx; |
| 580 | pinctrl-names = "default"; |
| 581 | pinctrl-0 = <&pinctrl_uart3>; |
| 582 | status = "disabled"; |
| 583 | }; |
| 584 | |
| 585 | usb1: gadget@fffb0000 { |
| 586 | compatible = "atmel,at91rm9200-udc"; |
| 587 | reg = <0xfffb0000 0x4000>; |
Jean-Christophe PLAGNIOL-VILLARD | 5e8b3bc | 2013-04-24 08:34:25 +0800 | [diff] [blame] | 588 | interrupts = <11 IRQ_TYPE_LEVEL_HIGH 2>; |
Joachim Eastwood | fe975cf | 2012-10-28 18:31:10 +0000 | [diff] [blame] | 589 | status = "disabled"; |
| 590 | }; |
Jean-Christophe PLAGNIOL-VILLARD | 32a8687 | 2013-06-17 14:38:27 +0200 | [diff] [blame] | 591 | |
| 592 | spi0: spi@fffe0000 { |
| 593 | #address-cells = <1>; |
| 594 | #size-cells = <0>; |
| 595 | compatible = "atmel,at91rm9200-spi"; |
| 596 | reg = <0xfffe0000 0x200>; |
| 597 | interrupts = <13 IRQ_TYPE_LEVEL_HIGH 3>; |
| 598 | pinctrl-names = "default"; |
| 599 | pinctrl-0 = <&pinctrl_spi0>; |
| 600 | status = "disabled"; |
| 601 | }; |
Joachim Eastwood | fe975cf | 2012-10-28 18:31:10 +0000 | [diff] [blame] | 602 | }; |
| 603 | |
| 604 | nand0: nand@40000000 { |
| 605 | compatible = "atmel,at91rm9200-nand"; |
| 606 | #address-cells = <1>; |
| 607 | #size-cells = <1>; |
| 608 | reg = <0x40000000 0x10000000>; |
| 609 | atmel,nand-addr-offset = <21>; |
| 610 | atmel,nand-cmd-offset = <22>; |
| 611 | pinctrl-names = "default"; |
| 612 | pinctrl-0 = <&pinctrl_nand>; |
| 613 | nand-ecc-mode = "soft"; |
Jean-Christophe PLAGNIOL-VILLARD | 92f8629 | 2013-04-24 08:34:25 +0800 | [diff] [blame] | 614 | gpios = <&pioC 2 GPIO_ACTIVE_HIGH |
Joachim Eastwood | fe975cf | 2012-10-28 18:31:10 +0000 | [diff] [blame] | 615 | 0 |
Jean-Christophe PLAGNIOL-VILLARD | 92f8629 | 2013-04-24 08:34:25 +0800 | [diff] [blame] | 616 | &pioB 1 GPIO_ACTIVE_HIGH |
Joachim Eastwood | fe975cf | 2012-10-28 18:31:10 +0000 | [diff] [blame] | 617 | >; |
| 618 | status = "disabled"; |
| 619 | }; |
| 620 | |
| 621 | usb0: ohci@00300000 { |
| 622 | compatible = "atmel,at91rm9200-ohci", "usb-ohci"; |
| 623 | reg = <0x00300000 0x100000>; |
Jean-Christophe PLAGNIOL-VILLARD | 5e8b3bc | 2013-04-24 08:34:25 +0800 | [diff] [blame] | 624 | interrupts = <23 IRQ_TYPE_LEVEL_HIGH 2>; |
Joachim Eastwood | fe975cf | 2012-10-28 18:31:10 +0000 | [diff] [blame] | 625 | status = "disabled"; |
| 626 | }; |
| 627 | }; |
| 628 | |
| 629 | i2c@0 { |
| 630 | compatible = "i2c-gpio"; |
Jean-Christophe PLAGNIOL-VILLARD | 92f8629 | 2013-04-24 08:34:25 +0800 | [diff] [blame] | 631 | gpios = <&pioA 25 GPIO_ACTIVE_HIGH /* sda */ |
| 632 | &pioA 26 GPIO_ACTIVE_HIGH /* scl */ |
Joachim Eastwood | fe975cf | 2012-10-28 18:31:10 +0000 | [diff] [blame] | 633 | >; |
| 634 | i2c-gpio,sda-open-drain; |
| 635 | i2c-gpio,scl-open-drain; |
| 636 | i2c-gpio,delay-us = <2>; /* ~100 kHz */ |
Joachim Eastwood | 83960c8 | 2013-02-08 02:25:55 +0100 | [diff] [blame] | 637 | pinctrl-names = "default"; |
| 638 | pinctrl-0 = <&pinctrl_twi_gpio>; |
Joachim Eastwood | fe975cf | 2012-10-28 18:31:10 +0000 | [diff] [blame] | 639 | #address-cells = <1>; |
| 640 | #size-cells = <0>; |
| 641 | status = "disabled"; |
| 642 | }; |
| 643 | }; |