17a2aeb91SLi Yang// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) 21ffbecddSMadalin Bucur/* 31ffbecddSMadalin Bucur * QorIQ FMan v3 device tree 41ffbecddSMadalin Bucur * 51ffbecddSMadalin Bucur * Copyright 2012-2015 Freescale Semiconductor Inc. 61ffbecddSMadalin Bucur * 71ffbecddSMadalin Bucur */ 81ffbecddSMadalin Bucur 9*7525022dSMichael Walle#include <dt-bindings/clock/fsl,qoriq-clockgen.h> 10*7525022dSMichael Walle 111ffbecddSMadalin Bucurfman0: fman@1a00000 { 121ffbecddSMadalin Bucur #address-cells = <1>; 131ffbecddSMadalin Bucur #size-cells = <1>; 141ffbecddSMadalin Bucur cell-index = <0>; 151ffbecddSMadalin Bucur compatible = "fsl,fman"; 169cd19b52SYangbo Lu ranges = <0x0 0x0 0x1a00000 0xfe000>; 179cd19b52SYangbo Lu reg = <0x0 0x1a00000 0x0 0xfe000>; 181ffbecddSMadalin Bucur interrupts = <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>, 191ffbecddSMadalin Bucur <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>; 20*7525022dSMichael Walle clocks = <&clockgen QORIQ_CLK_FMAN 0>; 211ffbecddSMadalin Bucur clock-names = "fmanclk"; 221ffbecddSMadalin Bucur fsl,qman-channel-range = <0x800 0x10>; 239cd19b52SYangbo Lu ptimer-handle = <&ptp_timer0>; 24054b5d97SMadalin Bucur dma-coherent; 251ffbecddSMadalin Bucur 261ffbecddSMadalin Bucur muram@0 { 271ffbecddSMadalin Bucur compatible = "fsl,fman-muram"; 281ffbecddSMadalin Bucur reg = <0x0 0x60000>; 291ffbecddSMadalin Bucur }; 301ffbecddSMadalin Bucur 311ffbecddSMadalin Bucur fman0_oh_0x2: port@82000 { 321ffbecddSMadalin Bucur cell-index = <0x2>; 331ffbecddSMadalin Bucur compatible = "fsl,fman-v3-port-oh"; 341ffbecddSMadalin Bucur reg = <0x82000 0x1000>; 351ffbecddSMadalin Bucur }; 361ffbecddSMadalin Bucur 371ffbecddSMadalin Bucur fman0_oh_0x3: port@83000 { 381ffbecddSMadalin Bucur cell-index = <0x3>; 391ffbecddSMadalin Bucur compatible = "fsl,fman-v3-port-oh"; 401ffbecddSMadalin Bucur reg = <0x83000 0x1000>; 411ffbecddSMadalin Bucur }; 421ffbecddSMadalin Bucur 431ffbecddSMadalin Bucur fman0_oh_0x4: port@84000 { 441ffbecddSMadalin Bucur cell-index = <0x4>; 451ffbecddSMadalin Bucur compatible = "fsl,fman-v3-port-oh"; 461ffbecddSMadalin Bucur reg = <0x84000 0x1000>; 471ffbecddSMadalin Bucur }; 481ffbecddSMadalin Bucur 491ffbecddSMadalin Bucur fman0_oh_0x5: port@85000 { 501ffbecddSMadalin Bucur cell-index = <0x5>; 511ffbecddSMadalin Bucur compatible = "fsl,fman-v3-port-oh"; 521ffbecddSMadalin Bucur reg = <0x85000 0x1000>; 531ffbecddSMadalin Bucur }; 541ffbecddSMadalin Bucur 551ffbecddSMadalin Bucur fman0_oh_0x6: port@86000 { 561ffbecddSMadalin Bucur cell-index = <0x6>; 571ffbecddSMadalin Bucur compatible = "fsl,fman-v3-port-oh"; 581ffbecddSMadalin Bucur reg = <0x86000 0x1000>; 591ffbecddSMadalin Bucur }; 601ffbecddSMadalin Bucur 611ffbecddSMadalin Bucur fman0_oh_0x7: port@87000 { 621ffbecddSMadalin Bucur cell-index = <0x7>; 631ffbecddSMadalin Bucur compatible = "fsl,fman-v3-port-oh"; 641ffbecddSMadalin Bucur reg = <0x87000 0x1000>; 651ffbecddSMadalin Bucur }; 661ffbecddSMadalin Bucur 671ffbecddSMadalin Bucur mdio0: mdio@fc000 { 681ffbecddSMadalin Bucur #address-cells = <1>; 691ffbecddSMadalin Bucur #size-cells = <0>; 701ffbecddSMadalin Bucur compatible = "fsl,fman-memac-mdio", "fsl,fman-xmdio"; 711ffbecddSMadalin Bucur reg = <0xfc000 0x1000>; 721ffbecddSMadalin Bucur }; 731ffbecddSMadalin Bucur 741ffbecddSMadalin Bucur xmdio0: mdio@fd000 { 751ffbecddSMadalin Bucur #address-cells = <1>; 761ffbecddSMadalin Bucur #size-cells = <0>; 771ffbecddSMadalin Bucur compatible = "fsl,fman-memac-mdio", "fsl,fman-xmdio"; 781ffbecddSMadalin Bucur reg = <0xfd000 0x1000>; 791ffbecddSMadalin Bucur }; 801ffbecddSMadalin Bucur}; 819cd19b52SYangbo Lu 829cd19b52SYangbo Luptp_timer0: ptp-timer@1afe000 { 839cd19b52SYangbo Lu compatible = "fsl,fman-ptp-timer"; 849cd19b52SYangbo Lu reg = <0x0 0x1afe000 0x0 0x1000>; 859cd19b52SYangbo Lu interrupts = <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>; 86*7525022dSMichael Walle clocks = <&clockgen QORIQ_CLK_FMAN 0>; 876c660819SYangbo Lu fsl,extts-fifo; 881ffbecddSMadalin Bucur}; 89