blob: 4443fac3f576ab4251e4f0ad8baff17fa9dc2645 [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 };
78 };
79
Scott Wood0b5cf102007-11-25 13:09:31 +030080 ethernet@e00 {
Vitaly Bordug29f15302007-01-24 22:42:10 +030081 device_type = "network";
Scott Wood0b5cf102007-11-25 13:09:31 +030082 compatible = "fsl,mpc866-fec-enet",
83 "fsl,pq1-fec-enet";
Kumar Gala998c6102008-04-17 09:40:48 -050084 reg = <0xe00 0x188>;
Scott Wood0b5cf102007-11-25 13:09:31 +030085 local-mac-address = [ 00 00 00 00 00 00 ];
Vitaly Bordug29f15302007-01-24 22:42:10 +030086 interrupts = <3 1>;
Scott Wood0b5cf102007-11-25 13:09:31 +030087 interrupt-parent = <&PIC>;
88 phy-handle = <&PHY>;
89 linux,network-index = <0>;
Vitaly Bordug29f15302007-01-24 22:42:10 +030090 };
91
Scott Wood0b5cf102007-11-25 13:09:31 +030092 PIC: pic@0 {
Vitaly Bordug29f15302007-01-24 22:42:10 +030093 interrupt-controller;
Vitaly Bordug29f15302007-01-24 22:42:10 +030094 #interrupt-cells = <2>;
Kumar Gala998c6102008-04-17 09:40:48 -050095 reg = <0x0 0x24>;
Scott Wood0b5cf102007-11-25 13:09:31 +030096 compatible = "fsl,mpc866-pic", "fsl,pq1-pic";
Vitaly Bordug29f15302007-01-24 22:42:10 +030097 };
98
Scott Wood0b5cf102007-11-25 13:09:31 +030099 cpm@9c0 {
Vitaly Bordug29f15302007-01-24 22:42:10 +0300100 #address-cells = <1>;
101 #size-cells = <1>;
Scott Wood0b5cf102007-11-25 13:09:31 +0300102 compatible = "fsl,mpc866-cpm", "fsl,cpm1";
103 ranges;
Kumar Gala998c6102008-04-17 09:40:48 -0500104 reg = <0x9c0 0x40>;
Vitaly Bordug29f15302007-01-24 22:42:10 +0300105 brg-frequency = <0>;
106 interrupts = <0 2>; // cpm error interrupt
Scott Wood0b5cf102007-11-25 13:09:31 +0300107 interrupt-parent = <&CPM_PIC>;
Vitaly Bordug29f15302007-01-24 22:42:10 +0300108
Scott Wood0b5cf102007-11-25 13:09:31 +0300109 muram@2000 {
110 #address-cells = <1>;
111 #size-cells = <1>;
Kumar Gala998c6102008-04-17 09:40:48 -0500112 ranges = <0x0 0x2000 0x2000>;
Scott Wood0b5cf102007-11-25 13:09:31 +0300113
114 data@0 {
115 compatible = "fsl,cpm-muram-data";
Kumar Gala998c6102008-04-17 09:40:48 -0500116 reg = <0x0 0x1c00>;
Scott Wood0b5cf102007-11-25 13:09:31 +0300117 };
118 };
119
120 brg@9f0 {
121 compatible = "fsl,mpc866-brg",
122 "fsl,cpm1-brg",
123 "fsl,cpm-brg";
Kumar Gala998c6102008-04-17 09:40:48 -0500124 reg = <0x9f0 0x10>;
Scott Wood0b5cf102007-11-25 13:09:31 +0300125 clock-frequency = <0>;
126 };
127
128 CPM_PIC: pic@930 {
Vitaly Bordug29f15302007-01-24 22:42:10 +0300129 interrupt-controller;
130 #address-cells = <0>;
Scott Wood0b5cf102007-11-25 13:09:31 +0300131 #interrupt-cells = <1>;
Vitaly Bordug29f15302007-01-24 22:42:10 +0300132 interrupts = <5 2 0 2>;
Scott Wood0b5cf102007-11-25 13:09:31 +0300133 interrupt-parent = <&PIC>;
Kumar Gala998c6102008-04-17 09:40:48 -0500134 reg = <0x930 0x20>;
Scott Wood0b5cf102007-11-25 13:09:31 +0300135 compatible = "fsl,mpc866-cpm-pic",
136 "fsl,cpm1-pic";
Vitaly Bordug29f15302007-01-24 22:42:10 +0300137 };
138
Scott Wood0b5cf102007-11-25 13:09:31 +0300139
140 serial@a80 {
Vitaly Bordug29f15302007-01-24 22:42:10 +0300141 device_type = "serial";
Scott Wood0b5cf102007-11-25 13:09:31 +0300142 compatible = "fsl,mpc866-smc-uart",
143 "fsl,cpm1-smc-uart";
Kumar Gala998c6102008-04-17 09:40:48 -0500144 reg = <0xa80 0x10 0x3e80 0x40>;
Scott Wood0b5cf102007-11-25 13:09:31 +0300145 interrupts = <4>;
146 interrupt-parent = <&CPM_PIC>;
147 fsl,cpm-brg = <1>;
Kumar Gala998c6102008-04-17 09:40:48 -0500148 fsl,cpm-command = <0x90>;
Vitaly Bordug29f15302007-01-24 22:42:10 +0300149 };
150
Scott Wood0b5cf102007-11-25 13:09:31 +0300151 serial@a90 {
Vitaly Bordug29f15302007-01-24 22:42:10 +0300152 device_type = "serial";
Scott Wood0b5cf102007-11-25 13:09:31 +0300153 compatible = "fsl,mpc866-smc-uart",
154 "fsl,cpm1-smc-uart";
Kumar Gala998c6102008-04-17 09:40:48 -0500155 reg = <0xa90 0x10 0x3f80 0x40>;
Scott Wood0b5cf102007-11-25 13:09:31 +0300156 interrupts = <3>;
157 interrupt-parent = <&CPM_PIC>;
158 fsl,cpm-brg = <2>;
Kumar Gala998c6102008-04-17 09:40:48 -0500159 fsl,cpm-command = <0xd0>;
Vitaly Bordug29f15302007-01-24 22:42:10 +0300160 };
161
Scott Wood0b5cf102007-11-25 13:09:31 +0300162 ethernet@a00 {
Vitaly Bordug29f15302007-01-24 22:42:10 +0300163 device_type = "network";
Scott Wood0b5cf102007-11-25 13:09:31 +0300164 compatible = "fsl,mpc866-scc-enet",
165 "fsl,cpm1-scc-enet";
Kumar Gala998c6102008-04-17 09:40:48 -0500166 reg = <0xa00 0x18 0x3c00 0x100>;
Scott Wood0b5cf102007-11-25 13:09:31 +0300167 local-mac-address = [ 00 00 00 00 00 00 ];
Kumar Gala998c6102008-04-17 09:40:48 -0500168 interrupts = <30>;
Scott Wood0b5cf102007-11-25 13:09:31 +0300169 interrupt-parent = <&CPM_PIC>;
170 fsl,cpm-command = <0000>;
171 linux,network-index = <1>;
Vitaly Bordug29f15302007-01-24 22:42:10 +0300172 };
Jochen Friedricha5d28c82008-07-02 18:06:13 +0200173
174 i2c@860 {
175 compatible = "fsl,mpc866-i2c",
176 "fsl,cpm1-i2c";
177 reg = <0x860 0x20 0x3c80 0x30>;
178 interrupts = <16>;
179 interrupt-parent = <&CPM_PIC>;
180 fsl,cpm-command = <0x10>;
181 #address-cells = <1>;
182 #size-cells = <0>;
183 };
Vitaly Bordug29f15302007-01-24 22:42:10 +0300184 };
185 };
Scott Wood0b5cf102007-11-25 13:09:31 +0300186
187 chosen {
Rob Herring78e5dfe2018-02-28 16:44:06 -0600188 stdout-path = "/soc/cpm/serial@a80";
Scott Wood0b5cf102007-11-25 13:09:31 +0300189 };
Vitaly Bordug29f15302007-01-24 22:42:10 +0300190};