~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/scripts/dtc/include-prefixes/powerpc/redwood.dts

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /scripts/dtc/include-prefixes/powerpc/redwood.dts (Architecture ppc) and /scripts/dtc/include-prefixes/powerpc/redwood.dts (Architecture i386)


  1 /*                                                  1 /*
  2  * Device Tree Source for AMCC Redwood(460SX)       2  * Device Tree Source for AMCC Redwood(460SX)
  3  *                                                  3  *
  4  * Copyright 2008 AMCC <tmarri@amcc.com>             4  * Copyright 2008 AMCC <tmarri@amcc.com>
  5  *                                                  5  *
  6  * This file is licensed under the terms of th      6  * This file is licensed under the terms of the GNU General Public
  7  * License version 2.  This program is license      7  * License version 2.  This program is licensed "as is" without
  8  * any warranty of any kind, whether express o      8  * any warranty of any kind, whether express or implied.
  9  */                                                 9  */
 10                                                    10 
 11 /dts-v1/;                                          11 /dts-v1/;
 12                                                    12 
 13 / {                                                13 / {
 14         #address-cells = <2>;                      14         #address-cells = <2>;
 15         #size-cells = <1>;                         15         #size-cells = <1>;
 16         model = "amcc,redwood";                    16         model = "amcc,redwood";
 17         compatible = "amcc,redwood";               17         compatible = "amcc,redwood";
 18         dcr-parent = <&{/cpus/cpu@0}>;              18         dcr-parent = <&{/cpus/cpu@0}>;
 19                                                    19 
 20         aliases {                                  20         aliases {
 21                 ethernet0 = &EMAC0;                21                 ethernet0 = &EMAC0;
 22                 serial0 = &UART0;                  22                 serial0 = &UART0;
 23         };                                         23         };
 24                                                    24 
 25         cpus {                                     25         cpus {
 26                 #address-cells = <1>;              26                 #address-cells = <1>;
 27                 #size-cells = <0>;                 27                 #size-cells = <0>;
 28                                                    28 
 29                 cpu@0 {                            29                 cpu@0 {
 30                         device_type = "cpu";       30                         device_type = "cpu";
 31                         model = "PowerPC,460SX     31                         model = "PowerPC,460SX";
 32                         reg = <0x00000000>;        32                         reg = <0x00000000>;
 33                         clock-frequency = <0>;     33                         clock-frequency = <0>; /* Filled in by U-Boot */
 34                         timebase-frequency = <     34                         timebase-frequency = <0>; /* Filled in by U-Boot */
 35                         i-cache-line-size = <3     35                         i-cache-line-size = <32>;
 36                         d-cache-line-size = <3     36                         d-cache-line-size = <32>;
 37                         i-cache-size = <32768>     37                         i-cache-size = <32768>;
 38                         d-cache-size = <32768>     38                         d-cache-size = <32768>;
 39                         dcr-controller;            39                         dcr-controller;
 40                         dcr-access-method = "n     40                         dcr-access-method = "native";
 41                 };                                 41                 };
 42         };                                         42         };
 43                                                    43 
 44         memory {                                   44         memory {
 45                 device_type = "memory";            45                 device_type = "memory";
 46                 reg = <0x00000000 0x00000000 0     46                 reg = <0x00000000 0x00000000 0x00000000>; /* Filled in by U-Boot */
 47         };                                         47         };
 48                                                    48 
 49         UIC0: interrupt-controller0 {              49         UIC0: interrupt-controller0 {
 50                 compatible = "ibm,uic-460sx","     50                 compatible = "ibm,uic-460sx","ibm,uic";
 51                 interrupt-controller;              51                 interrupt-controller;
 52                 cell-index = <0>;                  52                 cell-index = <0>;
 53                 dcr-reg = <0x0c0 0x009>;           53                 dcr-reg = <0x0c0 0x009>;
 54                 #address-cells = <0>;              54                 #address-cells = <0>;
 55                 #size-cells = <0>;                 55                 #size-cells = <0>;
 56                 #interrupt-cells = <2>;            56                 #interrupt-cells = <2>;
 57         };                                         57         };
 58                                                    58 
 59         UIC1: interrupt-controller1 {              59         UIC1: interrupt-controller1 {
 60                 compatible = "ibm,uic-460sx","     60                 compatible = "ibm,uic-460sx","ibm,uic";
 61                 interrupt-controller;              61                 interrupt-controller;
 62                 cell-index = <1>;                  62                 cell-index = <1>;
 63                 dcr-reg = <0x0d0 0x009>;           63                 dcr-reg = <0x0d0 0x009>;
 64                 #address-cells = <0>;              64                 #address-cells = <0>;
 65                 #size-cells = <0>;                 65                 #size-cells = <0>;
 66                 #interrupt-cells = <2>;            66                 #interrupt-cells = <2>;
 67                 interrupts = <0x1e 0x4 0x1f 0x     67                 interrupts = <0x1e 0x4 0x1f 0x4>; /* cascade */
 68                 interrupt-parent = <&UIC0>;        68                 interrupt-parent = <&UIC0>;
 69         };                                         69         };
 70                                                    70 
 71         UIC2: interrupt-controller2 {              71         UIC2: interrupt-controller2 {
 72                 compatible = "ibm,uic-460sx","     72                 compatible = "ibm,uic-460sx","ibm,uic";
 73                 interrupt-controller;              73                 interrupt-controller;
 74                 cell-index = <2>;                  74                 cell-index = <2>;
 75                 dcr-reg = <0x0e0 0x009>;           75                 dcr-reg = <0x0e0 0x009>;
 76                 #address-cells = <0>;              76                 #address-cells = <0>;
 77                 #size-cells = <0>;                 77                 #size-cells = <0>;
 78                 #interrupt-cells = <2>;            78                 #interrupt-cells = <2>;
 79                 interrupts = <0xa 0x4 0xb 0x4>     79                 interrupts = <0xa 0x4 0xb 0x4>; /* cascade */
 80                 interrupt-parent = <&UIC0>;        80                 interrupt-parent = <&UIC0>;
 81         };                                         81         };
 82                                                    82 
 83         UIC3: interrupt-controller3 {              83         UIC3: interrupt-controller3 {
 84                 compatible = "ibm,uic-460sx","     84                 compatible = "ibm,uic-460sx","ibm,uic";
 85                 interrupt-controller;              85                 interrupt-controller;
 86                 cell-index = <3>;                  86                 cell-index = <3>;
 87                 dcr-reg = <0x0f0 0x009>;           87                 dcr-reg = <0x0f0 0x009>;
 88                 #address-cells = <0>;              88                 #address-cells = <0>;
 89                 #size-cells = <0>;                 89                 #size-cells = <0>;
 90                 #interrupt-cells = <2>;            90                 #interrupt-cells = <2>;
 91                 interrupts = <0x10 0x4 0x11 0x     91                 interrupts = <0x10 0x4 0x11 0x4>; /* cascade */
 92                 interrupt-parent = <&UIC0>;        92                 interrupt-parent = <&UIC0>;
 93         };                                         93         };
 94                                                    94 
 95         SDR0: sdr {                                95         SDR0: sdr {
 96                 compatible = "ibm,sdr-460sx";      96                 compatible = "ibm,sdr-460sx";
 97                 dcr-reg = <0x00e 0x002>;           97                 dcr-reg = <0x00e 0x002>;
 98         };                                         98         };
 99                                                    99 
100         CPR0: cpr {                               100         CPR0: cpr {
101                 compatible = "ibm,cpr-460sx";     101                 compatible = "ibm,cpr-460sx";
102                 dcr-reg = <0x00c 0x002>;          102                 dcr-reg = <0x00c 0x002>;
103         };                                        103         };
104                                                   104 
105         plb {                                     105         plb {
106                 compatible = "ibm,plb-460sx",     106                 compatible = "ibm,plb-460sx", "ibm,plb4";
107                 #address-cells = <2>;             107                 #address-cells = <2>;
108                 #size-cells = <1>;                108                 #size-cells = <1>;
109                 ranges;                           109                 ranges;
110                 clock-frequency = <0>; /* Fill    110                 clock-frequency = <0>; /* Filled in by U-Boot */
111                                                   111 
112                 SDRAM0: sdram {                   112                 SDRAM0: sdram {
113                         compatible = "ibm,sdra    113                         compatible = "ibm,sdram-460sx", "ibm,sdram-405gp";
114                         dcr-reg = <0x010 0x002    114                         dcr-reg = <0x010 0x002>;
115                 };                                115                 };
116                                                   116 
117                 MAL0: mcmal {                     117                 MAL0: mcmal {
118                         compatible = "ibm,mcma    118                         compatible = "ibm,mcmal-460sx", "ibm,mcmal2";
119                         dcr-reg = <0x180 0x62>    119                         dcr-reg = <0x180 0x62>;
120                         num-tx-chans = <4>;       120                         num-tx-chans = <4>;
121                         num-rx-chans = <32>;      121                         num-rx-chans = <32>;
122                         #address-cells = <1>;     122                         #address-cells = <1>;
123                         #size-cells = <1>;        123                         #size-cells = <1>;
124                         interrupt-parent = <&U    124                         interrupt-parent = <&UIC1>;
125                         interrupts = <  /*TXEO    125                         interrupts = <  /*TXEOB*/ 0x6 0x4
126                                         /*RXEO    126                                         /*RXEOB*/ 0x7 0x4
127                                         /*SERR    127                                         /*SERR*/  0x1 0x4
128                                         /*TXDE    128                                         /*TXDE*/  0x2 0x4
129                                         /*RXDE    129                                         /*RXDE*/  0x3 0x4
130                                         /*COAL    130                                         /*COAL TX0*/ 0x18 0x2
131                                         /*COAL    131                                         /*COAL TX1*/ 0x19 0x2
132                                         /*COAL    132                                         /*COAL TX2*/ 0x1a 0x2
133                                         /*COAL    133                                         /*COAL TX3*/ 0x1b 0x2
134                                         /*COAL    134                                         /*COAL RX0*/ 0x1c 0x2
135                                         /*COAL    135                                         /*COAL RX1*/ 0x1d 0x2
136                                         /*COAL    136                                         /*COAL RX2*/ 0x1e 0x2
137                                         /*COAL    137                                         /*COAL RX3*/ 0x1f 0x2>;
138                 };                                138                 };
139                                                   139 
140                 POB0: opb {                       140                 POB0: opb {
141                         compatible = "ibm,opb-    141                         compatible = "ibm,opb-460sx", "ibm,opb";
142                         #address-cells = <1>;     142                         #address-cells = <1>;
143                         #size-cells = <1>;        143                         #size-cells = <1>;
144                         ranges = <0xb0000000 0    144                         ranges = <0xb0000000 0x00000004 0xb0000000 0x50000000>;
145                         clock-frequency = <0>;    145                         clock-frequency = <0>; /* Filled in by U-Boot */
146                                                   146 
147                         EBC0: ebc {               147                         EBC0: ebc {
148                                 compatible = "    148                                 compatible = "ibm,ebc-460sx", "ibm,ebc";
149                                 dcr-reg = <0x0    149                                 dcr-reg = <0x012 0x002>;
150                                 #address-cells    150                                 #address-cells = <2>;
151                                 #size-cells =     151                                 #size-cells = <1>;
152                                 clock-frequenc    152                                 clock-frequency = <0>; /* Filled in by U-Boot */
153                                 /* ranges prop    153                                 /* ranges property is supplied by U-Boot */
154                                 interrupts = <    154                                 interrupts = <0x6 0x4>;
155                                 interrupt-pare    155                                 interrupt-parent = <&UIC1>;
156                                                   156 
157                                 nor_flash@0,0     157                                 nor_flash@0,0 {
158                                         compat    158                                         compatible = "amd,s29gl512n", "cfi-flash";
159                                         bank-w    159                                         bank-width = <2>;
160                                         reg =     160                                         reg = <0x0000000 0x00000000 0x04000000>;
161                                         #addre    161                                         #address-cells = <1>;
162                                         #size-    162                                         #size-cells = <1>;
163                                         partit    163                                         partition@0 {
164                                                   164                                                 label = "kernel";
165                                                   165                                                 reg = <0x00000000 0x001e0000>;
166                                         };        166                                         };
167                                         partit    167                                         partition@1e0000 {
168                                                   168                                                 label = "dtb";
169                                                   169                                                 reg = <0x001e0000 0x00020000>;
170                                         };        170                                         };
171                                         partit    171                                         partition@200000 {
172                                                   172                                                 label = "ramdisk";
173                                                   173                                                 reg = <0x00200000 0x01400000>;
174                                         };        174                                         };
175                                         partit    175                                         partition@1600000 {
176                                                   176                                                 label = "jffs2";
177                                                   177                                                 reg = <0x01600000 0x00400000>;
178                                         };        178                                         };
179                                         partit    179                                         partition@1a00000 {
180                                                   180                                                 label = "user";
181                                                   181                                                 reg = <0x01a00000 0x02560000>;
182                                         };        182                                         };
183                                         partit    183                                         partition@3f60000 {
184                                                   184                                                 label = "env";
185                                                   185                                                 reg = <0x03f60000 0x00040000>;
186                                         };        186                                         };
187                                         partit    187                                         partition@3fa0000 {
188                                                   188                                                 label = "u-boot";
189                                                   189                                                 reg = <0x03fa0000 0x00060000>;
190                                         };        190                                         };
191                                 };                191                                 };
192                         };                        192                         };
193                                                   193 
194                         UART0: serial@ef600200    194                         UART0: serial@ef600200 {
195                                 device_type =     195                                 device_type = "serial";
196                                 compatible = "    196                                 compatible = "ns16550";
197                                 reg = <0xef600    197                                 reg = <0xef600200 0x00000008>;
198                                 virtual-reg =     198                                 virtual-reg = <0xef600200>;
199                                 clock-frequenc    199                                 clock-frequency = <0>; /* Filled in by U-Boot */
200                                 current-speed     200                                 current-speed = <0>; /* Filled in by U-Boot */
201                                 interrupt-pare    201                                 interrupt-parent = <&UIC0>;
202                                 interrupts = <    202                                 interrupts = <0x0 0x4>;
203                         };                        203                         };
204                                                   204 
205                         RGMII0: emac-rgmii@ef6    205                         RGMII0: emac-rgmii@ef600900 {
206                                 compatible = "    206                                 compatible = "ibm,rgmii-460sx", "ibm,rgmii";
207                                 reg = <0xef600    207                                 reg = <0xef600900 0x00000008>;
208                         };                        208                         };
209                                                   209 
210                         EMAC0: ethernet@ef600a    210                         EMAC0: ethernet@ef600a00 {
211                                 device_type =     211                                 device_type = "network";
212                                 compatible = "    212                                 compatible = "ibm,emac-460sx", "ibm,emac4";
213                                 interrupt-pare    213                                 interrupt-parent = <&EMAC0>;
214                                 interrupts = <    214                                 interrupts = <0x0 0x1>;
215                                 #interrupt-cel    215                                 #interrupt-cells = <1>;
216                                 #address-cells    216                                 #address-cells = <0>;
217                                 #size-cells =     217                                 #size-cells = <0>;
218                                 interrupt-map     218                                 interrupt-map = </*Status*/ 0x0 &UIC0 0x13 0x4
219                                                   219                                                  /*Wake*/   0x1 &UIC2 0x1d 0x4>;
220                                 reg = <0xef600    220                                 reg = <0xef600a00 0x00000070>;
221                                 local-mac-addr    221                                 local-mac-address = [000000000000]; /* Filled in by U-Boot */
222                                 mal-device = <    222                                 mal-device = <&MAL0>;
223                                 mal-tx-channel    223                                 mal-tx-channel = <0>;
224                                 mal-rx-channel    224                                 mal-rx-channel = <0>;
225                                 cell-index = <    225                                 cell-index = <0>;
226                                 max-frame-size    226                                 max-frame-size = <9000>;
227                                 rx-fifo-size =    227                                 rx-fifo-size = <4096>;
228                                 tx-fifo-size =    228                                 tx-fifo-size = <2048>;
229                                 rx-fifo-size-g    229                                 rx-fifo-size-gige = <16384>;
230                                 phy-mode = "rg    230                                 phy-mode = "rgmii";
231                                 phy-map = <0x0    231                                 phy-map = <0x00000000>;
232                                 rgmii-device =    232                                 rgmii-device = <&RGMII0>;
233                                 rgmii-channel     233                                 rgmii-channel = <0>;
234                                 has-inverted-s    234                                 has-inverted-stacr-oc;
235                                 has-new-stacr-    235                                 has-new-stacr-staopc;
236                         };                        236                         };
237                 };                                237                 };
238                 PCIE0: pcie@d00000000 {           238                 PCIE0: pcie@d00000000 {
239                         device_type = "pci";      239                         device_type = "pci";
240                         #interrupt-cells = <1>    240                         #interrupt-cells = <1>;
241                         #size-cells = <2>;        241                         #size-cells = <2>;
242                         #address-cells = <3>;     242                         #address-cells = <3>;
243                         compatible = "ibm,plb-    243                         compatible = "ibm,plb-pciex-460sx", "ibm,plb-pciex";
244                         primary;                  244                         primary;
245                         port = <0x0>; /* port     245                         port = <0x0>; /* port number */
246                         reg = <0x0000000d 0x00    246                         reg = <0x0000000d 0x00000000 0x20000000 /* Config space access */
247                                0x0000000c 0x10    247                                0x0000000c 0x10000000 0x00001000>;       /* Registers */
248                         dcr-reg = <0x100 0x020    248                         dcr-reg = <0x100 0x020>;
249                         sdr-base = <0x300>;       249                         sdr-base = <0x300>;
250                                                   250 
251                         /* Outbound ranges, on    251                         /* Outbound ranges, one memory and one IO,
252                          * later cannot be cha    252                          * later cannot be changed
253                          */                       253                          */
254                         ranges = <0x02000000 0    254                         ranges = <0x02000000 0x00000000 0x80000000 0x0000000e 0x00000000 0x00000000 0x80000000
255                                   0x01000000 0    255                                   0x01000000 0x00000000 0x00000000 0x0000000f 0x80000000 0x00000000 0x00010000>;
256                                                   256 
257                         /* Inbound 2GB range s    257                         /* Inbound 2GB range starting at 0 */
258                         dma-ranges = <0x420000    258                         dma-ranges = <0x42000000 0x0 0x0 0x0 0x0 0x0 0x80000000>;
259                                                   259 
260                         /* This drives busses     260                         /* This drives busses 10 to 0x1f */
261                         bus-range = <0x10 0x1f    261                         bus-range = <0x10 0x1f>;
262                                                   262 
263                         /* Legacy interrupts (    263                         /* Legacy interrupts (note the weird polarity, the bridge seems
264                          * to invert PCIe lega    264                          * to invert PCIe legacy interrupts).
265                          * We are de-swizzling    265                          * We are de-swizzling here because the numbers are actually for
266                          * port of the root co    266                          * port of the root complex virtual P2P bridge. But I want
267                          * to avoid putting a     267                          * to avoid putting a node for it in the tree, so the numbers
268                          * below are basically    268                          * below are basically de-swizzled numbers.
269                          * The real slot is on    269                          * The real slot is on idsel 0, so the swizzling is 1:1
270                          */                       270                          */
271                         interrupt-map-mask = <    271                         interrupt-map-mask = <0x0 0x0 0x0 0x7>;
272                         interrupt-map = <         272                         interrupt-map = <
273                                 0x0 0x0 0x0 0x    273                                 0x0 0x0 0x0 0x1 &UIC3 0x0 0x4 /* swizzled int A */
274                                 0x0 0x0 0x0 0x    274                                 0x0 0x0 0x0 0x2 &UIC3 0x1 0x4 /* swizzled int B */
275                                 0x0 0x0 0x0 0x    275                                 0x0 0x0 0x0 0x3 &UIC3 0x2 0x4 /* swizzled int C */
276                                 0x0 0x0 0x0 0x    276                                 0x0 0x0 0x0 0x4 &UIC3 0x3 0x4 /* swizzled int D */>;
277                 };                                277                 };
278                                                   278 
279                 PCIE1: pcie@d20000000 {           279                 PCIE1: pcie@d20000000 {
280                         device_type = "pci";      280                         device_type = "pci";
281                         #interrupt-cells = <1>    281                         #interrupt-cells = <1>;
282                         #size-cells = <2>;        282                         #size-cells = <2>;
283                         #address-cells = <3>;     283                         #address-cells = <3>;
284                         compatible = "ibm,plb-    284                         compatible = "ibm,plb-pciex-460sx", "ibm,plb-pciex";
285                         primary;                  285                         primary;
286                         port = <0x1>; /* port     286                         port = <0x1>; /* port number */
287                         reg = <0x0000000d 0x20    287                         reg = <0x0000000d 0x20000000 0x20000000 /* Config space access */
288                                0x0000000c 0x10    288                                0x0000000c 0x10001000 0x00001000>;       /* Registers */
289                         dcr-reg = <0x120 0x020    289                         dcr-reg = <0x120 0x020>;
290                         sdr-base = <0x340>;       290                         sdr-base = <0x340>;
291                                                   291 
292                         /* Outbound ranges, on    292                         /* Outbound ranges, one memory and one IO,
293                          * later cannot be cha    293                          * later cannot be changed
294                          */                       294                          */
295                         ranges = <0x02000000 0    295                         ranges = <0x02000000 0x00000000 0x80000000 0x0000000e 0x80000000 0x00000000 0x80000000
296                                   0x01000000 0    296                                   0x01000000 0x00000000 0x00000000 0x0000000f 0x80010000 0x00000000 0x00010000>;
297                                                   297 
298                         /* Inbound 2GB range s    298                         /* Inbound 2GB range starting at 0 */
299                         dma-ranges = <0x420000    299                         dma-ranges = <0x42000000 0x0 0x0 0x0 0x0 0x0 0x80000000>;
300                                                   300 
301                         /* This drives busses     301                         /* This drives busses 10 to 0x1f */
302                         bus-range = <0x20 0x2f    302                         bus-range = <0x20 0x2f>;
303                                                   303 
304                         /* Legacy interrupts (    304                         /* Legacy interrupts (note the weird polarity, the bridge seems
305                          * to invert PCIe lega    305                          * to invert PCIe legacy interrupts).
306                          * We are de-swizzling    306                          * We are de-swizzling here because the numbers are actually for
307                          * port of the root co    307                          * port of the root complex virtual P2P bridge. But I want
308                          * to avoid putting a     308                          * to avoid putting a node for it in the tree, so the numbers
309                          * below are basically    309                          * below are basically de-swizzled numbers.
310                          * The real slot is on    310                          * The real slot is on idsel 0, so the swizzling is 1:1
311                          */                       311                          */
312                         interrupt-map-mask = <    312                         interrupt-map-mask = <0x0 0x0 0x0 0x7>;
313                         interrupt-map = <         313                         interrupt-map = <
314                                 0x0 0x0 0x0 0x    314                                 0x0 0x0 0x0 0x1 &UIC3 0x4 0x4 /* swizzled int A */
315                                 0x0 0x0 0x0 0x    315                                 0x0 0x0 0x0 0x2 &UIC3 0x5 0x4 /* swizzled int B */
316                                 0x0 0x0 0x0 0x    316                                 0x0 0x0 0x0 0x3 &UIC3 0x6 0x4 /* swizzled int C */
317                                 0x0 0x0 0x0 0x    317                                 0x0 0x0 0x0 0x4 &UIC3 0x7 0x4 /* swizzled int D */>;
318                 };                                318                 };
319                                                   319 
320                 PCIE2: pcie@d40000000 {           320                 PCIE2: pcie@d40000000 {
321                         device_type = "pci";      321                         device_type = "pci";
322                         #interrupt-cells = <1>    322                         #interrupt-cells = <1>;
323                         #size-cells = <2>;        323                         #size-cells = <2>;
324                         #address-cells = <3>;     324                         #address-cells = <3>;
325                         compatible = "ibm,plb-    325                         compatible = "ibm,plb-pciex-460sx", "ibm,plb-pciex";
326                         primary;                  326                         primary;
327                         port = <0x2>; /* port     327                         port = <0x2>; /* port number */
328                         reg = <0x0000000d 0x40    328                         reg = <0x0000000d 0x40000000 0x20000000 /* Config space access */
329                                0x0000000c 0x10    329                                0x0000000c 0x10002000 0x00001000>;       /* Registers */
330                         dcr-reg = <0x140 0x020    330                         dcr-reg = <0x140 0x020>;
331                         sdr-base = <0x370>;       331                         sdr-base = <0x370>;
332                                                   332 
333                         /* Outbound ranges, on    333                         /* Outbound ranges, one memory and one IO,
334                          * later cannot be cha    334                          * later cannot be changed
335                          */                       335                          */
336                         ranges = <0x02000000 0    336                         ranges = <0x02000000 0x00000000 0x80000000 0x0000000f 0x00000000 0x00000000 0x80000000
337                                   0x01000000 0    337                                   0x01000000 0x00000000 0x00000000 0x0000000f 0x80020000 0x00000000 0x00010000>;
338                                                   338 
339                         /* Inbound 2GB range s    339                         /* Inbound 2GB range starting at 0 */
340                         dma-ranges = <0x420000    340                         dma-ranges = <0x42000000 0x0 0x0 0x0 0x0 0x0 0x80000000>;
341                                                   341 
342                         /* This drives busses     342                         /* This drives busses 10 to 0x1f */
343                         bus-range = <0x30 0x3f    343                         bus-range = <0x30 0x3f>;
344                                                   344 
345                         /* Legacy interrupts (    345                         /* Legacy interrupts (note the weird polarity, the bridge seems
346                          * to invert PCIe lega    346                          * to invert PCIe legacy interrupts).
347                          * We are de-swizzling    347                          * We are de-swizzling here because the numbers are actually for
348                          * port of the root co    348                          * port of the root complex virtual P2P bridge. But I want
349                          * to avoid putting a     349                          * to avoid putting a node for it in the tree, so the numbers
350                          * below are basically    350                          * below are basically de-swizzled numbers.
351                          * The real slot is on    351                          * The real slot is on idsel 0, so the swizzling is 1:1
352                          */                       352                          */
353                         interrupt-map-mask = <    353                         interrupt-map-mask = <0x0 0x0 0x0 0x7>;
354                         interrupt-map = <         354                         interrupt-map = <
355                                 0x0 0x0 0x0 0x    355                                 0x0 0x0 0x0 0x1 &UIC3 0x8 0x4 /* swizzled int A */
356                                 0x0 0x0 0x0 0x    356                                 0x0 0x0 0x0 0x2 &UIC3 0x9 0x4 /* swizzled int B */
357                                 0x0 0x0 0x0 0x    357                                 0x0 0x0 0x0 0x3 &UIC3 0xa 0x4 /* swizzled int C */
358                                 0x0 0x0 0x0 0x    358                                 0x0 0x0 0x0 0x4 &UIC3 0xb 0x4 /* swizzled int D */>;
359                 };                                359                 };
360                                                   360 
361         };                                        361         };
362                                                   362 
363                                                   363 
364         chosen {                                  364         chosen {
365                 stdout-path = "/plb/opb/serial    365                 stdout-path = "/plb/opb/serial@ef600200";
366         };                                        366         };
367                                                   367 
368 };                                                368 };
                                                      

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php