| Vitaly Bordug | df34403 | 2007-01-24 22:41:42 +0300 | [diff] [blame] | 1 | /* | 
|  | 2 | * MPC885 ADS Device Tree Source | 
|  | 3 | * | 
|  | 4 | * Copyright 2006 MontaVista Software, Inc. | 
| Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame] | 5 | * Copyright 2007,2008 Freescale Semiconductor, Inc. | 
| Vitaly Bordug | df34403 | 2007-01-24 22:41:42 +0300 | [diff] [blame] | 6 | * | 
|  | 7 | * This program is free software; you can redistribute  it and/or modify it | 
|  | 8 | * under  the terms of  the GNU General  Public License as published by the | 
|  | 9 | * Free Software Foundation;  either version 2 of the  License, or (at your | 
|  | 10 | * option) any later version. | 
|  | 11 | */ | 
|  | 12 |  | 
| Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame] | 13 | /dts-v1/; | 
| Vitaly Bordug | df34403 | 2007-01-24 22:41:42 +0300 | [diff] [blame] | 14 |  | 
|  | 15 | / { | 
|  | 16 | model = "MPC885ADS"; | 
| Scott Wood | 20906ec | 2007-09-14 14:38:16 -0500 | [diff] [blame] | 17 | compatible = "fsl,mpc885ads"; | 
| Vitaly Bordug | df34403 | 2007-01-24 22:41:42 +0300 | [diff] [blame] | 18 | #address-cells = <1>; | 
|  | 19 | #size-cells = <1>; | 
| Vitaly Bordug | df34403 | 2007-01-24 22:41:42 +0300 | [diff] [blame] | 20 |  | 
|  | 21 | cpus { | 
| Vitaly Bordug | df34403 | 2007-01-24 22:41:42 +0300 | [diff] [blame] | 22 | #address-cells = <1>; | 
|  | 23 | #size-cells = <0>; | 
| Vitaly Bordug | df34403 | 2007-01-24 22:41:42 +0300 | [diff] [blame] | 24 |  | 
|  | 25 | PowerPC,885@0 { | 
|  | 26 | device_type = "cpu"; | 
| Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame] | 27 | reg = <0x0>; | 
|  | 28 | d-cache-line-size = <16>; | 
|  | 29 | i-cache-line-size = <16>; | 
|  | 30 | d-cache-size = <8192>; | 
|  | 31 | i-cache-size = <8192>; | 
| Vitaly Bordug | df34403 | 2007-01-24 22:41:42 +0300 | [diff] [blame] | 32 | timebase-frequency = <0>; | 
|  | 33 | bus-frequency = <0>; | 
|  | 34 | clock-frequency = <0>; | 
| Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame] | 35 | interrupts = <15 2>;	// decrementer interrupt | 
| Scott Wood | 20906ec | 2007-09-14 14:38:16 -0500 | [diff] [blame] | 36 | interrupt-parent = <&PIC>; | 
| Vitaly Bordug | df34403 | 2007-01-24 22:41:42 +0300 | [diff] [blame] | 37 | }; | 
|  | 38 | }; | 
|  | 39 |  | 
|  | 40 | memory { | 
|  | 41 | device_type = "memory"; | 
| Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame] | 42 | reg = <0x0 0x0>; | 
| Vitaly Bordug | df34403 | 2007-01-24 22:41:42 +0300 | [diff] [blame] | 43 | }; | 
|  | 44 |  | 
| Scott Wood | 20906ec | 2007-09-14 14:38:16 -0500 | [diff] [blame] | 45 | localbus@ff000100 { | 
|  | 46 | compatible = "fsl,mpc885-localbus", "fsl,pq1-localbus"; | 
|  | 47 | #address-cells = <2>; | 
|  | 48 | #size-cells = <1>; | 
| Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame] | 49 | reg = <0xff000100 0x40>; | 
| Scott Wood | 20906ec | 2007-09-14 14:38:16 -0500 | [diff] [blame] | 50 |  | 
|  | 51 | ranges = < | 
| Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame] | 52 | 0x0 0x0 0xfe000000 0x800000 | 
|  | 53 | 0x1 0x0 0xff080000 0x8000 | 
|  | 54 | 0x5 0x0 0xff0a0000 0x8000 | 
| Scott Wood | 20906ec | 2007-09-14 14:38:16 -0500 | [diff] [blame] | 55 | >; | 
|  | 56 |  | 
|  | 57 | flash@0,0 { | 
|  | 58 | compatible = "jedec-flash"; | 
| Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame] | 59 | reg = <0x0 0x0 0x800000>; | 
| Scott Wood | 20906ec | 2007-09-14 14:38:16 -0500 | [diff] [blame] | 60 | bank-width = <4>; | 
|  | 61 | device-width = <1>; | 
|  | 62 | }; | 
|  | 63 |  | 
|  | 64 | board-control@1,0 { | 
| Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame] | 65 | reg = <0x1 0x0 0x20 0x5 0x300 0x4>; | 
| Scott Wood | 20906ec | 2007-09-14 14:38:16 -0500 | [diff] [blame] | 66 | compatible = "fsl,mpc885ads-bcsr"; | 
|  | 67 | }; | 
|  | 68 | }; | 
|  | 69 |  | 
|  | 70 | soc@ff000000 { | 
|  | 71 | compatible = "fsl,mpc885", "fsl,pq1-soc"; | 
| Vitaly Bordug | df34403 | 2007-01-24 22:41:42 +0300 | [diff] [blame] | 72 | #address-cells = <1>; | 
|  | 73 | #size-cells = <1>; | 
| Vitaly Bordug | df34403 | 2007-01-24 22:41:42 +0300 | [diff] [blame] | 74 | device_type = "soc"; | 
| Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame] | 75 | ranges = <0x0 0xff000000 0x4000>; | 
| Vitaly Bordug | df34403 | 2007-01-24 22:41:42 +0300 | [diff] [blame] | 76 | bus-frequency = <0>; | 
| Scott Wood | 20906ec | 2007-09-14 14:38:16 -0500 | [diff] [blame] | 77 |  | 
|  | 78 | // Temporary -- will go away once kernel uses ranges for get_immrbase(). | 
| Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame] | 79 | reg = <0xff000000 0x4000>; | 
| Scott Wood | 20906ec | 2007-09-14 14:38:16 -0500 | [diff] [blame] | 80 |  | 
|  | 81 | mdio@e00 { | 
|  | 82 | compatible = "fsl,mpc885-fec-mdio", "fsl,pq1-fec-mdio"; | 
| Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame] | 83 | reg = <0xe00 0x188>; | 
| Vitaly Bordug | df34403 | 2007-01-24 22:41:42 +0300 | [diff] [blame] | 84 | #address-cells = <1>; | 
|  | 85 | #size-cells = <0>; | 
| Scott Wood | 20906ec | 2007-09-14 14:38:16 -0500 | [diff] [blame] | 86 |  | 
|  | 87 | PHY0: ethernet-phy@0 { | 
| Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame] | 88 | reg = <0x0>; | 
| Vitaly Bordug | df34403 | 2007-01-24 22:41:42 +0300 | [diff] [blame] | 89 | device_type = "ethernet-phy"; | 
|  | 90 | }; | 
| Scott Wood | 20906ec | 2007-09-14 14:38:16 -0500 | [diff] [blame] | 91 |  | 
|  | 92 | PHY1: ethernet-phy@1 { | 
| Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame] | 93 | reg = <0x1>; | 
| Vitaly Bordug | df34403 | 2007-01-24 22:41:42 +0300 | [diff] [blame] | 94 | device_type = "ethernet-phy"; | 
|  | 95 | }; | 
| Scott Wood | 20906ec | 2007-09-14 14:38:16 -0500 | [diff] [blame] | 96 |  | 
|  | 97 | PHY2: ethernet-phy@2 { | 
| Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame] | 98 | reg = <0x2>; | 
| Vitaly Bordug | df34403 | 2007-01-24 22:41:42 +0300 | [diff] [blame] | 99 | device_type = "ethernet-phy"; | 
|  | 100 | }; | 
|  | 101 | }; | 
|  | 102 |  | 
| Scott Wood | 20906ec | 2007-09-14 14:38:16 -0500 | [diff] [blame] | 103 | ethernet@e00 { | 
| Vitaly Bordug | df34403 | 2007-01-24 22:41:42 +0300 | [diff] [blame] | 104 | device_type = "network"; | 
| Scott Wood | 20906ec | 2007-09-14 14:38:16 -0500 | [diff] [blame] | 105 | compatible = "fsl,mpc885-fec-enet", | 
|  | 106 | "fsl,pq1-fec-enet"; | 
| Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame] | 107 | reg = <0xe00 0x188>; | 
| Scott Wood | 20906ec | 2007-09-14 14:38:16 -0500 | [diff] [blame] | 108 | local-mac-address = [ 00 00 00 00 00 00 ]; | 
| Vitaly Bordug | df34403 | 2007-01-24 22:41:42 +0300 | [diff] [blame] | 109 | interrupts = <3 1>; | 
| Scott Wood | 20906ec | 2007-09-14 14:38:16 -0500 | [diff] [blame] | 110 | interrupt-parent = <&PIC>; | 
|  | 111 | phy-handle = <&PHY0>; | 
|  | 112 | linux,network-index = <0>; | 
| Vitaly Bordug | df34403 | 2007-01-24 22:41:42 +0300 | [diff] [blame] | 113 | }; | 
|  | 114 |  | 
| Scott Wood | 20906ec | 2007-09-14 14:38:16 -0500 | [diff] [blame] | 115 | ethernet@1e00 { | 
| Vitaly Bordug | df34403 | 2007-01-24 22:41:42 +0300 | [diff] [blame] | 116 | device_type = "network"; | 
| Scott Wood | 20906ec | 2007-09-14 14:38:16 -0500 | [diff] [blame] | 117 | compatible = "fsl,mpc885-fec-enet", | 
|  | 118 | "fsl,pq1-fec-enet"; | 
| Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame] | 119 | reg = <0x1e00 0x188>; | 
| Scott Wood | 20906ec | 2007-09-14 14:38:16 -0500 | [diff] [blame] | 120 | local-mac-address = [ 00 00 00 00 00 00 ]; | 
| Vitaly Bordug | df34403 | 2007-01-24 22:41:42 +0300 | [diff] [blame] | 121 | interrupts = <7 1>; | 
| Scott Wood | 20906ec | 2007-09-14 14:38:16 -0500 | [diff] [blame] | 122 | interrupt-parent = <&PIC>; | 
|  | 123 | phy-handle = <&PHY1>; | 
|  | 124 | linux,network-index = <1>; | 
| Vitaly Bordug | df34403 | 2007-01-24 22:41:42 +0300 | [diff] [blame] | 125 | }; | 
|  | 126 |  | 
| Scott Wood | 20906ec | 2007-09-14 14:38:16 -0500 | [diff] [blame] | 127 | PIC: interrupt-controller@0 { | 
| Vitaly Bordug | df34403 | 2007-01-24 22:41:42 +0300 | [diff] [blame] | 128 | interrupt-controller; | 
| Vitaly Bordug | df34403 | 2007-01-24 22:41:42 +0300 | [diff] [blame] | 129 | #interrupt-cells = <2>; | 
| Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame] | 130 | reg = <0x0 0x24>; | 
| Scott Wood | 20906ec | 2007-09-14 14:38:16 -0500 | [diff] [blame] | 131 | compatible = "fsl,mpc885-pic", "fsl,pq1-pic"; | 
| Vitaly Bordug | df34403 | 2007-01-24 22:41:42 +0300 | [diff] [blame] | 132 | }; | 
|  | 133 |  | 
| Scott Wood | 20906ec | 2007-09-14 14:38:16 -0500 | [diff] [blame] | 134 | pcmcia@80 { | 
| Vitaly Bordug | 80128ff | 2007-07-09 11:37:35 -0700 | [diff] [blame] | 135 | #address-cells = <3>; | 
|  | 136 | #interrupt-cells = <1>; | 
|  | 137 | #size-cells = <2>; | 
|  | 138 | compatible = "fsl,pq-pcmcia"; | 
|  | 139 | device_type = "pcmcia"; | 
| Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame] | 140 | reg = <0x80 0x80>; | 
| Scott Wood | 20906ec | 2007-09-14 14:38:16 -0500 | [diff] [blame] | 141 | interrupt-parent = <&PIC>; | 
| Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame] | 142 | interrupts = <13 1>; | 
| Vitaly Bordug | 80128ff | 2007-07-09 11:37:35 -0700 | [diff] [blame] | 143 | }; | 
|  | 144 |  | 
| Scott Wood | 20906ec | 2007-09-14 14:38:16 -0500 | [diff] [blame] | 145 | cpm@9c0 { | 
| Vitaly Bordug | df34403 | 2007-01-24 22:41:42 +0300 | [diff] [blame] | 146 | #address-cells = <1>; | 
|  | 147 | #size-cells = <1>; | 
| Scott Wood | 20906ec | 2007-09-14 14:38:16 -0500 | [diff] [blame] | 148 | compatible = "fsl,mpc885-cpm", "fsl,cpm1"; | 
| Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame] | 149 | command-proc = <0x9c0>; | 
| Scott Wood | 20906ec | 2007-09-14 14:38:16 -0500 | [diff] [blame] | 150 | interrupts = <0>;	// cpm error interrupt | 
|  | 151 | interrupt-parent = <&CPM_PIC>; | 
| Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame] | 152 | reg = <0x9c0 0x40>; | 
| Scott Wood | 20906ec | 2007-09-14 14:38:16 -0500 | [diff] [blame] | 153 | ranges; | 
| Vitaly Bordug | df34403 | 2007-01-24 22:41:42 +0300 | [diff] [blame] | 154 |  | 
| Scott Wood | 15f8c60 | 2007-09-28 14:06:16 -0500 | [diff] [blame] | 155 | muram@2000 { | 
|  | 156 | #address-cells = <1>; | 
|  | 157 | #size-cells = <1>; | 
| Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame] | 158 | ranges = <0x0 0x2000 0x2000>; | 
| Scott Wood | 15f8c60 | 2007-09-28 14:06:16 -0500 | [diff] [blame] | 159 |  | 
|  | 160 | data@0 { | 
|  | 161 | compatible = "fsl,cpm-muram-data"; | 
| Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame] | 162 | reg = <0x0 0x1c00>; | 
| Scott Wood | 15f8c60 | 2007-09-28 14:06:16 -0500 | [diff] [blame] | 163 | }; | 
|  | 164 | }; | 
|  | 165 |  | 
| Scott Wood | 20906ec | 2007-09-14 14:38:16 -0500 | [diff] [blame] | 166 | brg@9f0 { | 
|  | 167 | compatible = "fsl,mpc885-brg", | 
|  | 168 | "fsl,cpm1-brg", | 
|  | 169 | "fsl,cpm-brg"; | 
| Bryan O'Donoghue | 03bbfe8 | 2008-02-03 23:21:29 +0000 | [diff] [blame] | 170 | clock-frequency = <0>; | 
| Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame] | 171 | reg = <0x9f0 0x10>; | 
| Scott Wood | 20906ec | 2007-09-14 14:38:16 -0500 | [diff] [blame] | 172 | }; | 
|  | 173 |  | 
|  | 174 | CPM_PIC: interrupt-controller@930 { | 
| Vitaly Bordug | df34403 | 2007-01-24 22:41:42 +0300 | [diff] [blame] | 175 | interrupt-controller; | 
| Scott Wood | 20906ec | 2007-09-14 14:38:16 -0500 | [diff] [blame] | 176 | #interrupt-cells = <1>; | 
| Vitaly Bordug | df34403 | 2007-01-24 22:41:42 +0300 | [diff] [blame] | 177 | interrupts = <5 2 0 2>; | 
| Scott Wood | 20906ec | 2007-09-14 14:38:16 -0500 | [diff] [blame] | 178 | interrupt-parent = <&PIC>; | 
| Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame] | 179 | reg = <0x930 0x20>; | 
| Scott Wood | 20906ec | 2007-09-14 14:38:16 -0500 | [diff] [blame] | 180 | compatible = "fsl,mpc885-cpm-pic", | 
|  | 181 | "fsl,cpm1-pic"; | 
| Vitaly Bordug | df34403 | 2007-01-24 22:41:42 +0300 | [diff] [blame] | 182 | }; | 
|  | 183 |  | 
| Scott Wood | 20906ec | 2007-09-14 14:38:16 -0500 | [diff] [blame] | 184 | serial@a80 { | 
| Vitaly Bordug | df34403 | 2007-01-24 22:41:42 +0300 | [diff] [blame] | 185 | device_type = "serial"; | 
| Scott Wood | 20906ec | 2007-09-14 14:38:16 -0500 | [diff] [blame] | 186 | compatible = "fsl,mpc885-smc-uart", | 
|  | 187 | "fsl,cpm1-smc-uart"; | 
| Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame] | 188 | reg = <0xa80 0x10 0x3e80 0x40>; | 
| Scott Wood | 20906ec | 2007-09-14 14:38:16 -0500 | [diff] [blame] | 189 | interrupts = <4>; | 
|  | 190 | interrupt-parent = <&CPM_PIC>; | 
|  | 191 | fsl,cpm-brg = <1>; | 
| Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame] | 192 | fsl,cpm-command = <0x90>; | 
| Vitaly Bordug | df34403 | 2007-01-24 22:41:42 +0300 | [diff] [blame] | 193 | }; | 
|  | 194 |  | 
| Scott Wood | 20906ec | 2007-09-14 14:38:16 -0500 | [diff] [blame] | 195 | serial@a90 { | 
| Vitaly Bordug | df34403 | 2007-01-24 22:41:42 +0300 | [diff] [blame] | 196 | device_type = "serial"; | 
| Scott Wood | 20906ec | 2007-09-14 14:38:16 -0500 | [diff] [blame] | 197 | compatible = "fsl,mpc885-smc-uart", | 
|  | 198 | "fsl,cpm1-smc-uart"; | 
| Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame] | 199 | reg = <0xa90 0x10 0x3f80 0x40>; | 
| Scott Wood | 20906ec | 2007-09-14 14:38:16 -0500 | [diff] [blame] | 200 | interrupts = <3>; | 
|  | 201 | interrupt-parent = <&CPM_PIC>; | 
|  | 202 | fsl,cpm-brg = <2>; | 
| Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame] | 203 | fsl,cpm-command = <0xd0>; | 
| Vitaly Bordug | df34403 | 2007-01-24 22:41:42 +0300 | [diff] [blame] | 204 | }; | 
|  | 205 |  | 
| Scott Wood | 20906ec | 2007-09-14 14:38:16 -0500 | [diff] [blame] | 206 | ethernet@a40 { | 
| Vitaly Bordug | df34403 | 2007-01-24 22:41:42 +0300 | [diff] [blame] | 207 | device_type = "network"; | 
| Scott Wood | 20906ec | 2007-09-14 14:38:16 -0500 | [diff] [blame] | 208 | compatible = "fsl,mpc885-scc-enet", | 
|  | 209 | "fsl,cpm1-scc-enet"; | 
| Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame] | 210 | reg = <0xa40 0x18 0x3e00 0x100>; | 
| Scott Wood | 20906ec | 2007-09-14 14:38:16 -0500 | [diff] [blame] | 211 | local-mac-address = [ 00 00 00 00 00 00 ]; | 
| Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame] | 212 | interrupts = <28>; | 
| Scott Wood | 20906ec | 2007-09-14 14:38:16 -0500 | [diff] [blame] | 213 | interrupt-parent = <&CPM_PIC>; | 
|  | 214 | phy-handle = <&PHY2>; | 
| Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame] | 215 | fsl,cpm-command = <0x80>; | 
| Scott Wood | 20906ec | 2007-09-14 14:38:16 -0500 | [diff] [blame] | 216 | linux,network-index = <2>; | 
| Vitaly Bordug | df34403 | 2007-01-24 22:41:42 +0300 | [diff] [blame] | 217 | }; | 
| Jochen Friedrich | a5d28c8 | 2008-07-02 18:06:13 +0200 | [diff] [blame] | 218 |  | 
|  | 219 | i2c@860 { | 
|  | 220 | compatible = "fsl,mpc885-i2c", | 
|  | 221 | "fsl,cpm1-i2c"; | 
|  | 222 | reg = <0x860 0x20 0x3c80 0x30>; | 
|  | 223 | interrupts = <16>; | 
|  | 224 | interrupt-parent = <&CPM_PIC>; | 
|  | 225 | fsl,cpm-command = <0x10>; | 
|  | 226 | #address-cells = <1>; | 
|  | 227 | #size-cells = <0>; | 
|  | 228 | }; | 
| Vitaly Bordug | df34403 | 2007-01-24 22:41:42 +0300 | [diff] [blame] | 229 | }; | 
|  | 230 | }; | 
| Scott Wood | 20906ec | 2007-09-14 14:38:16 -0500 | [diff] [blame] | 231 |  | 
|  | 232 | chosen { | 
|  | 233 | linux,stdout-path = "/soc/cpm/serial@a80"; | 
|  | 234 | }; | 
| Vitaly Bordug | df34403 | 2007-01-24 22:41:42 +0300 | [diff] [blame] | 235 | }; |