Jean-Christophe PLAGNIOL-VILLARD | fea3158 | 2011-10-14 09:40:52 +0800 | [diff] [blame] | 1 | /* |
| 2 | * at91sam9g20.dtsi - Device Tree Include file for AT91SAM9G20 family SoC |
| 3 | * |
| 4 | * Copyright (C) 2011 Atmel, |
| 5 | * 2011 Nicolas Ferre <nicolas.ferre@atmel.com>, |
| 6 | * 2011 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> |
| 7 | * |
| 8 | * Licensed under GPLv2 or later. |
| 9 | */ |
| 10 | |
| 11 | /include/ "skeleton.dtsi" |
| 12 | |
| 13 | / { |
| 14 | model = "Atmel AT91SAM9G20 family SoC"; |
| 15 | compatible = "atmel,at91sam9g20"; |
| 16 | interrupt-parent = <&aic>; |
| 17 | |
| 18 | aliases { |
| 19 | serial0 = &dbgu; |
| 20 | serial1 = &usart0; |
| 21 | serial2 = &usart1; |
| 22 | serial3 = &usart2; |
| 23 | serial4 = &usart3; |
| 24 | serial5 = &usart4; |
| 25 | serial6 = &usart5; |
Nicolas Ferre | 21f8187 | 2012-02-11 15:41:40 +0100 | [diff] [blame] | 26 | gpio0 = &pioA; |
| 27 | gpio1 = &pioB; |
| 28 | gpio2 = &pioC; |
Nicolas Ferre | 3a61a5d | 2012-01-19 10:13:40 +0100 | [diff] [blame] | 29 | tcb0 = &tcb0; |
| 30 | tcb1 = &tcb1; |
Jean-Christophe PLAGNIOL-VILLARD | fea3158 | 2011-10-14 09:40:52 +0800 | [diff] [blame] | 31 | }; |
| 32 | cpus { |
| 33 | cpu@0 { |
| 34 | compatible = "arm,arm926ejs"; |
| 35 | }; |
| 36 | }; |
| 37 | |
Ludovic Desroches | dcce6ce | 2012-04-02 20:44:20 +0200 | [diff] [blame] | 38 | memory { |
Jean-Christophe PLAGNIOL-VILLARD | fea3158 | 2011-10-14 09:40:52 +0800 | [diff] [blame] | 39 | reg = <0x20000000 0x08000000>; |
| 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 { |
Nicolas Ferre | e261501 | 2011-11-22 22:26:09 +0100 | [diff] [blame] | 55 | #interrupt-cells = <2>; |
Jean-Christophe PLAGNIOL-VILLARD | fea3158 | 2011-10-14 09:40:52 +0800 | [diff] [blame] | 56 | compatible = "atmel,at91rm9200-aic"; |
| 57 | interrupt-controller; |
Jean-Christophe PLAGNIOL-VILLARD | fea3158 | 2011-10-14 09:40:52 +0800 | [diff] [blame] | 58 | reg = <0xfffff000 0x200>; |
| 59 | }; |
| 60 | |
Jean-Christophe PLAGNIOL-VILLARD | a7776ec | 2012-03-02 20:54:37 +0800 | [diff] [blame] | 61 | ramc0: ramc@ffffea00 { |
| 62 | compatible = "atmel,at91sam9260-sdramc"; |
| 63 | reg = <0xffffea00 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@fffffd00 { |
| 72 | compatible = "atmel,at91sam9260-rstc"; |
| 73 | reg = <0xfffffd00 0x10>; |
| 74 | }; |
| 75 | |
Jean-Christophe PLAGNIOL-VILLARD | 82015c4 | 2012-03-02 21:01:00 +0800 | [diff] [blame] | 76 | shdwc@fffffd10 { |
| 77 | compatible = "atmel,at91sam9260-shdwc"; |
| 78 | reg = <0xfffffd10 0x10>; |
| 79 | }; |
| 80 | |
Jean-Christophe PLAGNIOL-VILLARD | 23fa648 | 2012-02-27 11:19:34 +0100 | [diff] [blame] | 81 | pit: timer@fffffd30 { |
| 82 | compatible = "atmel,at91sam9260-pit"; |
| 83 | reg = <0xfffffd30 0xf>; |
| 84 | interrupts = <1 4>; |
| 85 | }; |
| 86 | |
Nicolas Ferre | 3a61a5d | 2012-01-19 10:13:40 +0100 | [diff] [blame] | 87 | tcb0: timer@fffa0000 { |
| 88 | compatible = "atmel,at91rm9200-tcb"; |
| 89 | reg = <0xfffa0000 0x100>; |
| 90 | interrupts = <17 4 18 4 19 4>; |
| 91 | }; |
| 92 | |
| 93 | tcb1: timer@fffdc000 { |
| 94 | compatible = "atmel,at91rm9200-tcb"; |
| 95 | reg = <0xfffdc000 0x100>; |
| 96 | interrupts = <26 4 27 4 28 4>; |
| 97 | }; |
| 98 | |
Nicolas Ferre | 21f8187 | 2012-02-11 15:41:40 +0100 | [diff] [blame] | 99 | pioA: gpio@fffff400 { |
| 100 | compatible = "atmel,at91rm9200-gpio"; |
| 101 | reg = <0xfffff400 0x100>; |
| 102 | interrupts = <2 4>; |
| 103 | #gpio-cells = <2>; |
| 104 | gpio-controller; |
| 105 | interrupt-controller; |
| 106 | }; |
| 107 | |
| 108 | pioB: gpio@fffff600 { |
| 109 | compatible = "atmel,at91rm9200-gpio"; |
| 110 | reg = <0xfffff600 0x100>; |
| 111 | interrupts = <3 4>; |
| 112 | #gpio-cells = <2>; |
| 113 | gpio-controller; |
| 114 | interrupt-controller; |
| 115 | }; |
| 116 | |
| 117 | pioC: gpio@fffff800 { |
| 118 | compatible = "atmel,at91rm9200-gpio"; |
| 119 | reg = <0xfffff800 0x100>; |
| 120 | interrupts = <4 4>; |
| 121 | #gpio-cells = <2>; |
| 122 | gpio-controller; |
| 123 | interrupt-controller; |
| 124 | }; |
| 125 | |
Jean-Christophe PLAGNIOL-VILLARD | fea3158 | 2011-10-14 09:40:52 +0800 | [diff] [blame] | 126 | dbgu: serial@fffff200 { |
| 127 | compatible = "atmel,at91sam9260-usart"; |
| 128 | reg = <0xfffff200 0x200>; |
Nicolas Ferre | e261501 | 2011-11-22 22:26:09 +0100 | [diff] [blame] | 129 | interrupts = <1 4>; |
Jean-Christophe PLAGNIOL-VILLARD | fea3158 | 2011-10-14 09:40:52 +0800 | [diff] [blame] | 130 | status = "disabled"; |
| 131 | }; |
| 132 | |
| 133 | usart0: serial@fffb0000 { |
| 134 | compatible = "atmel,at91sam9260-usart"; |
| 135 | reg = <0xfffb0000 0x200>; |
Nicolas Ferre | e261501 | 2011-11-22 22:26:09 +0100 | [diff] [blame] | 136 | interrupts = <6 4>; |
Jean-Christophe PLAGNIOL-VILLARD | fea3158 | 2011-10-14 09:40:52 +0800 | [diff] [blame] | 137 | atmel,use-dma-rx; |
| 138 | atmel,use-dma-tx; |
| 139 | status = "disabled"; |
| 140 | }; |
| 141 | |
| 142 | usart1: serial@fffb4000 { |
| 143 | compatible = "atmel,at91sam9260-usart"; |
| 144 | reg = <0xfffb4000 0x200>; |
Nicolas Ferre | e261501 | 2011-11-22 22:26:09 +0100 | [diff] [blame] | 145 | interrupts = <7 4>; |
Jean-Christophe PLAGNIOL-VILLARD | fea3158 | 2011-10-14 09:40:52 +0800 | [diff] [blame] | 146 | atmel,use-dma-rx; |
| 147 | atmel,use-dma-tx; |
| 148 | status = "disabled"; |
| 149 | }; |
| 150 | |
| 151 | usart2: serial@fffb8000 { |
| 152 | compatible = "atmel,at91sam9260-usart"; |
| 153 | reg = <0xfffb8000 0x200>; |
Nicolas Ferre | e261501 | 2011-11-22 22:26:09 +0100 | [diff] [blame] | 154 | interrupts = <8 4>; |
Jean-Christophe PLAGNIOL-VILLARD | fea3158 | 2011-10-14 09:40:52 +0800 | [diff] [blame] | 155 | atmel,use-dma-rx; |
| 156 | atmel,use-dma-tx; |
| 157 | status = "disabled"; |
| 158 | }; |
| 159 | |
| 160 | usart3: serial@fffd0000 { |
| 161 | compatible = "atmel,at91sam9260-usart"; |
| 162 | reg = <0xfffd0000 0x200>; |
Nicolas Ferre | e261501 | 2011-11-22 22:26:09 +0100 | [diff] [blame] | 163 | interrupts = <23 4>; |
Jean-Christophe PLAGNIOL-VILLARD | fea3158 | 2011-10-14 09:40:52 +0800 | [diff] [blame] | 164 | atmel,use-dma-rx; |
| 165 | atmel,use-dma-tx; |
| 166 | status = "disabled"; |
| 167 | }; |
| 168 | |
| 169 | usart4: serial@fffd4000 { |
| 170 | compatible = "atmel,at91sam9260-usart"; |
| 171 | reg = <0xfffd4000 0x200>; |
Nicolas Ferre | e261501 | 2011-11-22 22:26:09 +0100 | [diff] [blame] | 172 | interrupts = <24 4>; |
Jean-Christophe PLAGNIOL-VILLARD | fea3158 | 2011-10-14 09:40:52 +0800 | [diff] [blame] | 173 | atmel,use-dma-rx; |
| 174 | atmel,use-dma-tx; |
| 175 | status = "disabled"; |
| 176 | }; |
| 177 | |
| 178 | usart5: serial@fffd8000 { |
| 179 | compatible = "atmel,at91sam9260-usart"; |
| 180 | reg = <0xfffd8000 0x200>; |
Nicolas Ferre | e261501 | 2011-11-22 22:26:09 +0100 | [diff] [blame] | 181 | interrupts = <25 4>; |
Jean-Christophe PLAGNIOL-VILLARD | fea3158 | 2011-10-14 09:40:52 +0800 | [diff] [blame] | 182 | atmel,use-dma-rx; |
| 183 | atmel,use-dma-tx; |
| 184 | status = "disabled"; |
| 185 | }; |
Nicolas Ferre | 0d4f99d | 2011-12-05 18:03:05 +0100 | [diff] [blame] | 186 | |
| 187 | macb0: ethernet@fffc4000 { |
| 188 | compatible = "cdns,at32ap7000-macb", "cdns,macb"; |
| 189 | reg = <0xfffc4000 0x100>; |
Nicolas Ferre | e261501 | 2011-11-22 22:26:09 +0100 | [diff] [blame] | 190 | interrupts = <21 4>; |
Nicolas Ferre | 0d4f99d | 2011-12-05 18:03:05 +0100 | [diff] [blame] | 191 | status = "disabled"; |
| 192 | }; |
Jean-Christophe PLAGNIOL-VILLARD | 0f5c4b9 | 2012-01-28 22:35:36 +0800 | [diff] [blame] | 193 | |
| 194 | usb1: gadget@fffa4000 { |
| 195 | compatible = "atmel,at91rm9200-udc"; |
| 196 | reg = <0xfffa4000 0x4000>; |
| 197 | interrupts = <10 4>; |
| 198 | status = "disabled"; |
| 199 | }; |
Jean-Christophe PLAGNIOL-VILLARD | fea3158 | 2011-10-14 09:40:52 +0800 | [diff] [blame] | 200 | }; |
Jean-Christophe PLAGNIOL-VILLARD | d6a0166 | 2012-01-26 02:11:06 +0800 | [diff] [blame] | 201 | |
| 202 | nand0: nand@40000000 { |
| 203 | compatible = "atmel,at91rm9200-nand"; |
| 204 | #address-cells = <1>; |
| 205 | #size-cells = <1>; |
| 206 | reg = <0x40000000 0x10000000 |
| 207 | 0xffffe800 0x200 |
| 208 | >; |
| 209 | atmel,nand-addr-offset = <21>; |
| 210 | atmel,nand-cmd-offset = <22>; |
| 211 | gpios = <&pioC 13 0 |
| 212 | &pioC 14 0 |
| 213 | 0 |
| 214 | >; |
| 215 | status = "disabled"; |
| 216 | }; |
Jean-Christophe PLAGNIOL-VILLARD | 6a06245 | 2011-11-21 06:55:18 +0800 | [diff] [blame] | 217 | |
| 218 | usb0: ohci@00500000 { |
| 219 | compatible = "atmel,at91rm9200-ohci", "usb-ohci"; |
| 220 | reg = <0x00500000 0x100000>; |
| 221 | interrupts = <20 4>; |
| 222 | status = "disabled"; |
| 223 | }; |
Jean-Christophe PLAGNIOL-VILLARD | fea3158 | 2011-10-14 09:40:52 +0800 | [diff] [blame] | 224 | }; |
Jean-Christophe PLAGNIOL-VILLARD | 3b3f828 | 2012-02-05 18:25:33 +0800 | [diff] [blame] | 225 | |
| 226 | i2c@0 { |
| 227 | compatible = "i2c-gpio"; |
| 228 | gpios = <&pioA 23 0 /* sda */ |
| 229 | &pioA 24 0 /* scl */ |
| 230 | >; |
| 231 | i2c-gpio,sda-open-drain; |
| 232 | i2c-gpio,scl-open-drain; |
| 233 | i2c-gpio,delay-us = <2>; /* ~100 kHz */ |
| 234 | #address-cells = <1>; |
| 235 | #size-cells = <0>; |
| 236 | status = "disabled"; |
| 237 | }; |
Jean-Christophe PLAGNIOL-VILLARD | fea3158 | 2011-10-14 09:40:52 +0800 | [diff] [blame] | 238 | }; |