NXP NETC V4 Timer PTP clock
Schema identifier ($id): "http://devicetree.org/schemas/ptp/nxp,ptp-netc.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
NETC V4 Timer provides current time with nanosecond resolution, precise periodic pulse, pulse on timeout (alarm), and time capture on external pulse support. And it supports time synchronization as required for IEEE 1588 and IEEE 802.1AS-2020.
Maintainers (maintainers): "Wei Fang <wei.fang@nxp.com>", "Clark Wang <xiaoning.wang@nxp.com>"
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "pci1131,ee02"
reg — required here #
Maximum number of items (maxItems): 1
clocks — not listed as required here #
Maximum number of items (maxItems): 1
The reference clock of NETC Timer, can be selected between 3 different clock sources using an integrated hardware mux TMR_CTRL[CK_SEL]. The "ccm" means the reference clock comes from CCM of SoC. The "ext" means the reference clock comes from external IO pins. If not present, indicates that the system clock of NETC IP is selected as the reference clock.
clock-names — not listed as required here #
Allowed values (enum): "ccm", "ext"
Required in this object (required): "compatible", "reg"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):/schemas/pci/pci-device.yaml
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
pcie {
#address-cells = <3>;
#size-cells = <2>;
ptp-timer@18,0 {
compatible = "pci1131,ee02";
reg = <0x00c000 0 0 0 0>;
clocks = <&scmi_clk 18>;
clock-names = "ccm";
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)