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; 26 gpio0 = &pioA; 27 gpio1 = &pioB; 28 gpio2 = &pioC; 29 tcb0 = &tcb0; 30 tcb1 = &tcb1; 31 }; 32 cpus { 33 cpu@0 { 34 compatible = "arm,arm926ejs"; 35 }; 36 }; 37 38 memory { 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 { 55 #interrupt-cells = <2>; 56 compatible = "atmel,at91rm9200-aic"; 57 interrupt-controller; 58 reg = <0xfffff000 0x200>; 59 }; 60 61 ramc0: ramc@ffffea00 { 62 compatible = "atmel,at91sam9260-sdramc"; 63 reg = <0xffffea00 0x200>; 64 }; 65 66 pmc: pmc@fffffc00 { 67 compatible = "atmel,at91rm9200-pmc"; 68 reg = <0xfffffc00 0x100>; 69 }; 70 71 rstc@fffffd00 { 72 compatible = "atmel,at91sam9260-rstc"; 73 reg = <0xfffffd00 0x10>; 74 }; 75 76 shdwc@fffffd10 { 77 compatible = "atmel,at91sam9260-shdwc"; 78 reg = <0xfffffd10 0x10>; 79 }; 80 81 pit: timer@fffffd30 { 82 compatible = "atmel,at91sam9260-pit"; 83 reg = <0xfffffd30 0xf>; 84 interrupts = <1 4>; 85 }; 86 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 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 126 dbgu: serial@fffff200 { 127 compatible = "atmel,at91sam9260-usart"; 128 reg = <0xfffff200 0x200>; 129 interrupts = <1 4>; 130 status = "disabled"; 131 }; 132 133 usart0: serial@fffb0000 { 134 compatible = "atmel,at91sam9260-usart"; 135 reg = <0xfffb0000 0x200>; 136 interrupts = <6 4>; 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>; 145 interrupts = <7 4>; 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>; 154 interrupts = <8 4>; 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>; 163 interrupts = <23 4>; 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>; 172 interrupts = <24 4>; 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>; 181 interrupts = <25 4>; 182 atmel,use-dma-rx; 183 atmel,use-dma-tx; 184 status = "disabled"; 185 }; 186 187 macb0: ethernet@fffc4000 { 188 compatible = "cdns,at32ap7000-macb", "cdns,macb"; 189 reg = <0xfffc4000 0x100>; 190 interrupts = <21 4>; 191 status = "disabled"; 192 }; 193 194 usb1: gadget@fffa4000 { 195 compatible = "atmel,at91rm9200-udc"; 196 reg = <0xfffa4000 0x4000>; 197 interrupts = <10 4>; 198 status = "disabled"; 199 }; 200 }; 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 }; 217 218 usb0: ohci@00500000 { 219 compatible = "atmel,at91rm9200-ohci", "usb-ohci"; 220 reg = <0x00500000 0x100000>; 221 interrupts = <20 4>; 222 status = "disabled"; 223 }; 224 }; 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 }; 238}; 239