mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-08-28 18:10:32 +00:00

Convert the Lantiq XWAY USB PHY binding to DT schema format. It's a straight forward conversion. Signed-off-by: Rob Herring (Arm) <robh@kernel.org> Link: https://lore.kernel.org/r/20250607212537.742287-1-robh@kernel.org Signed-off-by: Vinod Koul <vkoul@kernel.org>
72 lines
1.4 KiB
YAML
72 lines
1.4 KiB
YAML
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
|
|
%YAML 1.2
|
|
---
|
|
$id: http://devicetree.org/schemas/phy/lantiq,ase-usb2-phy.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: Lantiq XWAY SoC RCU USB 1.1/2.0 PHY
|
|
|
|
maintainers:
|
|
- Hauke Mehrtens <hauke@hauke-m.de>
|
|
|
|
description:
|
|
This node has to be a sub node of the Lantiq RCU block.
|
|
|
|
properties:
|
|
compatible:
|
|
items:
|
|
- enum:
|
|
- lantiq,ase-usb2-phy
|
|
- lantiq,danube-usb2-phy
|
|
- lantiq,xrx100-usb2-phy
|
|
- lantiq,xrx200-usb2-phy
|
|
- lantiq,xrx300-usb2-phy
|
|
|
|
reg:
|
|
items:
|
|
- description: Offset of the USB PHY configuration register
|
|
- description: Offset of the USB Analog configuration register
|
|
|
|
clocks:
|
|
maxItems: 1
|
|
|
|
clock-names:
|
|
items:
|
|
- const: phy
|
|
|
|
resets:
|
|
minItems: 1
|
|
maxItems: 2
|
|
|
|
reset-names:
|
|
minItems: 1
|
|
items:
|
|
- enum: [ phy, ctrl ]
|
|
- const: ctrl
|
|
|
|
'#phy-cells':
|
|
const: 0
|
|
|
|
required:
|
|
- compatible
|
|
- reg
|
|
- clocks
|
|
- clock-names
|
|
- resets
|
|
- reset-names
|
|
- '#phy-cells'
|
|
|
|
additionalProperties: false
|
|
|
|
examples:
|
|
- |
|
|
usb2-phy@18 {
|
|
compatible = "lantiq,xrx200-usb2-phy";
|
|
reg = <0x18 4>, <0x38 4>;
|
|
clocks = <&pmu 1>;
|
|
clock-names = "phy";
|
|
resets = <&reset1 4 4>, <&reset0 4 4>;
|
|
reset-names = "phy", "ctrl";
|
|
#phy-cells = <0>;
|
|
};
|