1dc37374bSHongtao Jia/*
2dc37374bSHongtao Jia * P1020 UTM-PC Device Tree Source stub (no addresses or top-level ranges)
3dc37374bSHongtao Jia *
4dc37374bSHongtao Jia * Copyright 2012 Freescale Semiconductor Inc.
5dc37374bSHongtao Jia *
6dc37374bSHongtao Jia * Redistribution and use in source and binary forms, with or without
7dc37374bSHongtao Jia * modification, are permitted provided that the following conditions are met:
8dc37374bSHongtao Jia *     * Redistributions of source code must retain the above copyright
9dc37374bSHongtao Jia *       notice, this list of conditions and the following disclaimer.
10dc37374bSHongtao Jia *     * Redistributions in binary form must reproduce the above copyright
11dc37374bSHongtao Jia *       notice, this list of conditions and the following disclaimer in the
12dc37374bSHongtao Jia *       documentation and/or other materials provided with the distribution.
13dc37374bSHongtao Jia *     * Neither the name of Freescale Semiconductor nor the
14dc37374bSHongtao Jia *       names of its contributors may be used to endorse or promote products
15dc37374bSHongtao Jia *       derived from this software without specific prior written permission.
16dc37374bSHongtao Jia *
17dc37374bSHongtao Jia *
18dc37374bSHongtao Jia * ALTERNATIVELY, this software may be distributed under the terms of the
19dc37374bSHongtao Jia * GNU General Public License ("GPL") as published by the Free Software
20dc37374bSHongtao Jia * Foundation, either version 2 of that License or (at your option) any
21dc37374bSHongtao Jia * later version.
22dc37374bSHongtao Jia *
23dc37374bSHongtao Jia * THIS SOFTWARE IS PROVIDED BY Freescale Semiconductor ``AS IS'' AND ANY
24dc37374bSHongtao Jia * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
25dc37374bSHongtao Jia * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
26dc37374bSHongtao Jia * DISCLAIMED. IN NO EVENT SHALL Freescale Semiconductor BE LIABLE FOR ANY
27dc37374bSHongtao Jia * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
28dc37374bSHongtao Jia * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
29dc37374bSHongtao Jia * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
30dc37374bSHongtao Jia * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
31dc37374bSHongtao Jia * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
32dc37374bSHongtao Jia * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
33dc37374bSHongtao Jia */
34dc37374bSHongtao Jia
35dc37374bSHongtao Jia&lbc {
36dc37374bSHongtao Jia	nor@0,0 {
37dc37374bSHongtao Jia		#address-cells = <1>;
38dc37374bSHongtao Jia		#size-cells = <1>;
39dc37374bSHongtao Jia		compatible = "cfi-flash";
40dc37374bSHongtao Jia		reg = <0x0 0x0 0x2000000>;
41dc37374bSHongtao Jia		bank-width = <2>;
42dc37374bSHongtao Jia		device-width = <1>;
43dc37374bSHongtao Jia
44dc37374bSHongtao Jia		partition@0 {
45dc37374bSHongtao Jia			/* 256KB for DTB Image */
46dc37374bSHongtao Jia			reg = <0x0 0x00040000>;
47dc37374bSHongtao Jia			label = "NOR DTB Image";
48dc37374bSHongtao Jia		};
49dc37374bSHongtao Jia
50dc37374bSHongtao Jia		partition@40000 {
51dc37374bSHongtao Jia			/* 3.75 MB for Linux Kernel Image */
52dc37374bSHongtao Jia			reg = <0x00040000 0x003c0000>;
53dc37374bSHongtao Jia			label = "NOR Linux Kernel Image";
54dc37374bSHongtao Jia		};
55dc37374bSHongtao Jia
56dc37374bSHongtao Jia		partition@400000 {
57dc37374bSHongtao Jia			/* 27MB for Root file System */
58dc37374bSHongtao Jia			reg = <0x00400000 0x01b00000>;
59dc37374bSHongtao Jia			label = "NOR Root File System";
60dc37374bSHongtao Jia		};
61dc37374bSHongtao Jia
62dc37374bSHongtao Jia		partition@1f00000 {
63dc37374bSHongtao Jia			/* This location must not be altered  */
64dc37374bSHongtao Jia			/* 512KB for u-boot Bootloader Image */
65dc37374bSHongtao Jia			/* 512KB for u-boot Environment Variables */
66dc37374bSHongtao Jia			reg = <0x01f00000 0x00100000>;
67dc37374bSHongtao Jia			label = "NOR U-Boot Image";
68dc37374bSHongtao Jia			read-only;
69dc37374bSHongtao Jia		};
70dc37374bSHongtao Jia	};
71dc37374bSHongtao Jia};
72dc37374bSHongtao Jia
73dc37374bSHongtao Jia&soc {
74dc37374bSHongtao Jia	i2c@3000 {
75dc37374bSHongtao Jia		rtc@68 {
76dc37374bSHongtao Jia			compatible = "dallas,ds1339";
77dc37374bSHongtao Jia			reg = <0x68>;
78dc37374bSHongtao Jia		};
79dc37374bSHongtao Jia	};
80dc37374bSHongtao Jia
81dc37374bSHongtao Jia	mdio@24000 {
82dc37374bSHongtao Jia		phy0: ethernet-phy@0 {
83dc37374bSHongtao Jia			interrupts = <3 1 0 0>;
84dc37374bSHongtao Jia			reg = <0x0>;
85dc37374bSHongtao Jia		};
86dc37374bSHongtao Jia		phy1: ethernet-phy@1 {
87dc37374bSHongtao Jia			interrupts = <2 1 0 0>;
88dc37374bSHongtao Jia			reg = <0x1>;
89dc37374bSHongtao Jia		};
90dc37374bSHongtao Jia		phy2: ethernet-phy@2 {
91dc37374bSHongtao Jia			interrupts = <1 1 0 0>;
92dc37374bSHongtao Jia			reg = <0x2>;
93dc37374bSHongtao Jia		};
94dc37374bSHongtao Jia	};
95dc37374bSHongtao Jia
96dc37374bSHongtao Jia	mdio@25000 {
97dc37374bSHongtao Jia		tbi1: tbi-phy@11 {
98dc37374bSHongtao Jia			reg = <0x11>;
99dc37374bSHongtao Jia			device_type = "tbi-phy";
100dc37374bSHongtao Jia		};
101dc37374bSHongtao Jia	};
102dc37374bSHongtao Jia
103dc37374bSHongtao Jia	mdio@26000 {
104dc37374bSHongtao Jia		tbi2: tbi-phy@11 {
105dc37374bSHongtao Jia			reg = <0x11>;
106dc37374bSHongtao Jia			device_type = "tbi-phy";
107dc37374bSHongtao Jia		};
108dc37374bSHongtao Jia	};
109dc37374bSHongtao Jia
110dc37374bSHongtao Jia	enet0: ethernet@b0000 {
111dc37374bSHongtao Jia		phy-handle = <&phy2>;
112dc37374bSHongtao Jia		phy-connection-type = "rgmii-id";
113dc37374bSHongtao Jia	};
114dc37374bSHongtao Jia
115dc37374bSHongtao Jia	enet1: ethernet@b1000 {
116dc37374bSHongtao Jia		phy-handle = <&phy0>;
117dc37374bSHongtao Jia		tbi-handle = <&tbi1>;
118dc37374bSHongtao Jia		phy-connection-type = "sgmii";
119dc37374bSHongtao Jia	};
120dc37374bSHongtao Jia
121dc37374bSHongtao Jia	enet2: ethernet@b2000 {
122dc37374bSHongtao Jia		phy-handle = <&phy1>;
123dc37374bSHongtao Jia		phy-connection-type = "rgmii-id";
124dc37374bSHongtao Jia	};
125dc37374bSHongtao Jia
126dc37374bSHongtao Jia	usb@22000 {
127dc37374bSHongtao Jia		phy_type = "ulpi";
128dc37374bSHongtao Jia	};
129dc37374bSHongtao Jia
130dc37374bSHongtao Jia	/* USB2 is shared with localbus, so it must be disabled
131dc37374bSHongtao Jia	   by default. We can't put 'status = "disabled";' here
132dc37374bSHongtao Jia	   since U-Boot doesn't clear the status property when
133dc37374bSHongtao Jia	   it enables USB2. OTOH, U-Boot does create a new node
134dc37374bSHongtao Jia	   when there isn't any. So, just comment it out.
135dc37374bSHongtao Jia	*/
136dc37374bSHongtao Jia	usb@23000 {
137dc37374bSHongtao Jia		status = "disabled";
138dc37374bSHongtao Jia		phy_type = "ulpi";
139dc37374bSHongtao Jia	};
140dc37374bSHongtao Jia};
141