1// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
2/*
3 * QorIQ FMan device tree stub [ controller @ offset 0x400000 ]
4 *
5 * Copyright 2011 - 2015 Freescale Semiconductor Inc.
6 * Copyright 2020 NXP
7 *
8 */
9
10fman0: fman@400000 {
11	#address-cells = <1>;
12	#size-cells = <1>;
13	cell-index = <0>;
14	compatible = "fsl,fman";
15	ranges = <0 0x400000 0xfe000>;
16	reg = <0x400000 0xfe000>;
17	interrupts = <96 2 0 0>, <16 2 1 1>;
18	clocks = <&clockgen 3 0>;
19	clock-names = "fmanclk";
20	fsl,qman-channel-range = <0x40 0xc>;
21	ptimer-handle = <&ptp_timer0>;
22
23	muram@0 {
24		compatible = "fsl,fman-muram";
25		reg = <0x0 0x28000>;
26	};
27
28	fman0_oh_0x1: port@81000 {
29		cell-index = <0x1>;
30		compatible = "fsl,fman-v2-port-oh";
31		reg = <0x81000 0x1000>;
32	};
33
34	fman0_oh_0x2: port@82000 {
35		cell-index = <0x2>;
36		compatible = "fsl,fman-v2-port-oh";
37		reg = <0x82000 0x1000>;
38	};
39
40	fman0_oh_0x3: port@83000 {
41		cell-index = <0x3>;
42		compatible = "fsl,fman-v2-port-oh";
43		reg = <0x83000 0x1000>;
44	};
45
46	fman0_oh_0x4: port@84000 {
47		cell-index = <0x4>;
48		compatible = "fsl,fman-v2-port-oh";
49		reg = <0x84000 0x1000>;
50	};
51
52	fman0_oh_0x5: port@85000 {
53		cell-index = <0x5>;
54		compatible = "fsl,fman-v2-port-oh";
55		reg = <0x85000 0x1000>;
56		status = "disabled";
57	};
58
59	fman0_oh_0x6: port@86000 {
60		cell-index = <0x6>;
61		compatible = "fsl,fman-v2-port-oh";
62		reg = <0x86000 0x1000>;
63		status = "disabled";
64	};
65
66	fman0_oh_0x7: port@87000 {
67		cell-index = <0x7>;
68		compatible = "fsl,fman-v2-port-oh";
69		reg = <0x87000 0x1000>;
70		status = "disabled";
71	};
72};
73
74ptp_timer0: ptp-timer@4fe000 {
75	compatible = "fsl,fman-ptp-timer";
76	reg = <0x4fe000 0x1000>;
77	interrupts = <96 2 0 0>;
78	clocks = <&clockgen 3 0>;
79};
80