1334479d1SAlessio Igor Bogani/*
2334479d1SAlessio Igor Bogani * MPC8641 Silicon/SoC Device Tree Source (post include)
3334479d1SAlessio Igor Bogani *
4334479d1SAlessio Igor Bogani * Copyright 2016 Elettra-Sincrotrone Trieste S.C.p.A.
5334479d1SAlessio Igor Bogani *
6334479d1SAlessio Igor Bogani * This program is free software; you can redistribute  it and/or modify it
7334479d1SAlessio Igor Bogani * under  the terms of  the GNU General  Public License as published by the
8334479d1SAlessio Igor Bogani * Free Software Foundation;  either version 2 of the  License, or (at your
9334479d1SAlessio Igor Bogani * option) any later version.
10334479d1SAlessio Igor Bogani *
11334479d1SAlessio Igor Bogani */
12334479d1SAlessio Igor Bogani
13334479d1SAlessio Igor Bogani&lbc {
14334479d1SAlessio Igor Bogani	#address-cells = <2>;
15334479d1SAlessio Igor Bogani	#size-cells = <1>;
16334479d1SAlessio Igor Bogani	compatible = "fsl,mpc8641-localbus", "simple-bus";
17334479d1SAlessio Igor Bogani	interrupts = <19 2 0 0>;
18334479d1SAlessio Igor Bogani};
19334479d1SAlessio Igor Bogani
20334479d1SAlessio Igor Bogani&soc {
21334479d1SAlessio Igor Bogani	#address-cells = <1>;
22334479d1SAlessio Igor Bogani	#size-cells = <1>;
23334479d1SAlessio Igor Bogani	device_type = "soc";
24334479d1SAlessio Igor Bogani	compatible = "fsl,mpc8641-soc", "simple-bus";
25334479d1SAlessio Igor Bogani	bus-frequency = <0>;
26334479d1SAlessio Igor Bogani
27334479d1SAlessio Igor Bogani	mcm-law@0 {
28334479d1SAlessio Igor Bogani		compatible = "fsl,mcm-law";
29334479d1SAlessio Igor Bogani		reg = <0x0 0x1000>;
30334479d1SAlessio Igor Bogani		fsl,num-laws = <10>;
31334479d1SAlessio Igor Bogani	};
32334479d1SAlessio Igor Bogani
33334479d1SAlessio Igor Bogani	mcm@1000 {
34334479d1SAlessio Igor Bogani		compatible = "fsl,mpc8641-mcm", "fsl,mcm";
35334479d1SAlessio Igor Bogani		reg = <0x1000 0x1000>;
36334479d1SAlessio Igor Bogani		interrupts = <17 2 0 0>;
37334479d1SAlessio Igor Bogani	};
38334479d1SAlessio Igor Bogani
39334479d1SAlessio Igor Bogani/include/ "pq3-i2c-0.dtsi"
40334479d1SAlessio Igor Bogani/include/ "pq3-i2c-1.dtsi"
41334479d1SAlessio Igor Bogani/include/ "pq3-duart-0.dtsi"
42334479d1SAlessio Igor Bogani	serial@4600 {
43334479d1SAlessio Igor Bogani		interrupts = <28 2 0 0>;
44334479d1SAlessio Igor Bogani	};
45334479d1SAlessio Igor Bogani/include/ "pq3-dma-0.dtsi"
46334479d1SAlessio Igor Bogani	dma@21300 {
47334479d1SAlessio Igor Bogani		compatible = "fsl,mpc8641-dma", "fsl,eloplus-dma";
48334479d1SAlessio Igor Bogani	};
49334479d1SAlessio Igor Bogani	dma-channel@0 {
50334479d1SAlessio Igor Bogani		compatible = "fsl,mpc8641-dma-channel", "fsl,eloplus-dma-channel";
51334479d1SAlessio Igor Bogani	};
52334479d1SAlessio Igor Bogani	dma-channel@80 {
53334479d1SAlessio Igor Bogani		compatible = "fsl,mpc8641-dma-channel", "fsl,eloplus-dma-channel";
54334479d1SAlessio Igor Bogani	};
55334479d1SAlessio Igor Bogani	dma-channel@100 {
56334479d1SAlessio Igor Bogani		compatible = "fsl,mpc8641-dma-channel", "fsl,eloplus-dma-channel";
57334479d1SAlessio Igor Bogani	};
58334479d1SAlessio Igor Bogani	dma-channel@180 {
59334479d1SAlessio Igor Bogani		compatible = "fsl,mpc8641-dma-channel", "fsl,eloplus-dma-channel";
60334479d1SAlessio Igor Bogani	};
61334479d1SAlessio Igor Bogani
62334479d1SAlessio Igor Bogani/include/ "pq3-etsec1-0.dtsi"
63334479d1SAlessio Igor Bogani	ethernet@24000 {
64334479d1SAlessio Igor Bogani		model = "TSEC";
65334479d1SAlessio Igor Bogani	};
66334479d1SAlessio Igor Bogani/include/ "pq3-etsec1-1.dtsi"
67334479d1SAlessio Igor Bogani	ethernet@25000 {
68334479d1SAlessio Igor Bogani		model = "TSEC";
69334479d1SAlessio Igor Bogani	};
70334479d1SAlessio Igor Bogani/include/ "pq3-etsec1-2.dtsi"
71334479d1SAlessio Igor Bogani	ethernet@26000 {
72334479d1SAlessio Igor Bogani		model = "TSEC";
73334479d1SAlessio Igor Bogani	};
74334479d1SAlessio Igor Bogani/include/ "pq3-etsec1-3.dtsi"
75334479d1SAlessio Igor Bogani	ethernet@27000 {
76334479d1SAlessio Igor Bogani		model = "TSEC";
77334479d1SAlessio Igor Bogani	};
78334479d1SAlessio Igor Bogani
79334479d1SAlessio Igor Bogani/include/ "qoriq-mpic.dtsi"
80334479d1SAlessio Igor Bogani	msi@41600 {
81334479d1SAlessio Igor Bogani		compatible = "fsl,mpc8641-msi", "fsl,mpic-msi";
82334479d1SAlessio Igor Bogani	};
83334479d1SAlessio Igor Bogani	msi@41800 {
84334479d1SAlessio Igor Bogani		compatible = "fsl,mpc8641-msi", "fsl,mpic-msi";
85334479d1SAlessio Igor Bogani	};
86334479d1SAlessio Igor Bogani	msi@41a00 {
87334479d1SAlessio Igor Bogani		compatible = "fsl,mpc8641-msi", "fsl,mpic-msi";
88334479d1SAlessio Igor Bogani	};
89334479d1SAlessio Igor Bogani
90334479d1SAlessio Igor Bogani	global-utilities@e0000 {
91334479d1SAlessio Igor Bogani		compatible = "fsl,mpc8641-guts";
92334479d1SAlessio Igor Bogani		reg = <0xe0000 0x1000>;
93334479d1SAlessio Igor Bogani		fsl,has-rstcr;
94334479d1SAlessio Igor Bogani	};
95334479d1SAlessio Igor Bogani};
96334479d1SAlessio Igor Bogani
97334479d1SAlessio Igor Bogani&pci0 {
98334479d1SAlessio Igor Bogani	compatible = "fsl,mpc8641-pcie";
99334479d1SAlessio Igor Bogani	device_type = "pci";
100334479d1SAlessio Igor Bogani	#size-cells = <2>;
101334479d1SAlessio Igor Bogani	#address-cells = <3>;
102334479d1SAlessio Igor Bogani	bus-range = <0x0 0xff>;
103334479d1SAlessio Igor Bogani	clock-frequency = <100000000>;
104334479d1SAlessio Igor Bogani	interrupts = <24 2 0 0>;
105334479d1SAlessio Igor Bogani	interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
106334479d1SAlessio Igor Bogani
107334479d1SAlessio Igor Bogani	interrupt-map = <
108334479d1SAlessio Igor Bogani		0x0000 0x0 0x0 0x1 &mpic 0x0 0x1
109334479d1SAlessio Igor Bogani		0x0000 0x0 0x0 0x2 &mpic 0x1 0x1
110334479d1SAlessio Igor Bogani		0x0000 0x0 0x0 0x3 &mpic 0x2 0x1
111334479d1SAlessio Igor Bogani		0x0000 0x0 0x0 0x4 &mpic 0x3 0x1
112334479d1SAlessio Igor Bogani		>;
113334479d1SAlessio Igor Bogani
114334479d1SAlessio Igor Bogani	pcie@0 {
115334479d1SAlessio Igor Bogani		reg = <0 0 0 0 0>;
116334479d1SAlessio Igor Bogani		#size-cells = <2>;
117334479d1SAlessio Igor Bogani		#address-cells = <3>;
118334479d1SAlessio Igor Bogani		device_type = "pci";
119334479d1SAlessio Igor Bogani	};
120334479d1SAlessio Igor Bogani};
121