1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Device Tree for Klondike (APM8018X) board.
5 * Copyright (c) 2010, Applied Micro Circuits Corporation
6 * Author: Tanmay Inamdar <tinamdar@apm.com>
14 model = "apm,klondike";
15 compatible = "apm,klondike";
16 dcr-parent = <&{/cpus/cpu@0}>;
29 model = "PowerPC,apm8018x";
31 clock-frequency = <300000000>; /* Filled in by U-Boot */
32 timebase-frequency = <300000000>; /* Filled in by U-Boot */
33 i-cache-line-size = <32>;
34 d-cache-line-size = <32>;
35 i-cache-size = <16384>; /* 16 kB */
36 d-cache-size = <16384>; /* 16 kB */
38 dcr-access-method = "native";
43 device_type = "memory";
44 reg = <0x00000000 0x20000000>; /* Filled in by U-Boot */
47 UIC0: interrupt-controller {
48 compatible = "ibm,uic";
51 dcr-reg = <0x0c0 0x010>;
54 #interrupt-cells = <2>;
57 UIC1: interrupt-controller1 {
58 compatible = "ibm,uic";
61 dcr-reg = <0x0d0 0x010>;
64 #interrupt-cells = <2>;
65 interrupts = <0x1e 0x4 0x1f 0x4>; /* cascade */
66 interrupt-parent = <&UIC0>;
69 UIC2: interrupt-controller2 {
70 compatible = "ibm,uic";
73 dcr-reg = <0x0e0 0x010>;
76 #interrupt-cells = <2>;
77 interrupts = <0x0a 0x4 0x0b 0x4>; /* cascade */
78 interrupt-parent = <&UIC0>;
81 UIC3: interrupt-controller3 {
82 compatible = "ibm,uic";
85 dcr-reg = <0x0f0 0x010>;
88 #interrupt-cells = <2>;
89 interrupts = <0x10 0x4 0x11 0x4>; /* cascade */
90 interrupt-parent = <&UIC0>;
94 compatible = "ibm,plb4";
98 clock-frequency = <0>; /* Filled in by U-Boot */
100 SDRAM0: memory-controller {
101 compatible = "ibm,sdram-apm8018x";
102 dcr-reg = <0x010 0x002>;
106 compatible = "ibm,mcmal2";
107 dcr-reg = <0x180 0x062>;
110 #address-cells = <0>;
112 interrupt-parent = <&UIC1>;
113 interrupts = </*TXEOB*/ 0x6 0x4
121 compatible = "ibm,opb";
122 #address-cells = <1>;
124 ranges = <0x20000000 0x20000000 0x30000000
125 0x50000000 0x50000000 0x10000000
126 0x60000000 0x60000000 0x10000000
127 0xFE000000 0xFE000000 0x00010000>;
128 dcr-reg = <0x100 0x020>;
129 clock-frequency = <300000000>; /* Filled in by U-Boot */
131 RGMII0: emac-rgmii@400a2000 {
132 compatible = "ibm,rgmii";
133 reg = <0x400a2000 0x00000010>;
137 TAH0: emac-tah@400a3000 {
138 compatible = "ibm,tah";
139 reg = <0x400a3000 0x100>;
142 TAH1: emac-tah@400a4000 {
143 compatible = "ibm,tah";
144 reg = <0x400a4000 0x100>;
147 EMAC0: ethernet@400a0000 {
148 compatible = "ibm,emac4", "ibm-emac4sync";
149 interrupt-parent = <&EMAC0>;
151 #interrupt-cells = <1>;
152 #address-cells = <0>;
154 interrupt-map = </*Status*/ 0x0 &UIC0 0x13 0x4>;
155 reg = <0x400a0000 0x00000100>;
156 local-mac-address = [000000000000]; /* Filled in by U-Boot */
157 mal-device = <&MAL0>;
158 mal-tx-channel = <0x0>;
159 mal-rx-channel = <0x0>;
161 max-frame-size = <9000>;
162 rx-fifo-size = <4096>;
163 tx-fifo-size = <2048>;
167 phy-map = <0x00000000>;
168 rgmii-device = <&RGMII0>;
170 tah-device = <&TAH0>;
172 has-inverted-stacr-oc;
173 has-new-stacr-staopc;
176 EMAC1: ethernet@400a1000 {
177 compatible = "ibm,emac4", "ibm-emac4sync";
179 interrupt-parent = <&EMAC1>;
181 #interrupt-cells = <1>;
182 #address-cells = <0>;
184 interrupt-map = </*Status*/ 0x0 &UIC0 0x14 0x4>;
185 reg = <0x400a1000 0x00000100>;
186 local-mac-address = [000000000000]; /* Filled in by U-Boot */
187 mal-device = <&MAL0>;
188 mal-tx-channel = <1>;
189 mal-rx-channel = <8>;
191 max-frame-size = <9000>;
192 rx-fifo-size = <4096>;
193 tx-fifo-size = <2048>;
197 phy-map = <0x00000000>;
198 rgmii-device = <&RGMII0>;
200 tah-device = <&TAH1>;
202 has-inverted-stacr-oc;
203 has-new-stacr-staopc;
204 mdio-device = <&EMAC0>;
210 stdout-path = "/plb/opb/serial@50001000";