blob: daf9433e906b5626987237e5a19a99c54b430519 [file] [log] [blame]
Vitaly Bordug29f15302007-01-24 22:42:10 +03001/*
2 * MPC866 ADS Device Tree Source
3 *
4 * Copyright 2006 MontaVista Software, Inc.
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
12
13/ {
14 model = "MPC866ADS";
Scott Wood0b5cf102007-11-25 13:09:31 +030015 compatible = "fsl,mpc866ads";
Vitaly Bordug29f15302007-01-24 22:42:10 +030016 #address-cells = <1>;
17 #size-cells = <1>;
Vitaly Bordug29f15302007-01-24 22:42:10 +030018
19 cpus {
Vitaly Bordug29f15302007-01-24 22:42:10 +030020 #address-cells = <1>;
21 #size-cells = <0>;
Vitaly Bordug29f15302007-01-24 22:42:10 +030022
23 PowerPC,866@0 {
24 device_type = "cpu";
25 reg = <0>;
Scott Wood0b5cf102007-11-25 13:09:31 +030026 d-cache-line-size = <10>; // 16 bytes
27 i-cache-line-size = <10>; // 16 bytes
Vitaly Bordug29f15302007-01-24 22:42:10 +030028 d-cache-size = <2000>; // L1, 8K
29 i-cache-size = <4000>; // L1, 16K
30 timebase-frequency = <0>;
31 bus-frequency = <0>;
32 clock-frequency = <0>;
Vitaly Bordug29f15302007-01-24 22:42:10 +030033 interrupts = <f 2>; // decrementer interrupt
Scott Wood0b5cf102007-11-25 13:09:31 +030034 interrupt-parent = <&PIC>;
Vitaly Bordug29f15302007-01-24 22:42:10 +030035 };
36 };
37
38 memory {
39 device_type = "memory";
Vitaly Bordug29f15302007-01-24 22:42:10 +030040 reg = <00000000 800000>;
41 };
42
Scott Wood0b5cf102007-11-25 13:09:31 +030043 localbus@ff000100 {
44 compatible = "fsl,mpc866-localbus", "fsl,pq1-localbus";
45 #address-cells = <2>;
46 #size-cells = <1>;
47 reg = <ff000100 40>;
48
49 ranges = <
50 1 0 ff080000 00008000
51 5 0 ff0a0000 00008000
52 >;
53
54 board-control@1,0 {
55 reg = <1 0 20 5 300 4>;
56 compatible = "fsl,mpc866ads-bcsr";
57 };
58 };
59
60 soc@ff000000 {
Vitaly Bordug29f15302007-01-24 22:42:10 +030061 #address-cells = <1>;
62 #size-cells = <1>;
Vitaly Bordug29f15302007-01-24 22:42:10 +030063 device_type = "soc";
64 ranges = <0 ff000000 00100000>;
65 reg = <ff000000 00000200>;
66 bus-frequency = <0>;
Scott Wood0b5cf102007-11-25 13:09:31 +030067
68 mdio@e00 {
69 compatible = "fsl,mpc866-fec-mdio", "fsl,pq1-fec-mdio";
70 reg = <e00 188>;
Vitaly Bordug29f15302007-01-24 22:42:10 +030071 #address-cells = <1>;
72 #size-cells = <0>;
Scott Wood0b5cf102007-11-25 13:09:31 +030073 PHY: ethernet-phy@f {
Vitaly Bordug29f15302007-01-24 22:42:10 +030074 reg = <f>;
75 device_type = "ethernet-phy";
76 };
77 };
78
Scott Wood0b5cf102007-11-25 13:09:31 +030079 ethernet@e00 {
Vitaly Bordug29f15302007-01-24 22:42:10 +030080 device_type = "network";
Scott Wood0b5cf102007-11-25 13:09:31 +030081 compatible = "fsl,mpc866-fec-enet",
82 "fsl,pq1-fec-enet";
Vitaly Bordug29f15302007-01-24 22:42:10 +030083 reg = <e00 188>;
Scott Wood0b5cf102007-11-25 13:09:31 +030084 local-mac-address = [ 00 00 00 00 00 00 ];
Vitaly Bordug29f15302007-01-24 22:42:10 +030085 interrupts = <3 1>;
Scott Wood0b5cf102007-11-25 13:09:31 +030086 interrupt-parent = <&PIC>;
87 phy-handle = <&PHY>;
88 linux,network-index = <0>;
Vitaly Bordug29f15302007-01-24 22:42:10 +030089 };
90
Scott Wood0b5cf102007-11-25 13:09:31 +030091 PIC: pic@0 {
Vitaly Bordug29f15302007-01-24 22:42:10 +030092 interrupt-controller;
Vitaly Bordug29f15302007-01-24 22:42:10 +030093 #interrupt-cells = <2>;
94 reg = <0 24>;
Scott Wood0b5cf102007-11-25 13:09:31 +030095 compatible = "fsl,mpc866-pic", "fsl,pq1-pic";
Vitaly Bordug29f15302007-01-24 22:42:10 +030096 };
97
Scott Wood0b5cf102007-11-25 13:09:31 +030098 cpm@9c0 {
Vitaly Bordug29f15302007-01-24 22:42:10 +030099 #address-cells = <1>;
100 #size-cells = <1>;
Scott Wood0b5cf102007-11-25 13:09:31 +0300101 compatible = "fsl,mpc866-cpm", "fsl,cpm1";
102 ranges;
103 reg = <9c0 40>;
Vitaly Bordug29f15302007-01-24 22:42:10 +0300104 brg-frequency = <0>;
105 interrupts = <0 2>; // cpm error interrupt
Scott Wood0b5cf102007-11-25 13:09:31 +0300106 interrupt-parent = <&CPM_PIC>;
Vitaly Bordug29f15302007-01-24 22:42:10 +0300107
Scott Wood0b5cf102007-11-25 13:09:31 +0300108 muram@2000 {
109 #address-cells = <1>;
110 #size-cells = <1>;
111 ranges = <0 2000 2000>;
112
113 data@0 {
114 compatible = "fsl,cpm-muram-data";
115 reg = <0 1c00>;
116 };
117 };
118
119 brg@9f0 {
120 compatible = "fsl,mpc866-brg",
121 "fsl,cpm1-brg",
122 "fsl,cpm-brg";
123 reg = <9f0 10>;
124 clock-frequency = <0>;
125 };
126
127 CPM_PIC: pic@930 {
Vitaly Bordug29f15302007-01-24 22:42:10 +0300128 interrupt-controller;
129 #address-cells = <0>;
Scott Wood0b5cf102007-11-25 13:09:31 +0300130 #interrupt-cells = <1>;
Vitaly Bordug29f15302007-01-24 22:42:10 +0300131 interrupts = <5 2 0 2>;
Scott Wood0b5cf102007-11-25 13:09:31 +0300132 interrupt-parent = <&PIC>;
Vitaly Bordug29f15302007-01-24 22:42:10 +0300133 reg = <930 20>;
Scott Wood0b5cf102007-11-25 13:09:31 +0300134 compatible = "fsl,mpc866-cpm-pic",
135 "fsl,cpm1-pic";
Vitaly Bordug29f15302007-01-24 22:42:10 +0300136 };
137
Scott Wood0b5cf102007-11-25 13:09:31 +0300138
139 serial@a80 {
Vitaly Bordug29f15302007-01-24 22:42:10 +0300140 device_type = "serial";
Scott Wood0b5cf102007-11-25 13:09:31 +0300141 compatible = "fsl,mpc866-smc-uart",
142 "fsl,cpm1-smc-uart";
Vitaly Bordug29f15302007-01-24 22:42:10 +0300143 reg = <a80 10 3e80 40>;
Scott Wood0b5cf102007-11-25 13:09:31 +0300144 interrupts = <4>;
145 interrupt-parent = <&CPM_PIC>;
146 fsl,cpm-brg = <1>;
147 fsl,cpm-command = <0090>;
Vitaly Bordug29f15302007-01-24 22:42:10 +0300148 };
149
Scott Wood0b5cf102007-11-25 13:09:31 +0300150 serial@a90 {
Vitaly Bordug29f15302007-01-24 22:42:10 +0300151 device_type = "serial";
Scott Wood0b5cf102007-11-25 13:09:31 +0300152 compatible = "fsl,mpc866-smc-uart",
153 "fsl,cpm1-smc-uart";
154 reg = <a90 10 3f80 40>;
155 interrupts = <3>;
156 interrupt-parent = <&CPM_PIC>;
157 fsl,cpm-brg = <2>;
158 fsl,cpm-command = <00d0>;
Vitaly Bordug29f15302007-01-24 22:42:10 +0300159 };
160
Scott Wood0b5cf102007-11-25 13:09:31 +0300161 ethernet@a00 {
Vitaly Bordug29f15302007-01-24 22:42:10 +0300162 device_type = "network";
Scott Wood0b5cf102007-11-25 13:09:31 +0300163 compatible = "fsl,mpc866-scc-enet",
164 "fsl,cpm1-scc-enet";
165 reg = <a00 18 3c00 100>;
166 local-mac-address = [ 00 00 00 00 00 00 ];
167 interrupts = <1e>;
168 interrupt-parent = <&CPM_PIC>;
169 fsl,cpm-command = <0000>;
170 linux,network-index = <1>;
Vitaly Bordug29f15302007-01-24 22:42:10 +0300171 };
172 };
173 };
Scott Wood0b5cf102007-11-25 13:09:31 +0300174
175 chosen {
176 linux,stdout-path = "/soc/cpm/serial@a80";
177 };
Vitaly Bordug29f15302007-01-24 22:42:10 +0300178};