diff options
Diffstat (limited to 'arch/arm/boot/dts/at91sam9g45.dtsi')
-rw-r--r-- | arch/arm/boot/dts/at91sam9g45.dtsi | 151 |
1 files changed, 143 insertions, 8 deletions
diff --git a/arch/arm/boot/dts/at91sam9g45.dtsi b/arch/arm/boot/dts/at91sam9g45.dtsi index fffa005300a4..3d0c32fb218f 100644 --- a/arch/arm/boot/dts/at91sam9g45.dtsi +++ b/arch/arm/boot/dts/at91sam9g45.dtsi | |||
@@ -22,6 +22,13 @@ | |||
22 | serial2 = &usart1; | 22 | serial2 = &usart1; |
23 | serial3 = &usart2; | 23 | serial3 = &usart2; |
24 | serial4 = &usart3; | 24 | serial4 = &usart3; |
25 | gpio0 = &pioA; | ||
26 | gpio1 = &pioB; | ||
27 | gpio2 = &pioC; | ||
28 | gpio3 = &pioD; | ||
29 | gpio4 = &pioE; | ||
30 | tcb0 = &tcb0; | ||
31 | tcb1 = &tcb1; | ||
25 | }; | 32 | }; |
26 | cpus { | 33 | cpus { |
27 | cpu@0 { | 34 | cpu@0 { |
@@ -46,30 +53,115 @@ | |||
46 | ranges; | 53 | ranges; |
47 | 54 | ||
48 | aic: interrupt-controller@fffff000 { | 55 | aic: interrupt-controller@fffff000 { |
49 | #interrupt-cells = <1>; | 56 | #interrupt-cells = <2>; |
50 | compatible = "atmel,at91rm9200-aic"; | 57 | compatible = "atmel,at91rm9200-aic"; |
51 | interrupt-controller; | 58 | interrupt-controller; |
52 | interrupt-parent; | 59 | interrupt-parent; |
53 | reg = <0xfffff000 0x200>; | 60 | reg = <0xfffff000 0x200>; |
54 | }; | 61 | }; |
55 | 62 | ||
63 | ramc0: ramc@ffffe400 { | ||
64 | compatible = "atmel,at91sam9g45-ddramc"; | ||
65 | reg = <0xffffe400 0x200 | ||
66 | 0xffffe600 0x200>; | ||
67 | }; | ||
68 | |||
69 | pmc: pmc@fffffc00 { | ||
70 | compatible = "atmel,at91rm9200-pmc"; | ||
71 | reg = <0xfffffc00 0x100>; | ||
72 | }; | ||
73 | |||
74 | rstc@fffffd00 { | ||
75 | compatible = "atmel,at91sam9g45-rstc"; | ||
76 | reg = <0xfffffd00 0x10>; | ||
77 | }; | ||
78 | |||
79 | pit: timer@fffffd30 { | ||
80 | compatible = "atmel,at91sam9260-pit"; | ||
81 | reg = <0xfffffd30 0xf>; | ||
82 | interrupts = <1 4>; | ||
83 | }; | ||
84 | |||
85 | |||
86 | shdwc@fffffd10 { | ||
87 | compatible = "atmel,at91sam9rl-shdwc"; | ||
88 | reg = <0xfffffd10 0x10>; | ||
89 | }; | ||
90 | |||
91 | tcb0: timer@fff7c000 { | ||
92 | compatible = "atmel,at91rm9200-tcb"; | ||
93 | reg = <0xfff7c000 0x100>; | ||
94 | interrupts = <18 4>; | ||
95 | }; | ||
96 | |||
97 | tcb1: timer@fffd4000 { | ||
98 | compatible = "atmel,at91rm9200-tcb"; | ||
99 | reg = <0xfffd4000 0x100>; | ||
100 | interrupts = <18 4>; | ||
101 | }; | ||
102 | |||
56 | dma: dma-controller@ffffec00 { | 103 | dma: dma-controller@ffffec00 { |
57 | compatible = "atmel,at91sam9g45-dma"; | 104 | compatible = "atmel,at91sam9g45-dma"; |
58 | reg = <0xffffec00 0x200>; | 105 | reg = <0xffffec00 0x200>; |
59 | interrupts = <21>; | 106 | interrupts = <21 4>; |
107 | }; | ||
108 | |||
109 | pioA: gpio@fffff200 { | ||
110 | compatible = "atmel,at91rm9200-gpio"; | ||
111 | reg = <0xfffff200 0x100>; | ||
112 | interrupts = <2 4>; | ||
113 | #gpio-cells = <2>; | ||
114 | gpio-controller; | ||
115 | interrupt-controller; | ||
116 | }; | ||
117 | |||
118 | pioB: gpio@fffff400 { | ||
119 | compatible = "atmel,at91rm9200-gpio"; | ||
120 | reg = <0xfffff400 0x100>; | ||
121 | interrupts = <3 4>; | ||
122 | #gpio-cells = <2>; | ||
123 | gpio-controller; | ||
124 | interrupt-controller; | ||
125 | }; | ||
126 | |||
127 | pioC: gpio@fffff600 { | ||
128 | compatible = "atmel,at91rm9200-gpio"; | ||
129 | reg = <0xfffff600 0x100>; | ||
130 | interrupts = <4 4>; | ||
131 | #gpio-cells = <2>; | ||
132 | gpio-controller; | ||
133 | interrupt-controller; | ||
134 | }; | ||
135 | |||
136 | pioD: gpio@fffff800 { | ||
137 | compatible = "atmel,at91rm9200-gpio"; | ||
138 | reg = <0xfffff800 0x100>; | ||
139 | interrupts = <5 4>; | ||
140 | #gpio-cells = <2>; | ||
141 | gpio-controller; | ||
142 | interrupt-controller; | ||
143 | }; | ||
144 | |||
145 | pioE: gpio@fffffa00 { | ||
146 | compatible = "atmel,at91rm9200-gpio"; | ||
147 | reg = <0xfffffa00 0x100>; | ||
148 | interrupts = <5 4>; | ||
149 | #gpio-cells = <2>; | ||
150 | gpio-controller; | ||
151 | interrupt-controller; | ||
60 | }; | 152 | }; |
61 | 153 | ||
62 | dbgu: serial@ffffee00 { | 154 | dbgu: serial@ffffee00 { |
63 | compatible = "atmel,at91sam9260-usart"; | 155 | compatible = "atmel,at91sam9260-usart"; |
64 | reg = <0xffffee00 0x200>; | 156 | reg = <0xffffee00 0x200>; |
65 | interrupts = <1>; | 157 | interrupts = <1 4>; |
66 | status = "disabled"; | 158 | status = "disabled"; |
67 | }; | 159 | }; |
68 | 160 | ||
69 | usart0: serial@fff8c000 { | 161 | usart0: serial@fff8c000 { |
70 | compatible = "atmel,at91sam9260-usart"; | 162 | compatible = "atmel,at91sam9260-usart"; |
71 | reg = <0xfff8c000 0x200>; | 163 | reg = <0xfff8c000 0x200>; |
72 | interrupts = <7>; | 164 | interrupts = <7 4>; |
73 | atmel,use-dma-rx; | 165 | atmel,use-dma-rx; |
74 | atmel,use-dma-tx; | 166 | atmel,use-dma-tx; |
75 | status = "disabled"; | 167 | status = "disabled"; |
@@ -78,7 +170,7 @@ | |||
78 | usart1: serial@fff90000 { | 170 | usart1: serial@fff90000 { |
79 | compatible = "atmel,at91sam9260-usart"; | 171 | compatible = "atmel,at91sam9260-usart"; |
80 | reg = <0xfff90000 0x200>; | 172 | reg = <0xfff90000 0x200>; |
81 | interrupts = <8>; | 173 | interrupts = <8 4>; |
82 | atmel,use-dma-rx; | 174 | atmel,use-dma-rx; |
83 | atmel,use-dma-tx; | 175 | atmel,use-dma-tx; |
84 | status = "disabled"; | 176 | status = "disabled"; |
@@ -87,7 +179,7 @@ | |||
87 | usart2: serial@fff94000 { | 179 | usart2: serial@fff94000 { |
88 | compatible = "atmel,at91sam9260-usart"; | 180 | compatible = "atmel,at91sam9260-usart"; |
89 | reg = <0xfff94000 0x200>; | 181 | reg = <0xfff94000 0x200>; |
90 | interrupts = <9>; | 182 | interrupts = <9 4>; |
91 | atmel,use-dma-rx; | 183 | atmel,use-dma-rx; |
92 | atmel,use-dma-tx; | 184 | atmel,use-dma-tx; |
93 | status = "disabled"; | 185 | status = "disabled"; |
@@ -96,7 +188,7 @@ | |||
96 | usart3: serial@fff98000 { | 188 | usart3: serial@fff98000 { |
97 | compatible = "atmel,at91sam9260-usart"; | 189 | compatible = "atmel,at91sam9260-usart"; |
98 | reg = <0xfff98000 0x200>; | 190 | reg = <0xfff98000 0x200>; |
99 | interrupts = <10>; | 191 | interrupts = <10 4>; |
100 | atmel,use-dma-rx; | 192 | atmel,use-dma-rx; |
101 | atmel,use-dma-tx; | 193 | atmel,use-dma-tx; |
102 | status = "disabled"; | 194 | status = "disabled"; |
@@ -105,9 +197,52 @@ | |||
105 | macb0: ethernet@fffbc000 { | 197 | macb0: ethernet@fffbc000 { |
106 | compatible = "cdns,at32ap7000-macb", "cdns,macb"; | 198 | compatible = "cdns,at32ap7000-macb", "cdns,macb"; |
107 | reg = <0xfffbc000 0x100>; | 199 | reg = <0xfffbc000 0x100>; |
108 | interrupts = <25>; | 200 | interrupts = <25 4>; |
109 | status = "disabled"; | 201 | status = "disabled"; |
110 | }; | 202 | }; |
111 | }; | 203 | }; |
204 | |||
205 | nand0: nand@40000000 { | ||
206 | compatible = "atmel,at91rm9200-nand"; | ||
207 | #address-cells = <1>; | ||
208 | #size-cells = <1>; | ||
209 | reg = <0x40000000 0x10000000 | ||
210 | 0xffffe200 0x200 | ||
211 | >; | ||
212 | atmel,nand-addr-offset = <21>; | ||
213 | atmel,nand-cmd-offset = <22>; | ||
214 | gpios = <&pioC 8 0 | ||
215 | &pioC 14 0 | ||
216 | 0 | ||
217 | >; | ||
218 | status = "disabled"; | ||
219 | }; | ||
220 | |||
221 | usb0: ohci@00700000 { | ||
222 | compatible = "atmel,at91rm9200-ohci", "usb-ohci"; | ||
223 | reg = <0x00700000 0x100000>; | ||
224 | interrupts = <22 4>; | ||
225 | status = "disabled"; | ||
226 | }; | ||
227 | |||
228 | usb1: ehci@00800000 { | ||
229 | compatible = "atmel,at91sam9g45-ehci", "usb-ehci"; | ||
230 | reg = <0x00800000 0x100000>; | ||
231 | interrupts = <22 4>; | ||
232 | status = "disabled"; | ||
233 | }; | ||
234 | }; | ||
235 | |||
236 | i2c@0 { | ||
237 | compatible = "i2c-gpio"; | ||
238 | gpios = <&pioA 20 0 /* sda */ | ||
239 | &pioA 21 0 /* scl */ | ||
240 | >; | ||
241 | i2c-gpio,sda-open-drain; | ||
242 | i2c-gpio,scl-open-drain; | ||
243 | i2c-gpio,delay-us = <5>; /* ~100 kHz */ | ||
244 | #address-cells = <1>; | ||
245 | #size-cells = <0>; | ||
246 | status = "disabled"; | ||
112 | }; | 247 | }; |
113 | }; | 248 | }; |