diff options
author | Viresh Kumar <viresh.kumar@st.com> | 2012-03-22 14:47:43 -0400 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2012-04-22 16:41:35 -0400 |
commit | c5fa4fdcdbe5f52c3e36892cc81f9378339b00ce (patch) | |
tree | 1dbdf4cb9a33637210f69c692aecb57d09c2dfb1 /arch/arm/boot/dts/spear310-evb.dts | |
parent | 5fb00f965eeac548015bcd45414cccbe53b13d3f (diff) |
ARM: SPEAr3xx: Add device-tree support to SPEAr3xx architecture
This patch adds a generic target for SPEAr3xx machines that can be configured
via the device-tree. Currently the following devices are supported via the
devicetree:
- VIC interrupts
- PL011 UART
- PL061 GPIO
- PL110 CLCD
- SP805 WDT
- Synopsys DW I2C
- Synopsys DW ethernet
- ST FSMC-NAND
- ST SPEAR-SMI
- ST SPEAR-KEYBOARD
- ST SPEAR-RTC
- ARASAN SDHCI-SPEAR
- SPEAR-EHCI
- SPEAR-OHCI
Other peripheral devices will follow in later patches.
This also removes IO_ADDRESS macro and creates 16 MB static mappings instead of
4K for individual peripherals. This is done to have efficient TLB lookup for any
I/O windows that are located closely together. ioremap() on this range will
return this mapping only instead of creating another.
Signed-off-by: Viresh Kumar <viresh.kumar@st.com>
Diffstat (limited to 'arch/arm/boot/dts/spear310-evb.dts')
-rw-r--r-- | arch/arm/boot/dts/spear310-evb.dts | 107 |
1 files changed, 107 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/spear310-evb.dts b/arch/arm/boot/dts/spear310-evb.dts new file mode 100644 index 000000000000..ec19d7b9795a --- /dev/null +++ b/arch/arm/boot/dts/spear310-evb.dts | |||
@@ -0,0 +1,107 @@ | |||
1 | /* | ||
2 | * DTS file for SPEAr310 Evaluation Baord | ||
3 | * | ||
4 | * Copyright 2012 Viresh Kumar <viresh.kumar@st.com> | ||
5 | * | ||
6 | * The code contained herein is licensed under the GNU General Public | ||
7 | * License. You may obtain a copy of the GNU General Public License | ||
8 | * Version 2 or later at the following locations: | ||
9 | * | ||
10 | * http://www.opensource.org/licenses/gpl-license.html | ||
11 | * http://www.gnu.org/copyleft/gpl.html | ||
12 | */ | ||
13 | |||
14 | /dts-v1/; | ||
15 | /include/ "spear310.dtsi" | ||
16 | |||
17 | / { | ||
18 | model = "ST SPEAr310 Evaluation Board"; | ||
19 | compatible = "st,spear310-evb", "st,spear310"; | ||
20 | #address-cells = <1>; | ||
21 | #size-cells = <1>; | ||
22 | |||
23 | memory { | ||
24 | reg = <0 0x40000000>; | ||
25 | }; | ||
26 | |||
27 | ahb { | ||
28 | fsmc: flash@44000000 { | ||
29 | status = "okay"; | ||
30 | }; | ||
31 | |||
32 | gmac: eth@e0800000 { | ||
33 | status = "okay"; | ||
34 | }; | ||
35 | |||
36 | smi: flash@fc000000 { | ||
37 | status = "okay"; | ||
38 | clock-rate=<50000000>; | ||
39 | |||
40 | flash@f8000000 { | ||
41 | label = "m25p64"; | ||
42 | reg = <0xf8000000 0x800000>; | ||
43 | #address-cells = <1>; | ||
44 | #size-cells = <1>; | ||
45 | st,smi-fast-mode; | ||
46 | }; | ||
47 | }; | ||
48 | |||
49 | spi0: spi@d0100000 { | ||
50 | status = "okay"; | ||
51 | }; | ||
52 | |||
53 | ehci@e1800000 { | ||
54 | status = "okay"; | ||
55 | }; | ||
56 | |||
57 | ohci@e1900000 { | ||
58 | status = "okay"; | ||
59 | }; | ||
60 | |||
61 | ohci@e2100000 { | ||
62 | status = "okay"; | ||
63 | }; | ||
64 | |||
65 | apb { | ||
66 | gpio0: gpio@fc980000 { | ||
67 | status = "okay"; | ||
68 | }; | ||
69 | |||
70 | i2c0: i2c@d0180000 { | ||
71 | status = "okay"; | ||
72 | }; | ||
73 | |||
74 | rtc@fc900000 { | ||
75 | status = "okay"; | ||
76 | }; | ||
77 | |||
78 | serial@d0000000 { | ||
79 | status = "okay"; | ||
80 | }; | ||
81 | |||
82 | serial@b2000000 { | ||
83 | status = "okay"; | ||
84 | }; | ||
85 | |||
86 | serial@b2080000 { | ||
87 | status = "okay"; | ||
88 | }; | ||
89 | |||
90 | serial@b2100000 { | ||
91 | status = "okay"; | ||
92 | }; | ||
93 | |||
94 | serial@b2180000 { | ||
95 | status = "okay"; | ||
96 | }; | ||
97 | |||
98 | serial@b2200000 { | ||
99 | status = "okay"; | ||
100 | }; | ||
101 | |||
102 | wdt@fc880000 { | ||
103 | status = "okay"; | ||
104 | }; | ||
105 | }; | ||
106 | }; | ||
107 | }; | ||