1*dd1051f9SRob Herring (Arm)# SPDX-License-Identifier: GPL-2.0 2*dd1051f9SRob Herring (Arm)%YAML 1.2 3*dd1051f9SRob Herring (Arm)--- 4*dd1051f9SRob Herring (Arm)$id: http://devicetree.org/schemas/phy/hisilicon,hi3798cv200-combphy.yaml# 5*dd1051f9SRob Herring (Arm)$schema: http://devicetree.org/meta-schemas/core.yaml# 6*dd1051f9SRob Herring (Arm) 7*dd1051f9SRob Herring (Arm)title: HiSilicon STB PCIE/SATA/USB3 PHY 8*dd1051f9SRob Herring (Arm) 9*dd1051f9SRob Herring (Arm)maintainers: 10*dd1051f9SRob Herring (Arm) - Shawn Guo <shawn.guo@linaro.org> 11*dd1051f9SRob Herring (Arm) 12*dd1051f9SRob Herring (Arm)properties: 13*dd1051f9SRob Herring (Arm) compatible: 14*dd1051f9SRob Herring (Arm) const: hisilicon,hi3798cv200-combphy 15*dd1051f9SRob Herring (Arm) 16*dd1051f9SRob Herring (Arm) reg: 17*dd1051f9SRob Herring (Arm) maxItems: 1 18*dd1051f9SRob Herring (Arm) 19*dd1051f9SRob Herring (Arm) '#phy-cells': 20*dd1051f9SRob Herring (Arm) description: The cell contains the PHY mode 21*dd1051f9SRob Herring (Arm) const: 1 22*dd1051f9SRob Herring (Arm) 23*dd1051f9SRob Herring (Arm) clocks: 24*dd1051f9SRob Herring (Arm) maxItems: 1 25*dd1051f9SRob Herring (Arm) 26*dd1051f9SRob Herring (Arm) resets: 27*dd1051f9SRob Herring (Arm) maxItems: 1 28*dd1051f9SRob Herring (Arm) 29*dd1051f9SRob Herring (Arm) hisilicon,fixed-mode: 30*dd1051f9SRob Herring (Arm) description: If the phy device doesn't support mode select but a fixed mode 31*dd1051f9SRob Herring (Arm) setting, the property should be present to specify the particular mode. 32*dd1051f9SRob Herring (Arm) $ref: /schemas/types.yaml#/definitions/uint32 33*dd1051f9SRob Herring (Arm) enum: [ 1, 2, 4] # SATA, PCIE, USB3 34*dd1051f9SRob Herring (Arm) 35*dd1051f9SRob Herring (Arm) hisilicon,mode-select-bits: 36*dd1051f9SRob Herring (Arm) description: If the phy device support mode select, this property should be 37*dd1051f9SRob Herring (Arm) present to specify the register bits in peripheral controller. 38*dd1051f9SRob Herring (Arm) items: 39*dd1051f9SRob Herring (Arm) - description: register_offset 40*dd1051f9SRob Herring (Arm) - description: bit shift 41*dd1051f9SRob Herring (Arm) - description: bit mask 42*dd1051f9SRob Herring (Arm) 43*dd1051f9SRob Herring (Arm)required: 44*dd1051f9SRob Herring (Arm) - compatible 45*dd1051f9SRob Herring (Arm) - reg 46*dd1051f9SRob Herring (Arm) - '#phy-cells' 47*dd1051f9SRob Herring (Arm) - clocks 48*dd1051f9SRob Herring (Arm) - resets 49*dd1051f9SRob Herring (Arm) 50*dd1051f9SRob Herring (Arm)oneOf: 51*dd1051f9SRob Herring (Arm) - required: ['hisilicon,fixed-mode'] 52*dd1051f9SRob Herring (Arm) - required: ['hisilicon,mode-select-bits'] 53*dd1051f9SRob Herring (Arm) 54*dd1051f9SRob Herring (Arm)additionalProperties: false 55*dd1051f9SRob Herring (Arm) 56*dd1051f9SRob Herring (Arm)... 57