Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 43 additions & 0 deletions Documentation/devicetree/bindings/misc/phytium,snoop-ctrl.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/misc/phytium,snoop-ctrl.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Phytium BMC Snoop Controller

maintainers:
- Lan Hengyu <lanhengyu1395@phytium.com.cn>

description:
The snoop controller allows the BMC to listen on and record the data
bytes written by the Host to the target I/O ports.

properties:
compatible:
items:
- enum:
- phytium,snoop-ctrl
reg:
maxItems: 1

interrupts:
maxItems: 1

snoop-ports:
$ref: /schemas/types.yaml#/definitions/uint32-array
description: Ports to snoop

required:
- compatible
- interrupts
- snoop-ports

examples:
- |
snoop: snoop@28010000 {
compatible = "phytium,snoop-ctrl", "syscon";
reg = <0x0 0x28010000 0x0 0x1000>;
interrupts = <GIC_SPI 144 IRQ_TYPE_LEVEL_HIGH>;
snoop-ports = <0x80 0x81>;
};
8 changes: 8 additions & 0 deletions arch/arm64/boot/dts/phytium/pe220x.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,14 @@
status = "disabled";
};

snoop: snoop@28010000 {
compatible = "phytium,snoop-ctrl", "syscon";
reg = <0x0 0x28010000 0x0 0x1000>;
interrupts = <GIC_SPI 88 IRQ_TYPE_LEVEL_HIGH>;
snoop-ports = <0x80 0x81>;
status = "disabled";
};

lpc: lpc@28010000 {
compatible = "simple-mfd", "syscon";
reg = <0x0 0x28010000 0x0 0x1000>;
Expand Down
Loading