0001 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
0002 /*
0003 * QorIQ FMan v3 device tree
0004 *
0005 * Copyright 2012-2015 Freescale Semiconductor Inc.
0006 *
0007 */
0008
0009 #include <dt-bindings/clock/fsl,qoriq-clockgen.h>
0010
0011 fman0: fman@1a00000 {
0012 #address-cells = <1>;
0013 #size-cells = <1>;
0014 cell-index = <0>;
0015 compatible = "fsl,fman";
0016 ranges = <0x0 0x0 0x1a00000 0xfe000>;
0017 reg = <0x0 0x1a00000 0x0 0xfe000>;
0018 interrupts = <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>,
0019 <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>;
0020 clocks = <&clockgen QORIQ_CLK_FMAN 0>;
0021 clock-names = "fmanclk";
0022 fsl,qman-channel-range = <0x800 0x10>;
0023 ptimer-handle = <&ptp_timer0>;
0024 dma-coherent;
0025
0026 muram@0 {
0027 compatible = "fsl,fman-muram";
0028 reg = <0x0 0x60000>;
0029 };
0030
0031 fman0_oh_0x2: port@82000 {
0032 cell-index = <0x2>;
0033 compatible = "fsl,fman-v3-port-oh";
0034 reg = <0x82000 0x1000>;
0035 };
0036
0037 fman0_oh_0x3: port@83000 {
0038 cell-index = <0x3>;
0039 compatible = "fsl,fman-v3-port-oh";
0040 reg = <0x83000 0x1000>;
0041 };
0042
0043 fman0_oh_0x4: port@84000 {
0044 cell-index = <0x4>;
0045 compatible = "fsl,fman-v3-port-oh";
0046 reg = <0x84000 0x1000>;
0047 };
0048
0049 fman0_oh_0x5: port@85000 {
0050 cell-index = <0x5>;
0051 compatible = "fsl,fman-v3-port-oh";
0052 reg = <0x85000 0x1000>;
0053 };
0054
0055 fman0_oh_0x6: port@86000 {
0056 cell-index = <0x6>;
0057 compatible = "fsl,fman-v3-port-oh";
0058 reg = <0x86000 0x1000>;
0059 };
0060
0061 fman0_oh_0x7: port@87000 {
0062 cell-index = <0x7>;
0063 compatible = "fsl,fman-v3-port-oh";
0064 reg = <0x87000 0x1000>;
0065 };
0066
0067 mdio0: mdio@fc000 {
0068 #address-cells = <1>;
0069 #size-cells = <0>;
0070 compatible = "fsl,fman-memac-mdio", "fsl,fman-xmdio";
0071 reg = <0xfc000 0x1000>;
0072 };
0073
0074 xmdio0: mdio@fd000 {
0075 #address-cells = <1>;
0076 #size-cells = <0>;
0077 compatible = "fsl,fman-memac-mdio", "fsl,fman-xmdio";
0078 reg = <0xfd000 0x1000>;
0079 };
0080 };
0081
0082 ptp_timer0: ptp-timer@1afe000 {
0083 compatible = "fsl,fman-ptp-timer";
0084 reg = <0x0 0x1afe000 0x0 0x1000>;
0085 interrupts = <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>;
0086 clocks = <&clockgen QORIQ_CLK_FMAN 0>;
0087 fsl,extts-fifo;
0088 };