Merge tag 'v3.3.7' into 3.3/master
[zen-stable.git] / arch / powerpc / boot / dts / mpc8536ds.dtsi
blob1462e4cf49d71a215e38b974d4e0e1907ded3b97
1 /*
2  * MPC8536DS Device Tree Source stub (no addresses or top-level ranges)
3  *
4  * Copyright 2011 Freescale Semiconductor Inc.
5  *
6  * Redistribution and use in source and binary forms, with or without
7  * modification, are permitted provided that the following conditions are met:
8  *     * Redistributions of source code must retain the above copyright
9  *       notice, this list of conditions and the following disclaimer.
10  *     * Redistributions in binary form must reproduce the above copyright
11  *       notice, this list of conditions and the following disclaimer in the
12  *       documentation and/or other materials provided with the distribution.
13  *     * Neither the name of Freescale Semiconductor nor the
14  *       names of its contributors may be used to endorse or promote products
15  *       derived from this software without specific prior written permission.
16  *
17  *
18  * ALTERNATIVELY, this software may be distributed under the terms of the
19  * GNU General Public License ("GPL") as published by the Free Software
20  * Foundation, either version 2 of that License or (at your option) any
21  * later version.
22  *
23  * THIS SOFTWARE IS PROVIDED BY Freescale Semiconductor ``AS IS'' AND ANY
24  * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
25  * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
26  * DISCLAIMED. IN NO EVENT SHALL Freescale Semiconductor BE LIABLE FOR ANY
27  * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
28  * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
29  * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
30  * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
31  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
32  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
33  */
35 &board_soc {
36         i2c@3100 {
37                 rtc@68 {
38                         compatible = "dallas,ds3232";
39                         reg = <0x68>;
40                         interrupts = <0 0x1 0 0>;
41                 };
42         };
44         spi@7000 {
45                 flash@0 {
46                         #address-cells = <1>;
47                         #size-cells = <1>;
48                         compatible = "spansion,s25sl12801";
49                         reg = <0>;
50                         spi-max-frequency = <40000000>;
51                         partition@u-boot {
52                                 label = "u-boot";
53                                 reg = <0x00000000 0x00100000>;
54                                 read-only;
55                         };
56                         partition@kernel {
57                                 label = "kernel";
58                                 reg = <0x00100000 0x00500000>;
59                                 read-only;
60                         };
61                         partition@dtb {
62                                 label = "dtb";
63                                 reg = <0x00600000 0x00100000>;
64                                 read-only;
65                         };
66                         partition@fs {
67                                 label = "file system";
68                                 reg = <0x00700000 0x00900000>;
69                         };
70                 };
71                 flash@1 {
72                         compatible = "spansion,s25sl12801";
73                         reg = <1>;
74                         spi-max-frequency = <40000000>;
75                 };
76                 flash@2 {
77                         compatible = "spansion,s25sl12801";
78                         reg = <2>;
79                         spi-max-frequency = <40000000>;
80                 };
81                 flash@3 {
82                         compatible = "spansion,s25sl12801";
83                         reg = <3>;
84                         spi-max-frequency = <40000000>;
85                 };
86         };
88         usb@22000 {
89                 phy_type = "ulpi";
90         };
92         usb@23000 {
93                 phy_type = "ulpi";
94         };
96         enet0: ethernet@24000 {
97                 tbi-handle = <&tbi0>;
98                 phy-handle = <&phy1>;
99                 phy-connection-type = "rgmii-id";
100         };
102         mdio@24520 {
103                 phy0: ethernet-phy@0 {
104                         interrupts = <10 0x1 0 0>;
105                         reg = <0>;
106                         device_type = "ethernet-phy";
107                 };
108                 phy1: ethernet-phy@1 {
109                         interrupts = <10 0x1 0 0>;
110                         reg = <1>;
111                         device_type = "ethernet-phy";
112                 };
113                 tbi0: tbi-phy@11 {
114                         reg = <0x11>;
115                         device_type = "tbi-phy";
116                 };
117         };
119         enet2: ethernet@26000 {
120                 tbi-handle = <&tbi1>;
121                 phy-handle = <&phy0>;
122                 phy-connection-type = "rgmii-id";
123         };
125         mdio@26520 {
126                 #address-cells = <1>;
127                 #size-cells = <0>;
128                 compatible = "fsl,gianfar-tbi";
129                 reg = <0x26520 0x20>;
131                 tbi1: tbi-phy@11 {
132                         reg = <0x11>;
133                         device_type = "tbi-phy";
134                 };
135         };
137         usb@2b000 {
138                 dr_mode = "peripheral";
139                 phy_type = "ulpi";
140         };