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/phy/socionext,uniphier-ahci-phy.yaml

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 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
    2 %YAML 1.2
    3 ---
    4 $id: http://devicetree.org/schemas/phy/socionext,uniphier-ahci-phy.yaml#
    5 $schema: http://devicetree.org/meta-schemas/core.yaml#
    6 
    7 title: Socionext UniPhier AHCI PHY
    8 
    9 description: |
   10   This describes the deivcetree bindings for PHY interfaces built into
   11   AHCI controller implemented on Socionext UniPhier SoCs.
   12 
   13 maintainers:
   14   - Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
   15 
   16 properties:
   17   compatible:
   18     enum:
   19       - socionext,uniphier-pro4-ahci-phy
   20       - socionext,uniphier-pxs2-ahci-phy
   21       - socionext,uniphier-pxs3-ahci-phy
   22 
   23   reg:
   24     maxItems: 1
   25 
   26   "#phy-cells":
   27     const: 0
   28 
   29   clocks:
   30     minItems: 1
   31     maxItems: 2
   32 
   33   clock-names: true
   34 
   35   resets:
   36     minItems: 2
   37     maxItems: 6
   38 
   39   reset-names: true
   40 
   41 allOf:
   42   - if:
   43       properties:
   44         compatible:
   45           contains:
   46             const: socionext,uniphier-pro4-ahci-phy
   47     then:
   48       properties:
   49         clocks:
   50           minItems: 2
   51           maxItems: 2
   52         clock-names:
   53           items:
   54             - const: link
   55             - const: gio
   56         resets:
   57           minItems: 6
   58           maxItems: 6
   59         reset-names:
   60           items:
   61             - const: link
   62             - const: gio
   63             - const: phy
   64             - const: pm
   65             - const: tx
   66             - const: rx
   67   - if:
   68       properties:
   69         compatible:
   70           contains:
   71             const: socionext,uniphier-pxs2-ahci-phy
   72     then:
   73       properties:
   74         clocks:
   75           maxItems: 1
   76         clock-names:
   77           const: link
   78         resets:
   79           minItems: 2
   80           maxItems: 2
   81         reset-names:
   82           items:
   83             - const: link
   84             - const: phy
   85   - if:
   86       properties:
   87         compatible:
   88           contains:
   89             const: socionext,uniphier-pxs3-ahci-phy
   90     then:
   91       properties:
   92         clocks:
   93           minItems: 2
   94           maxItems: 2
   95         clock-names:
   96           items:
   97             - const: link
   98             - const: phy
   99         resets:
  100           minItems: 2
  101           maxItems: 2
  102         reset-names:
  103           items:
  104             - const: link
  105             - const: phy
  106 
  107 required:
  108   - compatible
  109   - reg
  110   - "#phy-cells"
  111   - clocks
  112   - clock-names
  113   - resets
  114   - reset-names
  115 
  116 additionalProperties: false
  117 
  118 examples:
  119   - |
  120     ahci-glue@65700000 {
  121         compatible = "socionext,uniphier-pxs3-ahci-glue",
  122                      "simple-mfd";
  123         #address-cells = <1>;
  124         #size-cells = <1>;
  125         ranges = <0 0x65700000 0x100>;
  126 
  127         ahci_phy: phy@10 {
  128             compatible = "socionext,uniphier-pxs3-ahci-phy";
  129             reg = <0x10 0x10>;
  130             #phy-cells = <0>;
  131             clock-names = "link", "phy";
  132             clocks = <&sys_clk 28>, <&sys_clk 30>;
  133             reset-names = "link", "phy";
  134             resets = <&sys_rst 28>, <&sys_rst 30>;
  135         };
  136     };

Cache object: ac7d84623f209e1456dbff5f97aef30a


[ 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.