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