| Scott Wood | 3611f2a | 2007-09-05 14:00:54 -0500 | [diff] [blame] | 1 | /* | 
|  | 2 | * Device Tree for the PQ2FADS-ZU board with an MPC8280 chip. | 
|  | 3 | * | 
| Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame] | 4 | * Copyright 2007,2008 Freescale Semiconductor Inc. | 
| Scott Wood | 3611f2a | 2007-09-05 14:00:54 -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 | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame] | 12 | /dts-v1/; | 
|  | 13 |  | 
| Scott Wood | 3611f2a | 2007-09-05 14:00:54 -0500 | [diff] [blame] | 14 | / { | 
|  | 15 | model = "pq2fads"; | 
|  | 16 | compatible = "fsl,pq2fads"; | 
|  | 17 | #address-cells = <1>; | 
|  | 18 | #size-cells = <1>; | 
|  | 19 |  | 
|  | 20 | cpus { | 
|  | 21 | #address-cells = <1>; | 
|  | 22 | #size-cells = <0>; | 
|  | 23 |  | 
|  | 24 | cpu@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 | 3611f2a | 2007-09-05 14:00:54 -0500 | [diff] [blame] | 31 | timebase-frequency = <0>; | 
|  | 32 | clock-frequency = <0>; | 
|  | 33 | }; | 
|  | 34 | }; | 
|  | 35 |  | 
|  | 36 | memory { | 
|  | 37 | device_type = "memory"; | 
| Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame] | 38 | reg = <0x0 0x0>; | 
| Scott Wood | 3611f2a | 2007-09-05 14:00:54 -0500 | [diff] [blame] | 39 | }; | 
|  | 40 |  | 
|  | 41 | localbus@f0010100 { | 
|  | 42 | compatible = "fsl,mpc8280-localbus", | 
|  | 43 | "fsl,pq2-localbus"; | 
|  | 44 | #address-cells = <2>; | 
|  | 45 | #size-cells = <1>; | 
| Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame] | 46 | reg = <0xf0010100 0x60>; | 
| Scott Wood | 3611f2a | 2007-09-05 14:00:54 -0500 | [diff] [blame] | 47 |  | 
| Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame] | 48 | ranges = <0x0 0x0 0xfe000000 0x800000 | 
|  | 49 | 0x1 0x0 0xf4500000 0x8000 | 
|  | 50 | 0x8 0x0 0xf8200000 0x8000>; | 
| Scott Wood | 3611f2a | 2007-09-05 14:00:54 -0500 | [diff] [blame] | 51 |  | 
|  | 52 | flash@0,0 { | 
|  | 53 | compatible = "jedec-flash"; | 
| Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame] | 54 | reg = <0x0 0x0 0x800000>; | 
| Scott Wood | 3611f2a | 2007-09-05 14:00:54 -0500 | [diff] [blame] | 55 | bank-width = <4>; | 
|  | 56 | device-width = <1>; | 
|  | 57 | }; | 
|  | 58 |  | 
|  | 59 | bcsr@1,0 { | 
| Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame] | 60 | reg = <0x1 0x0 0x20>; | 
| Scott Wood | 3611f2a | 2007-09-05 14:00:54 -0500 | [diff] [blame] | 61 | compatible = "fsl,pq2fads-bcsr"; | 
|  | 62 | }; | 
|  | 63 |  | 
|  | 64 | PCI_PIC: pic@8,0 { | 
|  | 65 | #interrupt-cells = <1>; | 
|  | 66 | interrupt-controller; | 
| Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame] | 67 | reg = <0x8 0x0 0x8>; | 
| Scott Wood | 3611f2a | 2007-09-05 14:00:54 -0500 | [diff] [blame] | 68 | compatible = "fsl,pq2ads-pci-pic"; | 
|  | 69 | interrupt-parent = <&PIC>; | 
| Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame] | 70 | interrupts = <24 8>; | 
| Scott Wood | 3611f2a | 2007-09-05 14:00:54 -0500 | [diff] [blame] | 71 | }; | 
|  | 72 | }; | 
|  | 73 |  | 
|  | 74 | pci@f0010800 { | 
|  | 75 | device_type = "pci"; | 
| Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame] | 76 | reg = <0xf0010800 0x10c 0xf00101ac 0x8 0xf00101c4 0x8>; | 
| Scott Wood | 3611f2a | 2007-09-05 14:00:54 -0500 | [diff] [blame] | 77 | compatible = "fsl,mpc8280-pci", "fsl,pq2-pci"; | 
|  | 78 | #interrupt-cells = <1>; | 
|  | 79 | #size-cells = <2>; | 
|  | 80 | #address-cells = <3>; | 
| Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame] | 81 | clock-frequency = <66000000>; | 
|  | 82 | interrupt-map-mask = <0xf800 0x0 0x0 0x7>; | 
| Scott Wood | 3611f2a | 2007-09-05 14:00:54 -0500 | [diff] [blame] | 83 | interrupt-map = < | 
|  | 84 | /* IDSEL 0x16 */ | 
| Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame] | 85 | 0xb000 0x0 0x0 0x1 &PCI_PIC 0 | 
|  | 86 | 0xb000 0x0 0x0 0x2 &PCI_PIC 1 | 
|  | 87 | 0xb000 0x0 0x0 0x3 &PCI_PIC 2 | 
|  | 88 | 0xb000 0x0 0x0 0x4 &PCI_PIC 3 | 
| Scott Wood | 3611f2a | 2007-09-05 14:00:54 -0500 | [diff] [blame] | 89 |  | 
|  | 90 | /* IDSEL 0x17 */ | 
| Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame] | 91 | 0xb800 0x0 0x0 0x1 &PCI_PIC 4 | 
|  | 92 | 0xb800 0x0 0x0 0x2 &PCI_PIC 5 | 
|  | 93 | 0xb800 0x0 0x0 0x3 &PCI_PIC 6 | 
|  | 94 | 0xb800 0x0 0x0 0x4 &PCI_PIC 7 | 
| Scott Wood | 3611f2a | 2007-09-05 14:00:54 -0500 | [diff] [blame] | 95 |  | 
|  | 96 | /* IDSEL 0x18 */ | 
| Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame] | 97 | 0xc000 0x0 0x0 0x1 &PCI_PIC 8 | 
|  | 98 | 0xc000 0x0 0x0 0x2 &PCI_PIC 9 | 
|  | 99 | 0xc000 0x0 0x0 0x3 &PCI_PIC 10 | 
|  | 100 | 0xc000 0x0 0x0 0x4 &PCI_PIC 11>; | 
| Scott Wood | 3611f2a | 2007-09-05 14:00:54 -0500 | [diff] [blame] | 101 |  | 
|  | 102 | interrupt-parent = <&PIC>; | 
| Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame] | 103 | interrupts = <18 8>; | 
|  | 104 | ranges = <0x42000000 0x0 0x80000000 0x80000000 0x0 0x20000000 | 
|  | 105 | 0x2000000 0x0 0xa0000000 0xa0000000 0x0 0x20000000 | 
|  | 106 | 0x1000000 0x0 0x0 0xf6000000 0x0 0x2000000>; | 
| Scott Wood | 3611f2a | 2007-09-05 14:00:54 -0500 | [diff] [blame] | 107 | }; | 
|  | 108 |  | 
|  | 109 | soc@f0000000 { | 
|  | 110 | #address-cells = <1>; | 
|  | 111 | #size-cells = <1>; | 
|  | 112 | device_type = "soc"; | 
|  | 113 | compatible = "fsl,mpc8280", "fsl,pq2-soc"; | 
| Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame] | 114 | ranges = <0x0 0xf0000000 0x53000>; | 
| Scott Wood | 3611f2a | 2007-09-05 14:00:54 -0500 | [diff] [blame] | 115 |  | 
|  | 116 | // Temporary -- will go away once kernel uses ranges for get_immrbase(). | 
| Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame] | 117 | reg = <0xf0000000 0x53000>; | 
| Scott Wood | 3611f2a | 2007-09-05 14:00:54 -0500 | [diff] [blame] | 118 |  | 
|  | 119 | cpm@119c0 { | 
|  | 120 | #address-cells = <1>; | 
|  | 121 | #size-cells = <1>; | 
|  | 122 | #interrupt-cells = <2>; | 
|  | 123 | compatible = "fsl,mpc8280-cpm", "fsl,cpm2"; | 
| Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame] | 124 | reg = <0x119c0 0x30>; | 
| Scott Wood | 3611f2a | 2007-09-05 14:00:54 -0500 | [diff] [blame] | 125 | ranges; | 
|  | 126 |  | 
| Scott Wood | 15f8c60 | 2007-09-28 14:06:16 -0500 | [diff] [blame] | 127 | muram@0 { | 
|  | 128 | #address-cells = <1>; | 
|  | 129 | #size-cells = <1>; | 
| Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame] | 130 | ranges = <0x0 0x0 0x10000>; | 
| Scott Wood | 15f8c60 | 2007-09-28 14:06:16 -0500 | [diff] [blame] | 131 |  | 
|  | 132 | data@0 { | 
|  | 133 | compatible = "fsl,cpm-muram-data"; | 
| Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame] | 134 | reg = <0x0 0x2000 0x9800 0x800>; | 
| Scott Wood | 15f8c60 | 2007-09-28 14:06:16 -0500 | [diff] [blame] | 135 | }; | 
|  | 136 | }; | 
|  | 137 |  | 
| Scott Wood | 3611f2a | 2007-09-05 14:00:54 -0500 | [diff] [blame] | 138 | brg@119f0 { | 
|  | 139 | compatible = "fsl,mpc8280-brg", | 
|  | 140 | "fsl,cpm2-brg", | 
|  | 141 | "fsl,cpm-brg"; | 
| Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame] | 142 | reg = <0x119f0 0x10 0x115f0 0x10>; | 
| Scott Wood | 3611f2a | 2007-09-05 14:00:54 -0500 | [diff] [blame] | 143 | }; | 
|  | 144 |  | 
|  | 145 | serial@11a00 { | 
|  | 146 | device_type = "serial"; | 
|  | 147 | compatible = "fsl,mpc8280-scc-uart", | 
|  | 148 | "fsl,cpm2-scc-uart"; | 
| Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame] | 149 | reg = <0x11a00 0x20 0x8000 0x100>; | 
|  | 150 | interrupts = <40 8>; | 
| Scott Wood | 3611f2a | 2007-09-05 14:00:54 -0500 | [diff] [blame] | 151 | interrupt-parent = <&PIC>; | 
|  | 152 | fsl,cpm-brg = <1>; | 
| Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame] | 153 | fsl,cpm-command = <0x800000>; | 
| Scott Wood | 3611f2a | 2007-09-05 14:00:54 -0500 | [diff] [blame] | 154 | }; | 
|  | 155 |  | 
|  | 156 | serial@11a20 { | 
|  | 157 | device_type = "serial"; | 
|  | 158 | compatible = "fsl,mpc8280-scc-uart", | 
|  | 159 | "fsl,cpm2-scc-uart"; | 
| Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame] | 160 | reg = <0x11a20 0x20 0x8100 0x100>; | 
|  | 161 | interrupts = <41 8>; | 
| Scott Wood | 3611f2a | 2007-09-05 14:00:54 -0500 | [diff] [blame] | 162 | interrupt-parent = <&PIC>; | 
|  | 163 | fsl,cpm-brg = <2>; | 
| Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame] | 164 | fsl,cpm-command = <0x4a00000>; | 
| Scott Wood | 3611f2a | 2007-09-05 14:00:54 -0500 | [diff] [blame] | 165 | }; | 
|  | 166 |  | 
|  | 167 | ethernet@11320 { | 
|  | 168 | device_type = "network"; | 
|  | 169 | compatible = "fsl,mpc8280-fcc-enet", | 
|  | 170 | "fsl,cpm2-fcc-enet"; | 
| Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame] | 171 | reg = <0x11320 0x20 0x8500 0x100 0x113b0 0x1>; | 
|  | 172 | interrupts = <33 8>; | 
| Scott Wood | 3611f2a | 2007-09-05 14:00:54 -0500 | [diff] [blame] | 173 | interrupt-parent = <&PIC>; | 
|  | 174 | phy-handle = <&PHY0>; | 
|  | 175 | linux,network-index = <0>; | 
| Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame] | 176 | fsl,cpm-command = <0x16200300>; | 
| Scott Wood | 3611f2a | 2007-09-05 14:00:54 -0500 | [diff] [blame] | 177 | }; | 
|  | 178 |  | 
|  | 179 | ethernet@11340 { | 
|  | 180 | device_type = "network"; | 
|  | 181 | compatible = "fsl,mpc8280-fcc-enet", | 
|  | 182 | "fsl,cpm2-fcc-enet"; | 
| Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame] | 183 | reg = <0x11340 0x20 0x8600 0x100 0x113d0 0x1>; | 
|  | 184 | interrupts = <34 8>; | 
| Scott Wood | 3611f2a | 2007-09-05 14:00:54 -0500 | [diff] [blame] | 185 | interrupt-parent = <&PIC>; | 
|  | 186 | phy-handle = <&PHY1>; | 
|  | 187 | linux,network-index = <1>; | 
| Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame] | 188 | fsl,cpm-command = <0x1a400300>; | 
| Scott Wood | 3611f2a | 2007-09-05 14:00:54 -0500 | [diff] [blame] | 189 | local-mac-address = [00 e0 0c 00 79 01]; | 
|  | 190 | }; | 
|  | 191 |  | 
|  | 192 | mdio@10d40 { | 
|  | 193 | device_type = "mdio"; | 
|  | 194 | compatible = "fsl,pq2fads-mdio-bitbang", | 
|  | 195 | "fsl,mpc8280-mdio-bitbang", | 
|  | 196 | "fsl,cpm2-mdio-bitbang"; | 
|  | 197 | #address-cells = <1>; | 
|  | 198 | #size-cells = <0>; | 
| Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame] | 199 | reg = <0x10d40 0x14>; | 
| Scott Wood | 3611f2a | 2007-09-05 14:00:54 -0500 | [diff] [blame] | 200 | fsl,mdio-pin = <9>; | 
| Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame] | 201 | fsl,mdc-pin = <10>; | 
| Scott Wood | 3611f2a | 2007-09-05 14:00:54 -0500 | [diff] [blame] | 202 |  | 
|  | 203 | PHY0: ethernet-phy@0 { | 
|  | 204 | interrupt-parent = <&PIC>; | 
| Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame] | 205 | interrupts = <25 2>; | 
|  | 206 | reg = <0x0>; | 
| Scott Wood | 3611f2a | 2007-09-05 14:00:54 -0500 | [diff] [blame] | 207 | device_type = "ethernet-phy"; | 
|  | 208 | }; | 
|  | 209 |  | 
|  | 210 | PHY1: ethernet-phy@1 { | 
|  | 211 | interrupt-parent = <&PIC>; | 
| Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame] | 212 | interrupts = <25 2>; | 
|  | 213 | reg = <0x3>; | 
| Scott Wood | 3611f2a | 2007-09-05 14:00:54 -0500 | [diff] [blame] | 214 | device_type = "ethernet-phy"; | 
|  | 215 | }; | 
|  | 216 | }; | 
|  | 217 |  | 
|  | 218 | usb@11b60 { | 
|  | 219 | #address-cells = <1>; | 
|  | 220 | #size-cells = <0>; | 
|  | 221 | compatible = "fsl,mpc8280-usb", | 
|  | 222 | "fsl,cpm2-usb"; | 
| Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame] | 223 | reg = <0x11b60 0x18 0x8b00 0x100>; | 
| Scott Wood | 3611f2a | 2007-09-05 14:00:54 -0500 | [diff] [blame] | 224 | interrupt-parent = <&PIC>; | 
| Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame] | 225 | interrupts = <11 8>; | 
|  | 226 | fsl,cpm-command = <0x2e600000>; | 
| Scott Wood | 3611f2a | 2007-09-05 14:00:54 -0500 | [diff] [blame] | 227 | }; | 
|  | 228 | }; | 
|  | 229 |  | 
|  | 230 | PIC: interrupt-controller@10c00 { | 
|  | 231 | #interrupt-cells = <2>; | 
|  | 232 | interrupt-controller; | 
| Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame] | 233 | reg = <0x10c00 0x80>; | 
| Scott Wood | 3611f2a | 2007-09-05 14:00:54 -0500 | [diff] [blame] | 234 | compatible = "fsl,mpc8280-pic", "fsl,cpm2-pic"; | 
|  | 235 | }; | 
|  | 236 |  | 
|  | 237 | }; | 
|  | 238 |  | 
|  | 239 | chosen { | 
|  | 240 | linux,stdout-path = "/soc/cpm/serial@11a00"; | 
|  | 241 | }; | 
|  | 242 | }; |