xref: /freebsd/sys/contrib/device-tree/src/arm64/freescale/qoriq-fman3-0.dtsi (revision 95eb4b873b6a8b527c5bd78d7191975dfca38998)
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
9#include <dt-bindings/clock/fsl,qoriq-clockgen.h>
10
11fman0: fman@1a00000 {
12	#address-cells = <1>;
13	#size-cells = <1>;
14	cell-index = <0>;
15	compatible = "fsl,fman";
16	ranges = <0x0 0x0 0x1a00000 0xfe000>;
17	reg = <0x0 0x1a00000 0x0 0xfe000>;
18	interrupts = <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>,
19		     <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>;
20	clocks = <&clockgen QORIQ_CLK_FMAN 0>;
21	clock-names = "fmanclk";
22	fsl,qman-channel-range = <0x800 0x10>;
23	ptimer-handle = <&ptp_timer0>;
24	dma-coherent;
25
26	muram@0 {
27		compatible = "fsl,fman-muram";
28		reg = <0x0 0x60000>;
29	};
30
31	fman0_oh_0x2: port@82000 {
32		cell-index = <0x2>;
33		compatible = "fsl,fman-v3-port-oh";
34		reg = <0x82000 0x1000>;
35	};
36
37	fman0_oh_0x3: port@83000 {
38		cell-index = <0x3>;
39		compatible = "fsl,fman-v3-port-oh";
40		reg = <0x83000 0x1000>;
41	};
42
43	fman0_oh_0x4: port@84000 {
44		cell-index = <0x4>;
45		compatible = "fsl,fman-v3-port-oh";
46		reg = <0x84000 0x1000>;
47	};
48
49	fman0_oh_0x5: port@85000 {
50		cell-index = <0x5>;
51		compatible = "fsl,fman-v3-port-oh";
52		reg = <0x85000 0x1000>;
53	};
54
55	fman0_oh_0x6: port@86000 {
56		cell-index = <0x6>;
57		compatible = "fsl,fman-v3-port-oh";
58		reg = <0x86000 0x1000>;
59	};
60
61	fman0_oh_0x7: port@87000 {
62		cell-index = <0x7>;
63		compatible = "fsl,fman-v3-port-oh";
64		reg = <0x87000 0x1000>;
65	};
66
67	mdio0: mdio@fc000 {
68		#address-cells = <1>;
69		#size-cells = <0>;
70		compatible = "fsl,fman-memac-mdio", "fsl,fman-xmdio";
71		reg = <0xfc000 0x1000>;
72	};
73
74	xmdio0: mdio@fd000 {
75		#address-cells = <1>;
76		#size-cells = <0>;
77		compatible = "fsl,fman-memac-mdio", "fsl,fman-xmdio";
78		reg = <0xfd000 0x1000>;
79	};
80};
81
82ptp_timer0: ptp-timer@1afe000 {
83	compatible = "fsl,fman-ptp-timer";
84	reg = <0x0 0x1afe000 0x0 0x1000>;
85	interrupts = <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>;
86	clocks = <&clockgen QORIQ_CLK_FMAN 0>;
87	fsl,extts-fifo;
88};
89