2 * STx/Freescale ADS5125 MPC5125 silicon
4 * Copyright (C) 2009 Freescale Semiconductor Inc. All rights reserved.
6 * Reworked by Matteo Facchinetti (engineering@sirius-es.it)
7 * Copyright (C) 2013 Sirius Electronic Systems
9 * This program is free software; you can redistribute it and/or modify it
10 * under the terms of the GNU General Public License as published by the
11 * Free Software Foundation; either version 2 of the License, or (at your
12 * option) any later version.
15 #include <dt-bindings/clock/mpc512x-clock.h>
20 model = "mpc5125twr"; // In BSP "mpc5125ads"
21 compatible = "fsl,mpc5125ads", "fsl,mpc5125";
24 interrupt-parent = <&ipic>;
39 d-cache-line-size = <0x20>; // 32 bytes
40 i-cache-line-size = <0x20>; // 32 bytes
41 d-cache-size = <0x8000>; // L1, 32K
42 i-cache-size = <0x8000>; // L1, 32K
43 timebase-frequency = <49500000>;// 49.5 MHz (csb/4)
44 bus-frequency = <198000000>; // 198 MHz csb bus
45 clock-frequency = <396000000>; // 396 MHz ppc core
50 device_type = "memory";
51 reg = <0x00000000 0x10000000>; // 256MB at 0
55 compatible = "fsl,mpc5121-sram";
56 reg = <0x30000000 0x08000>; // 32K at 0x30000000
64 compatible = "fixed-clock";
66 clock-frequency = <33000000>;
71 compatible = "fsl,mpc5121-immr";
74 ranges = <0x0 0x80000000 0x400000>;
75 reg = <0x80000000 0x400000>;
76 bus-frequency = <66000000>; // 66 MHz ips bus
79 // interrupts cell = <intr #, sense>
80 // sense values match linux IORESOURCE_IRQ_* defines:
81 // sense == 8: Level, low assertion
82 // sense == 2: Edge, high-to-low change
84 ipic: interrupt-controller@c00 {
85 compatible = "fsl,mpc5121-ipic", "fsl,ipic";
88 #interrupt-cells = <2>;
92 rtc@a00 { // Real time clock
93 compatible = "fsl,mpc5121-rtc";
95 interrupts = <79 0x8 80 0x8>;
98 reset@e00 { // Reset module
99 compatible = "fsl,mpc5125-reset";
103 clks: clock@f00 { // Clock control
104 compatible = "fsl,mpc5121-clock";
111 pmc@1000{ // Power Management Controller
112 compatible = "fsl,mpc5121-pmc";
113 reg = <0x1000 0x100>;
114 interrupts = <83 0x2>;
118 compatible = "fsl,mpc5125-gpio";
119 reg = <0x1100 0x080>;
120 interrupts = <78 0x8>;
124 compatible = "fsl,mpc5125-gpio";
125 reg = <0x1180 0x080>;
126 interrupts = <86 0x8>;
129 can@1300 { // CAN rev.2
130 compatible = "fsl,mpc5121-mscan";
131 interrupts = <12 0x8>;
133 clocks = <&clks MPC512x_CLK_BDLC>,
134 <&clks MPC512x_CLK_IPS>,
135 <&clks MPC512x_CLK_SYS>,
136 <&clks MPC512x_CLK_REF>,
137 <&clks MPC512x_CLK_MSCAN0_MCLK>;
138 clock-names = "ipg", "ips", "sys", "ref", "mclk";
142 compatible = "fsl,mpc5121-mscan";
143 interrupts = <13 0x8>;
145 clocks = <&clks MPC512x_CLK_BDLC>,
146 <&clks MPC512x_CLK_IPS>,
147 <&clks MPC512x_CLK_SYS>,
148 <&clks MPC512x_CLK_REF>,
149 <&clks MPC512x_CLK_MSCAN1_MCLK>;
150 clock-names = "ipg", "ips", "sys", "ref", "mclk";
154 compatible = "fsl,mpc5121-sdhc";
155 interrupts = <8 0x8>;
156 reg = <0x1500 0x100>;
157 clocks = <&clks MPC512x_CLK_IPS>,
158 <&clks MPC512x_CLK_SDHC>;
159 clock-names = "ipg", "per";
163 #address-cells = <1>;
165 compatible = "fsl,mpc5121-i2c", "fsl-i2c";
167 interrupts = <0x9 0x8>;
168 clocks = <&clks MPC512x_CLK_I2C>;
173 #address-cells = <1>;
175 compatible = "fsl,mpc5121-i2c", "fsl-i2c";
177 interrupts = <0xa 0x8>;
178 clocks = <&clks MPC512x_CLK_I2C>;
183 #address-cells = <1>;
185 compatible = "fsl,mpc5121-i2c", "fsl-i2c";
187 interrupts = <0xb 0x8>;
188 clocks = <&clks MPC512x_CLK_I2C>;
193 compatible = "fsl,mpc5121-i2c-ctrl";
198 compatible = "fsl,mpc5121-diu";
199 reg = <0x2100 0x100>;
200 interrupts = <64 0x8>;
201 clocks = <&clks MPC512x_CLK_DIU>;
206 compatible = "fsl,mpc5121-fec-mdio";
207 reg = <0x2800 0x800>;
208 #address-cells = <1>;
210 phy0: ethernet-phy@0 {
215 eth0: ethernet@2800 {
216 compatible = "fsl,mpc5125-fec";
217 reg = <0x2800 0x800>;
218 local-mac-address = [ 00 00 00 00 00 00 ];
219 interrupts = <4 0x8>;
220 phy-handle = < &phy0 >;
221 phy-connection-type = "rmii";
222 clocks = <&clks MPC512x_CLK_FEC>;
228 compatible = "fsl,mpc5125-ioctl";
229 reg = <0xA000 0x1000>;
234 // correct pinmux config and fix USB3320 ulpi dependency
235 // before re-enabling it
237 compatible = "fsl,mpc5121-usb2-dr";
238 reg = <0x3000 0x400>;
239 #address-cells = <1>;
241 interrupts = <43 0x8>;
244 clocks = <&clks MPC512x_CLK_USB1>;
250 compatible = "fsl,mpc512x-lpbfifo";
251 reg = <0x10100 0x50>;
252 interrupts = <7 0x8>;
257 // 5125 PSCs are not 52xx or 5121 PSC compatible
258 // PSC1 uart0 aka ttyPSC0
260 compatible = "fsl,mpc5125-psc-uart", "fsl,mpc5125-psc";
261 reg = <0x11100 0x100>;
262 interrupts = <40 0x8>;
263 fsl,rx-fifo-size = <16>;
264 fsl,tx-fifo-size = <16>;
265 clocks = <&clks MPC512x_CLK_PSC1>,
266 <&clks MPC512x_CLK_PSC1_MCLK>;
267 clock-names = "ipg", "mclk";
270 // PSC9 uart1 aka ttyPSC1
272 compatible = "fsl,mpc5125-psc-uart", "fsl,mpc5125-psc";
273 reg = <0x11900 0x100>;
274 interrupts = <40 0x8>;
275 fsl,rx-fifo-size = <16>;
276 fsl,tx-fifo-size = <16>;
277 clocks = <&clks MPC512x_CLK_PSC9>,
278 <&clks MPC512x_CLK_PSC9_MCLK>;
279 clock-names = "ipg", "mclk";
283 compatible = "fsl,mpc5121-psc-fifo";
284 reg = <0x11f00 0x100>;
285 interrupts = <40 0x8>;
286 clocks = <&clks MPC512x_CLK_PSC_FIFO>;
291 compatible = "fsl,mpc5121-dma"; // BSP name: "mpc512x-dma2"
292 reg = <0x14000 0x1800>;
293 interrupts = <65 0x8>;