The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/contrib/device-tree/Bindings/ufs/ufs-mediatek.txt

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    1 * Mediatek Universal Flash Storage (UFS) Host Controller
    2 
    3 UFS nodes are defined to describe on-chip UFS hardware macro.
    4 Each UFS Host Controller should have its own node.
    5 
    6 To bind UFS PHY with UFS host controller, the controller node should
    7 contain a phandle reference to UFS M-PHY node.
    8 
    9 Required properties for UFS nodes:
   10 - compatible         : Compatible list, contains the following controller:
   11                        "mediatek,mt8183-ufshci" for MediaTek UFS host controller
   12                        present on MT8183 chipsets.
   13                        "mediatek,mt8192-ufshci" for MediaTek UFS host controller
   14                        present on MT8192 chipsets.
   15 - reg                : Address and length of the UFS register set.
   16 - phys               : phandle to m-phy.
   17 - clocks             : List of phandle and clock specifier pairs.
   18 - clock-names        : List of clock input name strings sorted in the same
   19                        order as the clocks property. "ufs" is mandatory.
   20                        "ufs": ufshci core control clock.
   21 - freq-table-hz      : Array of <min max> operating frequencies stored in the same
   22                        order as the clocks property. If this property is not
   23                        defined or a value in the array is "0" then it is assumed
   24                        that the frequency is set by the parent clock or a
   25                        fixed rate clock source.
   26 - vcc-supply         : phandle to VCC supply regulator node.
   27 
   28 Example:
   29 
   30         ufsphy: phy@11fa0000 {
   31                 ...
   32         };
   33 
   34         ufshci@11270000 {
   35                 compatible = "mediatek,mt8183-ufshci";
   36                 reg = <0 0x11270000 0 0x2300>;
   37                 interrupts = <GIC_SPI 104 IRQ_TYPE_LEVEL_LOW>;
   38                 phys = <&ufsphy>;
   39 
   40                 clocks = <&infracfg_ao INFRACFG_AO_UFS_CG>;
   41                 clock-names = "ufs";
   42                 freq-table-hz = <0 0>;
   43 
   44                 vcc-supply = <&mt_pmic_vemc_ldo_reg>;
   45         };

Cache object: ef19ae2388b8897568e25543fbd4a523


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.