1dc37374bSHongtao Jia/*
2dc37374bSHongtao Jia * PPA8548 Device Tree Source (36-bit address map)
3dc37374bSHongtao Jia * Copyright 2013 Prodrive B.V.
4dc37374bSHongtao Jia *
5dc37374bSHongtao Jia * Based on:
6dc37374bSHongtao Jia * MPC8548 CDS Device Tree Source (36-bit address map)
7dc37374bSHongtao Jia * Copyright 2012 Freescale Semiconductor Inc.
8dc37374bSHongtao Jia *
9dc37374bSHongtao Jia * This program is free software; you can redistribute  it and/or modify it
10dc37374bSHongtao Jia * under  the terms of  the GNU General  Public License as published by the
11dc37374bSHongtao Jia * Free Software Foundation;  either version 2 of the  License, or (at your
12dc37374bSHongtao Jia * option) any later version.
13dc37374bSHongtao Jia */
14dc37374bSHongtao Jia
15dc37374bSHongtao Jia/include/ "mpc8548si-pre.dtsi"
16dc37374bSHongtao Jia
17dc37374bSHongtao Jia/ {
18dc37374bSHongtao Jia	model = "ppa8548";
19dc37374bSHongtao Jia	compatible = "ppa8548";
20dc37374bSHongtao Jia	#address-cells = <2>;
21dc37374bSHongtao Jia	#size-cells = <2>;
22dc37374bSHongtao Jia	interrupt-parent = <&mpic>;
23dc37374bSHongtao Jia
24dc37374bSHongtao Jia	memory {
25dc37374bSHongtao Jia		device_type = "memory";
26dc37374bSHongtao Jia		reg = <0 0 0x0 0x40000000>;
27dc37374bSHongtao Jia	};
28dc37374bSHongtao Jia
29dc37374bSHongtao Jia	lbc: localbus@fe0005000 {
30dc37374bSHongtao Jia		reg = <0xf 0xe0005000 0 0x1000>;
31dc37374bSHongtao Jia		ranges = <0x0 0x0 0xf 0xff800000 0x00800000>;
32dc37374bSHongtao Jia	};
33dc37374bSHongtao Jia
34dc37374bSHongtao Jia	soc: soc8548@fe0000000 {
35dc37374bSHongtao Jia		ranges = <0 0xf 0xe0000000 0x100000>;
36dc37374bSHongtao Jia	};
37dc37374bSHongtao Jia
38dc37374bSHongtao Jia	pci0: pci@fe0008000 {
39dc37374bSHongtao Jia		/* ppa8548 board doesn't support PCI */
40dc37374bSHongtao Jia		status = "disabled";
41dc37374bSHongtao Jia	};
42dc37374bSHongtao Jia
43dc37374bSHongtao Jia	pci1: pci@fe0009000 {
44dc37374bSHongtao Jia		/* ppa8548 board doesn't support PCI */
45dc37374bSHongtao Jia		status = "disabled";
46dc37374bSHongtao Jia	};
47dc37374bSHongtao Jia
48dc37374bSHongtao Jia	pci2: pcie@fe000a000 {
49dc37374bSHongtao Jia		/* ppa8548 board doesn't support PCI */
50dc37374bSHongtao Jia		status = "disabled";
51dc37374bSHongtao Jia	};
52dc37374bSHongtao Jia
53dc37374bSHongtao Jia	rio: rapidio@fe00c0000 {
54dc37374bSHongtao Jia		reg = <0xf 0xe00c0000 0x0 0x11000>;
55dc37374bSHongtao Jia		port1 {
56dc37374bSHongtao Jia			ranges = <0x0 0x0 0x0 0x80000000 0x0 0x40000000>;
57dc37374bSHongtao Jia		};
58dc37374bSHongtao Jia	};
59dc37374bSHongtao Jia};
60dc37374bSHongtao Jia
61dc37374bSHongtao Jia&lbc {
62dc37374bSHongtao Jia	nor@0 {
63dc37374bSHongtao Jia		#address-cells = <1>;
64dc37374bSHongtao Jia		#size-cells = <1>;
65dc37374bSHongtao Jia		compatible = "cfi-flash";
66dc37374bSHongtao Jia		reg = <0x0 0x0 0x00800000>;
67dc37374bSHongtao Jia		bank-width = <2>;
68dc37374bSHongtao Jia		device-width = <2>;
69dc37374bSHongtao Jia
70dc37374bSHongtao Jia		partition@0 {
71dc37374bSHongtao Jia			reg = <0x0 0x7A0000>;
72dc37374bSHongtao Jia			label = "user";
73dc37374bSHongtao Jia		};
74dc37374bSHongtao Jia
75dc37374bSHongtao Jia		partition@7A0000 {
76dc37374bSHongtao Jia			reg = <0x7A0000 0x20000>;
77dc37374bSHongtao Jia			label = "env";
78dc37374bSHongtao Jia			read-only;
79dc37374bSHongtao Jia		};
80dc37374bSHongtao Jia
81dc37374bSHongtao Jia		partition@7C0000 {
82dc37374bSHongtao Jia			reg = <0x7C0000 0x40000>;
83dc37374bSHongtao Jia			label = "u-boot";
84dc37374bSHongtao Jia			read-only;
85dc37374bSHongtao Jia		};
86dc37374bSHongtao Jia	};
87dc37374bSHongtao Jia};
88dc37374bSHongtao Jia
89dc37374bSHongtao Jia&soc {
90dc37374bSHongtao Jia	i2c@3000 {
91dc37374bSHongtao Jia		rtc@6f {
92dc37374bSHongtao Jia			compatible = "intersil,isl1208";
93dc37374bSHongtao Jia			reg = <0x6f>;
94dc37374bSHongtao Jia		};
95dc37374bSHongtao Jia	};
96dc37374bSHongtao Jia
97dc37374bSHongtao Jia	i2c@3100 {
98dc37374bSHongtao Jia	};
99dc37374bSHongtao Jia
100dc37374bSHongtao Jia	/*
101dc37374bSHongtao Jia	 * Only ethernet controller @25000 and @26000 are used.
102dc37374bSHongtao Jia	 * Use alias enet2 and enet3 for the remainig controllers,
103dc37374bSHongtao Jia	 * to stay compatible with mpc8548si-pre.dtsi.
104dc37374bSHongtao Jia	 */
105dc37374bSHongtao Jia	enet2: ethernet@24000 {
106dc37374bSHongtao Jia		status = "disabled";
107dc37374bSHongtao Jia	};
108dc37374bSHongtao Jia
109dc37374bSHongtao Jia	mdio@24520 {
110dc37374bSHongtao Jia		phy0: ethernet-phy@0 {
111dc37374bSHongtao Jia			interrupts = <7 1 0 0>;
112dc37374bSHongtao Jia			reg = <0x0>;
113dc37374bSHongtao Jia		};
114dc37374bSHongtao Jia		phy1: ethernet-phy@1 {
115dc37374bSHongtao Jia			interrupts = <8 1 0 0>;
116dc37374bSHongtao Jia			reg = <0x1>;
117dc37374bSHongtao Jia		};
118dc37374bSHongtao Jia		tbi0: tbi-phy@11 {
119dc37374bSHongtao Jia			reg = <0x11>;
120dc37374bSHongtao Jia			device_type = "tbi-phy";
121dc37374bSHongtao Jia		};
122dc37374bSHongtao Jia	};
123dc37374bSHongtao Jia
124dc37374bSHongtao Jia	enet0: ethernet@25000 {
125dc37374bSHongtao Jia		tbi-handle = <&tbi1>;
126dc37374bSHongtao Jia		phy-handle = <&phy0>;
127dc37374bSHongtao Jia	};
128dc37374bSHongtao Jia
129dc37374bSHongtao Jia	mdio@25520 {
130dc37374bSHongtao Jia		tbi1: tbi-phy@11 {
131dc37374bSHongtao Jia			reg = <0x11>;
132dc37374bSHongtao Jia			device_type = "tbi-phy";
133dc37374bSHongtao Jia		};
134dc37374bSHongtao Jia	};
135dc37374bSHongtao Jia
136dc37374bSHongtao Jia	enet1: ethernet@26000 {
137dc37374bSHongtao Jia		tbi-handle = <&tbi2>;
138dc37374bSHongtao Jia		phy-handle = <&phy1>;
139dc37374bSHongtao Jia	};
140dc37374bSHongtao Jia
141dc37374bSHongtao Jia	mdio@26520 {
142dc37374bSHongtao Jia		tbi2: tbi-phy@11 {
143dc37374bSHongtao Jia			reg = <0x11>;
144dc37374bSHongtao Jia			device_type = "tbi-phy";
145dc37374bSHongtao Jia		};
146dc37374bSHongtao Jia	};
147dc37374bSHongtao Jia
148dc37374bSHongtao Jia	enet3: ethernet@27000 {
149dc37374bSHongtao Jia		status = "disabled";
150dc37374bSHongtao Jia	};
151dc37374bSHongtao Jia
152dc37374bSHongtao Jia	mdio@27520 {
153dc37374bSHongtao Jia		tbi3: tbi-phy@11 {
154dc37374bSHongtao Jia			reg = <0x11>;
155dc37374bSHongtao Jia			device_type = "tbi-phy";
156dc37374bSHongtao Jia		};
157dc37374bSHongtao Jia	};
158dc37374bSHongtao Jia
159dc37374bSHongtao Jia	crypto@30000 {
160dc37374bSHongtao Jia		status = "disabled";
161dc37374bSHongtao Jia	};
162dc37374bSHongtao Jia};
163dc37374bSHongtao Jia
164dc37374bSHongtao Jia/include/ "mpc8548si-post.dtsi"
165