1d55ad296SIgal Liberman/*
2d55ad296SIgal Liberman * QorIQ FMan v3 device tree stub [ controller @ offset 0x400000 ]
3d55ad296SIgal Liberman *
4d55ad296SIgal Liberman * Copyright 2012 - 2015 Freescale Semiconductor Inc.
5d55ad296SIgal Liberman *
6d55ad296SIgal Liberman * Redistribution and use in source and binary forms, with or without
7d55ad296SIgal Liberman * modification, are permitted provided that the following conditions are met:
8d55ad296SIgal Liberman *     * Redistributions of source code must retain the above copyright
9d55ad296SIgal Liberman *	 notice, this list of conditions and the following disclaimer.
10d55ad296SIgal Liberman *     * Redistributions in binary form must reproduce the above copyright
11d55ad296SIgal Liberman *	 notice, this list of conditions and the following disclaimer in the
12d55ad296SIgal Liberman *	 documentation and/or other materials provided with the distribution.
13d55ad296SIgal Liberman *     * Neither the name of Freescale Semiconductor nor the
14d55ad296SIgal Liberman *	 names of its contributors may be used to endorse or promote products
15d55ad296SIgal Liberman *	 derived from this software without specific prior written permission.
16d55ad296SIgal Liberman *
17d55ad296SIgal Liberman *
18d55ad296SIgal Liberman * ALTERNATIVELY, this software may be distributed under the terms of the
19d55ad296SIgal Liberman * GNU General Public License ("GPL") as published by the Free Software
20d55ad296SIgal Liberman * Foundation, either version 2 of that License or (at your option) any
21d55ad296SIgal Liberman * later version.
22d55ad296SIgal Liberman *
23d55ad296SIgal Liberman * THIS SOFTWARE IS PROVIDED BY Freescale Semiconductor ``AS IS'' AND ANY
24d55ad296SIgal Liberman * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
25d55ad296SIgal Liberman * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
26d55ad296SIgal Liberman * DISCLAIMED. IN NO EVENT SHALL Freescale Semiconductor BE LIABLE FOR ANY
27d55ad296SIgal Liberman * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
28d55ad296SIgal Liberman * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
29d55ad296SIgal Liberman * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
30d55ad296SIgal Liberman * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
31d55ad296SIgal Liberman * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
32d55ad296SIgal Liberman * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
33d55ad296SIgal Liberman */
34d55ad296SIgal Liberman
35d55ad296SIgal Libermanfman0: fman@400000 {
36d55ad296SIgal Liberman	#address-cells = <1>;
37d55ad296SIgal Liberman	#size-cells = <1>;
38d55ad296SIgal Liberman	cell-index = <0>;
39d55ad296SIgal Liberman	compatible = "fsl,fman";
40dab4a026SYangbo Lu	ranges = <0 0x400000 0xfe000>;
41dab4a026SYangbo Lu	reg = <0x400000 0xfe000>;
42d55ad296SIgal Liberman	interrupts = <96 2 0 0>, <16 2 1 1>;
43d55ad296SIgal Liberman	clocks = <&clockgen 3 0>;
44d55ad296SIgal Liberman	clock-names = "fmanclk";
45d55ad296SIgal Liberman	fsl,qman-channel-range = <0x800 0x10>;
46dab4a026SYangbo Lu	ptimer-handle = <&ptp_timer0>;
47d55ad296SIgal Liberman
48d55ad296SIgal Liberman	muram@0 {
49d55ad296SIgal Liberman		compatible = "fsl,fman-muram";
50d55ad296SIgal Liberman		reg = <0x0 0x60000>;
51d55ad296SIgal Liberman	};
52d55ad296SIgal Liberman
53d55ad296SIgal Liberman	fman0_oh_0x2: port@82000 {
54d55ad296SIgal Liberman		cell-index = <0x2>;
55d55ad296SIgal Liberman		compatible = "fsl,fman-v3-port-oh";
56d55ad296SIgal Liberman		reg = <0x82000 0x1000>;
57d55ad296SIgal Liberman	};
58d55ad296SIgal Liberman
59d55ad296SIgal Liberman	fman0_oh_0x3: port@83000 {
60d55ad296SIgal Liberman		cell-index = <0x3>;
61d55ad296SIgal Liberman		compatible = "fsl,fman-v3-port-oh";
62d55ad296SIgal Liberman		reg = <0x83000 0x1000>;
63d55ad296SIgal Liberman	};
64d55ad296SIgal Liberman
65d55ad296SIgal Liberman	fman0_oh_0x4: port@84000 {
66d55ad296SIgal Liberman		cell-index = <0x4>;
67d55ad296SIgal Liberman		compatible = "fsl,fman-v3-port-oh";
68d55ad296SIgal Liberman		reg = <0x84000 0x1000>;
69d55ad296SIgal Liberman	};
70d55ad296SIgal Liberman
71d55ad296SIgal Liberman	fman0_oh_0x5: port@85000 {
72d55ad296SIgal Liberman		cell-index = <0x5>;
73d55ad296SIgal Liberman		compatible = "fsl,fman-v3-port-oh";
74d55ad296SIgal Liberman		reg = <0x85000 0x1000>;
75d55ad296SIgal Liberman	};
76d55ad296SIgal Liberman
77d55ad296SIgal Liberman	fman0_oh_0x6: port@86000 {
78d55ad296SIgal Liberman		cell-index = <0x6>;
79d55ad296SIgal Liberman		compatible = "fsl,fman-v3-port-oh";
80d55ad296SIgal Liberman		reg = <0x86000 0x1000>;
81d55ad296SIgal Liberman	};
82d55ad296SIgal Liberman
83d55ad296SIgal Liberman	fman0_oh_0x7: port@87000 {
84d55ad296SIgal Liberman		cell-index = <0x7>;
85d55ad296SIgal Liberman		compatible = "fsl,fman-v3-port-oh";
86d55ad296SIgal Liberman		reg = <0x87000 0x1000>;
87d55ad296SIgal Liberman	};
88d55ad296SIgal Liberman
89d55ad296SIgal Liberman	mdio0: mdio@fc000 {
90d55ad296SIgal Liberman		#address-cells = <1>;
91d55ad296SIgal Liberman		#size-cells = <0>;
92d55ad296SIgal Liberman		compatible = "fsl,fman-memac-mdio", "fsl,fman-xmdio";
93d55ad296SIgal Liberman		reg = <0xfc000 0x1000>;
94d55ad296SIgal Liberman	};
95d55ad296SIgal Liberman
96d55ad296SIgal Liberman	xmdio0: mdio@fd000 {
97d55ad296SIgal Liberman		#address-cells = <1>;
98d55ad296SIgal Liberman		#size-cells = <0>;
99d55ad296SIgal Liberman		compatible = "fsl,fman-memac-mdio", "fsl,fman-xmdio";
100d55ad296SIgal Liberman		reg = <0xfd000 0x1000>;
101d55ad296SIgal Liberman	};
102d55ad296SIgal Liberman};
103dab4a026SYangbo Lu
104dab4a026SYangbo Luptp_timer0: ptp-timer@4fe000 {
105dab4a026SYangbo Lu	compatible = "fsl,fman-ptp-timer";
106dab4a026SYangbo Lu	reg = <0x4fe000 0x1000>;
107dab4a026SYangbo Lu	interrupts = <96 2 0 0>;
108d55ad296SIgal Liberman};
109