xref: /freebsd-src/sys/contrib/device-tree/src/powerpc/fsl/p1022rdk.dts (revision aa1a8ff2d6dbc51ef058f46f3db5a8bb77967145)
1*c66ec88fSEmmanuel Vadot/*
2*c66ec88fSEmmanuel Vadot * P1022 RDK 32-bit Physical Address Map Device Tree Source
3*c66ec88fSEmmanuel Vadot *
4*c66ec88fSEmmanuel Vadot * Copyright 2012 Freescale Semiconductor Inc.
5*c66ec88fSEmmanuel Vadot *
6*c66ec88fSEmmanuel Vadot * Redistribution and use in source and binary forms, with or without
7*c66ec88fSEmmanuel Vadot * modification, are permitted provided that the following conditions are met:
8*c66ec88fSEmmanuel Vadot *     * Redistributions of source code must retain the above copyright
9*c66ec88fSEmmanuel Vadot *       notice, this list of conditions and the following disclaimer.
10*c66ec88fSEmmanuel Vadot *     * Redistributions in binary form must reproduce the above copyright
11*c66ec88fSEmmanuel Vadot *       notice, this list of conditions and the following disclaimer in the
12*c66ec88fSEmmanuel Vadot *       documentation and/or other materials provided with the distribution.
13*c66ec88fSEmmanuel Vadot *     * Neither the name of Freescale Semiconductor nor the
14*c66ec88fSEmmanuel Vadot *       names of its contributors may be used to endorse or promote products
15*c66ec88fSEmmanuel Vadot *       derived from this software without specific prior written permission.
16*c66ec88fSEmmanuel Vadot *
17*c66ec88fSEmmanuel Vadot *
18*c66ec88fSEmmanuel Vadot * ALTERNATIVELY, this software may be distributed under the terms of the
19*c66ec88fSEmmanuel Vadot * GNU General Public License ("GPL") as published by the Free Software
20*c66ec88fSEmmanuel Vadot * Foundation, either version 2 of that License or (at your option) any
21*c66ec88fSEmmanuel Vadot * later version.
22*c66ec88fSEmmanuel Vadot *
23*c66ec88fSEmmanuel Vadot * THIS SOFTWARE IS PROVIDED BY Freescale Semiconductor "AS IS" AND ANY
24*c66ec88fSEmmanuel Vadot * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
25*c66ec88fSEmmanuel Vadot * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
26*c66ec88fSEmmanuel Vadot * DISCLAIMED. IN NO EVENT SHALL Freescale Semiconductor BE LIABLE FOR ANY
27*c66ec88fSEmmanuel Vadot * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
28*c66ec88fSEmmanuel Vadot * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
29*c66ec88fSEmmanuel Vadot * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
30*c66ec88fSEmmanuel Vadot * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
31*c66ec88fSEmmanuel Vadot * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
32*c66ec88fSEmmanuel Vadot * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
33*c66ec88fSEmmanuel Vadot */
34*c66ec88fSEmmanuel Vadot
35*c66ec88fSEmmanuel Vadot/include/ "p1022si-pre.dtsi"
36*c66ec88fSEmmanuel Vadot/ {
37*c66ec88fSEmmanuel Vadot	model = "fsl,P1022RDK";
38*c66ec88fSEmmanuel Vadot	compatible = "fsl,P1022RDK";
39*c66ec88fSEmmanuel Vadot
40*c66ec88fSEmmanuel Vadot	memory {
41*c66ec88fSEmmanuel Vadot		device_type = "memory";
42*c66ec88fSEmmanuel Vadot	};
43*c66ec88fSEmmanuel Vadot
44*c66ec88fSEmmanuel Vadot	board_lbc: lbc: localbus@ffe05000 {
45*c66ec88fSEmmanuel Vadot		/* The P1022 RDK does not have any localbus devices */
46*c66ec88fSEmmanuel Vadot		status = "disabled";
47*c66ec88fSEmmanuel Vadot	};
48*c66ec88fSEmmanuel Vadot
49*c66ec88fSEmmanuel Vadot	board_soc: soc: soc@ffe00000 {
50*c66ec88fSEmmanuel Vadot		ranges = <0x0 0x0 0xffe00000 0x100000>;
51*c66ec88fSEmmanuel Vadot
52*c66ec88fSEmmanuel Vadot		i2c@3100 {
53*c66ec88fSEmmanuel Vadot			wm8960:codec@1a {
54*c66ec88fSEmmanuel Vadot				compatible = "wlf,wm8960";
55*c66ec88fSEmmanuel Vadot				reg = <0x1a>;
56*c66ec88fSEmmanuel Vadot				/* MCLK source is a stand-alone oscillator */
57*c66ec88fSEmmanuel Vadot				clock-frequency = <12288000>;
58*c66ec88fSEmmanuel Vadot			};
59*c66ec88fSEmmanuel Vadot			rtc@68 {
60*c66ec88fSEmmanuel Vadot				compatible = "st,m41t62";
61*c66ec88fSEmmanuel Vadot				reg = <0x68>;
62*c66ec88fSEmmanuel Vadot			};
63*c66ec88fSEmmanuel Vadot			adt7461@4c {
64*c66ec88fSEmmanuel Vadot				compatible = "adi,adt7461";
65*c66ec88fSEmmanuel Vadot				reg = <0x4c>;
66*c66ec88fSEmmanuel Vadot			};
67*c66ec88fSEmmanuel Vadot			zl6100@21 {
68*c66ec88fSEmmanuel Vadot				compatible = "isil,zl6100";
69*c66ec88fSEmmanuel Vadot				reg = <0x21>;
70*c66ec88fSEmmanuel Vadot			};
71*c66ec88fSEmmanuel Vadot			zl6100@24 {
72*c66ec88fSEmmanuel Vadot				compatible = "isil,zl6100";
73*c66ec88fSEmmanuel Vadot				reg = <0x24>;
74*c66ec88fSEmmanuel Vadot			};
75*c66ec88fSEmmanuel Vadot			zl6100@26 {
76*c66ec88fSEmmanuel Vadot				compatible = "isil,zl6100";
77*c66ec88fSEmmanuel Vadot				reg = <0x26>;
78*c66ec88fSEmmanuel Vadot			};
79*c66ec88fSEmmanuel Vadot			zl6100@29 {
80*c66ec88fSEmmanuel Vadot				compatible = "isil,zl6100";
81*c66ec88fSEmmanuel Vadot				reg = <0x29>;
82*c66ec88fSEmmanuel Vadot			};
83*c66ec88fSEmmanuel Vadot		};
84*c66ec88fSEmmanuel Vadot
85*c66ec88fSEmmanuel Vadot		spi@7000 {
86*c66ec88fSEmmanuel Vadot			flash@0 {
87*c66ec88fSEmmanuel Vadot				#address-cells = <1>;
88*c66ec88fSEmmanuel Vadot				#size-cells = <1>;
89*c66ec88fSEmmanuel Vadot				compatible = "spansion,m25p80", "jedec,spi-nor";
90*c66ec88fSEmmanuel Vadot				reg = <0>;
91*c66ec88fSEmmanuel Vadot				spi-max-frequency = <1000000>;
92*c66ec88fSEmmanuel Vadot				partition@0 {
93*c66ec88fSEmmanuel Vadot					label = "full-spi-flash";
94*c66ec88fSEmmanuel Vadot					reg = <0x00000000 0x00100000>;
95*c66ec88fSEmmanuel Vadot				};
96*c66ec88fSEmmanuel Vadot			};
97*c66ec88fSEmmanuel Vadot		};
98*c66ec88fSEmmanuel Vadot
99*c66ec88fSEmmanuel Vadot		ssi@15000 {
100*c66ec88fSEmmanuel Vadot			fsl,mode = "i2s-slave";
101*c66ec88fSEmmanuel Vadot			codec-handle = <&wm8960>;
102*c66ec88fSEmmanuel Vadot		};
103*c66ec88fSEmmanuel Vadot
104*c66ec88fSEmmanuel Vadot		usb@22000 {
105*c66ec88fSEmmanuel Vadot			phy_type = "ulpi";
106*c66ec88fSEmmanuel Vadot		};
107*c66ec88fSEmmanuel Vadot
108*c66ec88fSEmmanuel Vadot		usb@23000 {
109*c66ec88fSEmmanuel Vadot			phy_type = "ulpi";
110*c66ec88fSEmmanuel Vadot		};
111*c66ec88fSEmmanuel Vadot
112*c66ec88fSEmmanuel Vadot		mdio@24000 {
113*c66ec88fSEmmanuel Vadot			phy0: ethernet-phy@0 {
114*c66ec88fSEmmanuel Vadot				interrupts = <3 1 0 0>;
115*c66ec88fSEmmanuel Vadot				reg = <0x1>;
116*c66ec88fSEmmanuel Vadot			};
117*c66ec88fSEmmanuel Vadot			phy1: ethernet-phy@1 {
118*c66ec88fSEmmanuel Vadot				interrupts = <9 1 0 0>;
119*c66ec88fSEmmanuel Vadot				reg = <0x2>;
120*c66ec88fSEmmanuel Vadot			};
121*c66ec88fSEmmanuel Vadot		};
122*c66ec88fSEmmanuel Vadot
123*c66ec88fSEmmanuel Vadot		mdio@25000 {
124*c66ec88fSEmmanuel Vadot			tbi0: tbi-phy@11 {
125*c66ec88fSEmmanuel Vadot				reg = <0x11>;
126*c66ec88fSEmmanuel Vadot				device_type = "tbi-phy";
127*c66ec88fSEmmanuel Vadot			};
128*c66ec88fSEmmanuel Vadot		};
129*c66ec88fSEmmanuel Vadot
130*c66ec88fSEmmanuel Vadot		ethernet@b0000 {
131*c66ec88fSEmmanuel Vadot			phy-handle = <&phy0>;
132*c66ec88fSEmmanuel Vadot			phy-connection-type = "rgmii-id";
133*c66ec88fSEmmanuel Vadot		};
134*c66ec88fSEmmanuel Vadot
135*c66ec88fSEmmanuel Vadot		ethernet@b1000 {
136*c66ec88fSEmmanuel Vadot			phy-handle = <&phy1>;
137*c66ec88fSEmmanuel Vadot			tbi-handle = <&tbi0>;
138*c66ec88fSEmmanuel Vadot			phy-connection-type = "sgmii";
139*c66ec88fSEmmanuel Vadot		};
140*c66ec88fSEmmanuel Vadot	};
141*c66ec88fSEmmanuel Vadot
142*c66ec88fSEmmanuel Vadot	pci0: pcie@ffe09000 {
143*c66ec88fSEmmanuel Vadot		ranges = <0x2000000 0x0 0xe0000000 0 0xa0000000 0x0 0x20000000
144*c66ec88fSEmmanuel Vadot			  0x1000000 0x0 0x00000000 0 0xffc10000 0x0 0x10000>;
145*c66ec88fSEmmanuel Vadot		reg = <0x0 0xffe09000 0 0x1000>;
146*c66ec88fSEmmanuel Vadot		pcie@0 {
147*c66ec88fSEmmanuel Vadot			ranges = <0x2000000 0x0 0xe0000000
148*c66ec88fSEmmanuel Vadot				  0x2000000 0x0 0xe0000000
149*c66ec88fSEmmanuel Vadot				  0x0 0x20000000
150*c66ec88fSEmmanuel Vadot
151*c66ec88fSEmmanuel Vadot				  0x1000000 0x0 0x0
152*c66ec88fSEmmanuel Vadot				  0x1000000 0x0 0x0
153*c66ec88fSEmmanuel Vadot				  0x0 0x100000>;
154*c66ec88fSEmmanuel Vadot		};
155*c66ec88fSEmmanuel Vadot	};
156*c66ec88fSEmmanuel Vadot
157*c66ec88fSEmmanuel Vadot	pci1: pcie@ffe0a000 {
158*c66ec88fSEmmanuel Vadot		ranges = <0x2000000 0x0 0xe0000000 0 0xc0000000 0x0 0x20000000
159*c66ec88fSEmmanuel Vadot			  0x1000000 0x0 0x00000000 0 0xffc20000 0x0 0x10000>;
160*c66ec88fSEmmanuel Vadot		reg = <0 0xffe0a000 0 0x1000>;
161*c66ec88fSEmmanuel Vadot		pcie@0 {
162*c66ec88fSEmmanuel Vadot			ranges = <0x2000000 0x0 0xe0000000
163*c66ec88fSEmmanuel Vadot				  0x2000000 0x0 0xe0000000
164*c66ec88fSEmmanuel Vadot				  0x0 0x20000000
165*c66ec88fSEmmanuel Vadot
166*c66ec88fSEmmanuel Vadot				  0x1000000 0x0 0x0
167*c66ec88fSEmmanuel Vadot				  0x1000000 0x0 0x0
168*c66ec88fSEmmanuel Vadot				  0x0 0x100000>;
169*c66ec88fSEmmanuel Vadot		};
170*c66ec88fSEmmanuel Vadot	};
171*c66ec88fSEmmanuel Vadot
172*c66ec88fSEmmanuel Vadot	pci2: pcie@ffe0b000 {
173*c66ec88fSEmmanuel Vadot		ranges = <0x2000000 0x0 0xe0000000 0 0x80000000 0x0 0x20000000
174*c66ec88fSEmmanuel Vadot			  0x1000000 0x0 0x00000000 0 0xffc00000 0x0 0x10000>;
175*c66ec88fSEmmanuel Vadot		reg = <0 0xffe0b000 0 0x1000>;
176*c66ec88fSEmmanuel Vadot		pcie@0 {
177*c66ec88fSEmmanuel Vadot			ranges = <0x2000000 0x0 0xe0000000
178*c66ec88fSEmmanuel Vadot				  0x2000000 0x0 0xe0000000
179*c66ec88fSEmmanuel Vadot				  0x0 0x20000000
180*c66ec88fSEmmanuel Vadot
181*c66ec88fSEmmanuel Vadot				  0x1000000 0x0 0x0
182*c66ec88fSEmmanuel Vadot				  0x1000000 0x0 0x0
183*c66ec88fSEmmanuel Vadot				  0x0 0x100000>;
184*c66ec88fSEmmanuel Vadot		};
185*c66ec88fSEmmanuel Vadot	};
186*c66ec88fSEmmanuel Vadot};
187*c66ec88fSEmmanuel Vadot
188*c66ec88fSEmmanuel Vadot/include/ "p1022si-post.dtsi"
189