mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-09-01 06:39:05 +00:00

The IEP interrupt is used in order to support both capture events, where an incoming external signal gets timestamped on arrival, and compare events, where an interrupt is generated internally when the IEP counter reaches a programmed value. Signed-off-by: Diogo Ivo <diogo.ivo@siemens.com> Acked-by: Conor Dooley <conor.dooley@microchip.com> Signed-off-by: David S. Miller <davem@davemloft.net>
55 lines
1.0 KiB
YAML
55 lines
1.0 KiB
YAML
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
|
|
%YAML 1.2
|
|
---
|
|
$id: http://devicetree.org/schemas/net/ti,icss-iep.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: Texas Instruments ICSS Industrial Ethernet Peripheral (IEP) module
|
|
|
|
maintainers:
|
|
- Md Danish Anwar <danishanwar@ti.com>
|
|
|
|
properties:
|
|
compatible:
|
|
oneOf:
|
|
- items:
|
|
- enum:
|
|
- ti,am642-icss-iep
|
|
- ti,j721e-icss-iep
|
|
- const: ti,am654-icss-iep
|
|
|
|
- const: ti,am654-icss-iep
|
|
|
|
|
|
reg:
|
|
maxItems: 1
|
|
|
|
clocks:
|
|
maxItems: 1
|
|
description: phandle to the IEP source clock
|
|
|
|
interrupts:
|
|
maxItems: 1
|
|
description:
|
|
Interrupt specifier for capture/compare IRQ.
|
|
|
|
interrupt-names:
|
|
items:
|
|
- const: iep_cap_cmp
|
|
|
|
required:
|
|
- compatible
|
|
- reg
|
|
- clocks
|
|
|
|
additionalProperties: false
|
|
|
|
examples:
|
|
- |
|
|
/* AM65x */
|
|
icssg0_iep0: iep@2e000 {
|
|
compatible = "ti,am654-icss-iep";
|
|
reg = <0x2e000 0x1000>;
|
|
clocks = <&icssg0_iepclk_mux>;
|
|
};
|