blob: bd700651f360d220e4b7d85c2261532f5095f68c [file] [log] [blame]
Vitaly Bordug29f15302007-01-24 22:42:10 +03001/*
2 * MPC866 ADS Device Tree Source
3 *
4 * Copyright 2006 MontaVista Software, Inc.
Kumar Gala998c6102008-04-17 09:40:48 -05005 * Copyright 2008 Freescale Semiconductor, Inc.
Vitaly Bordug29f15302007-01-24 22:42:10 +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 Bordug29f15302007-01-24 22:42:10 +030014
15/ {
16 model = "MPC866ADS";
Scott Wood0b5cf102007-11-25 13:09:31 +030017 compatible = "fsl,mpc866ads";
Vitaly Bordug29f15302007-01-24 22:42:10 +030018 #address-cells = <1>;
19 #size-cells = <1>;
Vitaly Bordug29f15302007-01-24 22:42:10 +030020
21 cpus {
Vitaly Bordug29f15302007-01-24 22:42:10 +030022 #address-cells = <1>;
23 #size-cells = <0>;
Vitaly Bordug29f15302007-01-24 22:42:10 +030024
25 PowerPC,866@0 {
26 device_type = "cpu";
Kumar Gala998c6102008-04-17 09:40:48 -050027 reg = <0x0>;
28 d-cache-line-size = <16>; // 16 bytes
29 i-cache-line-size = <16>; // 16 bytes
30 d-cache-size = <0x2000>; // L1, 8K
31 i-cache-size = <0x4000>; // L1, 16K
Vitaly Bordug29f15302007-01-24 22:42:10 +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 Wood0b5cf102007-11-25 13:09:31 +030036 interrupt-parent = <&PIC>;
Vitaly Bordug29f15302007-01-24 22:42:10 +030037 };
38 };
39
40 memory {
41 device_type = "memory";
Kumar Gala998c6102008-04-17 09:40:48 -050042 reg = <0x0 0x800000>;
Vitaly Bordug29f15302007-01-24 22:42:10 +030043 };
44
Scott Wood0b5cf102007-11-25 13:09:31 +030045 localbus@ff000100 {
46 compatible = "fsl,mpc866-localbus", "fsl,pq1-localbus";
47 #address-cells = <2>;
48 #size-cells = <1>;
Kumar Gala998c6102008-04-17 09:40:48 -050049 reg = <0xff000100 0x40>;
Scott Wood0b5cf102007-11-25 13:09:31 +030050
51 ranges = <
Kumar Gala998c6102008-04-17 09:40:48 -050052 0x1 0x0 0xff080000 0x8000
53 0x5 0x0 0xff0a0000 0x8000
Scott Wood0b5cf102007-11-25 13:09:31 +030054 >;
55
56 board-control@1,0 {
Kumar Gala998c6102008-04-17 09:40:48 -050057 reg = <0x1 0x0 0x20 0x5 0x300 0x4>;
Scott Wood0b5cf102007-11-25 13:09:31 +030058 compatible = "fsl,mpc866ads-bcsr";
59 };
60 };
61
62 soc@ff000000 {
Vitaly Bordug29f15302007-01-24 22:42:10 +030063 #address-cells = <1>;
64 #size-cells = <1>;
Vitaly Bordug29f15302007-01-24 22:42:10 +030065 device_type = "soc";
Kumar Gala998c6102008-04-17 09:40:48 -050066 ranges = <0x0 0xff000000 0x100000>;
67 reg = <0xff000000 0x200>;
Vitaly Bordug29f15302007-01-24 22:42:10 +030068 bus-frequency = <0>;
Scott Wood0b5cf102007-11-25 13:09:31 +030069
70 mdio@e00 {
71 compatible = "fsl,mpc866-fec-mdio", "fsl,pq1-fec-mdio";
Kumar Gala998c6102008-04-17 09:40:48 -050072 reg = <0xe00 0x188>;
Vitaly Bordug29f15302007-01-24 22:42:10 +030073 #address-cells = <1>;
74 #size-cells = <0>;
Scott Wood0b5cf102007-11-25 13:09:31 +030075 PHY: ethernet-phy@f {
Kumar Gala998c6102008-04-17 09:40:48 -050076 reg = <0xf>;
Vitaly Bordug29f15302007-01-24 22:42:10 +030077 device_type = "ethernet-phy";
78 };
79 };
80
Scott Wood0b5cf102007-11-25 13:09:31 +030081 ethernet@e00 {
Vitaly Bordug29f15302007-01-24 22:42:10 +030082 device_type = "network";
Scott Wood0b5cf102007-11-25 13:09:31 +030083 compatible = "fsl,mpc866-fec-enet",
84 "fsl,pq1-fec-enet";
Kumar Gala998c6102008-04-17 09:40:48 -050085 reg = <0xe00 0x188>;
Scott Wood0b5cf102007-11-25 13:09:31 +030086 local-mac-address = [ 00 00 00 00 00 00 ];
Vitaly Bordug29f15302007-01-24 22:42:10 +030087 interrupts = <3 1>;
Scott Wood0b5cf102007-11-25 13:09:31 +030088 interrupt-parent = <&PIC>;
89 phy-handle = <&PHY>;
90 linux,network-index = <0>;
Vitaly Bordug29f15302007-01-24 22:42:10 +030091 };
92
Scott Wood0b5cf102007-11-25 13:09:31 +030093 PIC: pic@0 {
Vitaly Bordug29f15302007-01-24 22:42:10 +030094 interrupt-controller;
Vitaly Bordug29f15302007-01-24 22:42:10 +030095 #interrupt-cells = <2>;
Kumar Gala998c6102008-04-17 09:40:48 -050096 reg = <0x0 0x24>;
Scott Wood0b5cf102007-11-25 13:09:31 +030097 compatible = "fsl,mpc866-pic", "fsl,pq1-pic";
Vitaly Bordug29f15302007-01-24 22:42:10 +030098 };
99
Scott Wood0b5cf102007-11-25 13:09:31 +0300100 cpm@9c0 {
Vitaly Bordug29f15302007-01-24 22:42:10 +0300101 #address-cells = <1>;
102 #size-cells = <1>;
Scott Wood0b5cf102007-11-25 13:09:31 +0300103 compatible = "fsl,mpc866-cpm", "fsl,cpm1";
104 ranges;
Kumar Gala998c6102008-04-17 09:40:48 -0500105 reg = <0x9c0 0x40>;
Vitaly Bordug29f15302007-01-24 22:42:10 +0300106 brg-frequency = <0>;
107 interrupts = <0 2>; // cpm error interrupt
Scott Wood0b5cf102007-11-25 13:09:31 +0300108 interrupt-parent = <&CPM_PIC>;
Vitaly Bordug29f15302007-01-24 22:42:10 +0300109
Scott Wood0b5cf102007-11-25 13:09:31 +0300110 muram@2000 {
111 #address-cells = <1>;
112 #size-cells = <1>;
Kumar Gala998c6102008-04-17 09:40:48 -0500113 ranges = <0x0 0x2000 0x2000>;
Scott Wood0b5cf102007-11-25 13:09:31 +0300114
115 data@0 {
116 compatible = "fsl,cpm-muram-data";
Kumar Gala998c6102008-04-17 09:40:48 -0500117 reg = <0x0 0x1c00>;
Scott Wood0b5cf102007-11-25 13:09:31 +0300118 };
119 };
120
121 brg@9f0 {
122 compatible = "fsl,mpc866-brg",
123 "fsl,cpm1-brg",
124 "fsl,cpm-brg";
Kumar Gala998c6102008-04-17 09:40:48 -0500125 reg = <0x9f0 0x10>;
Scott Wood0b5cf102007-11-25 13:09:31 +0300126 clock-frequency = <0>;
127 };
128
129 CPM_PIC: pic@930 {
Vitaly Bordug29f15302007-01-24 22:42:10 +0300130 interrupt-controller;
131 #address-cells = <0>;
Scott Wood0b5cf102007-11-25 13:09:31 +0300132 #interrupt-cells = <1>;
Vitaly Bordug29f15302007-01-24 22:42:10 +0300133 interrupts = <5 2 0 2>;
Scott Wood0b5cf102007-11-25 13:09:31 +0300134 interrupt-parent = <&PIC>;
Kumar Gala998c6102008-04-17 09:40:48 -0500135 reg = <0x930 0x20>;
Scott Wood0b5cf102007-11-25 13:09:31 +0300136 compatible = "fsl,mpc866-cpm-pic",
137 "fsl,cpm1-pic";
Vitaly Bordug29f15302007-01-24 22:42:10 +0300138 };
139
Scott Wood0b5cf102007-11-25 13:09:31 +0300140
141 serial@a80 {
Vitaly Bordug29f15302007-01-24 22:42:10 +0300142 device_type = "serial";
Scott Wood0b5cf102007-11-25 13:09:31 +0300143 compatible = "fsl,mpc866-smc-uart",
144 "fsl,cpm1-smc-uart";
Kumar Gala998c6102008-04-17 09:40:48 -0500145 reg = <0xa80 0x10 0x3e80 0x40>;
Scott Wood0b5cf102007-11-25 13:09:31 +0300146 interrupts = <4>;
147 interrupt-parent = <&CPM_PIC>;
148 fsl,cpm-brg = <1>;
Kumar Gala998c6102008-04-17 09:40:48 -0500149 fsl,cpm-command = <0x90>;
Vitaly Bordug29f15302007-01-24 22:42:10 +0300150 };
151
Scott Wood0b5cf102007-11-25 13:09:31 +0300152 serial@a90 {
Vitaly Bordug29f15302007-01-24 22:42:10 +0300153 device_type = "serial";
Scott Wood0b5cf102007-11-25 13:09:31 +0300154 compatible = "fsl,mpc866-smc-uart",
155 "fsl,cpm1-smc-uart";
Kumar Gala998c6102008-04-17 09:40:48 -0500156 reg = <0xa90 0x10 0x3f80 0x40>;
Scott Wood0b5cf102007-11-25 13:09:31 +0300157 interrupts = <3>;
158 interrupt-parent = <&CPM_PIC>;
159 fsl,cpm-brg = <2>;
Kumar Gala998c6102008-04-17 09:40:48 -0500160 fsl,cpm-command = <0xd0>;
Vitaly Bordug29f15302007-01-24 22:42:10 +0300161 };
162
Scott Wood0b5cf102007-11-25 13:09:31 +0300163 ethernet@a00 {
Vitaly Bordug29f15302007-01-24 22:42:10 +0300164 device_type = "network";
Scott Wood0b5cf102007-11-25 13:09:31 +0300165 compatible = "fsl,mpc866-scc-enet",
166 "fsl,cpm1-scc-enet";
Kumar Gala998c6102008-04-17 09:40:48 -0500167 reg = <0xa00 0x18 0x3c00 0x100>;
Scott Wood0b5cf102007-11-25 13:09:31 +0300168 local-mac-address = [ 00 00 00 00 00 00 ];
Kumar Gala998c6102008-04-17 09:40:48 -0500169 interrupts = <30>;
Scott Wood0b5cf102007-11-25 13:09:31 +0300170 interrupt-parent = <&CPM_PIC>;
171 fsl,cpm-command = <0000>;
172 linux,network-index = <1>;
Vitaly Bordug29f15302007-01-24 22:42:10 +0300173 };
Jochen Friedricha5d28c82008-07-02 18:06:13 +0200174
175 i2c@860 {
176 compatible = "fsl,mpc866-i2c",
177 "fsl,cpm1-i2c";
178 reg = <0x860 0x20 0x3c80 0x30>;
179 interrupts = <16>;
180 interrupt-parent = <&CPM_PIC>;
181 fsl,cpm-command = <0x10>;
182 #address-cells = <1>;
183 #size-cells = <0>;
184 };
Vitaly Bordug29f15302007-01-24 22:42:10 +0300185 };
186 };
Scott Wood0b5cf102007-11-25 13:09:31 +0300187
188 chosen {
189 linux,stdout-path = "/soc/cpm/serial@a80";
190 };
Vitaly Bordug29f15302007-01-24 22:42:10 +0300191};