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	dma-coherent;
23
24	muram@0 {
25		compatible = "fsl,fman-muram";
26		reg = <0x0 0x60000>;
27	};
28
29	fman0_oh_0x2: port@82000 {
30		cell-index = <0x2>;
31		compatible = "fsl,fman-v3-port-oh";
32		reg = <0x82000 0x1000>;
33	};
34
35	fman0_oh_0x3: port@83000 {
36		cell-index = <0x3>;
37		compatible = "fsl,fman-v3-port-oh";
38		reg = <0x83000 0x1000>;
39	};
40
41	fman0_oh_0x4: port@84000 {
42		cell-index = <0x4>;
43		compatible = "fsl,fman-v3-port-oh";
44		reg = <0x84000 0x1000>;
45	};
46
47	fman0_oh_0x5: port@85000 {
48		cell-index = <0x5>;
49		compatible = "fsl,fman-v3-port-oh";
50		reg = <0x85000 0x1000>;
51	};
52
53	fman0_oh_0x6: port@86000 {
54		cell-index = <0x6>;
55		compatible = "fsl,fman-v3-port-oh";
56		reg = <0x86000 0x1000>;
57	};
58
59	fman0_oh_0x7: port@87000 {
60		cell-index = <0x7>;
61		compatible = "fsl,fman-v3-port-oh";
62		reg = <0x87000 0x1000>;
63	};
64
65	mdio0: mdio@fc000 {
66		#address-cells = <1>;
67		#size-cells = <0>;
68		compatible = "fsl,fman-memac-mdio", "fsl,fman-xmdio";
69		reg = <0xfc000 0x1000>;
70	};
71
72	xmdio0: mdio@fd000 {
73		#address-cells = <1>;
74		#size-cells = <0>;
75		compatible = "fsl,fman-memac-mdio", "fsl,fman-xmdio";
76		reg = <0xfd000 0x1000>;
77	};
78};
79
80ptp_timer0: ptp-timer@1afe000 {
81	compatible = "fsl,fman-ptp-timer";
82	reg = <0x0 0x1afe000 0x0 0x1000>;
83	interrupts = <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>;
84	clocks = <&clockgen 3 0>;
85	fsl,extts-fifo;
86};
87