diff options
author | Scott Wood <scottwood@freescale.com> | 2008-01-17 17:31:40 -0500 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2008-01-23 20:34:40 -0500 |
commit | b09c16440eb39c12cc91aea5b572c753a5567d57 (patch) | |
tree | d23f6bc58c0147e02d7f84fd5b03e0d80b50efb5 /arch/powerpc/boot/dts/adder875-uboot.dts | |
parent | e8b63761554aca641bd9020447d487bfd85111bf (diff) |
[POWERPC] 8xx: Analogue & Micro Adder875 board support.
Signed-off-by: Scott Wood <scottwood@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/boot/dts/adder875-uboot.dts')
-rw-r--r-- | arch/powerpc/boot/dts/adder875-uboot.dts | 183 |
1 files changed, 183 insertions, 0 deletions
diff --git a/arch/powerpc/boot/dts/adder875-uboot.dts b/arch/powerpc/boot/dts/adder875-uboot.dts new file mode 100644 index 000000000000..60d4ad5a86d9 --- /dev/null +++ b/arch/powerpc/boot/dts/adder875-uboot.dts | |||
@@ -0,0 +1,183 @@ | |||
1 | /* | ||
2 | * Device Tree Source for MPC885 ADS running U-Boot | ||
3 | * | ||
4 | * Copyright 2006 MontaVista Software, Inc. | ||
5 | * Copyright 2007 Freescale Semiconductor, Inc. | ||
6 | * | ||
7 | * This program is free software; you can redistribute it and/or modify it | ||
8 | * under the terms of the GNU General Public License as published by the | ||
9 | * Free Software Foundation; either version 2 of the License, or (at your | ||
10 | * option) any later version. | ||
11 | */ | ||
12 | |||
13 | /dts-v1/; | ||
14 | / { | ||
15 | model = "Analogue & Micro Adder MPC875"; | ||
16 | compatible = "analogue-and-micro,adder875"; | ||
17 | #address-cells = <1>; | ||
18 | #size-cells = <1>; | ||
19 | |||
20 | aliases { | ||
21 | console = &console; | ||
22 | ethernet0 = ð0; | ||
23 | ethernet1 = ð1; | ||
24 | }; | ||
25 | |||
26 | cpus { | ||
27 | #address-cells = <1>; | ||
28 | #size-cells = <0>; | ||
29 | |||
30 | PowerPC,875@0 { | ||
31 | device_type = "cpu"; | ||
32 | reg = <0>; | ||
33 | d-cache-line-size = <16>; | ||
34 | i-cache-line-size = <16>; | ||
35 | d-cache-size = <8192>; | ||
36 | i-cache-size = <8192>; | ||
37 | timebase-frequency = <0>; | ||
38 | bus-frequency = <0>; | ||
39 | clock-frequency = <0>; | ||
40 | interrupts = <15 2>; // decrementer interrupt | ||
41 | interrupt-parent = <&PIC>; | ||
42 | }; | ||
43 | }; | ||
44 | |||
45 | memory { | ||
46 | device_type = "memory"; | ||
47 | reg = <0 0x01000000>; | ||
48 | }; | ||
49 | |||
50 | localbus@ff000100 { | ||
51 | compatible = "fsl,mpc885-localbus", "fsl,pq1-localbus", | ||
52 | "simple-bus"; | ||
53 | #address-cells = <2>; | ||
54 | #size-cells = <1>; | ||
55 | reg = <0xff000100 0x40>; | ||
56 | |||
57 | ranges = < | ||
58 | 0 0 0xfe000000 0x01000000 | ||
59 | >; | ||
60 | |||
61 | flash@0,0 { | ||
62 | compatible = "cfi-flash"; | ||
63 | reg = <0 0 0x800000>; | ||
64 | bank-width = <4>; | ||
65 | device-width = <2>; | ||
66 | }; | ||
67 | }; | ||
68 | |||
69 | soc@ff000000 { | ||
70 | compatible = "fsl,mpc875-immr", "fsl,pq1-soc", "simple-bus"; | ||
71 | #address-cells = <1>; | ||
72 | #size-cells = <1>; | ||
73 | ranges = <0 0xff000000 0x00004000>; | ||
74 | |||
75 | // Temporary until code stops depending on it. | ||
76 | device_type = "soc"; | ||
77 | |||
78 | // Temporary until get_immrbase() is fixed. | ||
79 | reg = <0xff000000 0x4000>; | ||
80 | |||
81 | mdio@e00 { | ||
82 | compatible = "fsl,mpc875-fec-mdio", "fsl,pq1-fec-mdio"; | ||
83 | reg = <0xe00 0x188>; | ||
84 | #address-cells = <1>; | ||
85 | #size-cells = <0>; | ||
86 | |||
87 | PHY0: ethernet-phy@0 { | ||
88 | reg = <0>; | ||
89 | device_type = "ethernet-phy"; | ||
90 | }; | ||
91 | |||
92 | PHY1: ethernet-phy@1 { | ||
93 | reg = <1>; | ||
94 | device_type = "ethernet-phy"; | ||
95 | }; | ||
96 | }; | ||
97 | |||
98 | eth0: ethernet@e00 { | ||
99 | device_type = "network"; | ||
100 | compatible = "fsl,mpc875-fec-enet", | ||
101 | "fsl,pq1-fec-enet"; | ||
102 | reg = <0xe00 0x188>; | ||
103 | local-mac-address = [ 00 00 00 00 00 00 ]; | ||
104 | interrupts = <3 1>; | ||
105 | interrupt-parent = <&PIC>; | ||
106 | phy-handle = <&PHY0>; | ||
107 | linux,network-index = <0>; | ||
108 | }; | ||
109 | |||
110 | eth1: ethernet@1e00 { | ||
111 | device_type = "network"; | ||
112 | compatible = "fsl,mpc875-fec-enet", | ||
113 | "fsl,pq1-fec-enet"; | ||
114 | reg = <0x1e00 0x188>; | ||
115 | local-mac-address = [ 00 00 00 00 00 00 ]; | ||
116 | interrupts = <7 1>; | ||
117 | interrupt-parent = <&PIC>; | ||
118 | phy-handle = <&PHY1>; | ||
119 | linux,network-index = <1>; | ||
120 | }; | ||
121 | |||
122 | PIC: interrupt-controller@0 { | ||
123 | interrupt-controller; | ||
124 | #interrupt-cells = <2>; | ||
125 | reg = <0 0x24>; | ||
126 | compatible = "fsl,mpc875-pic", "fsl,pq1-pic"; | ||
127 | }; | ||
128 | |||
129 | cpm@9c0 { | ||
130 | #address-cells = <1>; | ||
131 | #size-cells = <1>; | ||
132 | compatible = "fsl,mpc875-cpm", "fsl,cpm1", "simple-bus"; | ||
133 | interrupts = <0>; // cpm error interrupt | ||
134 | interrupt-parent = <&CPM_PIC>; | ||
135 | reg = <0x9c0 0x40>; | ||
136 | ranges; | ||
137 | |||
138 | muram { | ||
139 | #address-cells = <1>; | ||
140 | #size-cells = <1>; | ||
141 | ranges = <0 0x2000 0x2000>; | ||
142 | |||
143 | data@0 { | ||
144 | compatible = "fsl,cpm-muram-data"; | ||
145 | reg = <0 0x1c00>; | ||
146 | }; | ||
147 | }; | ||
148 | |||
149 | brg@9f0 { | ||
150 | compatible = "fsl,mpc875-brg", | ||
151 | "fsl,cpm1-brg", | ||
152 | "fsl,cpm-brg"; | ||
153 | reg = <0x9f0 0x10>; | ||
154 | }; | ||
155 | |||
156 | CPM_PIC: interrupt-controller@930 { | ||
157 | interrupt-controller; | ||
158 | #interrupt-cells = <1>; | ||
159 | interrupts = <5 2 0 2>; | ||
160 | interrupt-parent = <&PIC>; | ||
161 | reg = <0x930 0x20>; | ||
162 | compatible = "fsl,mpc875-cpm-pic", | ||
163 | "fsl,cpm1-pic"; | ||
164 | }; | ||
165 | |||
166 | console: serial@a80 { | ||
167 | device_type = "serial"; | ||
168 | compatible = "fsl,mpc875-smc-uart", | ||
169 | "fsl,cpm1-smc-uart"; | ||
170 | reg = <0xa80 0x10 0x3e80 0x40>; | ||
171 | interrupts = <4>; | ||
172 | interrupt-parent = <&CPM_PIC>; | ||
173 | fsl,cpm-brg = <1>; | ||
174 | fsl,cpm-command = <0x0090>; | ||
175 | current-speed = <115200>; | ||
176 | }; | ||
177 | }; | ||
178 | }; | ||
179 | |||
180 | chosen { | ||
181 | linux,stdout-path = &console; | ||
182 | }; | ||
183 | }; | ||