1*01950c46SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2*01950c46SEmmanuel Vadot%YAML 1.2 3*01950c46SEmmanuel Vadot--- 4*01950c46SEmmanuel Vadot$id: http://devicetree.org/schemas/phy/rockchip,rk3588-hdptx-phy.yaml# 5*01950c46SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6*01950c46SEmmanuel Vadot 7*01950c46SEmmanuel Vadottitle: Rockchip SoC HDMI/eDP Transmitter Combo PHY 8*01950c46SEmmanuel Vadot 9*01950c46SEmmanuel Vadotmaintainers: 10*01950c46SEmmanuel Vadot - Cristian Ciocaltea <cristian.ciocaltea@collabora.com> 11*01950c46SEmmanuel Vadot 12*01950c46SEmmanuel Vadotproperties: 13*01950c46SEmmanuel Vadot compatible: 14*01950c46SEmmanuel Vadot enum: 15*01950c46SEmmanuel Vadot - rockchip,rk3588-hdptx-phy 16*01950c46SEmmanuel Vadot 17*01950c46SEmmanuel Vadot reg: 18*01950c46SEmmanuel Vadot maxItems: 1 19*01950c46SEmmanuel Vadot 20*01950c46SEmmanuel Vadot clocks: 21*01950c46SEmmanuel Vadot items: 22*01950c46SEmmanuel Vadot - description: Reference clock 23*01950c46SEmmanuel Vadot - description: APB clock 24*01950c46SEmmanuel Vadot 25*01950c46SEmmanuel Vadot clock-names: 26*01950c46SEmmanuel Vadot items: 27*01950c46SEmmanuel Vadot - const: ref 28*01950c46SEmmanuel Vadot - const: apb 29*01950c46SEmmanuel Vadot 30*01950c46SEmmanuel Vadot "#phy-cells": 31*01950c46SEmmanuel Vadot const: 0 32*01950c46SEmmanuel Vadot 33*01950c46SEmmanuel Vadot resets: 34*01950c46SEmmanuel Vadot items: 35*01950c46SEmmanuel Vadot - description: PHY reset line 36*01950c46SEmmanuel Vadot - description: APB reset line 37*01950c46SEmmanuel Vadot - description: INIT reset line 38*01950c46SEmmanuel Vadot - description: CMN reset line 39*01950c46SEmmanuel Vadot - description: LANE reset line 40*01950c46SEmmanuel Vadot - description: ROPLL reset line 41*01950c46SEmmanuel Vadot - description: LCPLL reset line 42*01950c46SEmmanuel Vadot 43*01950c46SEmmanuel Vadot reset-names: 44*01950c46SEmmanuel Vadot items: 45*01950c46SEmmanuel Vadot - const: phy 46*01950c46SEmmanuel Vadot - const: apb 47*01950c46SEmmanuel Vadot - const: init 48*01950c46SEmmanuel Vadot - const: cmn 49*01950c46SEmmanuel Vadot - const: lane 50*01950c46SEmmanuel Vadot - const: ropll 51*01950c46SEmmanuel Vadot - const: lcpll 52*01950c46SEmmanuel Vadot 53*01950c46SEmmanuel Vadot rockchip,grf: 54*01950c46SEmmanuel Vadot $ref: /schemas/types.yaml#/definitions/phandle 55*01950c46SEmmanuel Vadot description: Some PHY related data is accessed through GRF regs. 56*01950c46SEmmanuel Vadot 57*01950c46SEmmanuel Vadotrequired: 58*01950c46SEmmanuel Vadot - compatible 59*01950c46SEmmanuel Vadot - reg 60*01950c46SEmmanuel Vadot - clocks 61*01950c46SEmmanuel Vadot - clock-names 62*01950c46SEmmanuel Vadot - "#phy-cells" 63*01950c46SEmmanuel Vadot - resets 64*01950c46SEmmanuel Vadot - reset-names 65*01950c46SEmmanuel Vadot - rockchip,grf 66*01950c46SEmmanuel Vadot 67*01950c46SEmmanuel VadotadditionalProperties: false 68*01950c46SEmmanuel Vadot 69*01950c46SEmmanuel Vadotexamples: 70*01950c46SEmmanuel Vadot - | 71*01950c46SEmmanuel Vadot #include <dt-bindings/clock/rockchip,rk3588-cru.h> 72*01950c46SEmmanuel Vadot #include <dt-bindings/reset/rockchip,rk3588-cru.h> 73*01950c46SEmmanuel Vadot 74*01950c46SEmmanuel Vadot soc { 75*01950c46SEmmanuel Vadot #address-cells = <2>; 76*01950c46SEmmanuel Vadot #size-cells = <2>; 77*01950c46SEmmanuel Vadot 78*01950c46SEmmanuel Vadot phy@fed60000 { 79*01950c46SEmmanuel Vadot compatible = "rockchip,rk3588-hdptx-phy"; 80*01950c46SEmmanuel Vadot reg = <0x0 0xfed60000 0x0 0x2000>; 81*01950c46SEmmanuel Vadot clocks = <&cru CLK_USB2PHY_HDPTXRXPHY_REF>, <&cru PCLK_HDPTX0>; 82*01950c46SEmmanuel Vadot clock-names = "ref", "apb"; 83*01950c46SEmmanuel Vadot #phy-cells = <0>; 84*01950c46SEmmanuel Vadot resets = <&cru SRST_HDPTX0>, <&cru SRST_P_HDPTX0>, 85*01950c46SEmmanuel Vadot <&cru SRST_HDPTX0_INIT>, <&cru SRST_HDPTX0_CMN>, 86*01950c46SEmmanuel Vadot <&cru SRST_HDPTX0_LANE>, <&cru SRST_HDPTX0_ROPLL>, 87*01950c46SEmmanuel Vadot <&cru SRST_HDPTX0_LCPLL>; 88*01950c46SEmmanuel Vadot reset-names = "phy", "apb", "init", "cmn", "lane", "ropll", "lcpll"; 89*01950c46SEmmanuel Vadot rockchip,grf = <&hdptxphy_grf>; 90*01950c46SEmmanuel Vadot }; 91*01950c46SEmmanuel Vadot }; 92