Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/ufs/ufs-common.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006 
0007 title: Common properties for Universal Flash Storage (UFS) Host Controllers
0008 
0009 maintainers:
0010   - Alim Akhtar <alim.akhtar@samsung.com>
0011   - Avri Altman <avri.altman@wdc.com>
0012 
0013 properties:
0014   clocks: true
0015 
0016   clock-names: true
0017 
0018   freq-table-hz:
0019     items:
0020       items:
0021         - description: Minimum frequency for given clock in Hz
0022         - description: Maximum frequency for given clock in Hz
0023     description: |
0024       Array of <min max> operating frequencies in Hz stored in the same order
0025       as the clocks property. If this property is not defined or a value in the
0026       array is "0" then it is assumed that the frequency is set by the parent
0027       clock or a fixed rate clock source.
0028 
0029   interrupts:
0030     maxItems: 1
0031 
0032   lanes-per-direction:
0033     $ref: /schemas/types.yaml#/definitions/uint32
0034     enum: [1, 2]
0035     default: 2
0036     description:
0037       Number of lanes available per direction.  Note that it is assume same
0038       number of lanes is used both directions at once.
0039 
0040   vdd-hba-supply:
0041     description:
0042       Phandle to UFS host controller supply regulator node.
0043 
0044   vcc-supply:
0045     description:
0046       Phandle to VCC supply regulator node.
0047 
0048   vccq-supply:
0049     description:
0050       Phandle to VCCQ supply regulator node.
0051 
0052   vccq2-supply:
0053     description:
0054       Phandle to VCCQ2 supply regulator node.
0055 
0056   vcc-supply-1p8:
0057     type: boolean
0058     description:
0059       For embedded UFS devices, valid VCC range is 1.7-1.95V or 2.7-3.6V. This
0060       boolean property when set, specifies to use low voltage range of
0061       1.7-1.95V. Note for external UFS cards this property is invalid and valid
0062       VCC range is always 2.7-3.6V.
0063 
0064   vcc-max-microamp:
0065     description:
0066       Specifies max. load that can be drawn from VCC supply.
0067 
0068   vccq-max-microamp:
0069     description:
0070       Specifies max. load that can be drawn from VCCQ supply.
0071 
0072   vccq2-max-microamp:
0073     description:
0074       Specifies max. load that can be drawn from VCCQ2 supply.
0075 
0076 dependencies:
0077   freq-table-hz: [ 'clocks' ]
0078 
0079 required:
0080   - interrupts
0081 
0082 additionalProperties: true