Kumar Gala | 5d54ddc | 2007-09-11 01:25:43 -0500 | [diff] [blame] | 1 | /* |
| 2 | * MPC8572 DS Device Tree Source |
| 3 | * |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 4 | * Copyright 2007, 2008 Freescale Semiconductor Inc. |
Kumar Gala | 5d54ddc | 2007-09-11 01:25:43 -0500 | [diff] [blame] | 5 | * |
| 6 | * This program is free software; you can redistribute it and/or modify it |
| 7 | * under the terms of the GNU General Public License as published by the |
| 8 | * Free Software Foundation; either version 2 of the License, or (at your |
| 9 | * option) any later version. |
| 10 | */ |
| 11 | |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 12 | /dts-v1/; |
Kumar Gala | 5d54ddc | 2007-09-11 01:25:43 -0500 | [diff] [blame] | 13 | / { |
| 14 | model = "fsl,MPC8572DS"; |
| 15 | compatible = "fsl,MPC8572DS"; |
| 16 | #address-cells = <1>; |
| 17 | #size-cells = <1>; |
| 18 | |
Kumar Gala | ea082fa | 2007-12-12 01:46:12 -0600 | [diff] [blame] | 19 | aliases { |
| 20 | ethernet0 = &enet0; |
| 21 | ethernet1 = &enet1; |
| 22 | ethernet2 = &enet2; |
| 23 | ethernet3 = &enet3; |
| 24 | serial0 = &serial0; |
| 25 | serial1 = &serial1; |
| 26 | pci0 = &pci0; |
| 27 | pci1 = &pci1; |
| 28 | pci2 = &pci2; |
| 29 | }; |
| 30 | |
Kumar Gala | 5d54ddc | 2007-09-11 01:25:43 -0500 | [diff] [blame] | 31 | cpus { |
| 32 | #address-cells = <1>; |
| 33 | #size-cells = <0>; |
| 34 | |
| 35 | PowerPC,8572@0 { |
| 36 | device_type = "cpu"; |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 37 | reg = <0x0>; |
| 38 | d-cache-line-size = <32>; // 32 bytes |
| 39 | i-cache-line-size = <32>; // 32 bytes |
| 40 | d-cache-size = <0x8000>; // L1, 32K |
| 41 | i-cache-size = <0x8000>; // L1, 32K |
Kumar Gala | 5d54ddc | 2007-09-11 01:25:43 -0500 | [diff] [blame] | 42 | timebase-frequency = <0>; |
| 43 | bus-frequency = <0>; |
| 44 | clock-frequency = <0>; |
Kumar Gala | c054065 | 2008-05-30 13:43:43 -0500 | [diff] [blame^] | 45 | next-level-cache = <&L2>; |
Kumar Gala | 5d54ddc | 2007-09-11 01:25:43 -0500 | [diff] [blame] | 46 | }; |
Kumar Gala | 7e25867 | 2008-02-05 23:58:30 -0600 | [diff] [blame] | 47 | |
| 48 | PowerPC,8572@1 { |
| 49 | device_type = "cpu"; |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 50 | reg = <0x1>; |
| 51 | d-cache-line-size = <32>; // 32 bytes |
| 52 | i-cache-line-size = <32>; // 32 bytes |
| 53 | d-cache-size = <0x8000>; // L1, 32K |
| 54 | i-cache-size = <0x8000>; // L1, 32K |
Kumar Gala | 7e25867 | 2008-02-05 23:58:30 -0600 | [diff] [blame] | 55 | timebase-frequency = <0>; |
| 56 | bus-frequency = <0>; |
| 57 | clock-frequency = <0>; |
Kumar Gala | c054065 | 2008-05-30 13:43:43 -0500 | [diff] [blame^] | 58 | next-level-cache = <&L2>; |
Kumar Gala | 7e25867 | 2008-02-05 23:58:30 -0600 | [diff] [blame] | 59 | }; |
Kumar Gala | 5d54ddc | 2007-09-11 01:25:43 -0500 | [diff] [blame] | 60 | }; |
| 61 | |
| 62 | memory { |
| 63 | device_type = "memory"; |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 64 | reg = <0x0 0x0>; // Filled by U-Boot |
Kumar Gala | 5d54ddc | 2007-09-11 01:25:43 -0500 | [diff] [blame] | 65 | }; |
| 66 | |
| 67 | soc8572@ffe00000 { |
| 68 | #address-cells = <1>; |
| 69 | #size-cells = <1>; |
| 70 | device_type = "soc"; |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 71 | ranges = <0x0 0xffe00000 0x100000>; |
| 72 | reg = <0xffe00000 0x1000>; // CCSRBAR & soc regs, remove once parse code for immrbase fixed |
Kumar Gala | 5d54ddc | 2007-09-11 01:25:43 -0500 | [diff] [blame] | 73 | bus-frequency = <0>; // Filled out by uboot. |
| 74 | |
| 75 | memory-controller@2000 { |
| 76 | compatible = "fsl,mpc8572-memory-controller"; |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 77 | reg = <0x2000 0x1000>; |
Kumar Gala | 5d54ddc | 2007-09-11 01:25:43 -0500 | [diff] [blame] | 78 | interrupt-parent = <&mpic>; |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 79 | interrupts = <18 2>; |
Kumar Gala | 5d54ddc | 2007-09-11 01:25:43 -0500 | [diff] [blame] | 80 | }; |
| 81 | |
| 82 | memory-controller@6000 { |
| 83 | compatible = "fsl,mpc8572-memory-controller"; |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 84 | reg = <0x6000 0x1000>; |
Kumar Gala | 5d54ddc | 2007-09-11 01:25:43 -0500 | [diff] [blame] | 85 | interrupt-parent = <&mpic>; |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 86 | interrupts = <18 2>; |
Kumar Gala | 5d54ddc | 2007-09-11 01:25:43 -0500 | [diff] [blame] | 87 | }; |
| 88 | |
Kumar Gala | c054065 | 2008-05-30 13:43:43 -0500 | [diff] [blame^] | 89 | L2: l2-cache-controller@20000 { |
Kumar Gala | 5d54ddc | 2007-09-11 01:25:43 -0500 | [diff] [blame] | 90 | compatible = "fsl,mpc8572-l2-cache-controller"; |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 91 | reg = <0x20000 0x1000>; |
| 92 | cache-line-size = <32>; // 32 bytes |
| 93 | cache-size = <0x80000>; // L2, 512K |
Kumar Gala | 5d54ddc | 2007-09-11 01:25:43 -0500 | [diff] [blame] | 94 | interrupt-parent = <&mpic>; |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 95 | interrupts = <16 2>; |
Kumar Gala | 5d54ddc | 2007-09-11 01:25:43 -0500 | [diff] [blame] | 96 | }; |
| 97 | |
| 98 | i2c@3000 { |
Kumar Gala | ec9686c | 2007-12-11 23:17:24 -0600 | [diff] [blame] | 99 | #address-cells = <1>; |
| 100 | #size-cells = <0>; |
| 101 | cell-index = <0>; |
Kumar Gala | 5d54ddc | 2007-09-11 01:25:43 -0500 | [diff] [blame] | 102 | compatible = "fsl-i2c"; |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 103 | reg = <0x3000 0x100>; |
| 104 | interrupts = <43 2>; |
Kumar Gala | 5d54ddc | 2007-09-11 01:25:43 -0500 | [diff] [blame] | 105 | interrupt-parent = <&mpic>; |
| 106 | dfsrr; |
| 107 | }; |
| 108 | |
| 109 | i2c@3100 { |
Kumar Gala | ec9686c | 2007-12-11 23:17:24 -0600 | [diff] [blame] | 110 | #address-cells = <1>; |
| 111 | #size-cells = <0>; |
| 112 | cell-index = <1>; |
Kumar Gala | 5d54ddc | 2007-09-11 01:25:43 -0500 | [diff] [blame] | 113 | compatible = "fsl-i2c"; |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 114 | reg = <0x3100 0x100>; |
| 115 | interrupts = <43 2>; |
Kumar Gala | 5d54ddc | 2007-09-11 01:25:43 -0500 | [diff] [blame] | 116 | interrupt-parent = <&mpic>; |
| 117 | dfsrr; |
| 118 | }; |
| 119 | |
| 120 | mdio@24520 { |
| 121 | #address-cells = <1>; |
| 122 | #size-cells = <0>; |
Kumar Gala | e77b28e | 2007-12-12 00:28:35 -0600 | [diff] [blame] | 123 | compatible = "fsl,gianfar-mdio"; |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 124 | reg = <0x24520 0x20>; |
Kumar Gala | e77b28e | 2007-12-12 00:28:35 -0600 | [diff] [blame] | 125 | |
Kumar Gala | 5d54ddc | 2007-09-11 01:25:43 -0500 | [diff] [blame] | 126 | phy0: ethernet-phy@0 { |
| 127 | interrupt-parent = <&mpic>; |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 128 | interrupts = <10 1>; |
| 129 | reg = <0x0>; |
Kumar Gala | 5d54ddc | 2007-09-11 01:25:43 -0500 | [diff] [blame] | 130 | }; |
| 131 | phy1: ethernet-phy@1 { |
| 132 | interrupt-parent = <&mpic>; |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 133 | interrupts = <10 1>; |
| 134 | reg = <0x1>; |
Kumar Gala | 5d54ddc | 2007-09-11 01:25:43 -0500 | [diff] [blame] | 135 | }; |
| 136 | phy2: ethernet-phy@2 { |
| 137 | interrupt-parent = <&mpic>; |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 138 | interrupts = <10 1>; |
| 139 | reg = <0x2>; |
Kumar Gala | 5d54ddc | 2007-09-11 01:25:43 -0500 | [diff] [blame] | 140 | }; |
| 141 | phy3: ethernet-phy@3 { |
| 142 | interrupt-parent = <&mpic>; |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 143 | interrupts = <10 1>; |
| 144 | reg = <0x3>; |
Kumar Gala | 5d54ddc | 2007-09-11 01:25:43 -0500 | [diff] [blame] | 145 | }; |
| 146 | }; |
| 147 | |
Kumar Gala | e77b28e | 2007-12-12 00:28:35 -0600 | [diff] [blame] | 148 | enet0: ethernet@24000 { |
| 149 | cell-index = <0>; |
Kumar Gala | 5d54ddc | 2007-09-11 01:25:43 -0500 | [diff] [blame] | 150 | device_type = "network"; |
| 151 | model = "eTSEC"; |
| 152 | compatible = "gianfar"; |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 153 | reg = <0x24000 0x1000>; |
Kumar Gala | 5d54ddc | 2007-09-11 01:25:43 -0500 | [diff] [blame] | 154 | local-mac-address = [ 00 00 00 00 00 00 ]; |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 155 | interrupts = <29 2 30 2 34 2>; |
Kumar Gala | 5d54ddc | 2007-09-11 01:25:43 -0500 | [diff] [blame] | 156 | interrupt-parent = <&mpic>; |
| 157 | phy-handle = <&phy0>; |
| 158 | phy-connection-type = "rgmii-id"; |
| 159 | }; |
| 160 | |
Kumar Gala | e77b28e | 2007-12-12 00:28:35 -0600 | [diff] [blame] | 161 | enet1: ethernet@25000 { |
| 162 | cell-index = <1>; |
Kumar Gala | 5d54ddc | 2007-09-11 01:25:43 -0500 | [diff] [blame] | 163 | device_type = "network"; |
| 164 | model = "eTSEC"; |
| 165 | compatible = "gianfar"; |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 166 | reg = <0x25000 0x1000>; |
Kumar Gala | 5d54ddc | 2007-09-11 01:25:43 -0500 | [diff] [blame] | 167 | local-mac-address = [ 00 00 00 00 00 00 ]; |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 168 | interrupts = <35 2 36 2 40 2>; |
Kumar Gala | 5d54ddc | 2007-09-11 01:25:43 -0500 | [diff] [blame] | 169 | interrupt-parent = <&mpic>; |
| 170 | phy-handle = <&phy1>; |
| 171 | phy-connection-type = "rgmii-id"; |
| 172 | }; |
| 173 | |
Kumar Gala | e77b28e | 2007-12-12 00:28:35 -0600 | [diff] [blame] | 174 | enet2: ethernet@26000 { |
| 175 | cell-index = <2>; |
Kumar Gala | 5d54ddc | 2007-09-11 01:25:43 -0500 | [diff] [blame] | 176 | device_type = "network"; |
| 177 | model = "eTSEC"; |
| 178 | compatible = "gianfar"; |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 179 | reg = <0x26000 0x1000>; |
Kumar Gala | 5d54ddc | 2007-09-11 01:25:43 -0500 | [diff] [blame] | 180 | local-mac-address = [ 00 00 00 00 00 00 ]; |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 181 | interrupts = <31 2 32 2 33 2>; |
Kumar Gala | 5d54ddc | 2007-09-11 01:25:43 -0500 | [diff] [blame] | 182 | interrupt-parent = <&mpic>; |
| 183 | phy-handle = <&phy2>; |
| 184 | phy-connection-type = "rgmii-id"; |
| 185 | }; |
| 186 | |
Kumar Gala | e77b28e | 2007-12-12 00:28:35 -0600 | [diff] [blame] | 187 | enet3: ethernet@27000 { |
| 188 | cell-index = <3>; |
Kumar Gala | 5d54ddc | 2007-09-11 01:25:43 -0500 | [diff] [blame] | 189 | device_type = "network"; |
| 190 | model = "eTSEC"; |
| 191 | compatible = "gianfar"; |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 192 | reg = <0x27000 0x1000>; |
Kumar Gala | 5d54ddc | 2007-09-11 01:25:43 -0500 | [diff] [blame] | 193 | local-mac-address = [ 00 00 00 00 00 00 ]; |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 194 | interrupts = <37 2 38 2 39 2>; |
Kumar Gala | 5d54ddc | 2007-09-11 01:25:43 -0500 | [diff] [blame] | 195 | interrupt-parent = <&mpic>; |
| 196 | phy-handle = <&phy3>; |
| 197 | phy-connection-type = "rgmii-id"; |
| 198 | }; |
| 199 | |
Kumar Gala | ea082fa | 2007-12-12 01:46:12 -0600 | [diff] [blame] | 200 | serial0: serial@4500 { |
| 201 | cell-index = <0>; |
Kumar Gala | 5d54ddc | 2007-09-11 01:25:43 -0500 | [diff] [blame] | 202 | device_type = "serial"; |
| 203 | compatible = "ns16550"; |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 204 | reg = <0x4500 0x100>; |
Kumar Gala | 5d54ddc | 2007-09-11 01:25:43 -0500 | [diff] [blame] | 205 | clock-frequency = <0>; |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 206 | interrupts = <42 2>; |
Kumar Gala | 5d54ddc | 2007-09-11 01:25:43 -0500 | [diff] [blame] | 207 | interrupt-parent = <&mpic>; |
| 208 | }; |
| 209 | |
Kumar Gala | ea082fa | 2007-12-12 01:46:12 -0600 | [diff] [blame] | 210 | serial1: serial@4600 { |
| 211 | cell-index = <1>; |
Kumar Gala | 5d54ddc | 2007-09-11 01:25:43 -0500 | [diff] [blame] | 212 | device_type = "serial"; |
| 213 | compatible = "ns16550"; |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 214 | reg = <0x4600 0x100>; |
Kumar Gala | 5d54ddc | 2007-09-11 01:25:43 -0500 | [diff] [blame] | 215 | clock-frequency = <0>; |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 216 | interrupts = <42 2>; |
Kumar Gala | 5d54ddc | 2007-09-11 01:25:43 -0500 | [diff] [blame] | 217 | interrupt-parent = <&mpic>; |
| 218 | }; |
| 219 | |
| 220 | global-utilities@e0000 { //global utilities block |
| 221 | compatible = "fsl,mpc8572-guts"; |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 222 | reg = <0xe0000 0x1000>; |
Kumar Gala | 5d54ddc | 2007-09-11 01:25:43 -0500 | [diff] [blame] | 223 | fsl,has-rstcr; |
| 224 | }; |
| 225 | |
Jason Jin | 741edc4 | 2008-05-23 16:32:48 +0800 | [diff] [blame] | 226 | msi@41600 { |
| 227 | compatible = "fsl,mpc8572-msi", "fsl,mpic-msi"; |
| 228 | reg = <0x41600 0x80>; |
| 229 | msi-available-ranges = <0 0x100>; |
| 230 | interrupts = < |
| 231 | 0xe0 0 |
| 232 | 0xe1 0 |
| 233 | 0xe2 0 |
| 234 | 0xe3 0 |
| 235 | 0xe4 0 |
| 236 | 0xe5 0 |
| 237 | 0xe6 0 |
| 238 | 0xe7 0>; |
| 239 | interrupt-parent = <&mpic>; |
| 240 | }; |
| 241 | |
Kumar Gala | 5d54ddc | 2007-09-11 01:25:43 -0500 | [diff] [blame] | 242 | mpic: pic@40000 { |
Kumar Gala | 5d54ddc | 2007-09-11 01:25:43 -0500 | [diff] [blame] | 243 | interrupt-controller; |
| 244 | #address-cells = <0>; |
| 245 | #interrupt-cells = <2>; |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 246 | reg = <0x40000 0x40000>; |
Kumar Gala | 5d54ddc | 2007-09-11 01:25:43 -0500 | [diff] [blame] | 247 | compatible = "chrp,open-pic"; |
| 248 | device_type = "open-pic"; |
Kumar Gala | 5d54ddc | 2007-09-11 01:25:43 -0500 | [diff] [blame] | 249 | }; |
| 250 | }; |
| 251 | |
Kumar Gala | ea082fa | 2007-12-12 01:46:12 -0600 | [diff] [blame] | 252 | pci0: pcie@ffe08000 { |
| 253 | cell-index = <0>; |
Kumar Gala | 5d54ddc | 2007-09-11 01:25:43 -0500 | [diff] [blame] | 254 | compatible = "fsl,mpc8548-pcie"; |
| 255 | device_type = "pci"; |
| 256 | #interrupt-cells = <1>; |
| 257 | #size-cells = <2>; |
| 258 | #address-cells = <3>; |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 259 | reg = <0xffe08000 0x1000>; |
| 260 | bus-range = <0 255>; |
| 261 | ranges = <0x2000000 0x0 0x80000000 0x80000000 0x0 0x20000000 |
| 262 | 0x1000000 0x0 0x0 0xffc00000 0x0 0x10000>; |
| 263 | clock-frequency = <33333333>; |
Kumar Gala | 5d54ddc | 2007-09-11 01:25:43 -0500 | [diff] [blame] | 264 | interrupt-parent = <&mpic>; |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 265 | interrupts = <24 2>; |
| 266 | interrupt-map-mask = <0xff00 0x0 0x0 0x7>; |
Kumar Gala | 5d54ddc | 2007-09-11 01:25:43 -0500 | [diff] [blame] | 267 | interrupt-map = < |
Kumar Gala | bebfa06 | 2007-11-19 23:36:23 -0600 | [diff] [blame] | 268 | /* IDSEL 0x11 func 0 - PCI slot 1 */ |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 269 | 0x8800 0x0 0x0 0x1 &mpic 0x2 0x1 |
| 270 | 0x8800 0x0 0x0 0x2 &mpic 0x3 0x1 |
| 271 | 0x8800 0x0 0x0 0x3 &mpic 0x4 0x1 |
| 272 | 0x8800 0x0 0x0 0x4 &mpic 0x1 0x1 |
Kumar Gala | 5d54ddc | 2007-09-11 01:25:43 -0500 | [diff] [blame] | 273 | |
Kumar Gala | bebfa06 | 2007-11-19 23:36:23 -0600 | [diff] [blame] | 274 | /* IDSEL 0x11 func 1 - PCI slot 1 */ |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 275 | 0x8900 0x0 0x0 0x1 &mpic 0x2 0x1 |
| 276 | 0x8900 0x0 0x0 0x2 &mpic 0x3 0x1 |
| 277 | 0x8900 0x0 0x0 0x3 &mpic 0x4 0x1 |
| 278 | 0x8900 0x0 0x0 0x4 &mpic 0x1 0x1 |
Kumar Gala | bebfa06 | 2007-11-19 23:36:23 -0600 | [diff] [blame] | 279 | |
| 280 | /* IDSEL 0x11 func 2 - PCI slot 1 */ |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 281 | 0x8a00 0x0 0x0 0x1 &mpic 0x2 0x1 |
| 282 | 0x8a00 0x0 0x0 0x2 &mpic 0x3 0x1 |
| 283 | 0x8a00 0x0 0x0 0x3 &mpic 0x4 0x1 |
| 284 | 0x8a00 0x0 0x0 0x4 &mpic 0x1 0x1 |
Kumar Gala | bebfa06 | 2007-11-19 23:36:23 -0600 | [diff] [blame] | 285 | |
| 286 | /* IDSEL 0x11 func 3 - PCI slot 1 */ |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 287 | 0x8b00 0x0 0x0 0x1 &mpic 0x2 0x1 |
| 288 | 0x8b00 0x0 0x0 0x2 &mpic 0x3 0x1 |
| 289 | 0x8b00 0x0 0x0 0x3 &mpic 0x4 0x1 |
| 290 | 0x8b00 0x0 0x0 0x4 &mpic 0x1 0x1 |
Kumar Gala | bebfa06 | 2007-11-19 23:36:23 -0600 | [diff] [blame] | 291 | |
| 292 | /* IDSEL 0x11 func 4 - PCI slot 1 */ |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 293 | 0x8c00 0x0 0x0 0x1 &mpic 0x2 0x1 |
| 294 | 0x8c00 0x0 0x0 0x2 &mpic 0x3 0x1 |
| 295 | 0x8c00 0x0 0x0 0x3 &mpic 0x4 0x1 |
| 296 | 0x8c00 0x0 0x0 0x4 &mpic 0x1 0x1 |
Kumar Gala | bebfa06 | 2007-11-19 23:36:23 -0600 | [diff] [blame] | 297 | |
| 298 | /* IDSEL 0x11 func 5 - PCI slot 1 */ |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 299 | 0x8d00 0x0 0x0 0x1 &mpic 0x2 0x1 |
| 300 | 0x8d00 0x0 0x0 0x2 &mpic 0x3 0x1 |
| 301 | 0x8d00 0x0 0x0 0x3 &mpic 0x4 0x1 |
| 302 | 0x8d00 0x0 0x0 0x4 &mpic 0x1 0x1 |
Kumar Gala | bebfa06 | 2007-11-19 23:36:23 -0600 | [diff] [blame] | 303 | |
| 304 | /* IDSEL 0x11 func 6 - PCI slot 1 */ |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 305 | 0x8e00 0x0 0x0 0x1 &mpic 0x2 0x1 |
| 306 | 0x8e00 0x0 0x0 0x2 &mpic 0x3 0x1 |
| 307 | 0x8e00 0x0 0x0 0x3 &mpic 0x4 0x1 |
| 308 | 0x8e00 0x0 0x0 0x4 &mpic 0x1 0x1 |
Kumar Gala | bebfa06 | 2007-11-19 23:36:23 -0600 | [diff] [blame] | 309 | |
| 310 | /* IDSEL 0x11 func 7 - PCI slot 1 */ |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 311 | 0x8f00 0x0 0x0 0x1 &mpic 0x2 0x1 |
| 312 | 0x8f00 0x0 0x0 0x2 &mpic 0x3 0x1 |
| 313 | 0x8f00 0x0 0x0 0x3 &mpic 0x4 0x1 |
| 314 | 0x8f00 0x0 0x0 0x4 &mpic 0x1 0x1 |
Kumar Gala | bebfa06 | 2007-11-19 23:36:23 -0600 | [diff] [blame] | 315 | |
| 316 | /* IDSEL 0x12 func 0 - PCI slot 2 */ |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 317 | 0x9000 0x0 0x0 0x1 &mpic 0x3 0x1 |
| 318 | 0x9000 0x0 0x0 0x2 &mpic 0x4 0x1 |
| 319 | 0x9000 0x0 0x0 0x3 &mpic 0x1 0x1 |
| 320 | 0x9000 0x0 0x0 0x4 &mpic 0x2 0x1 |
Kumar Gala | 5d54ddc | 2007-09-11 01:25:43 -0500 | [diff] [blame] | 321 | |
Kumar Gala | bebfa06 | 2007-11-19 23:36:23 -0600 | [diff] [blame] | 322 | /* IDSEL 0x12 func 1 - PCI slot 2 */ |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 323 | 0x9100 0x0 0x0 0x1 &mpic 0x3 0x1 |
| 324 | 0x9100 0x0 0x0 0x2 &mpic 0x4 0x1 |
| 325 | 0x9100 0x0 0x0 0x3 &mpic 0x1 0x1 |
| 326 | 0x9100 0x0 0x0 0x4 &mpic 0x2 0x1 |
Kumar Gala | bebfa06 | 2007-11-19 23:36:23 -0600 | [diff] [blame] | 327 | |
| 328 | /* IDSEL 0x12 func 2 - PCI slot 2 */ |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 329 | 0x9200 0x0 0x0 0x1 &mpic 0x3 0x1 |
| 330 | 0x9200 0x0 0x0 0x2 &mpic 0x4 0x1 |
| 331 | 0x9200 0x0 0x0 0x3 &mpic 0x1 0x1 |
| 332 | 0x9200 0x0 0x0 0x4 &mpic 0x2 0x1 |
Kumar Gala | bebfa06 | 2007-11-19 23:36:23 -0600 | [diff] [blame] | 333 | |
| 334 | /* IDSEL 0x12 func 3 - PCI slot 2 */ |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 335 | 0x9300 0x0 0x0 0x1 &mpic 0x3 0x1 |
| 336 | 0x9300 0x0 0x0 0x2 &mpic 0x4 0x1 |
| 337 | 0x9300 0x0 0x0 0x3 &mpic 0x1 0x1 |
| 338 | 0x9300 0x0 0x0 0x4 &mpic 0x2 0x1 |
Kumar Gala | bebfa06 | 2007-11-19 23:36:23 -0600 | [diff] [blame] | 339 | |
| 340 | /* IDSEL 0x12 func 4 - PCI slot 2 */ |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 341 | 0x9400 0x0 0x0 0x1 &mpic 0x3 0x1 |
| 342 | 0x9400 0x0 0x0 0x2 &mpic 0x4 0x1 |
| 343 | 0x9400 0x0 0x0 0x3 &mpic 0x1 0x1 |
| 344 | 0x9400 0x0 0x0 0x4 &mpic 0x2 0x1 |
Kumar Gala | bebfa06 | 2007-11-19 23:36:23 -0600 | [diff] [blame] | 345 | |
| 346 | /* IDSEL 0x12 func 5 - PCI slot 2 */ |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 347 | 0x9500 0x0 0x0 0x1 &mpic 0x3 0x1 |
| 348 | 0x9500 0x0 0x0 0x2 &mpic 0x4 0x1 |
| 349 | 0x9500 0x0 0x0 0x3 &mpic 0x1 0x1 |
| 350 | 0x9500 0x0 0x0 0x4 &mpic 0x2 0x1 |
Kumar Gala | bebfa06 | 2007-11-19 23:36:23 -0600 | [diff] [blame] | 351 | |
| 352 | /* IDSEL 0x12 func 6 - PCI slot 2 */ |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 353 | 0x9600 0x0 0x0 0x1 &mpic 0x3 0x1 |
| 354 | 0x9600 0x0 0x0 0x2 &mpic 0x4 0x1 |
| 355 | 0x9600 0x0 0x0 0x3 &mpic 0x1 0x1 |
| 356 | 0x9600 0x0 0x0 0x4 &mpic 0x2 0x1 |
Kumar Gala | bebfa06 | 2007-11-19 23:36:23 -0600 | [diff] [blame] | 357 | |
| 358 | /* IDSEL 0x12 func 7 - PCI slot 2 */ |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 359 | 0x9700 0x0 0x0 0x1 &mpic 0x3 0x1 |
| 360 | 0x9700 0x0 0x0 0x2 &mpic 0x4 0x1 |
| 361 | 0x9700 0x0 0x0 0x3 &mpic 0x1 0x1 |
| 362 | 0x9700 0x0 0x0 0x4 &mpic 0x2 0x1 |
Kumar Gala | bebfa06 | 2007-11-19 23:36:23 -0600 | [diff] [blame] | 363 | |
Kumar Gala | 5d54ddc | 2007-09-11 01:25:43 -0500 | [diff] [blame] | 364 | // IDSEL 0x1c USB |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 365 | 0xe000 0x0 0x0 0x1 &i8259 0xc 0x2 |
| 366 | 0xe100 0x0 0x0 0x2 &i8259 0x9 0x2 |
| 367 | 0xe200 0x0 0x0 0x3 &i8259 0xa 0x2 |
| 368 | 0xe300 0x0 0x0 0x4 &i8259 0xb 0x2 |
Kumar Gala | 5d54ddc | 2007-09-11 01:25:43 -0500 | [diff] [blame] | 369 | |
| 370 | // IDSEL 0x1d Audio |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 371 | 0xe800 0x0 0x0 0x1 &i8259 0x6 0x2 |
Kumar Gala | 5d54ddc | 2007-09-11 01:25:43 -0500 | [diff] [blame] | 372 | |
| 373 | // IDSEL 0x1e Legacy |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 374 | 0xf000 0x0 0x0 0x1 &i8259 0x7 0x2 |
| 375 | 0xf100 0x0 0x0 0x1 &i8259 0x7 0x2 |
Kumar Gala | 5d54ddc | 2007-09-11 01:25:43 -0500 | [diff] [blame] | 376 | |
| 377 | // IDSEL 0x1f IDE/SATA |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 378 | 0xf800 0x0 0x0 0x1 &i8259 0xe 0x2 |
| 379 | 0xf900 0x0 0x0 0x1 &i8259 0x5 0x2 |
Kumar Gala | 5d54ddc | 2007-09-11 01:25:43 -0500 | [diff] [blame] | 380 | |
| 381 | >; |
| 382 | |
| 383 | pcie@0 { |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 384 | reg = <0x0 0x0 0x0 0x0 0x0>; |
Kumar Gala | 5d54ddc | 2007-09-11 01:25:43 -0500 | [diff] [blame] | 385 | #size-cells = <2>; |
| 386 | #address-cells = <3>; |
| 387 | device_type = "pci"; |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 388 | ranges = <0x2000000 0x0 0x80000000 |
| 389 | 0x2000000 0x0 0x80000000 |
| 390 | 0x0 0x20000000 |
Kumar Gala | 5d54ddc | 2007-09-11 01:25:43 -0500 | [diff] [blame] | 391 | |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 392 | 0x1000000 0x0 0x0 |
| 393 | 0x1000000 0x0 0x0 |
| 394 | 0x0 0x100000>; |
Kumar Gala | 5d54ddc | 2007-09-11 01:25:43 -0500 | [diff] [blame] | 395 | uli1575@0 { |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 396 | reg = <0x0 0x0 0x0 0x0 0x0>; |
Kumar Gala | 5d54ddc | 2007-09-11 01:25:43 -0500 | [diff] [blame] | 397 | #size-cells = <2>; |
| 398 | #address-cells = <3>; |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 399 | ranges = <0x2000000 0x0 0x80000000 |
| 400 | 0x2000000 0x0 0x80000000 |
| 401 | 0x0 0x20000000 |
Kumar Gala | 5d54ddc | 2007-09-11 01:25:43 -0500 | [diff] [blame] | 402 | |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 403 | 0x1000000 0x0 0x0 |
| 404 | 0x1000000 0x0 0x0 |
| 405 | 0x0 0x100000>; |
Kumar Gala | 5d54ddc | 2007-09-11 01:25:43 -0500 | [diff] [blame] | 406 | isa@1e { |
| 407 | device_type = "isa"; |
| 408 | #interrupt-cells = <2>; |
| 409 | #size-cells = <1>; |
| 410 | #address-cells = <2>; |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 411 | reg = <0xf000 0x0 0x0 0x0 0x0>; |
| 412 | ranges = <0x1 0x0 0x1000000 0x0 0x0 |
| 413 | 0x1000>; |
Kumar Gala | 5d54ddc | 2007-09-11 01:25:43 -0500 | [diff] [blame] | 414 | interrupt-parent = <&i8259>; |
| 415 | |
| 416 | i8259: interrupt-controller@20 { |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 417 | reg = <0x1 0x20 0x2 |
| 418 | 0x1 0xa0 0x2 |
| 419 | 0x1 0x4d0 0x2>; |
Kumar Gala | 5d54ddc | 2007-09-11 01:25:43 -0500 | [diff] [blame] | 420 | interrupt-controller; |
| 421 | device_type = "interrupt-controller"; |
| 422 | #address-cells = <0>; |
| 423 | #interrupt-cells = <2>; |
| 424 | compatible = "chrp,iic"; |
| 425 | interrupts = <9 2>; |
| 426 | interrupt-parent = <&mpic>; |
| 427 | }; |
| 428 | |
| 429 | i8042@60 { |
| 430 | #size-cells = <0>; |
| 431 | #address-cells = <1>; |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 432 | reg = <0x1 0x60 0x1 0x1 0x64 0x1>; |
| 433 | interrupts = <1 3 12 3>; |
Kumar Gala | 5d54ddc | 2007-09-11 01:25:43 -0500 | [diff] [blame] | 434 | interrupt-parent = |
| 435 | <&i8259>; |
| 436 | |
| 437 | keyboard@0 { |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 438 | reg = <0x0>; |
Kumar Gala | 5d54ddc | 2007-09-11 01:25:43 -0500 | [diff] [blame] | 439 | compatible = "pnpPNP,303"; |
| 440 | }; |
| 441 | |
| 442 | mouse@1 { |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 443 | reg = <0x1>; |
Kumar Gala | 5d54ddc | 2007-09-11 01:25:43 -0500 | [diff] [blame] | 444 | compatible = "pnpPNP,f03"; |
| 445 | }; |
| 446 | }; |
| 447 | |
| 448 | rtc@70 { |
| 449 | compatible = "pnpPNP,b00"; |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 450 | reg = <0x1 0x70 0x2>; |
Kumar Gala | 5d54ddc | 2007-09-11 01:25:43 -0500 | [diff] [blame] | 451 | }; |
| 452 | |
| 453 | gpio@400 { |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 454 | reg = <0x1 0x400 0x80>; |
Kumar Gala | 5d54ddc | 2007-09-11 01:25:43 -0500 | [diff] [blame] | 455 | }; |
| 456 | }; |
| 457 | }; |
| 458 | }; |
| 459 | |
| 460 | }; |
| 461 | |
Kumar Gala | ea082fa | 2007-12-12 01:46:12 -0600 | [diff] [blame] | 462 | pci1: pcie@ffe09000 { |
| 463 | cell-index = <1>; |
Kumar Gala | 5d54ddc | 2007-09-11 01:25:43 -0500 | [diff] [blame] | 464 | compatible = "fsl,mpc8548-pcie"; |
| 465 | device_type = "pci"; |
| 466 | #interrupt-cells = <1>; |
| 467 | #size-cells = <2>; |
| 468 | #address-cells = <3>; |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 469 | reg = <0xffe09000 0x1000>; |
| 470 | bus-range = <0 255>; |
| 471 | ranges = <0x2000000 0x0 0xa0000000 0xa0000000 0x0 0x20000000 |
| 472 | 0x1000000 0x0 0x0 0xffc10000 0x0 0x10000>; |
| 473 | clock-frequency = <33333333>; |
Kumar Gala | 5d54ddc | 2007-09-11 01:25:43 -0500 | [diff] [blame] | 474 | interrupt-parent = <&mpic>; |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 475 | interrupts = <26 2>; |
| 476 | interrupt-map-mask = <0xf800 0x0 0x0 0x7>; |
Kumar Gala | 5d54ddc | 2007-09-11 01:25:43 -0500 | [diff] [blame] | 477 | interrupt-map = < |
| 478 | /* IDSEL 0x0 */ |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 479 | 0000 0x0 0x0 0x1 &mpic 0x4 0x1 |
| 480 | 0000 0x0 0x0 0x2 &mpic 0x5 0x1 |
| 481 | 0000 0x0 0x0 0x3 &mpic 0x6 0x1 |
| 482 | 0000 0x0 0x0 0x4 &mpic 0x7 0x1 |
Kumar Gala | 5d54ddc | 2007-09-11 01:25:43 -0500 | [diff] [blame] | 483 | >; |
| 484 | pcie@0 { |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 485 | reg = <0x0 0x0 0x0 0x0 0x0>; |
Kumar Gala | 5d54ddc | 2007-09-11 01:25:43 -0500 | [diff] [blame] | 486 | #size-cells = <2>; |
| 487 | #address-cells = <3>; |
| 488 | device_type = "pci"; |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 489 | ranges = <0x2000000 0x0 0xa0000000 |
| 490 | 0x2000000 0x0 0xa0000000 |
| 491 | 0x0 0x20000000 |
Kumar Gala | 5d54ddc | 2007-09-11 01:25:43 -0500 | [diff] [blame] | 492 | |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 493 | 0x1000000 0x0 0x0 |
| 494 | 0x1000000 0x0 0x0 |
| 495 | 0x0 0x100000>; |
Kumar Gala | 5d54ddc | 2007-09-11 01:25:43 -0500 | [diff] [blame] | 496 | }; |
| 497 | }; |
| 498 | |
Kumar Gala | ea082fa | 2007-12-12 01:46:12 -0600 | [diff] [blame] | 499 | pci2: pcie@ffe0a000 { |
| 500 | cell-index = <2>; |
Kumar Gala | 5d54ddc | 2007-09-11 01:25:43 -0500 | [diff] [blame] | 501 | compatible = "fsl,mpc8548-pcie"; |
| 502 | device_type = "pci"; |
| 503 | #interrupt-cells = <1>; |
| 504 | #size-cells = <2>; |
| 505 | #address-cells = <3>; |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 506 | reg = <0xffe0a000 0x1000>; |
| 507 | bus-range = <0 255>; |
| 508 | ranges = <0x2000000 0x0 0xc0000000 0xc0000000 0x0 0x20000000 |
| 509 | 0x1000000 0x0 0x0 0xffc20000 0x0 0x10000>; |
| 510 | clock-frequency = <33333333>; |
Kumar Gala | 5d54ddc | 2007-09-11 01:25:43 -0500 | [diff] [blame] | 511 | interrupt-parent = <&mpic>; |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 512 | interrupts = <27 2>; |
| 513 | interrupt-map-mask = <0xf800 0x0 0x0 0x7>; |
Kumar Gala | 5d54ddc | 2007-09-11 01:25:43 -0500 | [diff] [blame] | 514 | interrupt-map = < |
| 515 | /* IDSEL 0x0 */ |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 516 | 0000 0x0 0x0 0x1 &mpic 0x0 0x1 |
| 517 | 0000 0x0 0x0 0x2 &mpic 0x1 0x1 |
| 518 | 0000 0x0 0x0 0x3 &mpic 0x2 0x1 |
| 519 | 0000 0x0 0x0 0x4 &mpic 0x3 0x1 |
Kumar Gala | 5d54ddc | 2007-09-11 01:25:43 -0500 | [diff] [blame] | 520 | >; |
| 521 | pcie@0 { |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 522 | reg = <0x0 0x0 0x0 0x0 0x0>; |
Kumar Gala | 5d54ddc | 2007-09-11 01:25:43 -0500 | [diff] [blame] | 523 | #size-cells = <2>; |
| 524 | #address-cells = <3>; |
| 525 | device_type = "pci"; |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 526 | ranges = <0x2000000 0x0 0xc0000000 |
| 527 | 0x2000000 0x0 0xc0000000 |
| 528 | 0x0 0x20000000 |
Kumar Gala | 5d54ddc | 2007-09-11 01:25:43 -0500 | [diff] [blame] | 529 | |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 530 | 0x1000000 0x0 0x0 |
| 531 | 0x1000000 0x0 0x0 |
| 532 | 0x0 0x100000>; |
Kumar Gala | 5d54ddc | 2007-09-11 01:25:43 -0500 | [diff] [blame] | 533 | }; |
| 534 | }; |
| 535 | }; |