Vitaly Bordug | e02f73e | 2006-10-02 22:22:36 +0400 | [diff] [blame] | 1 | /* |
| 2 | * MPC8272 ADS Device Tree Source |
| 3 | * |
Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame^] | 4 | * Copyright 2005,2008 Freescale Semiconductor Inc. |
Vitaly Bordug | e02f73e | 2006-10-02 22:22:36 +0400 | [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 | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame^] | 12 | /dts-v1/; |
| 13 | |
Vitaly Bordug | e02f73e | 2006-10-02 22:22:36 +0400 | [diff] [blame] | 14 | / { |
Scott Wood | 4b218e9 | 2007-08-21 02:36:19 +1000 | [diff] [blame] | 15 | model = "MPC8272ADS"; |
Scott Wood | e00c549 | 2007-09-14 15:41:56 -0500 | [diff] [blame] | 16 | compatible = "fsl,mpc8272ads"; |
Scott Wood | 4b218e9 | 2007-08-21 02:36:19 +1000 | [diff] [blame] | 17 | #address-cells = <1>; |
| 18 | #size-cells = <1>; |
Vitaly Bordug | e02f73e | 2006-10-02 22:22:36 +0400 | [diff] [blame] | 19 | |
Scott Wood | 4b218e9 | 2007-08-21 02:36:19 +1000 | [diff] [blame] | 20 | cpus { |
| 21 | #address-cells = <1>; |
| 22 | #size-cells = <0>; |
Vitaly Bordug | e02f73e | 2006-10-02 22:22:36 +0400 | [diff] [blame] | 23 | |
Scott Wood | 4b218e9 | 2007-08-21 02:36:19 +1000 | [diff] [blame] | 24 | PowerPC,8272@0 { |
| 25 | device_type = "cpu"; |
Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame^] | 26 | reg = <0x0>; |
| 27 | d-cache-line-size = <32>; |
| 28 | i-cache-line-size = <32>; |
| 29 | d-cache-size = <16384>; |
| 30 | i-cache-size = <16384>; |
Scott Wood | 4b218e9 | 2007-08-21 02:36:19 +1000 | [diff] [blame] | 31 | timebase-frequency = <0>; |
| 32 | bus-frequency = <0>; |
| 33 | clock-frequency = <0>; |
Scott Wood | 4b218e9 | 2007-08-21 02:36:19 +1000 | [diff] [blame] | 34 | }; |
| 35 | }; |
Vitaly Bordug | e02f73e | 2006-10-02 22:22:36 +0400 | [diff] [blame] | 36 | |
Scott Wood | 4b218e9 | 2007-08-21 02:36:19 +1000 | [diff] [blame] | 37 | memory { |
| 38 | device_type = "memory"; |
Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame^] | 39 | reg = <0x0 0x0>; |
Scott Wood | 4b218e9 | 2007-08-21 02:36:19 +1000 | [diff] [blame] | 40 | }; |
| 41 | |
Scott Wood | e00c549 | 2007-09-14 15:41:56 -0500 | [diff] [blame] | 42 | localbus@f0010100 { |
| 43 | compatible = "fsl,mpc8272-localbus", |
| 44 | "fsl,pq2-localbus"; |
| 45 | #address-cells = <2>; |
| 46 | #size-cells = <1>; |
Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame^] | 47 | reg = <0xf0010100 0x40>; |
Scott Wood | e00c549 | 2007-09-14 15:41:56 -0500 | [diff] [blame] | 48 | |
Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame^] | 49 | ranges = <0x0 0x0 0xfe000000 0x2000000 |
| 50 | 0x1 0x0 0xf4500000 0x8000 |
| 51 | 0x3 0x0 0xf8200000 0x8000>; |
Scott Wood | e00c549 | 2007-09-14 15:41:56 -0500 | [diff] [blame] | 52 | |
| 53 | flash@0,0 { |
| 54 | compatible = "jedec-flash"; |
Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame^] | 55 | reg = <0x0 0x0 0x2000000>; |
Scott Wood | e00c549 | 2007-09-14 15:41:56 -0500 | [diff] [blame] | 56 | bank-width = <4>; |
| 57 | device-width = <1>; |
| 58 | }; |
| 59 | |
| 60 | board-control@1,0 { |
Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame^] | 61 | reg = <0x1 0x0 0x20>; |
Scott Wood | e00c549 | 2007-09-14 15:41:56 -0500 | [diff] [blame] | 62 | compatible = "fsl,mpc8272ads-bcsr"; |
| 63 | }; |
| 64 | |
| 65 | PCI_PIC: interrupt-controller@3,0 { |
| 66 | compatible = "fsl,mpc8272ads-pci-pic", |
| 67 | "fsl,pq2ads-pci-pic"; |
| 68 | #interrupt-cells = <1>; |
| 69 | interrupt-controller; |
Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame^] | 70 | reg = <0x3 0x0 0x8>; |
Scott Wood | e00c549 | 2007-09-14 15:41:56 -0500 | [diff] [blame] | 71 | interrupt-parent = <&PIC>; |
Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame^] | 72 | interrupts = <20 8>; |
Scott Wood | e00c549 | 2007-09-14 15:41:56 -0500 | [diff] [blame] | 73 | }; |
Scott Wood | 4b218e9 | 2007-08-21 02:36:19 +1000 | [diff] [blame] | 74 | }; |
Vitaly Bordug | 73844ec | 2007-01-31 02:08:54 +0300 | [diff] [blame] | 75 | |
Scott Wood | e00c549 | 2007-09-14 15:41:56 -0500 | [diff] [blame] | 76 | |
| 77 | pci@f0010800 { |
| 78 | device_type = "pci"; |
Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame^] | 79 | reg = <0xf0010800 0x10c 0xf00101ac 0x8 0xf00101c4 0x8>; |
Scott Wood | e00c549 | 2007-09-14 15:41:56 -0500 | [diff] [blame] | 80 | compatible = "fsl,mpc8272-pci", "fsl,pq2-pci"; |
| 81 | #interrupt-cells = <1>; |
| 82 | #size-cells = <2>; |
| 83 | #address-cells = <3>; |
Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame^] | 84 | clock-frequency = <66666666>; |
| 85 | interrupt-map-mask = <0xf800 0x0 0x0 0x7>; |
Scott Wood | e00c549 | 2007-09-14 15:41:56 -0500 | [diff] [blame] | 86 | interrupt-map = < |
| 87 | /* IDSEL 0x16 */ |
Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame^] | 88 | 0xb000 0x0 0x0 0x1 &PCI_PIC 0 |
| 89 | 0xb000 0x0 0x0 0x2 &PCI_PIC 1 |
| 90 | 0xb000 0x0 0x0 0x3 &PCI_PIC 2 |
| 91 | 0xb000 0x0 0x0 0x4 &PCI_PIC 3 |
Scott Wood | e00c549 | 2007-09-14 15:41:56 -0500 | [diff] [blame] | 92 | |
| 93 | /* IDSEL 0x17 */ |
Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame^] | 94 | 0xb800 0x0 0x0 0x1 &PCI_PIC 4 |
| 95 | 0xb800 0x0 0x0 0x2 &PCI_PIC 5 |
| 96 | 0xb800 0x0 0x0 0x3 &PCI_PIC 6 |
| 97 | 0xb800 0x0 0x0 0x4 &PCI_PIC 7 |
Scott Wood | e00c549 | 2007-09-14 15:41:56 -0500 | [diff] [blame] | 98 | |
| 99 | /* IDSEL 0x18 */ |
Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame^] | 100 | 0xc000 0x0 0x0 0x1 &PCI_PIC 8 |
| 101 | 0xc000 0x0 0x0 0x2 &PCI_PIC 9 |
| 102 | 0xc000 0x0 0x0 0x3 &PCI_PIC 10 |
| 103 | 0xc000 0x0 0x0 0x4 &PCI_PIC 11>; |
Scott Wood | e00c549 | 2007-09-14 15:41:56 -0500 | [diff] [blame] | 104 | |
| 105 | interrupt-parent = <&PIC>; |
Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame^] | 106 | interrupts = <18 8>; |
| 107 | ranges = <0x42000000 0x0 0x80000000 0x80000000 0x0 0x20000000 |
| 108 | 0x2000000 0x0 0xa0000000 0xa0000000 0x0 0x20000000 |
| 109 | 0x1000000 0x0 0x0 0xf6000000 0x0 0x2000000>; |
Scott Wood | e00c549 | 2007-09-14 15:41:56 -0500 | [diff] [blame] | 110 | }; |
| 111 | |
| 112 | soc@f0000000 { |
Scott Wood | 4b218e9 | 2007-08-21 02:36:19 +1000 | [diff] [blame] | 113 | #address-cells = <1>; |
| 114 | #size-cells = <1>; |
Scott Wood | 4b218e9 | 2007-08-21 02:36:19 +1000 | [diff] [blame] | 115 | device_type = "soc"; |
Scott Wood | e00c549 | 2007-09-14 15:41:56 -0500 | [diff] [blame] | 116 | compatible = "fsl,mpc8272", "fsl,pq2-soc"; |
Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame^] | 117 | ranges = <0x0 0xf0000000 0x53000>; |
Vitaly Bordug | e02f73e | 2006-10-02 22:22:36 +0400 | [diff] [blame] | 118 | |
Scott Wood | e00c549 | 2007-09-14 15:41:56 -0500 | [diff] [blame] | 119 | // Temporary -- will go away once kernel uses ranges for get_immrbase(). |
Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame^] | 120 | reg = <0xf0000000 0x53000>; |
Scott Wood | 4b218e9 | 2007-08-21 02:36:19 +1000 | [diff] [blame] | 121 | |
Scott Wood | e00c549 | 2007-09-14 15:41:56 -0500 | [diff] [blame] | 122 | cpm@119c0 { |
Scott Wood | 4b218e9 | 2007-08-21 02:36:19 +1000 | [diff] [blame] | 123 | #address-cells = <1>; |
| 124 | #size-cells = <1>; |
Scott Wood | e00c549 | 2007-09-14 15:41:56 -0500 | [diff] [blame] | 125 | compatible = "fsl,mpc8272-cpm", "fsl,cpm2"; |
Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame^] | 126 | reg = <0x119c0 0x30>; |
Scott Wood | e00c549 | 2007-09-14 15:41:56 -0500 | [diff] [blame] | 127 | ranges; |
Vitaly Bordug | e02f73e | 2006-10-02 22:22:36 +0400 | [diff] [blame] | 128 | |
Scott Wood | 15f8c60 | 2007-09-28 14:06:16 -0500 | [diff] [blame] | 129 | muram@0 { |
| 130 | #address-cells = <1>; |
| 131 | #size-cells = <1>; |
Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame^] | 132 | ranges = <0x0 0x0 0x10000>; |
Scott Wood | 15f8c60 | 2007-09-28 14:06:16 -0500 | [diff] [blame] | 133 | |
| 134 | data@0 { |
| 135 | compatible = "fsl,cpm-muram-data"; |
Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame^] | 136 | reg = <0x0 0x2000 0x9800 0x800>; |
Scott Wood | 15f8c60 | 2007-09-28 14:06:16 -0500 | [diff] [blame] | 137 | }; |
| 138 | }; |
| 139 | |
Scott Wood | e00c549 | 2007-09-14 15:41:56 -0500 | [diff] [blame] | 140 | brg@119f0 { |
| 141 | compatible = "fsl,mpc8272-brg", |
| 142 | "fsl,cpm2-brg", |
| 143 | "fsl,cpm-brg"; |
Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame^] | 144 | reg = <0x119f0 0x10 0x115f0 0x10>; |
Scott Wood | 4b218e9 | 2007-08-21 02:36:19 +1000 | [diff] [blame] | 145 | }; |
Vitaly Bordug | e02f73e | 2006-10-02 22:22:36 +0400 | [diff] [blame] | 146 | |
Scott Wood | e00c549 | 2007-09-14 15:41:56 -0500 | [diff] [blame] | 147 | serial@11a00 { |
Scott Wood | 4b218e9 | 2007-08-21 02:36:19 +1000 | [diff] [blame] | 148 | device_type = "serial"; |
Scott Wood | e00c549 | 2007-09-14 15:41:56 -0500 | [diff] [blame] | 149 | compatible = "fsl,mpc8272-scc-uart", |
| 150 | "fsl,cpm2-scc-uart"; |
Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame^] | 151 | reg = <0x11a00 0x20 0x8000 0x100>; |
| 152 | interrupts = <40 8>; |
Scott Wood | e00c549 | 2007-09-14 15:41:56 -0500 | [diff] [blame] | 153 | interrupt-parent = <&PIC>; |
| 154 | fsl,cpm-brg = <1>; |
Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame^] | 155 | fsl,cpm-command = <0x800000>; |
Scott Wood | e00c549 | 2007-09-14 15:41:56 -0500 | [diff] [blame] | 156 | }; |
| 157 | |
| 158 | serial@11a60 { |
| 159 | device_type = "serial"; |
| 160 | compatible = "fsl,mpc8272-scc-uart", |
| 161 | "fsl,cpm2-scc-uart"; |
Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame^] | 162 | reg = <0x11a60 0x20 0x8300 0x100>; |
| 163 | interrupts = <43 8>; |
Scott Wood | e00c549 | 2007-09-14 15:41:56 -0500 | [diff] [blame] | 164 | interrupt-parent = <&PIC>; |
| 165 | fsl,cpm-brg = <4>; |
Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame^] | 166 | fsl,cpm-command = <0xce00000>; |
Scott Wood | e00c549 | 2007-09-14 15:41:56 -0500 | [diff] [blame] | 167 | }; |
| 168 | |
| 169 | mdio@10d40 { |
| 170 | device_type = "mdio"; |
| 171 | compatible = "fsl,mpc8272ads-mdio-bitbang", |
| 172 | "fsl,mpc8272-mdio-bitbang", |
| 173 | "fsl,cpm2-mdio-bitbang"; |
Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame^] | 174 | reg = <0x10d40 0x14>; |
Scott Wood | e00c549 | 2007-09-14 15:41:56 -0500 | [diff] [blame] | 175 | #address-cells = <1>; |
| 176 | #size-cells = <0>; |
Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame^] | 177 | fsl,mdio-pin = <18>; |
| 178 | fsl,mdc-pin = <19>; |
Scott Wood | e00c549 | 2007-09-14 15:41:56 -0500 | [diff] [blame] | 179 | |
| 180 | PHY0: ethernet-phy@0 { |
| 181 | interrupt-parent = <&PIC>; |
Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame^] | 182 | interrupts = <23 8>; |
| 183 | reg = <0x0>; |
Scott Wood | e00c549 | 2007-09-14 15:41:56 -0500 | [diff] [blame] | 184 | device_type = "ethernet-phy"; |
| 185 | }; |
| 186 | |
| 187 | PHY1: ethernet-phy@1 { |
| 188 | interrupt-parent = <&PIC>; |
Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame^] | 189 | interrupts = <23 8>; |
| 190 | reg = <0x3>; |
Scott Wood | e00c549 | 2007-09-14 15:41:56 -0500 | [diff] [blame] | 191 | device_type = "ethernet-phy"; |
| 192 | }; |
| 193 | }; |
| 194 | |
| 195 | ethernet@11300 { |
| 196 | device_type = "network"; |
| 197 | compatible = "fsl,mpc8272-fcc-enet", |
| 198 | "fsl,cpm2-fcc-enet"; |
Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame^] | 199 | reg = <0x11300 0x20 0x8400 0x100 0x11390 0x1>; |
Scott Wood | e00c549 | 2007-09-14 15:41:56 -0500 | [diff] [blame] | 200 | local-mac-address = [ 00 00 00 00 00 00 ]; |
Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame^] | 201 | interrupts = <32 8>; |
Scott Wood | e00c549 | 2007-09-14 15:41:56 -0500 | [diff] [blame] | 202 | interrupt-parent = <&PIC>; |
| 203 | phy-handle = <&PHY0>; |
| 204 | linux,network-index = <0>; |
Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame^] | 205 | fsl,cpm-command = <0x12000300>; |
Scott Wood | e00c549 | 2007-09-14 15:41:56 -0500 | [diff] [blame] | 206 | }; |
| 207 | |
| 208 | ethernet@11320 { |
| 209 | device_type = "network"; |
| 210 | compatible = "fsl,mpc8272-fcc-enet", |
| 211 | "fsl,cpm2-fcc-enet"; |
Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame^] | 212 | reg = <0x11320 0x20 0x8500 0x100 0x113b0 0x1>; |
Scott Wood | e00c549 | 2007-09-14 15:41:56 -0500 | [diff] [blame] | 213 | local-mac-address = [ 00 00 00 00 00 00 ]; |
Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame^] | 214 | interrupts = <33 8>; |
Scott Wood | e00c549 | 2007-09-14 15:41:56 -0500 | [diff] [blame] | 215 | interrupt-parent = <&PIC>; |
| 216 | phy-handle = <&PHY1>; |
| 217 | linux,network-index = <1>; |
Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame^] | 218 | fsl,cpm-command = <0x16200300>; |
Scott Wood | 4b218e9 | 2007-08-21 02:36:19 +1000 | [diff] [blame] | 219 | }; |
| 220 | }; |
Vitaly Bordug | e02f73e | 2006-10-02 22:22:36 +0400 | [diff] [blame] | 221 | |
Scott Wood | e00c549 | 2007-09-14 15:41:56 -0500 | [diff] [blame] | 222 | PIC: interrupt-controller@10c00 { |
Scott Wood | 4b218e9 | 2007-08-21 02:36:19 +1000 | [diff] [blame] | 223 | #interrupt-cells = <2>; |
| 224 | interrupt-controller; |
Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame^] | 225 | reg = <0x10c00 0x80>; |
Scott Wood | e00c549 | 2007-09-14 15:41:56 -0500 | [diff] [blame] | 226 | compatible = "fsl,mpc8272-pic", "fsl,cpm2-pic"; |
Scott Wood | 4b218e9 | 2007-08-21 02:36:19 +1000 | [diff] [blame] | 227 | }; |
Vitaly Bordug | e02f73e | 2006-10-02 22:22:36 +0400 | [diff] [blame] | 228 | |
| 229 | /* May need to remove if on a part without crypto engine */ |
Scott Wood | 4b218e9 | 2007-08-21 02:36:19 +1000 | [diff] [blame] | 230 | crypto@30000 { |
| 231 | device_type = "crypto"; |
| 232 | model = "SEC2"; |
Scott Wood | e00c549 | 2007-09-14 15:41:56 -0500 | [diff] [blame] | 233 | compatible = "fsl,mpc8272-talitos-sec2", |
| 234 | "fsl,talitos-sec2", |
| 235 | "fsl,talitos", |
| 236 | "talitos"; |
Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame^] | 237 | reg = <0x30000 0x10000>; |
| 238 | interrupts = <11 8>; |
Scott Wood | e00c549 | 2007-09-14 15:41:56 -0500 | [diff] [blame] | 239 | interrupt-parent = <&PIC>; |
Scott Wood | 4b218e9 | 2007-08-21 02:36:19 +1000 | [diff] [blame] | 240 | num-channels = <4>; |
Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame^] | 241 | channel-fifo-len = <24>; |
| 242 | exec-units-mask = <0x7e>; |
Vitaly Bordug | e02f73e | 2006-10-02 22:22:36 +0400 | [diff] [blame] | 243 | /* desc mask is for rev1.x, we need runtime fixup for >=2.x */ |
Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame^] | 244 | descriptor-types-mask = <0x1010ebf>; |
Scott Wood | 4b218e9 | 2007-08-21 02:36:19 +1000 | [diff] [blame] | 245 | }; |
| 246 | }; |
Scott Wood | e00c549 | 2007-09-14 15:41:56 -0500 | [diff] [blame] | 247 | |
| 248 | chosen { |
| 249 | linux,stdout-path = "/soc/cpm/serial@11a00"; |
| 250 | }; |
Vitaly Bordug | e02f73e | 2006-10-02 22:22:36 +0400 | [diff] [blame] | 251 | }; |