Jon Loeliger | 707ba16 | 2006-08-03 16:27:57 -0500 | [diff] [blame] | 1 | /* |
| 2 | * MPC8641 HPCN Device Tree Source |
| 3 | * |
| 4 | * Copyright 2006 Freescale Semiconductor Inc. |
| 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 | |
Jon Loeliger | 6e050d4 | 2008-01-25 16:31:01 -0600 | [diff] [blame] | 12 | /dts-v1/; |
Jon Loeliger | 707ba16 | 2006-08-03 16:27:57 -0500 | [diff] [blame] | 13 | |
| 14 | / { |
| 15 | model = "MPC8641HPCN"; |
Paul Gortmaker | 06f35b4 | 2008-04-16 13:53:06 -0400 | [diff] [blame^] | 16 | compatible = "fsl,mpc8641hpcn"; |
Jon Loeliger | 707ba16 | 2006-08-03 16:27:57 -0500 | [diff] [blame] | 17 | #address-cells = <1>; |
| 18 | #size-cells = <1>; |
| 19 | |
Jon Loeliger | 1c1d167 | 2007-12-05 11:32:50 -0600 | [diff] [blame] | 20 | aliases { |
| 21 | ethernet0 = &enet0; |
| 22 | ethernet1 = &enet1; |
| 23 | ethernet2 = &enet2; |
| 24 | ethernet3 = &enet3; |
| 25 | serial0 = &serial0; |
| 26 | serial1 = &serial1; |
| 27 | pci0 = &pci0; |
| 28 | pci1 = &pci1; |
| 29 | }; |
| 30 | |
Jon Loeliger | 707ba16 | 2006-08-03 16:27:57 -0500 | [diff] [blame] | 31 | cpus { |
Jon Loeliger | 707ba16 | 2006-08-03 16:27:57 -0500 | [diff] [blame] | 32 | #address-cells = <1>; |
| 33 | #size-cells = <0>; |
| 34 | |
| 35 | PowerPC,8641@0 { |
| 36 | device_type = "cpu"; |
| 37 | reg = <0>; |
Jon Loeliger | 6e050d4 | 2008-01-25 16:31:01 -0600 | [diff] [blame] | 38 | d-cache-line-size = <32>; |
| 39 | i-cache-line-size = <32>; |
| 40 | d-cache-size = <32768>; // L1 |
| 41 | i-cache-size = <32768>; // L1 |
| 42 | timebase-frequency = <0>; // From uboot |
Jon Loeliger | 707ba16 | 2006-08-03 16:27:57 -0500 | [diff] [blame] | 43 | bus-frequency = <0>; // From uboot |
| 44 | clock-frequency = <0>; // From uboot |
Jon Loeliger | 707ba16 | 2006-08-03 16:27:57 -0500 | [diff] [blame] | 45 | }; |
| 46 | PowerPC,8641@1 { |
| 47 | device_type = "cpu"; |
| 48 | reg = <1>; |
Jon Loeliger | 6e050d4 | 2008-01-25 16:31:01 -0600 | [diff] [blame] | 49 | d-cache-line-size = <32>; |
| 50 | i-cache-line-size = <32>; |
| 51 | d-cache-size = <32768>; |
| 52 | i-cache-size = <32768>; |
| 53 | timebase-frequency = <0>; // From uboot |
Jon Loeliger | 707ba16 | 2006-08-03 16:27:57 -0500 | [diff] [blame] | 54 | bus-frequency = <0>; // From uboot |
| 55 | clock-frequency = <0>; // From uboot |
Jon Loeliger | 707ba16 | 2006-08-03 16:27:57 -0500 | [diff] [blame] | 56 | }; |
| 57 | }; |
| 58 | |
| 59 | memory { |
| 60 | device_type = "memory"; |
Jon Loeliger | 6e050d4 | 2008-01-25 16:31:01 -0600 | [diff] [blame] | 61 | reg = <0x00000000 0x40000000>; // 1G at 0x0 |
Jon Loeliger | 707ba16 | 2006-08-03 16:27:57 -0500 | [diff] [blame] | 62 | }; |
| 63 | |
Wade Farnsworth | 0ac247d | 2008-01-22 13:13:39 -0700 | [diff] [blame] | 64 | localbus@f8005000 { |
| 65 | #address-cells = <2>; |
| 66 | #size-cells = <1>; |
| 67 | compatible = "fsl,mpc8641-localbus", "simple-bus"; |
Jon Loeliger | 6e050d4 | 2008-01-25 16:31:01 -0600 | [diff] [blame] | 68 | reg = <0xf8005000 0x1000>; |
| 69 | interrupts = <19 2>; |
Wade Farnsworth | 0ac247d | 2008-01-22 13:13:39 -0700 | [diff] [blame] | 70 | interrupt-parent = <&mpic>; |
| 71 | |
Jon Loeliger | 6e050d4 | 2008-01-25 16:31:01 -0600 | [diff] [blame] | 72 | ranges = <0 0 0xff800000 0x00800000 |
| 73 | 1 0 0xfe000000 0x01000000 |
| 74 | 2 0 0xf8200000 0x00100000 |
| 75 | 3 0 0xf8100000 0x00100000>; |
Wade Farnsworth | 0ac247d | 2008-01-22 13:13:39 -0700 | [diff] [blame] | 76 | |
| 77 | flash@0,0 { |
| 78 | compatible = "cfi-flash"; |
Jon Loeliger | 6e050d4 | 2008-01-25 16:31:01 -0600 | [diff] [blame] | 79 | reg = <0 0 0x00800000>; |
Wade Farnsworth | 0ac247d | 2008-01-22 13:13:39 -0700 | [diff] [blame] | 80 | bank-width = <2>; |
| 81 | device-width = <2>; |
| 82 | #address-cells = <1>; |
| 83 | #size-cells = <1>; |
| 84 | partition@0 { |
| 85 | label = "kernel"; |
Jon Loeliger | 6e050d4 | 2008-01-25 16:31:01 -0600 | [diff] [blame] | 86 | reg = <0x00000000 0x00300000>; |
Wade Farnsworth | 0ac247d | 2008-01-22 13:13:39 -0700 | [diff] [blame] | 87 | }; |
| 88 | partition@300000 { |
| 89 | label = "firmware b"; |
Jon Loeliger | 6e050d4 | 2008-01-25 16:31:01 -0600 | [diff] [blame] | 90 | reg = <0x00300000 0x00100000>; |
Wade Farnsworth | 0ac247d | 2008-01-22 13:13:39 -0700 | [diff] [blame] | 91 | read-only; |
| 92 | }; |
| 93 | partition@400000 { |
| 94 | label = "fs"; |
Jon Loeliger | 6e050d4 | 2008-01-25 16:31:01 -0600 | [diff] [blame] | 95 | reg = <0x00400000 0x00300000>; |
Wade Farnsworth | 0ac247d | 2008-01-22 13:13:39 -0700 | [diff] [blame] | 96 | }; |
| 97 | partition@700000 { |
| 98 | label = "firmware a"; |
Jon Loeliger | 6e050d4 | 2008-01-25 16:31:01 -0600 | [diff] [blame] | 99 | reg = <0x00700000 0x00100000>; |
Wade Farnsworth | 0ac247d | 2008-01-22 13:13:39 -0700 | [diff] [blame] | 100 | read-only; |
| 101 | }; |
| 102 | }; |
| 103 | }; |
| 104 | |
Jon Loeliger | 707ba16 | 2006-08-03 16:27:57 -0500 | [diff] [blame] | 105 | soc8641@f8000000 { |
| 106 | #address-cells = <1>; |
| 107 | #size-cells = <1>; |
Jon Loeliger | 707ba16 | 2006-08-03 16:27:57 -0500 | [diff] [blame] | 108 | device_type = "soc"; |
Wade Farnsworth | 0ac247d | 2008-01-22 13:13:39 -0700 | [diff] [blame] | 109 | compatible = "simple-bus"; |
Jon Loeliger | 6e050d4 | 2008-01-25 16:31:01 -0600 | [diff] [blame] | 110 | ranges = <0x00000000 0xf8000000 0x00100000>; |
| 111 | reg = <0xf8000000 0x00001000>; // CCSRBAR |
Jon Loeliger | 707ba16 | 2006-08-03 16:27:57 -0500 | [diff] [blame] | 112 | bus-frequency = <0>; |
| 113 | |
| 114 | i2c@3000 { |
Kumar Gala | ec9686c | 2007-12-11 23:17:24 -0600 | [diff] [blame] | 115 | #address-cells = <1>; |
| 116 | #size-cells = <0>; |
| 117 | cell-index = <0>; |
Jon Loeliger | 707ba16 | 2006-08-03 16:27:57 -0500 | [diff] [blame] | 118 | compatible = "fsl-i2c"; |
Jon Loeliger | 6e050d4 | 2008-01-25 16:31:01 -0600 | [diff] [blame] | 119 | reg = <0x3000 0x100>; |
| 120 | interrupts = <43 2>; |
Kumar Gala | 6d9065d | 2007-02-17 16:09:56 -0600 | [diff] [blame] | 121 | interrupt-parent = <&mpic>; |
Jon Loeliger | 707ba16 | 2006-08-03 16:27:57 -0500 | [diff] [blame] | 122 | dfsrr; |
| 123 | }; |
| 124 | |
| 125 | i2c@3100 { |
Kumar Gala | ec9686c | 2007-12-11 23:17:24 -0600 | [diff] [blame] | 126 | #address-cells = <1>; |
| 127 | #size-cells = <0>; |
| 128 | cell-index = <1>; |
Jon Loeliger | 707ba16 | 2006-08-03 16:27:57 -0500 | [diff] [blame] | 129 | compatible = "fsl-i2c"; |
Jon Loeliger | 6e050d4 | 2008-01-25 16:31:01 -0600 | [diff] [blame] | 130 | reg = <0x3100 0x100>; |
| 131 | interrupts = <43 2>; |
Kumar Gala | 6d9065d | 2007-02-17 16:09:56 -0600 | [diff] [blame] | 132 | interrupt-parent = <&mpic>; |
Jon Loeliger | 707ba16 | 2006-08-03 16:27:57 -0500 | [diff] [blame] | 133 | dfsrr; |
| 134 | }; |
| 135 | |
| 136 | mdio@24520 { |
| 137 | #address-cells = <1>; |
| 138 | #size-cells = <0>; |
Kumar Gala | e77b28e | 2007-12-12 00:28:35 -0600 | [diff] [blame] | 139 | compatible = "fsl,gianfar-mdio"; |
Jon Loeliger | 6e050d4 | 2008-01-25 16:31:01 -0600 | [diff] [blame] | 140 | reg = <0x24520 0x20>; |
Kumar Gala | e77b28e | 2007-12-12 00:28:35 -0600 | [diff] [blame] | 141 | |
Kumar Gala | 6d9065d | 2007-02-17 16:09:56 -0600 | [diff] [blame] | 142 | phy0: ethernet-phy@0 { |
| 143 | interrupt-parent = <&mpic>; |
Jon Loeliger | 6e050d4 | 2008-01-25 16:31:01 -0600 | [diff] [blame] | 144 | interrupts = <10 1>; |
Jon Loeliger | 707ba16 | 2006-08-03 16:27:57 -0500 | [diff] [blame] | 145 | reg = <0>; |
| 146 | device_type = "ethernet-phy"; |
| 147 | }; |
Kumar Gala | 6d9065d | 2007-02-17 16:09:56 -0600 | [diff] [blame] | 148 | phy1: ethernet-phy@1 { |
| 149 | interrupt-parent = <&mpic>; |
Jon Loeliger | 6e050d4 | 2008-01-25 16:31:01 -0600 | [diff] [blame] | 150 | interrupts = <10 1>; |
Jon Loeliger | 707ba16 | 2006-08-03 16:27:57 -0500 | [diff] [blame] | 151 | reg = <1>; |
| 152 | device_type = "ethernet-phy"; |
| 153 | }; |
Kumar Gala | 6d9065d | 2007-02-17 16:09:56 -0600 | [diff] [blame] | 154 | phy2: ethernet-phy@2 { |
| 155 | interrupt-parent = <&mpic>; |
Jon Loeliger | 6e050d4 | 2008-01-25 16:31:01 -0600 | [diff] [blame] | 156 | interrupts = <10 1>; |
Jon Loeliger | 707ba16 | 2006-08-03 16:27:57 -0500 | [diff] [blame] | 157 | reg = <2>; |
| 158 | device_type = "ethernet-phy"; |
| 159 | }; |
Kumar Gala | 6d9065d | 2007-02-17 16:09:56 -0600 | [diff] [blame] | 160 | phy3: ethernet-phy@3 { |
| 161 | interrupt-parent = <&mpic>; |
Jon Loeliger | 6e050d4 | 2008-01-25 16:31:01 -0600 | [diff] [blame] | 162 | interrupts = <10 1>; |
Jon Loeliger | 707ba16 | 2006-08-03 16:27:57 -0500 | [diff] [blame] | 163 | reg = <3>; |
| 164 | device_type = "ethernet-phy"; |
| 165 | }; |
| 166 | }; |
| 167 | |
Jon Loeliger | 1c1d167 | 2007-12-05 11:32:50 -0600 | [diff] [blame] | 168 | enet0: ethernet@24000 { |
Kumar Gala | e77b28e | 2007-12-12 00:28:35 -0600 | [diff] [blame] | 169 | cell-index = <0>; |
Jon Loeliger | 707ba16 | 2006-08-03 16:27:57 -0500 | [diff] [blame] | 170 | device_type = "network"; |
| 171 | model = "TSEC"; |
| 172 | compatible = "gianfar"; |
Jon Loeliger | 6e050d4 | 2008-01-25 16:31:01 -0600 | [diff] [blame] | 173 | reg = <0x24000 0x1000>; |
Timur Tabi | eae9826 | 2007-06-22 14:33:15 -0500 | [diff] [blame] | 174 | local-mac-address = [ 00 00 00 00 00 00 ]; |
Jon Loeliger | 6e050d4 | 2008-01-25 16:31:01 -0600 | [diff] [blame] | 175 | interrupts = <29 2 30 2 34 2>; |
Kumar Gala | 6d9065d | 2007-02-17 16:09:56 -0600 | [diff] [blame] | 176 | interrupt-parent = <&mpic>; |
| 177 | phy-handle = <&phy0>; |
Andy Fleming | cc65185 | 2007-07-10 17:28:49 -0500 | [diff] [blame] | 178 | phy-connection-type = "rgmii-id"; |
Jon Loeliger | 707ba16 | 2006-08-03 16:27:57 -0500 | [diff] [blame] | 179 | }; |
| 180 | |
Jon Loeliger | 1c1d167 | 2007-12-05 11:32:50 -0600 | [diff] [blame] | 181 | enet1: ethernet@25000 { |
Kumar Gala | e77b28e | 2007-12-12 00:28:35 -0600 | [diff] [blame] | 182 | cell-index = <1>; |
Jon Loeliger | 707ba16 | 2006-08-03 16:27:57 -0500 | [diff] [blame] | 183 | device_type = "network"; |
| 184 | model = "TSEC"; |
| 185 | compatible = "gianfar"; |
Jon Loeliger | 6e050d4 | 2008-01-25 16:31:01 -0600 | [diff] [blame] | 186 | reg = <0x25000 0x1000>; |
Timur Tabi | eae9826 | 2007-06-22 14:33:15 -0500 | [diff] [blame] | 187 | local-mac-address = [ 00 00 00 00 00 00 ]; |
Jon Loeliger | 6e050d4 | 2008-01-25 16:31:01 -0600 | [diff] [blame] | 188 | interrupts = <35 2 36 2 40 2>; |
Kumar Gala | 6d9065d | 2007-02-17 16:09:56 -0600 | [diff] [blame] | 189 | interrupt-parent = <&mpic>; |
| 190 | phy-handle = <&phy1>; |
Andy Fleming | cc65185 | 2007-07-10 17:28:49 -0500 | [diff] [blame] | 191 | phy-connection-type = "rgmii-id"; |
Jon Loeliger | 707ba16 | 2006-08-03 16:27:57 -0500 | [diff] [blame] | 192 | }; |
| 193 | |
Jon Loeliger | 1c1d167 | 2007-12-05 11:32:50 -0600 | [diff] [blame] | 194 | enet2: ethernet@26000 { |
Kumar Gala | e77b28e | 2007-12-12 00:28:35 -0600 | [diff] [blame] | 195 | cell-index = <2>; |
Jon Loeliger | 707ba16 | 2006-08-03 16:27:57 -0500 | [diff] [blame] | 196 | device_type = "network"; |
| 197 | model = "TSEC"; |
| 198 | compatible = "gianfar"; |
Jon Loeliger | 6e050d4 | 2008-01-25 16:31:01 -0600 | [diff] [blame] | 199 | reg = <0x26000 0x1000>; |
Timur Tabi | eae9826 | 2007-06-22 14:33:15 -0500 | [diff] [blame] | 200 | local-mac-address = [ 00 00 00 00 00 00 ]; |
Jon Loeliger | 6e050d4 | 2008-01-25 16:31:01 -0600 | [diff] [blame] | 201 | interrupts = <31 2 32 2 33 2>; |
Kumar Gala | 6d9065d | 2007-02-17 16:09:56 -0600 | [diff] [blame] | 202 | interrupt-parent = <&mpic>; |
| 203 | phy-handle = <&phy2>; |
Andy Fleming | cc65185 | 2007-07-10 17:28:49 -0500 | [diff] [blame] | 204 | phy-connection-type = "rgmii-id"; |
Jon Loeliger | 707ba16 | 2006-08-03 16:27:57 -0500 | [diff] [blame] | 205 | }; |
| 206 | |
Jon Loeliger | 1c1d167 | 2007-12-05 11:32:50 -0600 | [diff] [blame] | 207 | enet3: ethernet@27000 { |
Kumar Gala | e77b28e | 2007-12-12 00:28:35 -0600 | [diff] [blame] | 208 | cell-index = <3>; |
Jon Loeliger | 707ba16 | 2006-08-03 16:27:57 -0500 | [diff] [blame] | 209 | device_type = "network"; |
| 210 | model = "TSEC"; |
| 211 | compatible = "gianfar"; |
Jon Loeliger | 6e050d4 | 2008-01-25 16:31:01 -0600 | [diff] [blame] | 212 | reg = <0x27000 0x1000>; |
Timur Tabi | eae9826 | 2007-06-22 14:33:15 -0500 | [diff] [blame] | 213 | local-mac-address = [ 00 00 00 00 00 00 ]; |
Jon Loeliger | 6e050d4 | 2008-01-25 16:31:01 -0600 | [diff] [blame] | 214 | interrupts = <37 2 38 2 39 2>; |
Kumar Gala | 6d9065d | 2007-02-17 16:09:56 -0600 | [diff] [blame] | 215 | interrupt-parent = <&mpic>; |
| 216 | phy-handle = <&phy3>; |
Andy Fleming | cc65185 | 2007-07-10 17:28:49 -0500 | [diff] [blame] | 217 | phy-connection-type = "rgmii-id"; |
Jon Loeliger | 707ba16 | 2006-08-03 16:27:57 -0500 | [diff] [blame] | 218 | }; |
Jon Loeliger | 1c1d167 | 2007-12-05 11:32:50 -0600 | [diff] [blame] | 219 | |
| 220 | serial0: serial@4500 { |
Kumar Gala | ea082fa | 2007-12-12 01:46:12 -0600 | [diff] [blame] | 221 | cell-index = <0>; |
Jon Loeliger | 707ba16 | 2006-08-03 16:27:57 -0500 | [diff] [blame] | 222 | device_type = "serial"; |
| 223 | compatible = "ns16550"; |
Jon Loeliger | 6e050d4 | 2008-01-25 16:31:01 -0600 | [diff] [blame] | 224 | reg = <0x4500 0x100>; |
Jon Loeliger | 707ba16 | 2006-08-03 16:27:57 -0500 | [diff] [blame] | 225 | clock-frequency = <0>; |
Jon Loeliger | 6e050d4 | 2008-01-25 16:31:01 -0600 | [diff] [blame] | 226 | interrupts = <42 2>; |
Kumar Gala | 6d9065d | 2007-02-17 16:09:56 -0600 | [diff] [blame] | 227 | interrupt-parent = <&mpic>; |
Jon Loeliger | 707ba16 | 2006-08-03 16:27:57 -0500 | [diff] [blame] | 228 | }; |
| 229 | |
Jon Loeliger | 1c1d167 | 2007-12-05 11:32:50 -0600 | [diff] [blame] | 230 | serial1: serial@4600 { |
Kumar Gala | ea082fa | 2007-12-12 01:46:12 -0600 | [diff] [blame] | 231 | cell-index = <1>; |
Jon Loeliger | 707ba16 | 2006-08-03 16:27:57 -0500 | [diff] [blame] | 232 | device_type = "serial"; |
| 233 | compatible = "ns16550"; |
Jon Loeliger | 6e050d4 | 2008-01-25 16:31:01 -0600 | [diff] [blame] | 234 | reg = <0x4600 0x100>; |
Jon Loeliger | 707ba16 | 2006-08-03 16:27:57 -0500 | [diff] [blame] | 235 | clock-frequency = <0>; |
Jon Loeliger | 6e050d4 | 2008-01-25 16:31:01 -0600 | [diff] [blame] | 236 | interrupts = <28 2>; |
Kumar Gala | 6d9065d | 2007-02-17 16:09:56 -0600 | [diff] [blame] | 237 | interrupt-parent = <&mpic>; |
Jon Loeliger | 707ba16 | 2006-08-03 16:27:57 -0500 | [diff] [blame] | 238 | }; |
| 239 | |
Kumar Gala | 1b3c5cd | 2007-09-12 18:23:46 -0500 | [diff] [blame] | 240 | mpic: pic@40000 { |
| 241 | clock-frequency = <0>; |
| 242 | interrupt-controller; |
| 243 | #address-cells = <0>; |
| 244 | #interrupt-cells = <2>; |
Jon Loeliger | 6e050d4 | 2008-01-25 16:31:01 -0600 | [diff] [blame] | 245 | reg = <0x40000 0x40000>; |
Kumar Gala | 1b3c5cd | 2007-09-12 18:23:46 -0500 | [diff] [blame] | 246 | compatible = "chrp,open-pic"; |
| 247 | device_type = "open-pic"; |
| 248 | big-endian; |
| 249 | }; |
Kumar Gala | e1c1575 | 2007-10-04 01:04:57 -0500 | [diff] [blame] | 250 | |
| 251 | global-utilities@e0000 { |
| 252 | compatible = "fsl,mpc8641-guts"; |
Jon Loeliger | 6e050d4 | 2008-01-25 16:31:01 -0600 | [diff] [blame] | 253 | reg = <0xe0000 0x1000>; |
Kumar Gala | e1c1575 | 2007-10-04 01:04:57 -0500 | [diff] [blame] | 254 | fsl,has-rstcr; |
| 255 | }; |
Kumar Gala | 1b3c5cd | 2007-09-12 18:23:46 -0500 | [diff] [blame] | 256 | }; |
| 257 | |
Jon Loeliger | 1c1d167 | 2007-12-05 11:32:50 -0600 | [diff] [blame] | 258 | pci0: pcie@f8008000 { |
Kumar Gala | ea082fa | 2007-12-12 01:46:12 -0600 | [diff] [blame] | 259 | cell-index = <0>; |
Kumar Gala | 1b3c5cd | 2007-09-12 18:23:46 -0500 | [diff] [blame] | 260 | compatible = "fsl,mpc8641-pcie"; |
| 261 | device_type = "pci"; |
| 262 | #interrupt-cells = <1>; |
| 263 | #size-cells = <2>; |
| 264 | #address-cells = <3>; |
Jon Loeliger | 6e050d4 | 2008-01-25 16:31:01 -0600 | [diff] [blame] | 265 | reg = <0xf8008000 0x1000>; |
| 266 | bus-range = <0x0 0xff>; |
| 267 | ranges = <0x02000000 0x0 0x80000000 0x80000000 0x0 0x20000000 |
| 268 | 0x01000000 0x0 0x00000000 0xe2000000 0x0 0x00100000>; |
| 269 | clock-frequency = <33333333>; |
Kumar Gala | 1b3c5cd | 2007-09-12 18:23:46 -0500 | [diff] [blame] | 270 | interrupt-parent = <&mpic>; |
Jon Loeliger | 6e050d4 | 2008-01-25 16:31:01 -0600 | [diff] [blame] | 271 | interrupts = <24 2>; |
| 272 | interrupt-map-mask = <0xff00 0 0 7>; |
Kumar Gala | 1b3c5cd | 2007-09-12 18:23:46 -0500 | [diff] [blame] | 273 | interrupt-map = < |
Kumar Gala | bebfa06 | 2007-11-19 23:36:23 -0600 | [diff] [blame] | 274 | /* IDSEL 0x11 func 0 - PCI slot 1 */ |
Jon Loeliger | 6e050d4 | 2008-01-25 16:31:01 -0600 | [diff] [blame] | 275 | 0x8800 0 0 1 &mpic 2 1 |
| 276 | 0x8800 0 0 2 &mpic 3 1 |
| 277 | 0x8800 0 0 3 &mpic 4 1 |
| 278 | 0x8800 0 0 4 &mpic 1 1 |
Kumar Gala | 1b3c5cd | 2007-09-12 18:23:46 -0500 | [diff] [blame] | 279 | |
Kumar Gala | bebfa06 | 2007-11-19 23:36:23 -0600 | [diff] [blame] | 280 | /* IDSEL 0x11 func 1 - PCI slot 1 */ |
Jon Loeliger | 6e050d4 | 2008-01-25 16:31:01 -0600 | [diff] [blame] | 281 | 0x8900 0 0 1 &mpic 2 1 |
| 282 | 0x8900 0 0 2 &mpic 3 1 |
| 283 | 0x8900 0 0 3 &mpic 4 1 |
| 284 | 0x8900 0 0 4 &mpic 1 1 |
Kumar Gala | bebfa06 | 2007-11-19 23:36:23 -0600 | [diff] [blame] | 285 | |
| 286 | /* IDSEL 0x11 func 2 - PCI slot 1 */ |
Jon Loeliger | 6e050d4 | 2008-01-25 16:31:01 -0600 | [diff] [blame] | 287 | 0x8a00 0 0 1 &mpic 2 1 |
| 288 | 0x8a00 0 0 2 &mpic 3 1 |
| 289 | 0x8a00 0 0 3 &mpic 4 1 |
| 290 | 0x8a00 0 0 4 &mpic 1 1 |
Kumar Gala | bebfa06 | 2007-11-19 23:36:23 -0600 | [diff] [blame] | 291 | |
| 292 | /* IDSEL 0x11 func 3 - PCI slot 1 */ |
Jon Loeliger | 6e050d4 | 2008-01-25 16:31:01 -0600 | [diff] [blame] | 293 | 0x8b00 0 0 1 &mpic 2 1 |
| 294 | 0x8b00 0 0 2 &mpic 3 1 |
| 295 | 0x8b00 0 0 3 &mpic 4 1 |
| 296 | 0x8b00 0 0 4 &mpic 1 1 |
Kumar Gala | bebfa06 | 2007-11-19 23:36:23 -0600 | [diff] [blame] | 297 | |
| 298 | /* IDSEL 0x11 func 4 - PCI slot 1 */ |
Jon Loeliger | 6e050d4 | 2008-01-25 16:31:01 -0600 | [diff] [blame] | 299 | 0x8c00 0 0 1 &mpic 2 1 |
| 300 | 0x8c00 0 0 2 &mpic 3 1 |
| 301 | 0x8c00 0 0 3 &mpic 4 1 |
| 302 | 0x8c00 0 0 4 &mpic 1 1 |
Kumar Gala | bebfa06 | 2007-11-19 23:36:23 -0600 | [diff] [blame] | 303 | |
| 304 | /* IDSEL 0x11 func 5 - PCI slot 1 */ |
Jon Loeliger | 6e050d4 | 2008-01-25 16:31:01 -0600 | [diff] [blame] | 305 | 0x8d00 0 0 1 &mpic 2 1 |
| 306 | 0x8d00 0 0 2 &mpic 3 1 |
| 307 | 0x8d00 0 0 3 &mpic 4 1 |
| 308 | 0x8d00 0 0 4 &mpic 1 1 |
Kumar Gala | bebfa06 | 2007-11-19 23:36:23 -0600 | [diff] [blame] | 309 | |
| 310 | /* IDSEL 0x11 func 6 - PCI slot 1 */ |
Jon Loeliger | 6e050d4 | 2008-01-25 16:31:01 -0600 | [diff] [blame] | 311 | 0x8e00 0 0 1 &mpic 2 1 |
| 312 | 0x8e00 0 0 2 &mpic 3 1 |
| 313 | 0x8e00 0 0 3 &mpic 4 1 |
| 314 | 0x8e00 0 0 4 &mpic 1 1 |
Kumar Gala | bebfa06 | 2007-11-19 23:36:23 -0600 | [diff] [blame] | 315 | |
| 316 | /* IDSEL 0x11 func 7 - PCI slot 1 */ |
Jon Loeliger | 6e050d4 | 2008-01-25 16:31:01 -0600 | [diff] [blame] | 317 | 0x8f00 0 0 1 &mpic 2 1 |
| 318 | 0x8f00 0 0 2 &mpic 3 1 |
| 319 | 0x8f00 0 0 3 &mpic 4 1 |
| 320 | 0x8f00 0 0 4 &mpic 1 1 |
Kumar Gala | bebfa06 | 2007-11-19 23:36:23 -0600 | [diff] [blame] | 321 | |
| 322 | /* IDSEL 0x12 func 0 - PCI slot 2 */ |
Jon Loeliger | 6e050d4 | 2008-01-25 16:31:01 -0600 | [diff] [blame] | 323 | 0x9000 0 0 1 &mpic 3 1 |
| 324 | 0x9000 0 0 2 &mpic 4 1 |
| 325 | 0x9000 0 0 3 &mpic 1 1 |
| 326 | 0x9000 0 0 4 &mpic 2 1 |
Kumar Gala | bebfa06 | 2007-11-19 23:36:23 -0600 | [diff] [blame] | 327 | |
| 328 | /* IDSEL 0x12 func 1 - PCI slot 2 */ |
Jon Loeliger | 6e050d4 | 2008-01-25 16:31:01 -0600 | [diff] [blame] | 329 | 0x9100 0 0 1 &mpic 3 1 |
| 330 | 0x9100 0 0 2 &mpic 4 1 |
| 331 | 0x9100 0 0 3 &mpic 1 1 |
| 332 | 0x9100 0 0 4 &mpic 2 1 |
Kumar Gala | bebfa06 | 2007-11-19 23:36:23 -0600 | [diff] [blame] | 333 | |
| 334 | /* IDSEL 0x12 func 2 - PCI slot 2 */ |
Jon Loeliger | 6e050d4 | 2008-01-25 16:31:01 -0600 | [diff] [blame] | 335 | 0x9200 0 0 1 &mpic 3 1 |
| 336 | 0x9200 0 0 2 &mpic 4 1 |
| 337 | 0x9200 0 0 3 &mpic 1 1 |
| 338 | 0x9200 0 0 4 &mpic 2 1 |
Kumar Gala | bebfa06 | 2007-11-19 23:36:23 -0600 | [diff] [blame] | 339 | |
| 340 | /* IDSEL 0x12 func 3 - PCI slot 2 */ |
Jon Loeliger | 6e050d4 | 2008-01-25 16:31:01 -0600 | [diff] [blame] | 341 | 0x9300 0 0 1 &mpic 3 1 |
| 342 | 0x9300 0 0 2 &mpic 4 1 |
| 343 | 0x9300 0 0 3 &mpic 1 1 |
| 344 | 0x9300 0 0 4 &mpic 2 1 |
Kumar Gala | bebfa06 | 2007-11-19 23:36:23 -0600 | [diff] [blame] | 345 | |
| 346 | /* IDSEL 0x12 func 4 - PCI slot 2 */ |
Jon Loeliger | 6e050d4 | 2008-01-25 16:31:01 -0600 | [diff] [blame] | 347 | 0x9400 0 0 1 &mpic 3 1 |
| 348 | 0x9400 0 0 2 &mpic 4 1 |
| 349 | 0x9400 0 0 3 &mpic 1 1 |
| 350 | 0x9400 0 0 4 &mpic 2 1 |
Kumar Gala | bebfa06 | 2007-11-19 23:36:23 -0600 | [diff] [blame] | 351 | |
| 352 | /* IDSEL 0x12 func 5 - PCI slot 2 */ |
Jon Loeliger | 6e050d4 | 2008-01-25 16:31:01 -0600 | [diff] [blame] | 353 | 0x9500 0 0 1 &mpic 3 1 |
| 354 | 0x9500 0 0 2 &mpic 4 1 |
| 355 | 0x9500 0 0 3 &mpic 1 1 |
| 356 | 0x9500 0 0 4 &mpic 2 1 |
Kumar Gala | bebfa06 | 2007-11-19 23:36:23 -0600 | [diff] [blame] | 357 | |
| 358 | /* IDSEL 0x12 func 6 - PCI slot 2 */ |
Jon Loeliger | 6e050d4 | 2008-01-25 16:31:01 -0600 | [diff] [blame] | 359 | 0x9600 0 0 1 &mpic 3 1 |
| 360 | 0x9600 0 0 2 &mpic 4 1 |
| 361 | 0x9600 0 0 3 &mpic 1 1 |
| 362 | 0x9600 0 0 4 &mpic 2 1 |
Kumar Gala | bebfa06 | 2007-11-19 23:36:23 -0600 | [diff] [blame] | 363 | |
| 364 | /* IDSEL 0x12 func 7 - PCI slot 2 */ |
Jon Loeliger | 6e050d4 | 2008-01-25 16:31:01 -0600 | [diff] [blame] | 365 | 0x9700 0 0 1 &mpic 3 1 |
| 366 | 0x9700 0 0 2 &mpic 4 1 |
| 367 | 0x9700 0 0 3 &mpic 1 1 |
| 368 | 0x9700 0 0 4 &mpic 2 1 |
Kumar Gala | 1b3c5cd | 2007-09-12 18:23:46 -0500 | [diff] [blame] | 369 | |
| 370 | // IDSEL 0x1c USB |
Jon Loeliger | 6e050d4 | 2008-01-25 16:31:01 -0600 | [diff] [blame] | 371 | 0xe000 0 0 1 &i8259 12 2 |
| 372 | 0xe100 0 0 2 &i8259 9 2 |
| 373 | 0xe200 0 0 3 &i8259 10 2 |
| 374 | 0xe300 0 0 4 &i8259 112 |
Kumar Gala | 1b3c5cd | 2007-09-12 18:23:46 -0500 | [diff] [blame] | 375 | |
| 376 | // IDSEL 0x1d Audio |
Jon Loeliger | 6e050d4 | 2008-01-25 16:31:01 -0600 | [diff] [blame] | 377 | 0xe800 0 0 1 &i8259 6 2 |
Kumar Gala | 1b3c5cd | 2007-09-12 18:23:46 -0500 | [diff] [blame] | 378 | |
| 379 | // IDSEL 0x1e Legacy |
Jon Loeliger | 6e050d4 | 2008-01-25 16:31:01 -0600 | [diff] [blame] | 380 | 0xf000 0 0 1 &i8259 7 2 |
| 381 | 0xf100 0 0 1 &i8259 7 2 |
Kumar Gala | 1b3c5cd | 2007-09-12 18:23:46 -0500 | [diff] [blame] | 382 | |
| 383 | // IDSEL 0x1f IDE/SATA |
Jon Loeliger | 6e050d4 | 2008-01-25 16:31:01 -0600 | [diff] [blame] | 384 | 0xf800 0 0 1 &i8259 14 2 |
| 385 | 0xf900 0 0 1 &i8259 5 2 |
Kumar Gala | 1b3c5cd | 2007-09-12 18:23:46 -0500 | [diff] [blame] | 386 | >; |
| 387 | |
| 388 | pcie@0 { |
| 389 | reg = <0 0 0 0 0>; |
Jon Loeliger | 707ba16 | 2006-08-03 16:27:57 -0500 | [diff] [blame] | 390 | #size-cells = <2>; |
| 391 | #address-cells = <3>; |
Kumar Gala | 1b3c5cd | 2007-09-12 18:23:46 -0500 | [diff] [blame] | 392 | device_type = "pci"; |
Jon Loeliger | 6e050d4 | 2008-01-25 16:31:01 -0600 | [diff] [blame] | 393 | ranges = <0x02000000 0x0 0x80000000 |
| 394 | 0x02000000 0x0 0x80000000 |
| 395 | 0x0 0x20000000 |
Jon Loeliger | 707ba16 | 2006-08-03 16:27:57 -0500 | [diff] [blame] | 396 | |
Jon Loeliger | 6e050d4 | 2008-01-25 16:31:01 -0600 | [diff] [blame] | 397 | 0x01000000 0x0 0x00000000 |
| 398 | 0x01000000 0x0 0x00000000 |
| 399 | 0x0 0x00100000>; |
Wade Farnsworth | dfac6fa | 2007-06-04 13:24:47 -0700 | [diff] [blame] | 400 | uli1575@0 { |
| 401 | reg = <0 0 0 0 0>; |
| 402 | #size-cells = <2>; |
| 403 | #address-cells = <3>; |
Jon Loeliger | 6e050d4 | 2008-01-25 16:31:01 -0600 | [diff] [blame] | 404 | ranges = <0x02000000 0x0 0x80000000 |
| 405 | 0x02000000 0x0 0x80000000 |
| 406 | 0x0 0x20000000 |
| 407 | 0x01000000 0x0 0x00000000 |
| 408 | 0x01000000 0x0 0x00000000 |
| 409 | 0x0 0x00100000>; |
Kumar Gala | 1b3c5cd | 2007-09-12 18:23:46 -0500 | [diff] [blame] | 410 | isa@1e { |
| 411 | device_type = "isa"; |
| 412 | #interrupt-cells = <2>; |
| 413 | #size-cells = <1>; |
| 414 | #address-cells = <2>; |
Jon Loeliger | 6e050d4 | 2008-01-25 16:31:01 -0600 | [diff] [blame] | 415 | reg = <0xf000 0 0 0 0>; |
| 416 | ranges = <1 0 0x01000000 0 0 |
| 417 | 0x00001000>; |
Kumar Gala | 1b3c5cd | 2007-09-12 18:23:46 -0500 | [diff] [blame] | 418 | interrupt-parent = <&i8259>; |
Wade Farnsworth | dfac6fa | 2007-06-04 13:24:47 -0700 | [diff] [blame] | 419 | |
Kumar Gala | 1b3c5cd | 2007-09-12 18:23:46 -0500 | [diff] [blame] | 420 | i8259: interrupt-controller@20 { |
Jon Loeliger | 6e050d4 | 2008-01-25 16:31:01 -0600 | [diff] [blame] | 421 | reg = <1 0x20 2 |
| 422 | 1 0xa0 2 |
| 423 | 1 0x4d0 2>; |
Kumar Gala | 1b3c5cd | 2007-09-12 18:23:46 -0500 | [diff] [blame] | 424 | interrupt-controller; |
| 425 | device_type = "interrupt-controller"; |
| 426 | #address-cells = <0>; |
Wade Farnsworth | dfac6fa | 2007-06-04 13:24:47 -0700 | [diff] [blame] | 427 | #interrupt-cells = <2>; |
Kumar Gala | 1b3c5cd | 2007-09-12 18:23:46 -0500 | [diff] [blame] | 428 | compatible = "chrp,iic"; |
| 429 | interrupts = <9 2>; |
| 430 | interrupt-parent = <&mpic>; |
| 431 | }; |
Wade Farnsworth | dfac6fa | 2007-06-04 13:24:47 -0700 | [diff] [blame] | 432 | |
Kumar Gala | 1b3c5cd | 2007-09-12 18:23:46 -0500 | [diff] [blame] | 433 | i8042@60 { |
| 434 | #size-cells = <0>; |
| 435 | #address-cells = <1>; |
Jon Loeliger | 6e050d4 | 2008-01-25 16:31:01 -0600 | [diff] [blame] | 436 | reg = <1 0x60 1 1 0x64 1>; |
| 437 | interrupts = <1 3 12 3>; |
Kumar Gala | 1b3c5cd | 2007-09-12 18:23:46 -0500 | [diff] [blame] | 438 | interrupt-parent = |
| 439 | <&i8259>; |
| 440 | |
| 441 | keyboard@0 { |
| 442 | reg = <0>; |
| 443 | compatible = "pnpPNP,303"; |
Wade Farnsworth | dfac6fa | 2007-06-04 13:24:47 -0700 | [diff] [blame] | 444 | }; |
| 445 | |
Kumar Gala | 1b3c5cd | 2007-09-12 18:23:46 -0500 | [diff] [blame] | 446 | mouse@1 { |
| 447 | reg = <1>; |
| 448 | compatible = "pnpPNP,f03"; |
Wade Farnsworth | dfac6fa | 2007-06-04 13:24:47 -0700 | [diff] [blame] | 449 | }; |
Kumar Gala | 1b3c5cd | 2007-09-12 18:23:46 -0500 | [diff] [blame] | 450 | }; |
Wade Farnsworth | dfac6fa | 2007-06-04 13:24:47 -0700 | [diff] [blame] | 451 | |
Kumar Gala | 1b3c5cd | 2007-09-12 18:23:46 -0500 | [diff] [blame] | 452 | rtc@70 { |
| 453 | compatible = |
| 454 | "pnpPNP,b00"; |
Jon Loeliger | 6e050d4 | 2008-01-25 16:31:01 -0600 | [diff] [blame] | 455 | reg = <1 0x70 2>; |
Kumar Gala | 1b3c5cd | 2007-09-12 18:23:46 -0500 | [diff] [blame] | 456 | }; |
Wade Farnsworth | dfac6fa | 2007-06-04 13:24:47 -0700 | [diff] [blame] | 457 | |
Kumar Gala | 1b3c5cd | 2007-09-12 18:23:46 -0500 | [diff] [blame] | 458 | gpio@400 { |
Jon Loeliger | 6e050d4 | 2008-01-25 16:31:01 -0600 | [diff] [blame] | 459 | reg = <1 0x400 0x80>; |
Wade Farnsworth | dfac6fa | 2007-06-04 13:24:47 -0700 | [diff] [blame] | 460 | }; |
| 461 | }; |
Jon Loeliger | 707ba16 | 2006-08-03 16:27:57 -0500 | [diff] [blame] | 462 | }; |
Jon Loeliger | 707ba16 | 2006-08-03 16:27:57 -0500 | [diff] [blame] | 463 | }; |
Zhang Wei | e0e3c8d | 2007-03-07 11:47:41 -0600 | [diff] [blame] | 464 | |
Kumar Gala | 1b3c5cd | 2007-09-12 18:23:46 -0500 | [diff] [blame] | 465 | }; |
| 466 | |
Jon Loeliger | 1c1d167 | 2007-12-05 11:32:50 -0600 | [diff] [blame] | 467 | pci1: pcie@f8009000 { |
Kumar Gala | ea082fa | 2007-12-12 01:46:12 -0600 | [diff] [blame] | 468 | cell-index = <1>; |
Kumar Gala | 1b3c5cd | 2007-09-12 18:23:46 -0500 | [diff] [blame] | 469 | compatible = "fsl,mpc8641-pcie"; |
| 470 | device_type = "pci"; |
| 471 | #interrupt-cells = <1>; |
| 472 | #size-cells = <2>; |
| 473 | #address-cells = <3>; |
Jon Loeliger | 6e050d4 | 2008-01-25 16:31:01 -0600 | [diff] [blame] | 474 | reg = <0xf8009000 0x1000>; |
| 475 | bus-range = <0 0xff>; |
| 476 | ranges = <0x02000000 0x0 0xa0000000 0xa0000000 0x0 0x20000000 |
| 477 | 0x01000000 0x0 0x00000000 0xe3000000 0x0 0x00100000>; |
| 478 | clock-frequency = <33333333>; |
Kumar Gala | 1b3c5cd | 2007-09-12 18:23:46 -0500 | [diff] [blame] | 479 | interrupt-parent = <&mpic>; |
Jon Loeliger | 6e050d4 | 2008-01-25 16:31:01 -0600 | [diff] [blame] | 480 | interrupts = <25 2>; |
| 481 | interrupt-map-mask = <0xf800 0 0 7>; |
Kumar Gala | 1b3c5cd | 2007-09-12 18:23:46 -0500 | [diff] [blame] | 482 | interrupt-map = < |
| 483 | /* IDSEL 0x0 */ |
Jon Loeliger | 6e050d4 | 2008-01-25 16:31:01 -0600 | [diff] [blame] | 484 | 0x0000 0 0 1 &mpic 4 1 |
| 485 | 0x0000 0 0 2 &mpic 5 1 |
| 486 | 0x0000 0 0 3 &mpic 6 1 |
| 487 | 0x0000 0 0 4 &mpic 7 1 |
Kumar Gala | 1b3c5cd | 2007-09-12 18:23:46 -0500 | [diff] [blame] | 488 | >; |
| 489 | pcie@0 { |
| 490 | reg = <0 0 0 0 0>; |
Zhang Wei | e0e3c8d | 2007-03-07 11:47:41 -0600 | [diff] [blame] | 491 | #size-cells = <2>; |
| 492 | #address-cells = <3>; |
Kumar Gala | 1b3c5cd | 2007-09-12 18:23:46 -0500 | [diff] [blame] | 493 | device_type = "pci"; |
Jon Loeliger | 6e050d4 | 2008-01-25 16:31:01 -0600 | [diff] [blame] | 494 | ranges = <0x02000000 0x0 0xa0000000 |
| 495 | 0x02000000 0x0 0xa0000000 |
| 496 | 0x0 0x20000000 |
Zhang Wei | e0e3c8d | 2007-03-07 11:47:41 -0600 | [diff] [blame] | 497 | |
Jon Loeliger | 6e050d4 | 2008-01-25 16:31:01 -0600 | [diff] [blame] | 498 | 0x01000000 0x0 0x00000000 |
| 499 | 0x01000000 0x0 0x00000000 |
| 500 | 0x0 0x00100000>; |
Jon Loeliger | 707ba16 | 2006-08-03 16:27:57 -0500 | [diff] [blame] | 501 | }; |
| 502 | }; |
| 503 | }; |