Loading...
1// SPDX-License-Identifier: GPL-2.0-or-later
2/*
3 * Device Tree Source for MPC885 ADS running RedBoot
4 *
5 * Copyright 2006 MontaVista Software, Inc.
6 * Copyright 2007 Freescale Semiconductor, Inc.
7 */
8
9/dts-v1/;
10/ {
11 model = "Analogue & Micro Adder MPC875";
12 compatible = "analogue-and-micro,adder875";
13 #address-cells = <1>;
14 #size-cells = <1>;
15
16 aliases {
17 console = &console;
18 ethernet0 = ð0;
19 ethernet1 = ð1;
20 };
21
22 cpus {
23 #address-cells = <1>;
24 #size-cells = <0>;
25
26 PowerPC,875@0 {
27 device_type = "cpu";
28 reg = <0>;
29 d-cache-line-size = <16>;
30 i-cache-line-size = <16>;
31 d-cache-size = <8192>;
32 i-cache-size = <8192>;
33 timebase-frequency = <0>;
34 bus-frequency = <0>;
35 clock-frequency = <0>;
36 interrupts = <15 2>; // decrementer interrupt
37 interrupt-parent = <&PIC>;
38 };
39 };
40
41 memory {
42 device_type = "memory";
43 reg = <0 0x01000000>;
44 };
45
46 localbus@fa200100 {
47 compatible = "fsl,mpc885-localbus", "fsl,pq1-localbus",
48 "simple-bus";
49 #address-cells = <2>;
50 #size-cells = <1>;
51 reg = <0xfa200100 0x40>;
52
53 ranges = <
54 0 0 0xfe000000 0x00800000
55 2 0 0xfa100000 0x00008000
56 >;
57
58 flash@0,0 {
59 compatible = "cfi-flash";
60 reg = <0 0 0x800000>;
61 bank-width = <2>;
62 device-width = <2>;
63 };
64 };
65
66 soc@fa200000 {
67 compatible = "fsl,mpc875-immr", "fsl,pq1-soc", "simple-bus";
68 #address-cells = <1>;
69 #size-cells = <1>;
70 ranges = <0 0xfa200000 0x00004000>;
71
72 // Temporary until code stops depending on it.
73 device_type = "soc";
74
75 // Temporary until get_immrbase() is fixed.
76 reg = <0xfa200000 0x4000>;
77
78 mdio@e00 {
79 compatible = "fsl,mpc875-fec-mdio", "fsl,pq1-fec-mdio";
80 reg = <0xe00 0x188>;
81 #address-cells = <1>;
82 #size-cells = <0>;
83
84 PHY0: ethernet-phy@0 {
85 reg = <0>;
86 };
87
88 PHY1: ethernet-phy@1 {
89 reg = <1>;
90 };
91 };
92
93 eth0: ethernet@e00 {
94 device_type = "network";
95 compatible = "fsl,mpc875-fec-enet",
96 "fsl,pq1-fec-enet";
97 reg = <0xe00 0x188>;
98 local-mac-address = [ 00 00 00 00 00 00 ];
99 interrupts = <3 1>;
100 interrupt-parent = <&PIC>;
101 phy-handle = <&PHY0>;
102 linux,network-index = <0>;
103 };
104
105 eth1: ethernet@1e00 {
106 device_type = "network";
107 compatible = "fsl,mpc875-fec-enet",
108 "fsl,pq1-fec-enet";
109 reg = <0x1e00 0x188>;
110 local-mac-address = [ 00 00 00 00 00 00 ];
111 interrupts = <7 1>;
112 interrupt-parent = <&PIC>;
113 phy-handle = <&PHY1>;
114 linux,network-index = <1>;
115 };
116
117 PIC: interrupt-controller@0 {
118 interrupt-controller;
119 #interrupt-cells = <2>;
120 reg = <0 0x24>;
121 compatible = "fsl,mpc875-pic", "fsl,pq1-pic";
122 };
123
124 cpm@9c0 {
125 #address-cells = <1>;
126 #size-cells = <1>;
127 compatible = "fsl,mpc875-cpm", "fsl,cpm1", "simple-bus";
128 interrupts = <0>; // cpm error interrupt
129 interrupt-parent = <&CPM_PIC>;
130 reg = <0x9c0 0x40>;
131 ranges;
132
133 muram {
134 #address-cells = <1>;
135 #size-cells = <1>;
136 ranges = <0 0x2000 0x2000>;
137
138 data@0 {
139 compatible = "fsl,cpm-muram-data";
140 reg = <0 0x1c00>;
141 };
142 };
143
144 brg@9f0 {
145 compatible = "fsl,mpc875-brg",
146 "fsl,cpm1-brg",
147 "fsl,cpm-brg";
148 clock-frequency = <50000000>;
149 reg = <0x9f0 0x10>;
150 };
151
152 CPM_PIC: interrupt-controller@930 {
153 interrupt-controller;
154 #interrupt-cells = <1>;
155 interrupts = <5 2 0 2>;
156 interrupt-parent = <&PIC>;
157 reg = <0x930 0x20>;
158 compatible = "fsl,mpc875-cpm-pic",
159 "fsl,cpm1-pic";
160 };
161
162 console: serial@a80 {
163 device_type = "serial";
164 compatible = "fsl,mpc875-smc-uart",
165 "fsl,cpm1-smc-uart";
166 reg = <0xa80 0x10 0x3e80 0x40>;
167 interrupts = <4>;
168 interrupt-parent = <&CPM_PIC>;
169 fsl,cpm-brg = <1>;
170 fsl,cpm-command = <0x0090>;
171 current-speed = <115200>;
172 };
173 };
174 };
175
176 chosen {
177 stdout-path = &console;
178 };
179};
1/*
2 * Device Tree Source for MPC885 ADS running RedBoot
3 *
4 * Copyright 2006 MontaVista Software, Inc.
5 * Copyright 2007 Freescale Semiconductor, Inc.
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/dts-v1/;
14/ {
15 model = "Analogue & Micro Adder MPC875";
16 compatible = "analogue-and-micro,adder875";
17 #address-cells = <1>;
18 #size-cells = <1>;
19
20 aliases {
21 console = &console;
22 ethernet0 = ð0;
23 ethernet1 = ð1;
24 };
25
26 cpus {
27 #address-cells = <1>;
28 #size-cells = <0>;
29
30 PowerPC,875@0 {
31 device_type = "cpu";
32 reg = <0>;
33 d-cache-line-size = <16>;
34 i-cache-line-size = <16>;
35 d-cache-size = <8192>;
36 i-cache-size = <8192>;
37 timebase-frequency = <0>;
38 bus-frequency = <0>;
39 clock-frequency = <0>;
40 interrupts = <15 2>; // decrementer interrupt
41 interrupt-parent = <&PIC>;
42 };
43 };
44
45 memory {
46 device_type = "memory";
47 reg = <0 0x01000000>;
48 };
49
50 localbus@fa200100 {
51 compatible = "fsl,mpc885-localbus", "fsl,pq1-localbus",
52 "simple-bus";
53 #address-cells = <2>;
54 #size-cells = <1>;
55 reg = <0xfa200100 0x40>;
56
57 ranges = <
58 0 0 0xfe000000 0x00800000
59 2 0 0xfa100000 0x00008000
60 >;
61
62 flash@0,0 {
63 compatible = "cfi-flash";
64 reg = <0 0 0x800000>;
65 bank-width = <2>;
66 device-width = <2>;
67 };
68 };
69
70 soc@fa200000 {
71 compatible = "fsl,mpc875-immr", "fsl,pq1-soc", "simple-bus";
72 #address-cells = <1>;
73 #size-cells = <1>;
74 ranges = <0 0xfa200000 0x00004000>;
75
76 // Temporary until code stops depending on it.
77 device_type = "soc";
78
79 // Temporary until get_immrbase() is fixed.
80 reg = <0xfa200000 0x4000>;
81
82 mdio@e00 {
83 compatible = "fsl,mpc875-fec-mdio", "fsl,pq1-fec-mdio";
84 reg = <0xe00 0x188>;
85 #address-cells = <1>;
86 #size-cells = <0>;
87
88 PHY0: ethernet-phy@0 {
89 reg = <0>;
90 device_type = "ethernet-phy";
91 };
92
93 PHY1: ethernet-phy@1 {
94 reg = <1>;
95 device_type = "ethernet-phy";
96 };
97 };
98
99 eth0: ethernet@e00 {
100 device_type = "network";
101 compatible = "fsl,mpc875-fec-enet",
102 "fsl,pq1-fec-enet";
103 reg = <0xe00 0x188>;
104 local-mac-address = [ 00 00 00 00 00 00 ];
105 interrupts = <3 1>;
106 interrupt-parent = <&PIC>;
107 phy-handle = <&PHY0>;
108 linux,network-index = <0>;
109 };
110
111 eth1: ethernet@1e00 {
112 device_type = "network";
113 compatible = "fsl,mpc875-fec-enet",
114 "fsl,pq1-fec-enet";
115 reg = <0x1e00 0x188>;
116 local-mac-address = [ 00 00 00 00 00 00 ];
117 interrupts = <7 1>;
118 interrupt-parent = <&PIC>;
119 phy-handle = <&PHY1>;
120 linux,network-index = <1>;
121 };
122
123 PIC: interrupt-controller@0 {
124 interrupt-controller;
125 #interrupt-cells = <2>;
126 reg = <0 0x24>;
127 compatible = "fsl,mpc875-pic", "fsl,pq1-pic";
128 };
129
130 cpm@9c0 {
131 #address-cells = <1>;
132 #size-cells = <1>;
133 compatible = "fsl,mpc875-cpm", "fsl,cpm1", "simple-bus";
134 interrupts = <0>; // cpm error interrupt
135 interrupt-parent = <&CPM_PIC>;
136 reg = <0x9c0 0x40>;
137 ranges;
138
139 muram {
140 #address-cells = <1>;
141 #size-cells = <1>;
142 ranges = <0 0x2000 0x2000>;
143
144 data@0 {
145 compatible = "fsl,cpm-muram-data";
146 reg = <0 0x1c00>;
147 };
148 };
149
150 brg@9f0 {
151 compatible = "fsl,mpc875-brg",
152 "fsl,cpm1-brg",
153 "fsl,cpm-brg";
154 clock-frequency = <50000000>;
155 reg = <0x9f0 0x10>;
156 };
157
158 CPM_PIC: interrupt-controller@930 {
159 interrupt-controller;
160 #interrupt-cells = <1>;
161 interrupts = <5 2 0 2>;
162 interrupt-parent = <&PIC>;
163 reg = <0x930 0x20>;
164 compatible = "fsl,mpc875-cpm-pic",
165 "fsl,cpm1-pic";
166 };
167
168 console: serial@a80 {
169 device_type = "serial";
170 compatible = "fsl,mpc875-smc-uart",
171 "fsl,cpm1-smc-uart";
172 reg = <0xa80 0x10 0x3e80 0x40>;
173 interrupts = <4>;
174 interrupt-parent = <&CPM_PIC>;
175 fsl,cpm-brg = <1>;
176 fsl,cpm-command = <0x0090>;
177 current-speed = <115200>;
178 };
179 };
180 };
181
182 chosen {
183 linux,stdout-path = &console;
184 };
185};