Intel IXP46x PTP Timer (TSYNC)

Schema identifier ($id): "http://devicetree.org/schemas/net/intel,ixp46x-ptp-timer.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Linus Walleij <linusw@kernel.org>"

The Intel IXP46x PTP timer is known in the manual as IEEE1588 Hardware Assist and Time Synchronization Hardware Assist TSYNC provides a PTP timer. It exists in the Intel IXP45x and IXP46x XScale SoCs.

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "intel,ixp46x-ptp-timer"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Array item rules (items) #

Item 1

Interrupt to trigger master mode snapshot from the PRP timer, usually a GPIO interrupt.

Item 2

Interrupt to trigger slave mode snapshot from the PRP timer, usually a GPIO interrupt.

interrupt-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "master"

Item 2

Exact value (const): "slave"

Required in this object (required): "compatible", "reg", "interrupts", "interrupt-names"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/interrupt-controller/irq.h>
ptp-timer@c8010000 {
    compatible = "intel,ixp46x-ptp-timer";
    reg = <0xc8010000 0x1000>;
    interrupt-parent = <&gpio0>;
    interrupts = <8 IRQ_TYPE_EDGE_FALLING>, <7 IRQ_TYPE_EDGE_FALLING>;
    interrupt-names = "master", "slave";
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)

Line 2: Copyright 2018 Linaro Ltd.

Edit this page