Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: GPL-2.0+
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/clock/allwinner,sun8i-a83t-de2-clk.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006 
0007 title: Allwinner A83t Display Engine 2/3 Clock Controller Device Tree Bindings
0008 
0009 maintainers:
0010   - Chen-Yu Tsai <wens@csie.org>
0011   - Maxime Ripard <mripard@kernel.org>
0012 
0013 properties:
0014   "#clock-cells":
0015     const: 1
0016 
0017   "#reset-cells":
0018     const: 1
0019 
0020   compatible:
0021     oneOf:
0022       - const: allwinner,sun8i-a83t-de2-clk
0023       - const: allwinner,sun8i-h3-de2-clk
0024       - const: allwinner,sun8i-v3s-de2-clk
0025       - const: allwinner,sun50i-a64-de2-clk
0026       - const: allwinner,sun50i-h5-de2-clk
0027       - const: allwinner,sun50i-h6-de3-clk
0028       - items:
0029           - const: allwinner,sun8i-r40-de2-clk
0030           - const: allwinner,sun8i-h3-de2-clk
0031       - items:
0032           - const: allwinner,sun20i-d1-de2-clk
0033           - const: allwinner,sun50i-h5-de2-clk
0034 
0035   reg:
0036     maxItems: 1
0037 
0038   clocks:
0039     items:
0040       - description: Bus Clock
0041       - description: Module Clock
0042 
0043   clock-names:
0044     items:
0045       - const: bus
0046       - const: mod
0047 
0048   resets:
0049     maxItems: 1
0050 
0051 required:
0052   - "#clock-cells"
0053   - "#reset-cells"
0054   - compatible
0055   - reg
0056   - clocks
0057   - clock-names
0058   - resets
0059 
0060 additionalProperties: false
0061 
0062 examples:
0063   - |
0064     #include <dt-bindings/clock/sun8i-h3-ccu.h>
0065     #include <dt-bindings/reset/sun8i-h3-ccu.h>
0066 
0067     de2_clocks: clock@1000000 {
0068         compatible = "allwinner,sun8i-h3-de2-clk";
0069         reg = <0x01000000 0x100000>;
0070         clocks = <&ccu CLK_BUS_DE>,
0071                  <&ccu CLK_DE>;
0072         clock-names = "bus",
0073                       "mod";
0074         resets = <&ccu RST_BUS_DE>;
0075         #clock-cells = <1>;
0076         #reset-cells = <1>;
0077     };
0078 
0079 ...