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/clock/socionext,uniphier-clock.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006 
0007 title: UniPhier clock controller
0008 
0009 maintainers:
0010   - Masahiro Yamada <yamada.masahiro@socionext.com>
0011 
0012 properties:
0013   compatible:
0014     oneOf:
0015       - description: System clock
0016         enum:
0017           - socionext,uniphier-ld4-clock
0018           - socionext,uniphier-pro4-clock
0019           - socionext,uniphier-sld8-clock
0020           - socionext,uniphier-pro5-clock
0021           - socionext,uniphier-pxs2-clock
0022           - socionext,uniphier-ld6b-clock
0023           - socionext,uniphier-ld11-clock
0024           - socionext,uniphier-ld20-clock
0025           - socionext,uniphier-pxs3-clock
0026           - socionext,uniphier-nx1-clock
0027       - description: Media I/O (MIO) clock, SD clock
0028         enum:
0029           - socionext,uniphier-ld4-mio-clock
0030           - socionext,uniphier-pro4-mio-clock
0031           - socionext,uniphier-sld8-mio-clock
0032           - socionext,uniphier-pro5-sd-clock
0033           - socionext,uniphier-pxs2-sd-clock
0034           - socionext,uniphier-ld11-mio-clock
0035           - socionext,uniphier-ld20-sd-clock
0036           - socionext,uniphier-pxs3-sd-clock
0037           - socionext,uniphier-nx1-sd-clock
0038       - description: Peripheral clock
0039         enum:
0040           - socionext,uniphier-ld4-peri-clock
0041           - socionext,uniphier-pro4-peri-clock
0042           - socionext,uniphier-sld8-peri-clock
0043           - socionext,uniphier-pro5-peri-clock
0044           - socionext,uniphier-pxs2-peri-clock
0045           - socionext,uniphier-ld11-peri-clock
0046           - socionext,uniphier-ld20-peri-clock
0047           - socionext,uniphier-pxs3-peri-clock
0048           - socionext,uniphier-nx1-peri-clock
0049       - description: SoC-glue clock
0050         enum:
0051           - socionext,uniphier-pro4-sg-clock
0052 
0053   "#clock-cells":
0054     const: 1
0055 
0056 additionalProperties: false
0057 
0058 required:
0059   - compatible
0060   - "#clock-cells"
0061 
0062 examples:
0063   - |
0064     sysctrl@61840000 {
0065         compatible = "socionext,uniphier-sysctrl", "simple-mfd", "syscon";
0066         reg = <0x61840000 0x4000>;
0067 
0068         clock {
0069             compatible = "socionext,uniphier-ld11-clock";
0070             #clock-cells = <1>;
0071         };
0072 
0073         // other nodes ...
0074     };
0075 
0076   - |
0077     mioctrl@59810000 {
0078         compatible = "socionext,uniphier-mioctrl", "simple-mfd", "syscon";
0079         reg = <0x59810000 0x800>;
0080 
0081         clock {
0082             compatible = "socionext,uniphier-ld11-mio-clock";
0083             #clock-cells = <1>;
0084         };
0085 
0086         // other nodes ...
0087     };
0088 
0089   - |
0090     perictrl@59820000 {
0091         compatible = "socionext,uniphier-perictrl", "simple-mfd", "syscon";
0092         reg = <0x59820000 0x200>;
0093 
0094         clock {
0095             compatible = "socionext,uniphier-ld11-peri-clock";
0096             #clock-cells = <1>;
0097         };
0098 
0099         // other nodes ...
0100     };