root / pc-bios / bamboo.dts @ f53ec699
History | View | Annotate | Download (4.5 kB)
1 | 2c9fade2 | aurel32 | /* |
---|---|---|---|
2 | 2c9fade2 | aurel32 | * Device Tree Source for AMCC Bamboo |
3 | 2c9fade2 | aurel32 | * |
4 | 2c9fade2 | aurel32 | * Copyright (c) 2006, 2007 IBM Corp. |
5 | 2c9fade2 | aurel32 | * Josh Boyer <jwboyer@linux.vnet.ibm.com> |
6 | 2c9fade2 | aurel32 | * |
7 | 2c9fade2 | aurel32 | * This file is licensed under the terms of the GNU General Public |
8 | 2c9fade2 | aurel32 | * License version 2. This program is licensed "as is" without |
9 | 2c9fade2 | aurel32 | * any warranty of any kind, whether express or implied. |
10 | 2c9fade2 | aurel32 | */ |
11 | 2c9fade2 | aurel32 | |
12 | c148b2b4 | Alexander Graf | /dts-v1/; |
13 | c148b2b4 | Alexander Graf | |
14 | 2c9fade2 | aurel32 | / { |
15 | 2c9fade2 | aurel32 | #address-cells = <2>; |
16 | 2c9fade2 | aurel32 | #size-cells = <1>; |
17 | 2c9fade2 | aurel32 | model = "amcc,bamboo"; |
18 | 2c9fade2 | aurel32 | compatible = "amcc,bamboo"; |
19 | c148b2b4 | Alexander Graf | dcr-parent = <&{/cpus/cpu@0}>; |
20 | 2c9fade2 | aurel32 | |
21 | 2c9fade2 | aurel32 | aliases { |
22 | 2c9fade2 | aurel32 | serial0 = &UART0; |
23 | 2c9fade2 | aurel32 | serial1 = &UART1; |
24 | 2c9fade2 | aurel32 | }; |
25 | 2c9fade2 | aurel32 | |
26 | 2c9fade2 | aurel32 | cpus { |
27 | 2c9fade2 | aurel32 | #address-cells = <1>; |
28 | 2c9fade2 | aurel32 | #size-cells = <0>; |
29 | 2c9fade2 | aurel32 | |
30 | 2c9fade2 | aurel32 | cpu@0 { |
31 | 2c9fade2 | aurel32 | device_type = "cpu"; |
32 | 2c9fade2 | aurel32 | model = "PowerPC,440EP"; |
33 | 2c9fade2 | aurel32 | reg = <0>; |
34 | c148b2b4 | Alexander Graf | clock-frequency = <0x1fca0550>; |
35 | c148b2b4 | Alexander Graf | timebase-frequency = <0x017d7840>; |
36 | c148b2b4 | Alexander Graf | i-cache-line-size = <0x20>; |
37 | c148b2b4 | Alexander Graf | d-cache-line-size = <0x20>; |
38 | c148b2b4 | Alexander Graf | i-cache-size = <0x8000>; |
39 | c148b2b4 | Alexander Graf | d-cache-size = <0x8000>; |
40 | 2c9fade2 | aurel32 | dcr-controller; |
41 | 2c9fade2 | aurel32 | dcr-access-method = "native"; |
42 | 2c9fade2 | aurel32 | }; |
43 | 2c9fade2 | aurel32 | }; |
44 | 2c9fade2 | aurel32 | |
45 | 2c9fade2 | aurel32 | memory { |
46 | 2c9fade2 | aurel32 | device_type = "memory"; |
47 | c148b2b4 | Alexander Graf | reg = <0x0 0x0 0x9000000>; |
48 | 2c9fade2 | aurel32 | }; |
49 | 2c9fade2 | aurel32 | |
50 | 2c9fade2 | aurel32 | UIC0: interrupt-controller0 { |
51 | 2c9fade2 | aurel32 | compatible = "ibm,uic-440ep","ibm,uic"; |
52 | 2c9fade2 | aurel32 | interrupt-controller; |
53 | c148b2b4 | Alexander Graf | cell-index = <0x0>; |
54 | c148b2b4 | Alexander Graf | dcr-reg = <0x0c0 0x009>; |
55 | c148b2b4 | Alexander Graf | #address-cells = <0x0>; |
56 | c148b2b4 | Alexander Graf | #size-cells = <0x0>; |
57 | c148b2b4 | Alexander Graf | #interrupt-cells = <0x2>; |
58 | 2c9fade2 | aurel32 | }; |
59 | 2c9fade2 | aurel32 | |
60 | 2c9fade2 | aurel32 | SDR0: sdr { |
61 | 2c9fade2 | aurel32 | compatible = "ibm,sdr-440ep"; |
62 | c148b2b4 | Alexander Graf | dcr-reg = <0x00e 0x002>; |
63 | 2c9fade2 | aurel32 | }; |
64 | 2c9fade2 | aurel32 | |
65 | 2c9fade2 | aurel32 | CPR0: cpr { |
66 | 2c9fade2 | aurel32 | compatible = "ibm,cpr-440ep"; |
67 | c148b2b4 | Alexander Graf | dcr-reg = <0x00c 0x002>; |
68 | 2c9fade2 | aurel32 | }; |
69 | 2c9fade2 | aurel32 | |
70 | 2c9fade2 | aurel32 | plb { |
71 | 2c9fade2 | aurel32 | compatible = "ibm,plb-440ep", "ibm,plb-440gp", "ibm,plb4"; |
72 | 2c9fade2 | aurel32 | #address-cells = <2>; |
73 | 2c9fade2 | aurel32 | #size-cells = <1>; |
74 | 2c9fade2 | aurel32 | ranges; |
75 | c148b2b4 | Alexander Graf | clock-frequency = <0x07f28154>; |
76 | 2c9fade2 | aurel32 | |
77 | 2c9fade2 | aurel32 | SDRAM0: sdram { |
78 | 2c9fade2 | aurel32 | compatible = "ibm,sdram-440ep", "ibm,sdram-405gp"; |
79 | c148b2b4 | Alexander Graf | dcr-reg = <0x010 0x2>; |
80 | 2c9fade2 | aurel32 | }; |
81 | 2c9fade2 | aurel32 | |
82 | 2c9fade2 | aurel32 | DMA0: dma { |
83 | 2c9fade2 | aurel32 | compatible = "ibm,dma-440ep", "ibm,dma-440gp"; |
84 | c148b2b4 | Alexander Graf | dcr-reg = <0x100 0x027>; |
85 | 2c9fade2 | aurel32 | }; |
86 | 2c9fade2 | aurel32 | |
87 | 2c9fade2 | aurel32 | POB0: opb { |
88 | 2c9fade2 | aurel32 | compatible = "ibm,opb-440ep", "ibm,opb-440gp", "ibm,opb"; |
89 | 2c9fade2 | aurel32 | #address-cells = <1>; |
90 | 2c9fade2 | aurel32 | #size-cells = <1>; |
91 | 2c9fade2 | aurel32 | /* Bamboo is oddball in the 44x world and doesn't use the ERPN |
92 | 2c9fade2 | aurel32 | * bits. |
93 | 2c9fade2 | aurel32 | */ |
94 | c148b2b4 | Alexander Graf | ranges = <0x00000000 0x0 0x00000000 0x80000000 |
95 | c148b2b4 | Alexander Graf | 0x80000000 0x0 0x80000000 0x80000000>; |
96 | 2c9fade2 | aurel32 | /* interrupt-parent = <&UIC1>; */ |
97 | 2c9fade2 | aurel32 | interrupts = <7 4>; |
98 | c148b2b4 | Alexander Graf | clock-frequency = <0x03f940aa>; |
99 | 2c9fade2 | aurel32 | |
100 | 2c9fade2 | aurel32 | EBC0: ebc { |
101 | 2c9fade2 | aurel32 | compatible = "ibm,ebc-440ep", "ibm,ebc-440gp", "ibm,ebc"; |
102 | c148b2b4 | Alexander Graf | dcr-reg = <0x012 2>; |
103 | 2c9fade2 | aurel32 | #address-cells = <2>; |
104 | 2c9fade2 | aurel32 | #size-cells = <1>; |
105 | c148b2b4 | Alexander Graf | clock-frequency = <0x03f940aa>; |
106 | 2c9fade2 | aurel32 | interrupts = <5 1>; |
107 | 2c9fade2 | aurel32 | /* interrupt-parent = <&UIC1>; */ |
108 | 2c9fade2 | aurel32 | }; |
109 | 2c9fade2 | aurel32 | |
110 | 2c9fade2 | aurel32 | UART0: serial@ef600300 { |
111 | 2c9fade2 | aurel32 | device_type = "serial"; |
112 | 2c9fade2 | aurel32 | compatible = "ns16550"; |
113 | c148b2b4 | Alexander Graf | reg = <0xef600300 8>; |
114 | c148b2b4 | Alexander Graf | virtual-reg = <0xef600300>; |
115 | c148b2b4 | Alexander Graf | clock-frequency = <0x00a8c000>; |
116 | c148b2b4 | Alexander Graf | current-speed = <0x1c200>; |
117 | 2c9fade2 | aurel32 | interrupt-parent = <&UIC0>; |
118 | 2c9fade2 | aurel32 | interrupts = <0 4>; |
119 | 2c9fade2 | aurel32 | }; |
120 | 2c9fade2 | aurel32 | |
121 | 2c9fade2 | aurel32 | UART1: serial@ef600400 { |
122 | 2c9fade2 | aurel32 | device_type = "serial"; |
123 | 2c9fade2 | aurel32 | compatible = "ns16550"; |
124 | c148b2b4 | Alexander Graf | reg = <0xef600400 8>; |
125 | c148b2b4 | Alexander Graf | virtual-reg = <0xef600400>; |
126 | c148b2b4 | Alexander Graf | clock-frequency = <0x00a8c000>; |
127 | 2c9fade2 | aurel32 | current-speed = <0>; |
128 | 2c9fade2 | aurel32 | interrupt-parent = <&UIC0>; |
129 | 2c9fade2 | aurel32 | interrupts = <1 4>; |
130 | 2c9fade2 | aurel32 | }; |
131 | 2c9fade2 | aurel32 | |
132 | 2c9fade2 | aurel32 | IIC0: i2c@ef600700 { |
133 | 2c9fade2 | aurel32 | device_type = "i2c"; |
134 | 2c9fade2 | aurel32 | compatible = "ibm,iic-440ep", "ibm,iic-440gp", "ibm,iic"; |
135 | c148b2b4 | Alexander Graf | reg = <0xef600700 0x14>; |
136 | 2c9fade2 | aurel32 | interrupt-parent = <&UIC0>; |
137 | 2c9fade2 | aurel32 | interrupts = <2 4>; |
138 | 2c9fade2 | aurel32 | }; |
139 | 2c9fade2 | aurel32 | |
140 | 2c9fade2 | aurel32 | IIC1: i2c@ef600800 { |
141 | 2c9fade2 | aurel32 | device_type = "i2c"; |
142 | 2c9fade2 | aurel32 | compatible = "ibm,iic-440ep", "ibm,iic-440gp", "ibm,iic"; |
143 | c148b2b4 | Alexander Graf | reg = <0xef600800 14>; |
144 | 2c9fade2 | aurel32 | interrupt-parent = <&UIC0>; |
145 | 2c9fade2 | aurel32 | interrupts = <7 4>; |
146 | 2c9fade2 | aurel32 | }; |
147 | 2c9fade2 | aurel32 | |
148 | 2c9fade2 | aurel32 | ZMII0: emac-zmii@ef600d00 { |
149 | 2c9fade2 | aurel32 | device_type = "zmii-interface"; |
150 | 2c9fade2 | aurel32 | compatible = "ibm,zmii-440ep", "ibm,zmii-440gp", "ibm,zmii"; |
151 | c148b2b4 | Alexander Graf | reg = <0xef600d00 0xc>; |
152 | 2c9fade2 | aurel32 | }; |
153 | 2c9fade2 | aurel32 | |
154 | 2c9fade2 | aurel32 | }; |
155 | 2c9fade2 | aurel32 | |
156 | 2c9fade2 | aurel32 | PCI0: pci@ec000000 { |
157 | 2c9fade2 | aurel32 | device_type = "pci"; |
158 | 2c9fade2 | aurel32 | #interrupt-cells = <1>; |
159 | 2c9fade2 | aurel32 | #size-cells = <2>; |
160 | 2c9fade2 | aurel32 | #address-cells = <3>; |
161 | 2c9fade2 | aurel32 | compatible = "ibm,plb440ep-pci", "ibm,plb-pci"; |
162 | 2c9fade2 | aurel32 | primary; |
163 | c148b2b4 | Alexander Graf | reg = <0 0xeec00000 8 /* Config space access */ |
164 | c148b2b4 | Alexander Graf | 0 0xeed00000 4 /* IACK */ |
165 | c148b2b4 | Alexander Graf | 0 0xeed00000 4 /* Special cycle */ |
166 | c148b2b4 | Alexander Graf | 0 0xef400000 0x40>; /* Internal registers */ |
167 | 2c9fade2 | aurel32 | |
168 | 2c9fade2 | aurel32 | /* Outbound ranges, one memory and one IO, |
169 | 2c9fade2 | aurel32 | * later cannot be changed. Chip supports a second |
170 | 2c9fade2 | aurel32 | * IO range but we don't use it for now |
171 | 2c9fade2 | aurel32 | */ |
172 | c148b2b4 | Alexander Graf | ranges = <0x02000000 0 0xa0000000 0 0xa0000000 0 0x20000000 |
173 | c148b2b4 | Alexander Graf | 0x01000000 0 0x00000000 0 0xe8000000 0 0x00010000>; |
174 | 2c9fade2 | aurel32 | |
175 | 2c9fade2 | aurel32 | /* Inbound 2GB range starting at 0 */ |
176 | c148b2b4 | Alexander Graf | dma-ranges = <0x42000000 0 0 0 0 0 0x80000000>; |
177 | 2c9fade2 | aurel32 | |
178 | 2c9fade2 | aurel32 | /* Bamboo has all 4 IRQ pins tied together per slot */ |
179 | c148b2b4 | Alexander Graf | interrupt-map-mask = <0xf800 0 0 0>; |
180 | 2c9fade2 | aurel32 | interrupt-map = < |
181 | 2c9fade2 | aurel32 | /* IDSEL 1 */ |
182 | c148b2b4 | Alexander Graf | 0x0800 0 0 0 &UIC0 0x1c 8 |
183 | 2c9fade2 | aurel32 | |
184 | 2c9fade2 | aurel32 | /* IDSEL 2 */ |
185 | c148b2b4 | Alexander Graf | 0x1000 0 0 0 &UIC0 0x1b 8 |
186 | 2c9fade2 | aurel32 | |
187 | 2c9fade2 | aurel32 | /* IDSEL 3 */ |
188 | c148b2b4 | Alexander Graf | 0x1800 0 0 0 &UIC0 0x1a 8 |
189 | 2c9fade2 | aurel32 | |
190 | 2c9fade2 | aurel32 | /* IDSEL 4 */ |
191 | c148b2b4 | Alexander Graf | 0x2000 0 0 0 &UIC0 0x19 8 |
192 | 2c9fade2 | aurel32 | >; |
193 | 2c9fade2 | aurel32 | }; |
194 | 2c9fade2 | aurel32 | |
195 | 2c9fade2 | aurel32 | }; |
196 | 2c9fade2 | aurel32 | |
197 | 2c9fade2 | aurel32 | chosen { |
198 | 2c9fade2 | aurel32 | linux,stdout-path = "/plb/opb/serial@ef600300"; |
199 | 2c9fade2 | aurel32 | }; |
200 | 2c9fade2 | aurel32 | }; |