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