xref: /linux/arch/powerpc/boot/dts/a3m071.dts (revision cc1e6315e83db0e517dd9279050b88adc83a7eba)
1/*
2 * a3m071 board Device Tree Source
3 *
4 * Copyright 2012 Stefan Roese <sr@denx.de>
5 *
6 * Copyright (C) 2011 DENX Software Engineering GmbH
7 * Heiko Schocher <hs@denx.de>
8 *
9 * Copyright (C) 2007 Semihalf
10 * Marian Balakowicz <m8@semihalf.com>
11 *
12 * This program is free software; you can redistribute  it and/or modify it
13 * under  the terms of  the GNU General  Public License as published by the
14 * Free Software Foundation;  either version 2 of the  License, or (at your
15 * option) any later version.
16 */
17
18/include/ "mpc5200b.dtsi"
19
20&gpt0 { fsl,has-wdt; };
21
22/ {
23	model = "anonymous,a3m071";
24	compatible = "anonymous,a3m071";
25
26	soc5200@f0000000 {
27		#address-cells = <1>;
28		#size-cells = <1>;
29		compatible = "fsl,mpc5200b-immr";
30		ranges = <0 0xf0000000 0x0000c000>;
31		reg = <0xf0000000 0x00000100>;
32		bus-frequency = <0>; /* From boot loader */
33		system-frequency = <0>; /* From boot loader */
34
35		spi@f00 {
36			status = "disabled";
37		};
38
39		usb: usb@1000 {
40			status = "disabled";
41		};
42
43		psc@2000 {
44			compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart";
45			reg = <0x2000 0x100>;
46			interrupts = <2 1 0>;
47		};
48
49		psc@2200 {
50			status = "disabled";
51		};
52
53		psc@2400 {
54			status = "disabled";
55		};
56
57		psc@2600 {
58			status = "disabled";
59		};
60
61		psc@2800 {
62			status = "disabled";
63		};
64
65		psc@2c00 {		// PSC6
66			compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart";
67			reg = <0x2c00 0x100>;
68			interrupts = <2 4 0>;
69		};
70
71		ethernet@3000 {
72			phy-handle = <&phy0>;
73		};
74
75		mdio@3000 {
76			phy0: ethernet-phy@3 {
77				reg = <0x03>;
78			};
79		};
80
81		ata@3a00 {
82			status = "disabled";
83		};
84
85		i2c@3d00 {
86			status = "disabled";
87		};
88
89		i2c@3d40 {
90			status = "disabled";
91		};
92	};
93
94	localbus {
95		compatible = "fsl,mpc5200b-lpb","simple-bus";
96		#address-cells = <2>;
97		#size-cells = <1>;
98		ranges = <0 0 0xfc000000 0x02000000
99			  3 0 0xe9000000 0x00080000
100			  5 0 0xe8000000 0x00010000>;
101
102		flash@0,0 {
103			#address-cells = <1>;
104			#size-cells = <1>;
105			reg = <0 0x0 0x02000000>;
106			compatible = "cfi-flash";
107			bank-width = <2>;
108			partition@0 {
109				label = "u-boot";
110				reg = <0x00000000 0x00040000>;
111				read-only;
112			};
113			partition@40000 {
114				label = "env";
115				reg = <0x00040000 0x00020000>;
116			};
117			partition@60000 {
118				label = "dtb";
119				reg = <0x00060000 0x00020000>;
120			};
121			partition@80000 {
122				label = "kernel";
123				reg = <0x00080000 0x00500000>;
124			};
125			partition@580000 {
126				label = "root";
127				reg = <0x00580000 0x00A80000>;
128			};
129		};
130
131		fpga@3,0 {
132			compatible = "anonymous,a3m071-fpga";
133			reg = <3 0x0 0x00080000
134			       5 0x0 0x00010000>;
135			interrupts = <0 0 3>;  /* level low */
136		};
137	};
138
139	pci@f0000d00 {
140		status = "disabled";
141	};
142};
143