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