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; |
Hong Xu | cce783c | 2012-04-17 14:26:29 +0800 | [diff] [blame] | 31 | }; |
| 32 | cpus { |
| 33 | cpu@0 { |
| 34 | compatible = "arm,arm926ejs"; |
| 35 | }; |
| 36 | }; |
| 37 | |
| 38 | memory { |
| 39 | reg = <0x20000000 0x10000000>; |
| 40 | }; |
| 41 | |
| 42 | ahb { |
| 43 | compatible = "simple-bus"; |
| 44 | #address-cells = <1>; |
| 45 | #size-cells = <1>; |
| 46 | ranges; |
| 47 | |
| 48 | apb { |
| 49 | compatible = "simple-bus"; |
| 50 | #address-cells = <1>; |
| 51 | #size-cells = <1>; |
| 52 | ranges; |
| 53 | |
| 54 | aic: interrupt-controller@fffff000 { |
Ludovic Desroches | f8a073e | 2012-06-20 16:13:30 +0200 | [diff] [blame] | 55 | #interrupt-cells = <3>; |
Hong Xu | cce783c | 2012-04-17 14:26:29 +0800 | [diff] [blame] | 56 | compatible = "atmel,at91rm9200-aic"; |
| 57 | interrupt-controller; |
| 58 | reg = <0xfffff000 0x200>; |
| 59 | }; |
| 60 | |
| 61 | ramc0: ramc@ffffe800 { |
| 62 | compatible = "atmel,at91sam9g45-ddramc"; |
| 63 | reg = <0xffffe800 0x200>; |
| 64 | }; |
| 65 | |
| 66 | pmc: pmc@fffffc00 { |
| 67 | compatible = "atmel,at91rm9200-pmc"; |
| 68 | reg = <0xfffffc00 0x100>; |
| 69 | }; |
| 70 | |
| 71 | rstc@fffffe00 { |
| 72 | compatible = "atmel,at91sam9g45-rstc"; |
| 73 | reg = <0xfffffe00 0x10>; |
| 74 | }; |
| 75 | |
| 76 | pit: timer@fffffe30 { |
| 77 | compatible = "atmel,at91sam9260-pit"; |
| 78 | reg = <0xfffffe30 0xf>; |
Ludovic Desroches | f8a073e | 2012-06-20 16:13:30 +0200 | [diff] [blame] | 79 | interrupts = <1 4 7>; |
Hong Xu | cce783c | 2012-04-17 14:26:29 +0800 | [diff] [blame] | 80 | }; |
| 81 | |
| 82 | shdwc@fffffe10 { |
| 83 | compatible = "atmel,at91sam9x5-shdwc"; |
| 84 | reg = <0xfffffe10 0x10>; |
| 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>; |
Hong Xu | cce783c | 2012-04-17 14:26:29 +0800 | [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>; |
Hong Xu | cce783c | 2012-04-17 14:26:29 +0800 | [diff] [blame] | 97 | }; |
| 98 | |
| 99 | dma: 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>; |
Hong Xu | cce783c | 2012-04-17 14:26:29 +0800 | [diff] [blame] | 103 | }; |
| 104 | |
| 105 | pioA: gpio@fffff400 { |
| 106 | compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio"; |
| 107 | reg = <0xfffff400 0x100>; |
Ludovic Desroches | f8a073e | 2012-06-20 16:13:30 +0200 | [diff] [blame] | 108 | interrupts = <2 4 1>; |
Hong Xu | cce783c | 2012-04-17 14:26:29 +0800 | [diff] [blame] | 109 | #gpio-cells = <2>; |
| 110 | gpio-controller; |
| 111 | interrupt-controller; |
| 112 | }; |
| 113 | |
| 114 | pioB: gpio@fffff600 { |
| 115 | compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio"; |
| 116 | reg = <0xfffff600 0x100>; |
Ludovic Desroches | f8a073e | 2012-06-20 16:13:30 +0200 | [diff] [blame] | 117 | interrupts = <2 4 1>; |
Hong Xu | cce783c | 2012-04-17 14:26:29 +0800 | [diff] [blame] | 118 | #gpio-cells = <2>; |
| 119 | gpio-controller; |
| 120 | interrupt-controller; |
| 121 | }; |
| 122 | |
| 123 | pioC: gpio@fffff800 { |
| 124 | compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio"; |
| 125 | reg = <0xfffff800 0x100>; |
Ludovic Desroches | f8a073e | 2012-06-20 16:13:30 +0200 | [diff] [blame] | 126 | interrupts = <3 4 1>; |
Hong Xu | cce783c | 2012-04-17 14:26:29 +0800 | [diff] [blame] | 127 | #gpio-cells = <2>; |
| 128 | gpio-controller; |
| 129 | interrupt-controller; |
| 130 | }; |
| 131 | |
| 132 | pioD: gpio@fffffa00 { |
| 133 | compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio"; |
| 134 | reg = <0xfffffa00 0x100>; |
Ludovic Desroches | f8a073e | 2012-06-20 16:13:30 +0200 | [diff] [blame] | 135 | interrupts = <3 4 1>; |
Hong Xu | cce783c | 2012-04-17 14:26:29 +0800 | [diff] [blame] | 136 | #gpio-cells = <2>; |
| 137 | gpio-controller; |
| 138 | interrupt-controller; |
| 139 | }; |
| 140 | |
| 141 | dbgu: serial@fffff200 { |
| 142 | compatible = "atmel,at91sam9260-usart"; |
| 143 | reg = <0xfffff200 0x200>; |
Ludovic Desroches | f8a073e | 2012-06-20 16:13:30 +0200 | [diff] [blame] | 144 | interrupts = <1 4 7>; |
Hong Xu | cce783c | 2012-04-17 14:26:29 +0800 | [diff] [blame] | 145 | status = "disabled"; |
| 146 | }; |
| 147 | |
| 148 | usart0: serial@f801c000 { |
| 149 | compatible = "atmel,at91sam9260-usart"; |
| 150 | reg = <0xf801c000 0x4000>; |
Ludovic Desroches | f8a073e | 2012-06-20 16:13:30 +0200 | [diff] [blame] | 151 | interrupts = <5 4 5>; |
Hong Xu | cce783c | 2012-04-17 14:26:29 +0800 | [diff] [blame] | 152 | atmel,use-dma-rx; |
| 153 | atmel,use-dma-tx; |
| 154 | status = "disabled"; |
| 155 | }; |
| 156 | |
| 157 | usart1: serial@f8020000 { |
| 158 | compatible = "atmel,at91sam9260-usart"; |
| 159 | reg = <0xf8020000 0x4000>; |
Ludovic Desroches | f8a073e | 2012-06-20 16:13:30 +0200 | [diff] [blame] | 160 | interrupts = <6 4 5>; |
Hong Xu | cce783c | 2012-04-17 14:26:29 +0800 | [diff] [blame] | 161 | atmel,use-dma-rx; |
| 162 | atmel,use-dma-tx; |
| 163 | status = "disabled"; |
| 164 | }; |
| 165 | |
| 166 | usart2: serial@f8024000 { |
| 167 | compatible = "atmel,at91sam9260-usart"; |
| 168 | reg = <0xf8024000 0x4000>; |
Ludovic Desroches | f8a073e | 2012-06-20 16:13:30 +0200 | [diff] [blame] | 169 | interrupts = <7 4 5>; |
Hong Xu | cce783c | 2012-04-17 14:26:29 +0800 | [diff] [blame] | 170 | atmel,use-dma-rx; |
| 171 | atmel,use-dma-tx; |
| 172 | status = "disabled"; |
| 173 | }; |
| 174 | |
| 175 | usart3: serial@f8028000 { |
| 176 | compatible = "atmel,at91sam9260-usart"; |
| 177 | reg = <0xf8028000 0x4000>; |
Ludovic Desroches | f8a073e | 2012-06-20 16:13:30 +0200 | [diff] [blame] | 178 | interrupts = <8 4 5>; |
Hong Xu | cce783c | 2012-04-17 14:26:29 +0800 | [diff] [blame] | 179 | atmel,use-dma-rx; |
| 180 | atmel,use-dma-tx; |
| 181 | status = "disabled"; |
| 182 | }; |
Ludovic Desroches | 05dcd36 | 2012-09-12 08:42:16 +0200 | [diff] [blame^] | 183 | |
| 184 | i2c0: i2c@f8010000 { |
| 185 | compatible = "atmel,at91sam9x5-i2c"; |
| 186 | reg = <0xf8010000 0x100>; |
| 187 | interrupts = <9 4 6>; |
| 188 | #address-cells = <1>; |
| 189 | #size-cells = <0>; |
| 190 | status = "disabled"; |
| 191 | }; |
| 192 | |
| 193 | i2c1: i2c@f8014000 { |
| 194 | compatible = "atmel,at91sam9x5-i2c"; |
| 195 | reg = <0xf8014000 0x100>; |
| 196 | interrupts = <10 4 6>; |
| 197 | #address-cells = <1>; |
| 198 | #size-cells = <0>; |
| 199 | status = "disabled"; |
| 200 | }; |
Hong Xu | cce783c | 2012-04-17 14:26:29 +0800 | [diff] [blame] | 201 | }; |
| 202 | |
| 203 | nand0: nand@40000000 { |
| 204 | compatible = "atmel,at91rm9200-nand"; |
| 205 | #address-cells = <1>; |
| 206 | #size-cells = <1>; |
| 207 | reg = < 0x40000000 0x10000000 |
| 208 | 0xffffe000 0x00000600 |
| 209 | 0xffffe600 0x00000200 |
| 210 | 0x00100000 0x00100000 |
| 211 | >; |
| 212 | atmel,nand-addr-offset = <21>; |
| 213 | atmel,nand-cmd-offset = <22>; |
| 214 | gpios = <&pioD 5 0 |
| 215 | &pioD 4 0 |
| 216 | 0 |
| 217 | >; |
| 218 | status = "disabled"; |
| 219 | }; |
| 220 | |
| 221 | usb0: ohci@00500000 { |
| 222 | compatible = "atmel,at91rm9200-ohci", "usb-ohci"; |
| 223 | reg = <0x00500000 0x00100000>; |
Ludovic Desroches | f8a073e | 2012-06-20 16:13:30 +0200 | [diff] [blame] | 224 | interrupts = <22 4 2>; |
Hong Xu | cce783c | 2012-04-17 14:26:29 +0800 | [diff] [blame] | 225 | status = "disabled"; |
| 226 | }; |
| 227 | }; |
| 228 | |
| 229 | i2c@0 { |
| 230 | compatible = "i2c-gpio"; |
| 231 | gpios = <&pioA 30 0 /* sda */ |
| 232 | &pioA 31 0 /* scl */ |
| 233 | >; |
| 234 | i2c-gpio,sda-open-drain; |
| 235 | i2c-gpio,scl-open-drain; |
| 236 | i2c-gpio,delay-us = <2>; /* ~100 kHz */ |
| 237 | #address-cells = <1>; |
| 238 | #size-cells = <0>; |
| 239 | status = "disabled"; |
| 240 | }; |
| 241 | }; |