1667b504aSStefan Roese/*
2667b504aSStefan Roese * a3m071 board Device Tree Source
3667b504aSStefan Roese *
4667b504aSStefan Roese * Copyright 2012 Stefan Roese <sr@denx.de>
5667b504aSStefan Roese *
6667b504aSStefan Roese * Copyright (C) 2011 DENX Software Engineering GmbH
7667b504aSStefan Roese * Heiko Schocher <hs@denx.de>
8667b504aSStefan Roese *
9667b504aSStefan Roese * Copyright (C) 2007 Semihalf
10667b504aSStefan Roese * Marian Balakowicz <m8@semihalf.com>
11667b504aSStefan Roese *
12667b504aSStefan Roese * This program is free software; you can redistribute  it and/or modify it
13667b504aSStefan Roese * under  the terms of  the GNU General  Public License as published by the
14667b504aSStefan Roese * Free Software Foundation;  either version 2 of the  License, or (at your
15667b504aSStefan Roese * option) any later version.
16667b504aSStefan Roese */
17667b504aSStefan Roese
18667b504aSStefan Roese/include/ "mpc5200b.dtsi"
19667b504aSStefan Roese
20fa59f178SGrant Likely&gpt0 { fsl,has-wdt; };
21fa59f178SGrant Likely
22667b504aSStefan Roese/ {
23667b504aSStefan Roese	model = "anonymous,a3m071";
24667b504aSStefan Roese	compatible = "anonymous,a3m071";
25667b504aSStefan Roese
26667b504aSStefan Roese	soc5200@f0000000 {
27667b504aSStefan Roese		#address-cells = <1>;
28667b504aSStefan Roese		#size-cells = <1>;
29667b504aSStefan Roese		compatible = "fsl,mpc5200b-immr";
30667b504aSStefan Roese		ranges = <0 0xf0000000 0x0000c000>;
31667b504aSStefan Roese		reg = <0xf0000000 0x00000100>;
32667b504aSStefan Roese		bus-frequency = <0>; /* From boot loader */
33667b504aSStefan Roese		system-frequency = <0>; /* From boot loader */
34667b504aSStefan Roese
35667b504aSStefan Roese		spi@f00 {
36667b504aSStefan Roese			status = "disabled";
37667b504aSStefan Roese		};
38667b504aSStefan Roese
39667b504aSStefan Roese		usb: usb@1000 {
40667b504aSStefan Roese			status = "disabled";
41667b504aSStefan Roese		};
42667b504aSStefan Roese
43667b504aSStefan Roese		psc@2000 {
44667b504aSStefan Roese			compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart";
45667b504aSStefan Roese			reg = <0x2000 0x100>;
46667b504aSStefan Roese			interrupts = <2 1 0>;
47667b504aSStefan Roese		};
48667b504aSStefan Roese
49667b504aSStefan Roese		psc@2200 {
50667b504aSStefan Roese			status = "disabled";
51667b504aSStefan Roese		};
52667b504aSStefan Roese
53667b504aSStefan Roese		psc@2400 {
54667b504aSStefan Roese			status = "disabled";
55667b504aSStefan Roese		};
56667b504aSStefan Roese
57667b504aSStefan Roese		psc@2600 {
58667b504aSStefan Roese			status = "disabled";
59667b504aSStefan Roese		};
60667b504aSStefan Roese
61667b504aSStefan Roese		psc@2800 {
62667b504aSStefan Roese			status = "disabled";
63667b504aSStefan Roese		};
64667b504aSStefan Roese
65667b504aSStefan Roese		psc@2c00 {		// PSC6
66667b504aSStefan Roese			compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart";
67667b504aSStefan Roese			reg = <0x2c00 0x100>;
68667b504aSStefan Roese			interrupts = <2 4 0>;
69667b504aSStefan Roese		};
70667b504aSStefan Roese
71667b504aSStefan Roese		ethernet@3000 {
72667b504aSStefan Roese			phy-handle = <&phy0>;
73667b504aSStefan Roese		};
74667b504aSStefan Roese
75667b504aSStefan Roese		mdio@3000 {
76667b504aSStefan Roese			phy0: ethernet-phy@3 {
77667b504aSStefan Roese				reg = <0x03>;
78667b504aSStefan Roese			};
79667b504aSStefan Roese		};
80667b504aSStefan Roese
81667b504aSStefan Roese		ata@3a00 {
82667b504aSStefan Roese			status = "disabled";
83667b504aSStefan Roese		};
84667b504aSStefan Roese
85667b504aSStefan Roese		i2c@3d00 {
86667b504aSStefan Roese			status = "disabled";
87667b504aSStefan Roese		};
88667b504aSStefan Roese
89667b504aSStefan Roese		i2c@3d40 {
90667b504aSStefan Roese			status = "disabled";
91667b504aSStefan Roese		};
92667b504aSStefan Roese	};
93667b504aSStefan Roese
94667b504aSStefan Roese	localbus {
95667b504aSStefan Roese		compatible = "fsl,mpc5200b-lpb","simple-bus";
96667b504aSStefan Roese		#address-cells = <2>;
97667b504aSStefan Roese		#size-cells = <1>;
98667b504aSStefan Roese		ranges = <0 0 0xfc000000 0x02000000
99667b504aSStefan Roese			  3 0 0xe9000000 0x00080000
100667b504aSStefan Roese			  5 0 0xe8000000 0x00010000>;
101667b504aSStefan Roese
102667b504aSStefan Roese		flash@0,0 {
103667b504aSStefan Roese			#address-cells = <1>;
104667b504aSStefan Roese			#size-cells = <1>;
105667b504aSStefan Roese			reg = <0 0x0 0x02000000>;
106667b504aSStefan Roese			compatible = "cfi-flash";
107667b504aSStefan Roese			bank-width = <2>;
108600ecc19SMathieu Malaterre			partition@0 {
109667b504aSStefan Roese				label = "u-boot";
110667b504aSStefan Roese				reg = <0x00000000 0x00040000>;
111667b504aSStefan Roese				read-only;
112667b504aSStefan Roese			};
113600ecc19SMathieu Malaterre			partition@40000 {
114667b504aSStefan Roese				label = "env";
115667b504aSStefan Roese				reg = <0x00040000 0x00020000>;
116667b504aSStefan Roese			};
117600ecc19SMathieu Malaterre			partition@60000 {
118667b504aSStefan Roese				label = "dtb";
119667b504aSStefan Roese				reg = <0x00060000 0x00020000>;
120667b504aSStefan Roese			};
121600ecc19SMathieu Malaterre			partition@80000 {
122667b504aSStefan Roese				label = "kernel";
123667b504aSStefan Roese				reg = <0x00080000 0x00500000>;
124667b504aSStefan Roese			};
125600ecc19SMathieu Malaterre			partition@580000 {
126667b504aSStefan Roese				label = "root";
127667b504aSStefan Roese				reg = <0x00580000 0x00A80000>;
128667b504aSStefan Roese			};
129667b504aSStefan Roese		};
130667b504aSStefan Roese
131667b504aSStefan Roese		fpga@3,0 {
132667b504aSStefan Roese			compatible = "anonymous,a3m071-fpga";
133667b504aSStefan Roese			reg = <3 0x0 0x00080000
134667b504aSStefan Roese			       5 0x0 0x00010000>;
135667b504aSStefan Roese			interrupts = <0 0 3>;  /* level low */
136667b504aSStefan Roese		};
137667b504aSStefan Roese	};
138667b504aSStefan Roese
139667b504aSStefan Roese	pci@f0000d00 {
140667b504aSStefan Roese		status = "disabled";
141667b504aSStefan Roese	};
142667b504aSStefan Roese};
143