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. |
Scott Wood | 20906ec | 2007-09-14 14:38:16 -0500 | [diff] [blame] | 5 | * Copyright 2007 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 | |
| 13 | |
| 14 | / { |
| 15 | model = "MPC885ADS"; |
Scott Wood | 20906ec | 2007-09-14 14:38:16 -0500 | [diff] [blame] | 16 | compatible = "fsl,mpc885ads"; |
Vitaly Bordug | df34403 | 2007-01-24 22:41:42 +0300 | [diff] [blame] | 17 | #address-cells = <1>; |
| 18 | #size-cells = <1>; |
Vitaly Bordug | df34403 | 2007-01-24 22:41:42 +0300 | [diff] [blame] | 19 | |
| 20 | cpus { |
Vitaly Bordug | df34403 | 2007-01-24 22:41:42 +0300 | [diff] [blame] | 21 | #address-cells = <1>; |
| 22 | #size-cells = <0>; |
Vitaly Bordug | df34403 | 2007-01-24 22:41:42 +0300 | [diff] [blame] | 23 | |
| 24 | PowerPC,885@0 { |
| 25 | device_type = "cpu"; |
| 26 | reg = <0>; |
Scott Wood | 20906ec | 2007-09-14 14:38:16 -0500 | [diff] [blame] | 27 | d-cache-line-size = <d#16>; |
| 28 | i-cache-line-size = <d#16>; |
| 29 | d-cache-size = <d#8192>; |
| 30 | i-cache-size = <d#8192>; |
Vitaly Bordug | df34403 | 2007-01-24 22:41:42 +0300 | [diff] [blame] | 31 | timebase-frequency = <0>; |
| 32 | bus-frequency = <0>; |
| 33 | clock-frequency = <0>; |
Vitaly Bordug | df34403 | 2007-01-24 22:41:42 +0300 | [diff] [blame] | 34 | interrupts = <f 2>; // decrementer interrupt |
Scott Wood | 20906ec | 2007-09-14 14:38:16 -0500 | [diff] [blame] | 35 | interrupt-parent = <&PIC>; |
Vitaly Bordug | df34403 | 2007-01-24 22:41:42 +0300 | [diff] [blame] | 36 | }; |
| 37 | }; |
| 38 | |
| 39 | memory { |
| 40 | device_type = "memory"; |
Scott Wood | 20906ec | 2007-09-14 14:38:16 -0500 | [diff] [blame] | 41 | reg = <0 0>; |
Vitaly Bordug | df34403 | 2007-01-24 22:41:42 +0300 | [diff] [blame] | 42 | }; |
| 43 | |
Scott Wood | 20906ec | 2007-09-14 14:38:16 -0500 | [diff] [blame] | 44 | localbus@ff000100 { |
| 45 | compatible = "fsl,mpc885-localbus", "fsl,pq1-localbus"; |
| 46 | #address-cells = <2>; |
| 47 | #size-cells = <1>; |
| 48 | reg = <ff000100 40>; |
| 49 | |
| 50 | ranges = < |
| 51 | 0 0 fe000000 00800000 |
| 52 | 1 0 ff080000 00008000 |
| 53 | 5 0 ff0a0000 00008000 |
| 54 | >; |
| 55 | |
| 56 | flash@0,0 { |
| 57 | compatible = "jedec-flash"; |
| 58 | reg = <0 0 800000>; |
| 59 | bank-width = <4>; |
| 60 | device-width = <1>; |
| 61 | }; |
| 62 | |
| 63 | board-control@1,0 { |
| 64 | reg = <1 0 20 5 300 4>; |
| 65 | compatible = "fsl,mpc885ads-bcsr"; |
| 66 | }; |
| 67 | }; |
| 68 | |
| 69 | soc@ff000000 { |
| 70 | compatible = "fsl,mpc885", "fsl,pq1-soc"; |
Vitaly Bordug | df34403 | 2007-01-24 22:41:42 +0300 | [diff] [blame] | 71 | #address-cells = <1>; |
| 72 | #size-cells = <1>; |
Vitaly Bordug | df34403 | 2007-01-24 22:41:42 +0300 | [diff] [blame] | 73 | device_type = "soc"; |
Scott Wood | 20906ec | 2007-09-14 14:38:16 -0500 | [diff] [blame] | 74 | ranges = <0 ff000000 00004000>; |
Vitaly Bordug | df34403 | 2007-01-24 22:41:42 +0300 | [diff] [blame] | 75 | bus-frequency = <0>; |
Scott Wood | 20906ec | 2007-09-14 14:38:16 -0500 | [diff] [blame] | 76 | |
| 77 | // Temporary -- will go away once kernel uses ranges for get_immrbase(). |
| 78 | reg = <ff000000 4000>; |
| 79 | |
| 80 | mdio@e00 { |
| 81 | compatible = "fsl,mpc885-fec-mdio", "fsl,pq1-fec-mdio"; |
| 82 | reg = <e00 188>; |
Vitaly Bordug | df34403 | 2007-01-24 22:41:42 +0300 | [diff] [blame] | 83 | #address-cells = <1>; |
| 84 | #size-cells = <0>; |
Scott Wood | 20906ec | 2007-09-14 14:38:16 -0500 | [diff] [blame] | 85 | |
| 86 | PHY0: ethernet-phy@0 { |
Vitaly Bordug | df34403 | 2007-01-24 22:41:42 +0300 | [diff] [blame] | 87 | reg = <0>; |
| 88 | device_type = "ethernet-phy"; |
| 89 | }; |
Scott Wood | 20906ec | 2007-09-14 14:38:16 -0500 | [diff] [blame] | 90 | |
| 91 | PHY1: ethernet-phy@1 { |
Vitaly Bordug | df34403 | 2007-01-24 22:41:42 +0300 | [diff] [blame] | 92 | reg = <1>; |
| 93 | device_type = "ethernet-phy"; |
| 94 | }; |
Scott Wood | 20906ec | 2007-09-14 14:38:16 -0500 | [diff] [blame] | 95 | |
| 96 | PHY2: ethernet-phy@2 { |
Vitaly Bordug | df34403 | 2007-01-24 22:41:42 +0300 | [diff] [blame] | 97 | reg = <2>; |
| 98 | device_type = "ethernet-phy"; |
| 99 | }; |
| 100 | }; |
| 101 | |
Scott Wood | 20906ec | 2007-09-14 14:38:16 -0500 | [diff] [blame] | 102 | ethernet@e00 { |
Vitaly Bordug | df34403 | 2007-01-24 22:41:42 +0300 | [diff] [blame] | 103 | device_type = "network"; |
Scott Wood | 20906ec | 2007-09-14 14:38:16 -0500 | [diff] [blame] | 104 | compatible = "fsl,mpc885-fec-enet", |
| 105 | "fsl,pq1-fec-enet"; |
Vitaly Bordug | df34403 | 2007-01-24 22:41:42 +0300 | [diff] [blame] | 106 | reg = <e00 188>; |
Scott Wood | 20906ec | 2007-09-14 14:38:16 -0500 | [diff] [blame] | 107 | local-mac-address = [ 00 00 00 00 00 00 ]; |
Vitaly Bordug | df34403 | 2007-01-24 22:41:42 +0300 | [diff] [blame] | 108 | interrupts = <3 1>; |
Scott Wood | 20906ec | 2007-09-14 14:38:16 -0500 | [diff] [blame] | 109 | interrupt-parent = <&PIC>; |
| 110 | phy-handle = <&PHY0>; |
| 111 | linux,network-index = <0>; |
Vitaly Bordug | df34403 | 2007-01-24 22:41:42 +0300 | [diff] [blame] | 112 | }; |
| 113 | |
Scott Wood | 20906ec | 2007-09-14 14:38:16 -0500 | [diff] [blame] | 114 | ethernet@1e00 { |
Vitaly Bordug | df34403 | 2007-01-24 22:41:42 +0300 | [diff] [blame] | 115 | device_type = "network"; |
Scott Wood | 20906ec | 2007-09-14 14:38:16 -0500 | [diff] [blame] | 116 | compatible = "fsl,mpc885-fec-enet", |
| 117 | "fsl,pq1-fec-enet"; |
Vitaly Bordug | df34403 | 2007-01-24 22:41:42 +0300 | [diff] [blame] | 118 | reg = <1e00 188>; |
Scott Wood | 20906ec | 2007-09-14 14:38:16 -0500 | [diff] [blame] | 119 | local-mac-address = [ 00 00 00 00 00 00 ]; |
Vitaly Bordug | df34403 | 2007-01-24 22:41:42 +0300 | [diff] [blame] | 120 | interrupts = <7 1>; |
Scott Wood | 20906ec | 2007-09-14 14:38:16 -0500 | [diff] [blame] | 121 | interrupt-parent = <&PIC>; |
| 122 | phy-handle = <&PHY1>; |
| 123 | linux,network-index = <1>; |
Vitaly Bordug | df34403 | 2007-01-24 22:41:42 +0300 | [diff] [blame] | 124 | }; |
| 125 | |
Scott Wood | 20906ec | 2007-09-14 14:38:16 -0500 | [diff] [blame] | 126 | PIC: interrupt-controller@0 { |
Vitaly Bordug | df34403 | 2007-01-24 22:41:42 +0300 | [diff] [blame] | 127 | interrupt-controller; |
Vitaly Bordug | df34403 | 2007-01-24 22:41:42 +0300 | [diff] [blame] | 128 | #interrupt-cells = <2>; |
| 129 | reg = <0 24>; |
Scott Wood | 20906ec | 2007-09-14 14:38:16 -0500 | [diff] [blame] | 130 | compatible = "fsl,mpc885-pic", "fsl,pq1-pic"; |
Vitaly Bordug | df34403 | 2007-01-24 22:41:42 +0300 | [diff] [blame] | 131 | }; |
| 132 | |
Scott Wood | 20906ec | 2007-09-14 14:38:16 -0500 | [diff] [blame] | 133 | pcmcia@80 { |
Vitaly Bordug | 80128ff | 2007-07-09 11:37:35 -0700 | [diff] [blame] | 134 | #address-cells = <3>; |
| 135 | #interrupt-cells = <1>; |
| 136 | #size-cells = <2>; |
| 137 | compatible = "fsl,pq-pcmcia"; |
| 138 | device_type = "pcmcia"; |
| 139 | reg = <80 80>; |
Scott Wood | 20906ec | 2007-09-14 14:38:16 -0500 | [diff] [blame] | 140 | interrupt-parent = <&PIC>; |
Vitaly Bordug | 80128ff | 2007-07-09 11:37:35 -0700 | [diff] [blame] | 141 | interrupts = <d 1>; |
| 142 | }; |
| 143 | |
Scott Wood | 20906ec | 2007-09-14 14:38:16 -0500 | [diff] [blame] | 144 | cpm@9c0 { |
Vitaly Bordug | df34403 | 2007-01-24 22:41:42 +0300 | [diff] [blame] | 145 | #address-cells = <1>; |
| 146 | #size-cells = <1>; |
Scott Wood | 20906ec | 2007-09-14 14:38:16 -0500 | [diff] [blame] | 147 | compatible = "fsl,mpc885-cpm", "fsl,cpm1"; |
Vitaly Bordug | df34403 | 2007-01-24 22:41:42 +0300 | [diff] [blame] | 148 | command-proc = <9c0>; |
Scott Wood | 20906ec | 2007-09-14 14:38:16 -0500 | [diff] [blame] | 149 | interrupts = <0>; // cpm error interrupt |
| 150 | interrupt-parent = <&CPM_PIC>; |
Scott Wood | 15f8c60 | 2007-09-28 14:06:16 -0500 | [diff] [blame^] | 151 | reg = <9c0 40>; |
Scott Wood | 20906ec | 2007-09-14 14:38:16 -0500 | [diff] [blame] | 152 | ranges; |
Vitaly Bordug | df34403 | 2007-01-24 22:41:42 +0300 | [diff] [blame] | 153 | |
Scott Wood | 15f8c60 | 2007-09-28 14:06:16 -0500 | [diff] [blame^] | 154 | muram@2000 { |
| 155 | #address-cells = <1>; |
| 156 | #size-cells = <1>; |
| 157 | ranges = <0 2000 2000>; |
| 158 | |
| 159 | data@0 { |
| 160 | compatible = "fsl,cpm-muram-data"; |
| 161 | reg = <0 1c00>; |
| 162 | }; |
| 163 | }; |
| 164 | |
Scott Wood | 20906ec | 2007-09-14 14:38:16 -0500 | [diff] [blame] | 165 | brg@9f0 { |
| 166 | compatible = "fsl,mpc885-brg", |
| 167 | "fsl,cpm1-brg", |
| 168 | "fsl,cpm-brg"; |
| 169 | reg = <9f0 10>; |
| 170 | }; |
| 171 | |
| 172 | CPM_PIC: interrupt-controller@930 { |
Vitaly Bordug | df34403 | 2007-01-24 22:41:42 +0300 | [diff] [blame] | 173 | interrupt-controller; |
Scott Wood | 20906ec | 2007-09-14 14:38:16 -0500 | [diff] [blame] | 174 | #interrupt-cells = <1>; |
Vitaly Bordug | df34403 | 2007-01-24 22:41:42 +0300 | [diff] [blame] | 175 | interrupts = <5 2 0 2>; |
Scott Wood | 20906ec | 2007-09-14 14:38:16 -0500 | [diff] [blame] | 176 | interrupt-parent = <&PIC>; |
Vitaly Bordug | df34403 | 2007-01-24 22:41:42 +0300 | [diff] [blame] | 177 | reg = <930 20>; |
Scott Wood | 20906ec | 2007-09-14 14:38:16 -0500 | [diff] [blame] | 178 | compatible = "fsl,mpc885-cpm-pic", |
| 179 | "fsl,cpm1-pic"; |
Vitaly Bordug | df34403 | 2007-01-24 22:41:42 +0300 | [diff] [blame] | 180 | }; |
| 181 | |
Scott Wood | 20906ec | 2007-09-14 14:38:16 -0500 | [diff] [blame] | 182 | serial@a80 { |
Vitaly Bordug | df34403 | 2007-01-24 22:41:42 +0300 | [diff] [blame] | 183 | device_type = "serial"; |
Scott Wood | 20906ec | 2007-09-14 14:38:16 -0500 | [diff] [blame] | 184 | compatible = "fsl,mpc885-smc-uart", |
| 185 | "fsl,cpm1-smc-uart"; |
Vitaly Bordug | df34403 | 2007-01-24 22:41:42 +0300 | [diff] [blame] | 186 | reg = <a80 10 3e80 40>; |
Scott Wood | 20906ec | 2007-09-14 14:38:16 -0500 | [diff] [blame] | 187 | interrupts = <4>; |
| 188 | interrupt-parent = <&CPM_PIC>; |
| 189 | fsl,cpm-brg = <1>; |
| 190 | fsl,cpm-command = <0090>; |
Vitaly Bordug | df34403 | 2007-01-24 22:41:42 +0300 | [diff] [blame] | 191 | }; |
| 192 | |
Scott Wood | 20906ec | 2007-09-14 14:38:16 -0500 | [diff] [blame] | 193 | serial@a90 { |
Vitaly Bordug | df34403 | 2007-01-24 22:41:42 +0300 | [diff] [blame] | 194 | device_type = "serial"; |
Scott Wood | 20906ec | 2007-09-14 14:38:16 -0500 | [diff] [blame] | 195 | compatible = "fsl,mpc885-smc-uart", |
| 196 | "fsl,cpm1-smc-uart"; |
| 197 | reg = <a90 10 3f80 40>; |
| 198 | interrupts = <3>; |
| 199 | interrupt-parent = <&CPM_PIC>; |
| 200 | fsl,cpm-brg = <2>; |
| 201 | fsl,cpm-command = <00d0>; |
Vitaly Bordug | df34403 | 2007-01-24 22:41:42 +0300 | [diff] [blame] | 202 | }; |
| 203 | |
Scott Wood | 20906ec | 2007-09-14 14:38:16 -0500 | [diff] [blame] | 204 | ethernet@a40 { |
Vitaly Bordug | df34403 | 2007-01-24 22:41:42 +0300 | [diff] [blame] | 205 | device_type = "network"; |
Scott Wood | 20906ec | 2007-09-14 14:38:16 -0500 | [diff] [blame] | 206 | compatible = "fsl,mpc885-scc-enet", |
| 207 | "fsl,cpm1-scc-enet"; |
| 208 | reg = <a40 18 3e00 100>; |
| 209 | local-mac-address = [ 00 00 00 00 00 00 ]; |
| 210 | interrupts = <1c>; |
| 211 | interrupt-parent = <&CPM_PIC>; |
| 212 | phy-handle = <&PHY2>; |
| 213 | fsl,cpm-command = <0080>; |
| 214 | linux,network-index = <2>; |
Vitaly Bordug | df34403 | 2007-01-24 22:41:42 +0300 | [diff] [blame] | 215 | }; |
| 216 | }; |
| 217 | }; |
Scott Wood | 20906ec | 2007-09-14 14:38:16 -0500 | [diff] [blame] | 218 | |
| 219 | chosen { |
| 220 | linux,stdout-path = "/soc/cpm/serial@a80"; |
| 221 | }; |
Vitaly Bordug | df34403 | 2007-01-24 22:41:42 +0300 | [diff] [blame] | 222 | }; |