162306a36Sopenharmony_ci/*
262306a36Sopenharmony_ci * P1020 UTM-PC Device Tree Source stub (no addresses or top-level ranges)
362306a36Sopenharmony_ci *
462306a36Sopenharmony_ci * Copyright 2012 Freescale Semiconductor Inc.
562306a36Sopenharmony_ci *
662306a36Sopenharmony_ci * Redistribution and use in source and binary forms, with or without
762306a36Sopenharmony_ci * modification, are permitted provided that the following conditions are met:
862306a36Sopenharmony_ci *     * Redistributions of source code must retain the above copyright
962306a36Sopenharmony_ci *       notice, this list of conditions and the following disclaimer.
1062306a36Sopenharmony_ci *     * Redistributions in binary form must reproduce the above copyright
1162306a36Sopenharmony_ci *       notice, this list of conditions and the following disclaimer in the
1262306a36Sopenharmony_ci *       documentation and/or other materials provided with the distribution.
1362306a36Sopenharmony_ci *     * Neither the name of Freescale Semiconductor nor the
1462306a36Sopenharmony_ci *       names of its contributors may be used to endorse or promote products
1562306a36Sopenharmony_ci *       derived from this software without specific prior written permission.
1662306a36Sopenharmony_ci *
1762306a36Sopenharmony_ci *
1862306a36Sopenharmony_ci * ALTERNATIVELY, this software may be distributed under the terms of the
1962306a36Sopenharmony_ci * GNU General Public License ("GPL") as published by the Free Software
2062306a36Sopenharmony_ci * Foundation, either version 2 of that License or (at your option) any
2162306a36Sopenharmony_ci * later version.
2262306a36Sopenharmony_ci *
2362306a36Sopenharmony_ci * THIS SOFTWARE IS PROVIDED BY Freescale Semiconductor ``AS IS'' AND ANY
2462306a36Sopenharmony_ci * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
2562306a36Sopenharmony_ci * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
2662306a36Sopenharmony_ci * DISCLAIMED. IN NO EVENT SHALL Freescale Semiconductor BE LIABLE FOR ANY
2762306a36Sopenharmony_ci * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
2862306a36Sopenharmony_ci * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
2962306a36Sopenharmony_ci * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
3062306a36Sopenharmony_ci * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
3162306a36Sopenharmony_ci * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
3262306a36Sopenharmony_ci * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
3362306a36Sopenharmony_ci */
3462306a36Sopenharmony_ci
3562306a36Sopenharmony_ci&lbc {
3662306a36Sopenharmony_ci	nor@0,0 {
3762306a36Sopenharmony_ci		#address-cells = <1>;
3862306a36Sopenharmony_ci		#size-cells = <1>;
3962306a36Sopenharmony_ci		compatible = "cfi-flash";
4062306a36Sopenharmony_ci		reg = <0x0 0x0 0x2000000>;
4162306a36Sopenharmony_ci		bank-width = <2>;
4262306a36Sopenharmony_ci		device-width = <1>;
4362306a36Sopenharmony_ci
4462306a36Sopenharmony_ci		partition@0 {
4562306a36Sopenharmony_ci			/* 256KB for DTB Image */
4662306a36Sopenharmony_ci			reg = <0x0 0x00040000>;
4762306a36Sopenharmony_ci			label = "NOR DTB Image";
4862306a36Sopenharmony_ci		};
4962306a36Sopenharmony_ci
5062306a36Sopenharmony_ci		partition@40000 {
5162306a36Sopenharmony_ci			/* 3.75 MB for Linux Kernel Image */
5262306a36Sopenharmony_ci			reg = <0x00040000 0x003c0000>;
5362306a36Sopenharmony_ci			label = "NOR Linux Kernel Image";
5462306a36Sopenharmony_ci		};
5562306a36Sopenharmony_ci
5662306a36Sopenharmony_ci		partition@400000 {
5762306a36Sopenharmony_ci			/* 27MB for Root file System */
5862306a36Sopenharmony_ci			reg = <0x00400000 0x01b00000>;
5962306a36Sopenharmony_ci			label = "NOR Root File System";
6062306a36Sopenharmony_ci		};
6162306a36Sopenharmony_ci
6262306a36Sopenharmony_ci		partition@1f00000 {
6362306a36Sopenharmony_ci			/* This location must not be altered  */
6462306a36Sopenharmony_ci			/* 512KB for u-boot Bootloader Image */
6562306a36Sopenharmony_ci			/* 512KB for u-boot Environment Variables */
6662306a36Sopenharmony_ci			reg = <0x01f00000 0x00100000>;
6762306a36Sopenharmony_ci			label = "NOR U-Boot Image";
6862306a36Sopenharmony_ci			read-only;
6962306a36Sopenharmony_ci		};
7062306a36Sopenharmony_ci	};
7162306a36Sopenharmony_ci};
7262306a36Sopenharmony_ci
7362306a36Sopenharmony_ci&soc {
7462306a36Sopenharmony_ci	i2c@3000 {
7562306a36Sopenharmony_ci		rtc@68 {
7662306a36Sopenharmony_ci			compatible = "dallas,ds1339";
7762306a36Sopenharmony_ci			reg = <0x68>;
7862306a36Sopenharmony_ci		};
7962306a36Sopenharmony_ci	};
8062306a36Sopenharmony_ci
8162306a36Sopenharmony_ci	mdio@24000 {
8262306a36Sopenharmony_ci		phy0: ethernet-phy@0 {
8362306a36Sopenharmony_ci			interrupts = <3 1 0 0>;
8462306a36Sopenharmony_ci			reg = <0x0>;
8562306a36Sopenharmony_ci		};
8662306a36Sopenharmony_ci		phy1: ethernet-phy@1 {
8762306a36Sopenharmony_ci			interrupts = <2 1 0 0>;
8862306a36Sopenharmony_ci			reg = <0x1>;
8962306a36Sopenharmony_ci		};
9062306a36Sopenharmony_ci		phy2: ethernet-phy@2 {
9162306a36Sopenharmony_ci			interrupts = <1 1 0 0>;
9262306a36Sopenharmony_ci			reg = <0x2>;
9362306a36Sopenharmony_ci		};
9462306a36Sopenharmony_ci	};
9562306a36Sopenharmony_ci
9662306a36Sopenharmony_ci	mdio@25000 {
9762306a36Sopenharmony_ci		tbi1: tbi-phy@11 {
9862306a36Sopenharmony_ci			reg = <0x11>;
9962306a36Sopenharmony_ci			device_type = "tbi-phy";
10062306a36Sopenharmony_ci		};
10162306a36Sopenharmony_ci	};
10262306a36Sopenharmony_ci
10362306a36Sopenharmony_ci	mdio@26000 {
10462306a36Sopenharmony_ci		tbi2: tbi-phy@11 {
10562306a36Sopenharmony_ci			reg = <0x11>;
10662306a36Sopenharmony_ci			device_type = "tbi-phy";
10762306a36Sopenharmony_ci		};
10862306a36Sopenharmony_ci	};
10962306a36Sopenharmony_ci
11062306a36Sopenharmony_ci	enet0: ethernet@b0000 {
11162306a36Sopenharmony_ci		phy-handle = <&phy2>;
11262306a36Sopenharmony_ci		phy-connection-type = "rgmii-id";
11362306a36Sopenharmony_ci	};
11462306a36Sopenharmony_ci
11562306a36Sopenharmony_ci	enet1: ethernet@b1000 {
11662306a36Sopenharmony_ci		phy-handle = <&phy0>;
11762306a36Sopenharmony_ci		tbi-handle = <&tbi1>;
11862306a36Sopenharmony_ci		phy-connection-type = "sgmii";
11962306a36Sopenharmony_ci	};
12062306a36Sopenharmony_ci
12162306a36Sopenharmony_ci	enet2: ethernet@b2000 {
12262306a36Sopenharmony_ci		phy-handle = <&phy1>;
12362306a36Sopenharmony_ci		phy-connection-type = "rgmii-id";
12462306a36Sopenharmony_ci	};
12562306a36Sopenharmony_ci
12662306a36Sopenharmony_ci	usb@22000 {
12762306a36Sopenharmony_ci		phy_type = "ulpi";
12862306a36Sopenharmony_ci	};
12962306a36Sopenharmony_ci
13062306a36Sopenharmony_ci	/* USB2 is shared with localbus, so it must be disabled
13162306a36Sopenharmony_ci	   by default. We can't put 'status = "disabled";' here
13262306a36Sopenharmony_ci	   since U-Boot doesn't clear the status property when
13362306a36Sopenharmony_ci	   it enables USB2. OTOH, U-Boot does create a new node
13462306a36Sopenharmony_ci	   when there isn't any. So, just comment it out.
13562306a36Sopenharmony_ci	*/
13662306a36Sopenharmony_ci	usb@23000 {
13762306a36Sopenharmony_ci		status = "disabled";
13862306a36Sopenharmony_ci		phy_type = "ulpi";
13962306a36Sopenharmony_ci	};
14062306a36Sopenharmony_ci};
141