From: Vyacheslav Yurkov Date: Fri, 20 Nov 2026 09:24:03 +0000 Subject: [PATCH v3 1/2] dt-bindings: bus: Add Altera AXI Timeout Bridge MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20261120-feature-timeout-ip-v3-1-affcc644af5e@bruker.com> References: <20261120-feature-timeout-ip-v3-0-affcc644af5e@bruker.com> In-Reply-To: <20261120-feature-timeout-ip-v3-0-affcc644af5e@bruker.com> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Vyacheslav Yurkov , Vyacheslav Yurkov X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1795166651; l=3208; i=V.Yurkov.EXT@bruker.com; s=20260318; h=from:subject:message-id; bh=uhd2t8C5h5AY+wMQBzIl+6v3Z7b04RiF63mPUhbJcJo=; b=xJnzDNnk1VTeQ3OJnthe1Cb9wFW6cRPlon1ywnJ9V4kDLaF+7zIPKJmqPG+ufueblAvalFjWO T0iVXHvQPbJBs4LlokKnX1pY4U8o2K/ia+IC38ALwaLgF2njqHnJNVZ X-Developer-Key: i=V.Yurkov.EXT@bruker.com; a=ed25519; pk=snJmgYVOKlp7aQtK9tWnEI7QTYxpPpJJvxdVsnxA7Fk= X-Endpoint-Received: by B4 Relay for V.Yurkov.EXT@bruker.com/20260318 with auth_id=686 List-Id: B4 Relay Submissions The Altera AXI Timeout Bridge is an FPGA IP core placed between an AXI host, such as the HPS-to-FPGA bridge, and peripherals implemented in the FPGA fabric. It forwards transactions unchanged and monitors each one for completion. If a peripheral does not respond in time, the bridge terminates the transaction with an error response so that the host does not hang, raises an interrupt, and reports the address of the timed-out transaction in its control and status registers. Signed-off-by: Vyacheslav Yurkov --- .../bindings/bus/altr,axi-timeout-bridge-1.0.yaml | 86 ++++++++++++++++++++++ 1 file changed, 86 insertions(+) diff --git a/Documentation/devicetree/bindings/bus/altr,axi-timeout-bridge-1.0.yaml b/Documentation/devicetree/bindings/bus/altr,axi-timeout-bridge-1.0.yaml new file mode 100644 index 000000000000..2cf1ab537595 --- /dev/null +++ b/Documentation/devicetree/bindings/bus/altr,axi-timeout-bridge-1.0.yaml @@ -0,0 +1,86 @@ +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/bus/altr,axi-timeout-bridge-1.0.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Altera AXI Timeout Bridge + +maintainers: + - Vyacheslav Yurkov + +description: | + The Altera AXI Timeout Bridge is an FPGA soft IP placed between an AXI + host, such as the HPS-to-FPGA bridge, and the downstream peripherals + implemented in the FPGA fabric. It forwards transactions unchanged and + monitors each one for completion. + + If a downstream peripheral does not respond within a configured number + of clock cycles, the bridge terminates the outstanding transaction with + an error response so that the host does not hang, + and raises an interrupt. + +properties: + compatible: + const: altr,axi-timeout-bridge-1.0 + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + ranges: + maxItems: 1 + + "#address-cells": + const: 1 + + "#size-cells": + const: 1 + +patternProperties: + "^[a-zA-Z][a-zA-Z0-9,+._-]*@[0-9a-f]+$": + type: object + description: | + Device connected to the timeout bridge. + + required: + - compatible + - reg + + additionalProperties: true + +required: + - compatible + - reg + - interrupts + - ranges + - "#address-cells" + - "#size-cells" + +additionalProperties: false + +examples: + - | + #include + #include + + bus@10000 { + compatible = "altr,axi-timeout-bridge-1.0"; + #address-cells = <1>; + #size-cells = <1>; + reg = <0x10000 0x10>; + interrupts = <0 12 IRQ_TYPE_LEVEL_HIGH>; + ranges = <0x0 0x10010 0x1000>; + + gpio@100 { + compatible = "altr,pio-1.0"; + reg = <0x100 0x10>; + interrupts = ; + interrupt-controller; + #interrupt-cells = <2>; + gpio-controller; + #gpio-cells = <2>; + }; + }; -- 2.34.1