diff options
author | Emmanuel Vadot <manu@FreeBSD.org> | 2024-04-19 16:04:55 +0000 |
---|---|---|
committer | Emmanuel Vadot <manu@FreeBSD.org> | 2024-04-19 16:04:55 +0000 |
commit | 48aa10e065908667e32e3aab09f1c787cd127470 (patch) | |
tree | 141762c42a29902f49f1d104ba845bff099f3c9f /Bindings/clock/mediatek,ethsys.yaml | |
parent | 1fcc28bca1057f051708a8fc59129ea42c574693 (diff) | |
download | src-vendor/device-tree.tar.gz src-vendor/device-tree.zip |
Import device-tree files from Linux 6.8vendor/device-tree/6.8vendor/device-tree
Diffstat (limited to 'Bindings/clock/mediatek,ethsys.yaml')
-rw-r--r-- | Bindings/clock/mediatek,ethsys.yaml | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/Bindings/clock/mediatek,ethsys.yaml b/Bindings/clock/mediatek,ethsys.yaml new file mode 100644 index 000000000000..f9cddacc2eae --- /dev/null +++ b/Bindings/clock/mediatek,ethsys.yaml @@ -0,0 +1,55 @@ +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/clock/mediatek,ethsys.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Mediatek ethsys controller + +description: + The available clocks are defined in dt-bindings/clock/mt*-clk.h. + +maintainers: + - James Liao <jamesjj.liao@mediatek.com> + +properties: + compatible: + oneOf: + - items: + - enum: + - mediatek,mt2701-ethsys + - mediatek,mt7622-ethsys + - mediatek,mt7629-ethsys + - mediatek,mt7981-ethsys + - mediatek,mt7986-ethsys + - mediatek,mt7988-ethsys + - const: syscon + - items: + - const: mediatek,mt7623-ethsys + - const: mediatek,mt2701-ethsys + - const: syscon + + reg: + maxItems: 1 + + "#clock-cells": + const: 1 + + "#reset-cells": + const: 1 + +required: + - reg + - "#clock-cells" + - "#reset-cells" + +additionalProperties: false + +examples: + - | + clock-controller@1b000000 { + compatible = "mediatek,mt2701-ethsys", "syscon"; + reg = <0x1b000000 0x1000>; + #clock-cells = <1>; + #reset-cells = <1>; + }; |