1// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
2/*
3 * QorIQ FMan v3 device tree
4 *
5 * Copyright 2012-2015 Freescale Semiconductor Inc.
6 *
7 */
8
9fman0: fman@1a00000 {
10	#address-cells = <1>;
11	#size-cells = <1>;
12	cell-index = <0>;
13	compatible = "fsl,fman";
14	ranges = <0x0 0x0 0x1a00000 0xfe000>;
15	reg = <0x0 0x1a00000 0x0 0xfe000>;
16	interrupts = <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>,
17		     <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>;
18	clocks = <&clockgen 3 0>;
19	clock-names = "fmanclk";
20	fsl,qman-channel-range = <0x800 0x10>;
21	ptimer-handle = <&ptp_timer0>;
22
23	muram@0 {
24		compatible = "fsl,fman-muram";
25		reg = <0x0 0x60000>;
26	};
27
28	fman0_oh_0x2: port@82000 {
29		cell-index = <0x2>;
30		compatible = "fsl,fman-v3-port-oh";
31		reg = <0x82000 0x1000>;
32	};
33
34	fman0_oh_0x3: port@83000 {
35		cell-index = <0x3>;
36		compatible = "fsl,fman-v3-port-oh";
37		reg = <0x83000 0x1000>;
38	};
39
40	fman0_oh_0x4: port@84000 {
41		cell-index = <0x4>;
42		compatible = "fsl,fman-v3-port-oh";
43		reg = <0x84000 0x1000>;
44	};
45
46	fman0_oh_0x5: port@85000 {
47		cell-index = <0x5>;
48		compatible = "fsl,fman-v3-port-oh";
49		reg = <0x85000 0x1000>;
50	};
51
52	fman0_oh_0x6: port@86000 {
53		cell-index = <0x6>;
54		compatible = "fsl,fman-v3-port-oh";
55		reg = <0x86000 0x1000>;
56	};
57
58	fman0_oh_0x7: port@87000 {
59		cell-index = <0x7>;
60		compatible = "fsl,fman-v3-port-oh";
61		reg = <0x87000 0x1000>;
62	};
63
64	mdio0: mdio@fc000 {
65		#address-cells = <1>;
66		#size-cells = <0>;
67		compatible = "fsl,fman-memac-mdio", "fsl,fman-xmdio";
68		reg = <0xfc000 0x1000>;
69	};
70
71	xmdio0: mdio@fd000 {
72		#address-cells = <1>;
73		#size-cells = <0>;
74		compatible = "fsl,fman-memac-mdio", "fsl,fman-xmdio";
75		reg = <0xfd000 0x1000>;
76	};
77};
78
79ptp_timer0: ptp-timer@1afe000 {
80	compatible = "fsl,fman-ptp-timer";
81	reg = <0x0 0x1afe000 0x0 0x1000>;
82	interrupts = <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>;
83	clocks = <&clockgen 3 0>;
84};
85