1*323fb75dSLinus Walleij# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2*323fb75dSLinus Walleij# Copyright 2018 Linaro Ltd. 3*323fb75dSLinus Walleij%YAML 1.2 4*323fb75dSLinus Walleij--- 5*323fb75dSLinus Walleij$id: "http://devicetree.org/schemas/net/intel,ixp46x-ptp-timer.yaml#" 6*323fb75dSLinus Walleij$schema: "http://devicetree.org/meta-schemas/core.yaml#" 7*323fb75dSLinus Walleij 8*323fb75dSLinus Walleijtitle: Intel IXP46x PTP Timer (TSYNC) 9*323fb75dSLinus Walleij 10*323fb75dSLinus Walleijmaintainers: 11*323fb75dSLinus Walleij - Linus Walleij <linus.walleij@linaro.org> 12*323fb75dSLinus Walleij 13*323fb75dSLinus Walleijdescription: | 14*323fb75dSLinus Walleij The Intel IXP46x PTP timer is known in the manual as IEEE1588 Hardware 15*323fb75dSLinus Walleij Assist and Time Synchronization Hardware Assist TSYNC provides a PTP 16*323fb75dSLinus Walleij timer. It exists in the Intel IXP45x and IXP46x XScale SoCs. 17*323fb75dSLinus Walleij 18*323fb75dSLinus Walleijproperties: 19*323fb75dSLinus Walleij compatible: 20*323fb75dSLinus Walleij const: intel,ixp46x-ptp-timer 21*323fb75dSLinus Walleij 22*323fb75dSLinus Walleij reg: 23*323fb75dSLinus Walleij maxItems: 1 24*323fb75dSLinus Walleij 25*323fb75dSLinus Walleij interrupts: 26*323fb75dSLinus Walleij items: 27*323fb75dSLinus Walleij - description: Interrupt to trigger master mode snapshot from the 28*323fb75dSLinus Walleij PRP timer, usually a GPIO interrupt. 29*323fb75dSLinus Walleij - description: Interrupt to trigger slave mode snapshot from the 30*323fb75dSLinus Walleij PRP timer, usually a GPIO interrupt. 31*323fb75dSLinus Walleij 32*323fb75dSLinus Walleij interrupt-names: 33*323fb75dSLinus Walleij items: 34*323fb75dSLinus Walleij - const: master 35*323fb75dSLinus Walleij - const: slave 36*323fb75dSLinus Walleij 37*323fb75dSLinus Walleijrequired: 38*323fb75dSLinus Walleij - compatible 39*323fb75dSLinus Walleij - reg 40*323fb75dSLinus Walleij - interrupts 41*323fb75dSLinus Walleij - interrupt-names 42*323fb75dSLinus Walleij 43*323fb75dSLinus WalleijadditionalProperties: false 44*323fb75dSLinus Walleij 45*323fb75dSLinus Walleijexamples: 46*323fb75dSLinus Walleij - | 47*323fb75dSLinus Walleij #include <dt-bindings/interrupt-controller/irq.h> 48*323fb75dSLinus Walleij ptp-timer@c8010000 { 49*323fb75dSLinus Walleij compatible = "intel,ixp46x-ptp-timer"; 50*323fb75dSLinus Walleij reg = <0xc8010000 0x1000>; 51*323fb75dSLinus Walleij interrupt-parent = <&gpio0>; 52*323fb75dSLinus Walleij interrupts = <8 IRQ_TYPE_EDGE_FALLING>, <7 IRQ_TYPE_EDGE_FALLING>; 53*323fb75dSLinus Walleij interrupt-names = "master", "slave"; 54*323fb75dSLinus Walleij }; 55