1dc37374bSHongtao Jia/*
2dc37374bSHongtao Jia * BSC9131 RDB Device Tree Source stub (no addresses or top-level ranges)
3dc37374bSHongtao Jia *
4dc37374bSHongtao Jia * Copyright 2011-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&board_ifc {
36dc37374bSHongtao Jia
37dc37374bSHongtao Jia	nand@0,0 {
38dc37374bSHongtao Jia		#address-cells = <1>;
39dc37374bSHongtao Jia		#size-cells = <1>;
40dc37374bSHongtao Jia		compatible = "fsl,ifc-nand";
41dc37374bSHongtao Jia		reg = <0x0 0x0 0x4000>;
42dc37374bSHongtao Jia
43dc37374bSHongtao Jia	};
44dc37374bSHongtao Jia};
45dc37374bSHongtao Jia
46dc37374bSHongtao Jia&board_soc {
47dc37374bSHongtao Jia	/* BSC9131RDB does not have any device on i2c@3100 */
48dc37374bSHongtao Jia	i2c@3100 {
49dc37374bSHongtao Jia		status = "disabled";
50dc37374bSHongtao Jia	};
51dc37374bSHongtao Jia
52dc37374bSHongtao Jia	spi@7000 {
53dc37374bSHongtao Jia		flash@0 {
54dc37374bSHongtao Jia			#address-cells = <1>;
55dc37374bSHongtao Jia			#size-cells = <1>;
56fba4e9f9SHou Zhiqiang			compatible = "spansion,s25sl12801", "jedec,spi-nor";
57dc37374bSHongtao Jia			reg = <0>;
58dc37374bSHongtao Jia			spi-max-frequency = <50000000>;
59dc37374bSHongtao Jia
60dc37374bSHongtao Jia		};
61dc37374bSHongtao Jia	};
62dc37374bSHongtao Jia
63dc37374bSHongtao Jia	usb@22000 {
64dc37374bSHongtao Jia		phy_type = "ulpi";
65dc37374bSHongtao Jia	};
66dc37374bSHongtao Jia
67dc37374bSHongtao Jia	mdio@24000 {
68dc37374bSHongtao Jia		phy0: ethernet-phy@0 {
69dc37374bSHongtao Jia			interrupts = <3 1 0 0>;
70dc37374bSHongtao Jia			reg = <0x0>;
71dc37374bSHongtao Jia		};
72dc37374bSHongtao Jia
73dc37374bSHongtao Jia		phy1: ethernet-phy@1 {
74dc37374bSHongtao Jia			interrupts = <2 1 0 0>;
75dc37374bSHongtao Jia			reg = <0x3>;
76dc37374bSHongtao Jia		};
77dc37374bSHongtao Jia	};
78dc37374bSHongtao Jia
79dc37374bSHongtao Jia	sdhc@2e000 {
80dc37374bSHongtao Jia		status = "disabled";
81dc37374bSHongtao Jia	};
82dc37374bSHongtao Jia
83dc37374bSHongtao Jia	ptp_clock@b0e00 {
84dc37374bSHongtao Jia		compatible = "fsl,etsec-ptp";
85dc37374bSHongtao Jia		reg = <0xb0e00 0xb0>;
86dc37374bSHongtao Jia		interrupts = <68 2 0 0 69 2 0 0>;
87dc37374bSHongtao Jia		fsl,tclk-period	= <5>;
88dc37374bSHongtao Jia		fsl,tmr-prsc	= <2>;
89dc37374bSHongtao Jia		fsl,tmr-add	= <0xcccccccd>;
90dc37374bSHongtao Jia		fsl,tmr-fiper1	= <999999995>;
91dc37374bSHongtao Jia		fsl,tmr-fiper2	= <99990>;
92dc37374bSHongtao Jia		fsl,max-adj	= <249999999>;
93dc37374bSHongtao Jia	};
94dc37374bSHongtao Jia
95dc37374bSHongtao Jia	enet0: ethernet@b0000 {
96dc37374bSHongtao Jia		phy-handle = <&phy0>;
97dc37374bSHongtao Jia		phy-connection-type = "rgmii-id";
98dc37374bSHongtao Jia	};
99dc37374bSHongtao Jia
100dc37374bSHongtao Jia	enet1: ethernet@b1000 {
101dc37374bSHongtao Jia		phy-handle = <&phy1>;
102dc37374bSHongtao Jia		phy-connection-type = "rgmii-id";
103dc37374bSHongtao Jia	};
104dc37374bSHongtao Jia};
105