1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/phy/lantiq,vrx200-pcie-phy.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Lantiq VRX200 and ARX300 PCIe PHY Device Tree Bindings
10 - Martin Blumenstingl <martin.blumenstingl@googlemail.com>
15 description: selects the PHY mode as defined in <dt-bindings/phy/phy-lantiq-vrx200-pcie.h>
19 - lantiq,vrx200-pcie-phy
20 - lantiq,arx300-pcie-phy
27 - description: PHY module clock
28 - description: PDI register clock
37 - description: exclusive PHY reset line
38 - description: shared reset line between the PCIe PHY and PCIe controller
46 $ref: /schemas/types.yaml#/definitions/phandle
47 description: phandle to the RCU syscon
49 lantiq,rcu-endian-offset:
50 $ref: /schemas/types.yaml#/definitions/uint32
51 description: the offset of the endian registers for this PHY instance in the RCU syscon
53 lantiq,rcu-big-endian-mask:
54 $ref: /schemas/types.yaml#/definitions/uint32
55 description: the mask to set the PDI (PHY) registers for this PHY instance to big endian
58 description: Configures the PDI (PHY) registers in big-endian mode
62 description: Configures the PDI (PHY) registers in big-endian mode
74 - lantiq,rcu-endian-offset
75 - lantiq,rcu-big-endian-mask
77 additionalProperties: false
81 pcie0_phy: phy@106800 {
82 compatible = "lantiq,vrx200-pcie-phy";
83 reg = <0x106800 0x100>;
85 lantiq,rcu-endian-offset = <0x4c>;
86 lantiq,rcu-big-endian-mask = <0x80>; /* bit 7 */
88 clocks = <&pmu 32>, <&pmu 36>;
89 clock-names = "phy", "pdi";
90 resets = <&reset0 12 24>, <&reset0 22 22>;
91 reset-names = "phy", "pcie";