blob: 9895043722b9fd1a88f4ebd05df9b3606cbcad0f [file] [log] [blame]
Vitaly Bordugdf344032007-01-24 22:41:42 +03001/*
2 * MPC885 ADS Device Tree Source
3 *
4 * Copyright 2006 MontaVista Software, Inc.
Kumar Gala998c6102008-04-17 09:40:48 -05005 * Copyright 2007,2008 Freescale Semiconductor, Inc.
Vitaly Bordugdf344032007-01-24 22:41:42 +03006 *
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 Gala998c6102008-04-17 09:40:48 -050013/dts-v1/;
Vitaly Bordugdf344032007-01-24 22:41:42 +030014
15/ {
16 model = "MPC885ADS";
Scott Wood20906ec2007-09-14 14:38:16 -050017 compatible = "fsl,mpc885ads";
Vitaly Bordugdf344032007-01-24 22:41:42 +030018 #address-cells = <1>;
19 #size-cells = <1>;
Vitaly Bordugdf344032007-01-24 22:41:42 +030020
21 cpus {
Vitaly Bordugdf344032007-01-24 22:41:42 +030022 #address-cells = <1>;
23 #size-cells = <0>;
Vitaly Bordugdf344032007-01-24 22:41:42 +030024
25 PowerPC,885@0 {
26 device_type = "cpu";
Kumar Gala998c6102008-04-17 09:40:48 -050027 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 Bordugdf344032007-01-24 22:41:42 +030032 timebase-frequency = <0>;
33 bus-frequency = <0>;
34 clock-frequency = <0>;
Kumar Gala998c6102008-04-17 09:40:48 -050035 interrupts = <15 2>; // decrementer interrupt
Scott Wood20906ec2007-09-14 14:38:16 -050036 interrupt-parent = <&PIC>;
Vitaly Bordugdf344032007-01-24 22:41:42 +030037 };
38 };
39
40 memory {
41 device_type = "memory";
Kumar Gala998c6102008-04-17 09:40:48 -050042 reg = <0x0 0x0>;
Vitaly Bordugdf344032007-01-24 22:41:42 +030043 };
44
Scott Wood20906ec2007-09-14 14:38:16 -050045 localbus@ff000100 {
46 compatible = "fsl,mpc885-localbus", "fsl,pq1-localbus";
47 #address-cells = <2>;
48 #size-cells = <1>;
Kumar Gala998c6102008-04-17 09:40:48 -050049 reg = <0xff000100 0x40>;
Scott Wood20906ec2007-09-14 14:38:16 -050050
51 ranges = <
Kumar Gala998c6102008-04-17 09:40:48 -050052 0x0 0x0 0xfe000000 0x800000
53 0x1 0x0 0xff080000 0x8000
54 0x5 0x0 0xff0a0000 0x8000
Scott Wood20906ec2007-09-14 14:38:16 -050055 >;
56
57 flash@0,0 {
58 compatible = "jedec-flash";
Kumar Gala998c6102008-04-17 09:40:48 -050059 reg = <0x0 0x0 0x800000>;
Scott Wood20906ec2007-09-14 14:38:16 -050060 bank-width = <4>;
61 device-width = <1>;
62 };
63
64 board-control@1,0 {
Kumar Gala998c6102008-04-17 09:40:48 -050065 reg = <0x1 0x0 0x20 0x5 0x300 0x4>;
Scott Wood20906ec2007-09-14 14:38:16 -050066 compatible = "fsl,mpc885ads-bcsr";
67 };
68 };
69
70 soc@ff000000 {
71 compatible = "fsl,mpc885", "fsl,pq1-soc";
Vitaly Bordugdf344032007-01-24 22:41:42 +030072 #address-cells = <1>;
73 #size-cells = <1>;
Vitaly Bordugdf344032007-01-24 22:41:42 +030074 device_type = "soc";
Kumar Gala998c6102008-04-17 09:40:48 -050075 ranges = <0x0 0xff000000 0x4000>;
Vitaly Bordugdf344032007-01-24 22:41:42 +030076 bus-frequency = <0>;
Scott Wood20906ec2007-09-14 14:38:16 -050077
78 // Temporary -- will go away once kernel uses ranges for get_immrbase().
Kumar Gala998c6102008-04-17 09:40:48 -050079 reg = <0xff000000 0x4000>;
Scott Wood20906ec2007-09-14 14:38:16 -050080
81 mdio@e00 {
82 compatible = "fsl,mpc885-fec-mdio", "fsl,pq1-fec-mdio";
Kumar Gala998c6102008-04-17 09:40:48 -050083 reg = <0xe00 0x188>;
Vitaly Bordugdf344032007-01-24 22:41:42 +030084 #address-cells = <1>;
85 #size-cells = <0>;
Scott Wood20906ec2007-09-14 14:38:16 -050086
87 PHY0: ethernet-phy@0 {
Kumar Gala998c6102008-04-17 09:40:48 -050088 reg = <0x0>;
Vitaly Bordugdf344032007-01-24 22:41:42 +030089 device_type = "ethernet-phy";
90 };
Scott Wood20906ec2007-09-14 14:38:16 -050091
92 PHY1: ethernet-phy@1 {
Kumar Gala998c6102008-04-17 09:40:48 -050093 reg = <0x1>;
Vitaly Bordugdf344032007-01-24 22:41:42 +030094 device_type = "ethernet-phy";
95 };
Scott Wood20906ec2007-09-14 14:38:16 -050096
97 PHY2: ethernet-phy@2 {
Kumar Gala998c6102008-04-17 09:40:48 -050098 reg = <0x2>;
Vitaly Bordugdf344032007-01-24 22:41:42 +030099 device_type = "ethernet-phy";
100 };
101 };
102
Scott Wood20906ec2007-09-14 14:38:16 -0500103 ethernet@e00 {
Vitaly Bordugdf344032007-01-24 22:41:42 +0300104 device_type = "network";
Scott Wood20906ec2007-09-14 14:38:16 -0500105 compatible = "fsl,mpc885-fec-enet",
106 "fsl,pq1-fec-enet";
Kumar Gala998c6102008-04-17 09:40:48 -0500107 reg = <0xe00 0x188>;
Scott Wood20906ec2007-09-14 14:38:16 -0500108 local-mac-address = [ 00 00 00 00 00 00 ];
Vitaly Bordugdf344032007-01-24 22:41:42 +0300109 interrupts = <3 1>;
Scott Wood20906ec2007-09-14 14:38:16 -0500110 interrupt-parent = <&PIC>;
111 phy-handle = <&PHY0>;
112 linux,network-index = <0>;
Vitaly Bordugdf344032007-01-24 22:41:42 +0300113 };
114
Scott Wood20906ec2007-09-14 14:38:16 -0500115 ethernet@1e00 {
Vitaly Bordugdf344032007-01-24 22:41:42 +0300116 device_type = "network";
Scott Wood20906ec2007-09-14 14:38:16 -0500117 compatible = "fsl,mpc885-fec-enet",
118 "fsl,pq1-fec-enet";
Kumar Gala998c6102008-04-17 09:40:48 -0500119 reg = <0x1e00 0x188>;
Scott Wood20906ec2007-09-14 14:38:16 -0500120 local-mac-address = [ 00 00 00 00 00 00 ];
Vitaly Bordugdf344032007-01-24 22:41:42 +0300121 interrupts = <7 1>;
Scott Wood20906ec2007-09-14 14:38:16 -0500122 interrupt-parent = <&PIC>;
123 phy-handle = <&PHY1>;
124 linux,network-index = <1>;
Vitaly Bordugdf344032007-01-24 22:41:42 +0300125 };
126
Scott Wood20906ec2007-09-14 14:38:16 -0500127 PIC: interrupt-controller@0 {
Vitaly Bordugdf344032007-01-24 22:41:42 +0300128 interrupt-controller;
Vitaly Bordugdf344032007-01-24 22:41:42 +0300129 #interrupt-cells = <2>;
Kumar Gala998c6102008-04-17 09:40:48 -0500130 reg = <0x0 0x24>;
Scott Wood20906ec2007-09-14 14:38:16 -0500131 compatible = "fsl,mpc885-pic", "fsl,pq1-pic";
Vitaly Bordugdf344032007-01-24 22:41:42 +0300132 };
133
Scott Wood20906ec2007-09-14 14:38:16 -0500134 pcmcia@80 {
Vitaly Bordug80128ff2007-07-09 11:37:35 -0700135 #address-cells = <3>;
136 #interrupt-cells = <1>;
137 #size-cells = <2>;
138 compatible = "fsl,pq-pcmcia";
139 device_type = "pcmcia";
Kumar Gala998c6102008-04-17 09:40:48 -0500140 reg = <0x80 0x80>;
Scott Wood20906ec2007-09-14 14:38:16 -0500141 interrupt-parent = <&PIC>;
Kumar Gala998c6102008-04-17 09:40:48 -0500142 interrupts = <13 1>;
Vitaly Bordug80128ff2007-07-09 11:37:35 -0700143 };
144
Scott Wood20906ec2007-09-14 14:38:16 -0500145 cpm@9c0 {
Vitaly Bordugdf344032007-01-24 22:41:42 +0300146 #address-cells = <1>;
147 #size-cells = <1>;
Scott Wood20906ec2007-09-14 14:38:16 -0500148 compatible = "fsl,mpc885-cpm", "fsl,cpm1";
Kumar Gala998c6102008-04-17 09:40:48 -0500149 command-proc = <0x9c0>;
Scott Wood20906ec2007-09-14 14:38:16 -0500150 interrupts = <0>; // cpm error interrupt
151 interrupt-parent = <&CPM_PIC>;
Kumar Gala998c6102008-04-17 09:40:48 -0500152 reg = <0x9c0 0x40>;
Scott Wood20906ec2007-09-14 14:38:16 -0500153 ranges;
Vitaly Bordugdf344032007-01-24 22:41:42 +0300154
Scott Wood15f8c602007-09-28 14:06:16 -0500155 muram@2000 {
156 #address-cells = <1>;
157 #size-cells = <1>;
Kumar Gala998c6102008-04-17 09:40:48 -0500158 ranges = <0x0 0x2000 0x2000>;
Scott Wood15f8c602007-09-28 14:06:16 -0500159
160 data@0 {
161 compatible = "fsl,cpm-muram-data";
Kumar Gala998c6102008-04-17 09:40:48 -0500162 reg = <0x0 0x1c00>;
Scott Wood15f8c602007-09-28 14:06:16 -0500163 };
164 };
165
Scott Wood20906ec2007-09-14 14:38:16 -0500166 brg@9f0 {
167 compatible = "fsl,mpc885-brg",
168 "fsl,cpm1-brg",
169 "fsl,cpm-brg";
Bryan O'Donoghue03bbfe82008-02-03 23:21:29 +0000170 clock-frequency = <0>;
Kumar Gala998c6102008-04-17 09:40:48 -0500171 reg = <0x9f0 0x10>;
Scott Wood20906ec2007-09-14 14:38:16 -0500172 };
173
174 CPM_PIC: interrupt-controller@930 {
Vitaly Bordugdf344032007-01-24 22:41:42 +0300175 interrupt-controller;
Scott Wood20906ec2007-09-14 14:38:16 -0500176 #interrupt-cells = <1>;
Vitaly Bordugdf344032007-01-24 22:41:42 +0300177 interrupts = <5 2 0 2>;
Scott Wood20906ec2007-09-14 14:38:16 -0500178 interrupt-parent = <&PIC>;
Kumar Gala998c6102008-04-17 09:40:48 -0500179 reg = <0x930 0x20>;
Scott Wood20906ec2007-09-14 14:38:16 -0500180 compatible = "fsl,mpc885-cpm-pic",
181 "fsl,cpm1-pic";
Vitaly Bordugdf344032007-01-24 22:41:42 +0300182 };
183
Scott Wood20906ec2007-09-14 14:38:16 -0500184 serial@a80 {
Vitaly Bordugdf344032007-01-24 22:41:42 +0300185 device_type = "serial";
Scott Wood20906ec2007-09-14 14:38:16 -0500186 compatible = "fsl,mpc885-smc-uart",
187 "fsl,cpm1-smc-uart";
Kumar Gala998c6102008-04-17 09:40:48 -0500188 reg = <0xa80 0x10 0x3e80 0x40>;
Scott Wood20906ec2007-09-14 14:38:16 -0500189 interrupts = <4>;
190 interrupt-parent = <&CPM_PIC>;
191 fsl,cpm-brg = <1>;
Kumar Gala998c6102008-04-17 09:40:48 -0500192 fsl,cpm-command = <0x90>;
Vitaly Bordugdf344032007-01-24 22:41:42 +0300193 };
194
Scott Wood20906ec2007-09-14 14:38:16 -0500195 serial@a90 {
Vitaly Bordugdf344032007-01-24 22:41:42 +0300196 device_type = "serial";
Scott Wood20906ec2007-09-14 14:38:16 -0500197 compatible = "fsl,mpc885-smc-uart",
198 "fsl,cpm1-smc-uart";
Kumar Gala998c6102008-04-17 09:40:48 -0500199 reg = <0xa90 0x10 0x3f80 0x40>;
Scott Wood20906ec2007-09-14 14:38:16 -0500200 interrupts = <3>;
201 interrupt-parent = <&CPM_PIC>;
202 fsl,cpm-brg = <2>;
Kumar Gala998c6102008-04-17 09:40:48 -0500203 fsl,cpm-command = <0xd0>;
Vitaly Bordugdf344032007-01-24 22:41:42 +0300204 };
205
Scott Wood20906ec2007-09-14 14:38:16 -0500206 ethernet@a40 {
Vitaly Bordugdf344032007-01-24 22:41:42 +0300207 device_type = "network";
Scott Wood20906ec2007-09-14 14:38:16 -0500208 compatible = "fsl,mpc885-scc-enet",
209 "fsl,cpm1-scc-enet";
Kumar Gala998c6102008-04-17 09:40:48 -0500210 reg = <0xa40 0x18 0x3e00 0x100>;
Scott Wood20906ec2007-09-14 14:38:16 -0500211 local-mac-address = [ 00 00 00 00 00 00 ];
Kumar Gala998c6102008-04-17 09:40:48 -0500212 interrupts = <28>;
Scott Wood20906ec2007-09-14 14:38:16 -0500213 interrupt-parent = <&CPM_PIC>;
214 phy-handle = <&PHY2>;
Kumar Gala998c6102008-04-17 09:40:48 -0500215 fsl,cpm-command = <0x80>;
Scott Wood20906ec2007-09-14 14:38:16 -0500216 linux,network-index = <2>;
Vitaly Bordugdf344032007-01-24 22:41:42 +0300217 };
218 };
219 };
Scott Wood20906ec2007-09-14 14:38:16 -0500220
221 chosen {
222 linux,stdout-path = "/soc/cpm/serial@a80";
223 };
Vitaly Bordugdf344032007-01-24 22:41:42 +0300224};