Commit | Line | Data |
---|---|---|
f8635abd LW |
1 | /* |
2 | * Device Tree for the ST-Ericsson Nomadik 8815 STn8815 SoC | |
3 | */ | |
4 | /include/ "skeleton.dtsi" | |
5 | ||
6 | / { | |
7 | #address-cells = <1>; | |
8 | #size-cells = <1>; | |
9 | ||
10 | memory { | |
11 | reg = <0x00000000 0x04000000>, | |
12 | <0x08000000 0x04000000>; | |
13 | }; | |
14 | ||
15 | L2: l2-cache { | |
16 | compatible = "arm,l210-cache"; | |
17 | reg = <0x10210000 0x1000>; | |
18 | interrupt-parent = <&vica>; | |
19 | interrupts = <30>; | |
20 | cache-unified; | |
21 | cache-level = <2>; | |
22 | }; | |
23 | ||
24 | mtu0 { | |
25 | /* Nomadik system timer */ | |
26 | reg = <0x101e2000 0x1000>; | |
27 | interrupt-parent = <&vica>; | |
28 | interrupts = <4>; | |
29 | }; | |
30 | ||
31 | mtu1 { | |
32 | /* Secondary timer */ | |
33 | reg = <0x101e3000 0x1000>; | |
34 | interrupt-parent = <&vica>; | |
35 | interrupts = <5>; | |
36 | }; | |
37 | ||
6010d403 LW |
38 | gpio0: gpio@101e4000 { |
39 | compatible = "st,nomadik-gpio"; | |
40 | reg = <0x101e4000 0x80>; | |
41 | interrupt-parent = <&vica>; | |
42 | interrupts = <6>; | |
43 | interrupt-controller; | |
44 | #interrupt-cells = <2>; | |
45 | gpio-controller; | |
46 | #gpio-cells = <2>; | |
47 | gpio-bank = <0>; | |
48 | }; | |
49 | ||
50 | gpio1: gpio@101e5000 { | |
51 | compatible = "st,nomadik-gpio"; | |
52 | reg = <0x101e5000 0x80>; | |
53 | interrupt-parent = <&vica>; | |
54 | interrupts = <7>; | |
55 | interrupt-controller; | |
56 | #interrupt-cells = <2>; | |
57 | gpio-controller; | |
58 | #gpio-cells = <2>; | |
59 | gpio-bank = <1>; | |
60 | }; | |
61 | ||
62 | gpio2: gpio@101e6000 { | |
63 | compatible = "st,nomadik-gpio"; | |
64 | reg = <0x101e6000 0x80>; | |
65 | interrupt-parent = <&vica>; | |
66 | interrupts = <8>; | |
67 | interrupt-controller; | |
68 | #interrupt-cells = <2>; | |
69 | gpio-controller; | |
70 | #gpio-cells = <2>; | |
71 | gpio-bank = <2>; | |
72 | }; | |
73 | ||
74 | gpio3: gpio@101e7000 { | |
75 | compatible = "st,nomadik-gpio"; | |
76 | reg = <0x101e7000 0x80>; | |
77 | interrupt-parent = <&vica>; | |
78 | interrupts = <9>; | |
79 | interrupt-controller; | |
80 | #interrupt-cells = <2>; | |
81 | gpio-controller; | |
82 | #gpio-cells = <2>; | |
83 | gpio-bank = <3>; | |
84 | }; | |
85 | ||
86 | pinctrl { | |
87 | compatible = "stericsson,nmk-pinctrl-stn8815"; | |
88 | }; | |
89 | ||
ba785205 LW |
90 | /* A NAND flash of 128 MiB */ |
91 | fsmc: flash@40000000 { | |
92 | compatible = "stericsson,fsmc-nand"; | |
93 | #address-cells = <1>; | |
94 | #size-cells = <1>; | |
95 | reg = <0x10100000 0x1000>, /* FSMC Register*/ | |
96 | <0x40000000 0x2000>, /* NAND Base DATA */ | |
97 | <0x41000000 0x2000>, /* NAND Base ADDR */ | |
98 | <0x40800000 0x2000>; /* NAND Base CMD */ | |
99 | reg-names = "fsmc_regs", "nand_data", "nand_addr", "nand_cmd"; | |
100 | status = "okay"; | |
101 | ||
102 | partition@0 { | |
103 | label = "X-Loader(NAND)"; | |
104 | reg = <0x0 0x40000>; | |
105 | }; | |
106 | partition@40000 { | |
107 | label = "MemInit(NAND)"; | |
108 | reg = <0x40000 0x40000>; | |
109 | }; | |
110 | partition@80000 { | |
111 | label = "BootLoader(NAND)"; | |
112 | reg = <0x80000 0x200000>; | |
113 | }; | |
114 | partition@280000 { | |
115 | label = "Kernel zImage(NAND)"; | |
116 | reg = <0x280000 0x300000>; | |
117 | }; | |
118 | partition@580000 { | |
119 | label = "Root Filesystem(NAND)"; | |
120 | reg = <0x580000 0x1600000>; | |
121 | }; | |
122 | partition@1b80000 { | |
123 | label = "User Filesystem(NAND)"; | |
124 | reg = <0x1b80000 0x6480000>; | |
125 | }; | |
126 | }; | |
127 | ||
2ad6e398 LW |
128 | external-bus@34000000 { |
129 | compatible = "simple-bus"; | |
130 | reg = <0x34000000 0x1000000>; | |
131 | #address-cells = <1>; | |
132 | #size-cells = <1>; | |
133 | ranges = <0 0x34000000 0x1000000>; | |
134 | ethernet@300 { | |
135 | compatible = "smsc,lan91c111"; | |
136 | reg = <0x300 0x0fd00>; | |
137 | }; | |
138 | }; | |
139 | ||
f8635abd LW |
140 | amba { |
141 | compatible = "arm,amba-bus"; | |
142 | #address-cells = <1>; | |
143 | #size-cells = <1>; | |
144 | ranges; | |
145 | ||
146 | vica: intc@0x10140000 { | |
147 | compatible = "arm,versatile-vic"; | |
148 | interrupt-controller; | |
149 | #interrupt-cells = <1>; | |
150 | reg = <0x10140000 0x20>; | |
151 | }; | |
152 | ||
153 | vicb: intc@0x10140020 { | |
154 | compatible = "arm,versatile-vic"; | |
155 | interrupt-controller; | |
156 | #interrupt-cells = <1>; | |
157 | reg = <0x10140020 0x20>; | |
158 | }; | |
159 | ||
160 | uart0: uart@101fd000 { | |
161 | compatible = "arm,pl011", "arm,primecell"; | |
162 | reg = <0x101fd000 0x1000>; | |
163 | interrupt-parent = <&vica>; | |
164 | interrupts = <12>; | |
165 | }; | |
166 | ||
167 | uart1: uart@101fb000 { | |
168 | compatible = "arm,pl011", "arm,primecell"; | |
169 | reg = <0x101fb000 0x1000>; | |
170 | interrupt-parent = <&vica>; | |
171 | interrupts = <17>; | |
172 | }; | |
173 | ||
174 | uart2: uart@101f2000 { | |
175 | compatible = "arm,pl011", "arm,primecell"; | |
176 | reg = <0x101f2000 0x1000>; | |
177 | interrupt-parent = <&vica>; | |
178 | interrupts = <28>; | |
179 | status = "disabled"; | |
180 | }; | |
27bda036 LW |
181 | |
182 | rng: rng@101b0000 { | |
183 | compatible = "arm,primecell"; | |
184 | reg = <0x101b0000 0x1000>; | |
185 | }; | |
186 | ||
187 | rtc: rtc@101e8000 { | |
188 | compatible = "arm,pl031", "arm,primecell"; | |
189 | reg = <0x101e8000 0x1000>; | |
190 | interrupt-parent = <&vica>; | |
191 | interrupts = <10>; | |
192 | }; | |
4fd243c6 LW |
193 | |
194 | mmcsd: sdi@101f6000 { | |
195 | compatible = "arm,pl18x", "arm,primecell"; | |
196 | reg = <0x101f6000 0x1000>; | |
197 | interrupt-parent = <&vica>; | |
198 | interrupts = <22>; | |
199 | max-frequency = <48000000>; | |
200 | bus-width = <4>; | |
201 | mmc-cap-mmc-highspeed; | |
202 | mmc-cap-sd-highspeed; | |
203 | cd-gpios = <&gpio3 15 0x1>; | |
204 | cd-inverted; | |
205 | }; | |
f8635abd LW |
206 | }; |
207 | }; |