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/clock/amlogic,gxbb-aoclkc.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 * Amlogic GXBB AO Clock and Reset Unit
    2 
    3 The Amlogic GXBB AO clock controller generates and supplies clock to various
    4 controllers within the Always-On part of the SoC.
    5 
    6 Required Properties:
    7 
    8 - compatible: value should be different for each SoC family as :
    9         - GXBB (S905) : "amlogic,meson-gxbb-aoclkc"
   10         - GXL (S905X, S905D) : "amlogic,meson-gxl-aoclkc"
   11         - GXM (S912) : "amlogic,meson-gxm-aoclkc"
   12         - AXG (A113D, A113X) : "amlogic,meson-axg-aoclkc"
   13         - G12A (S905X2, S905D2, S905Y2) : "amlogic,meson-g12a-aoclkc"
   14         followed by the common "amlogic,meson-gx-aoclkc"
   15 - clocks: list of clock phandle, one for each entry clock-names.
   16 - clock-names: should contain the following:
   17   * "xtal"     : the platform xtal
   18   * "mpeg-clk" : the main clock controller mother clock (aka clk81)
   19   * "ext-32k-0"  : external 32kHz reference #0 if any (optional)
   20   * "ext-32k-1"  : external 32kHz reference #1 if any (optional - gx only)
   21   * "ext-32k-2"  : external 32kHz reference #2 if any (optional - gx only)
   22 
   23 - #clock-cells: should be 1.
   24 
   25 Each clock is assigned an identifier and client nodes can use this identifier
   26 to specify the clock which they consume. All available clocks are defined as
   27 preprocessor macros in the dt-bindings/clock/gxbb-aoclkc.h header and can be
   28 used in device tree sources.
   29 
   30 - #reset-cells: should be 1.
   31 
   32 Each reset is assigned an identifier and client nodes can use this identifier
   33 to specify the reset which they consume. All available resets are defined as
   34 preprocessor macros in the dt-bindings/reset/gxbb-aoclkc.h header and can be
   35 used in device tree sources.
   36 
   37 Parent node should have the following properties :
   38 - compatible: "amlogic,meson-gx-ao-sysctrl", "syscon", "simple-mfd"
   39 - reg: base address and size of the AO system control register space.
   40 
   41 Example: AO Clock controller node:
   42 
   43 ao_sysctrl: sys-ctrl@0 {
   44         compatible = "amlogic,meson-gx-ao-sysctrl", "syscon", "simple-mfd";
   45         reg =  <0x0 0x0 0x0 0x100>;
   46 
   47         clkc_AO: clock-controller {
   48                 compatible = "amlogic,meson-gxbb-aoclkc", "amlogic,meson-gx-aoclkc";
   49                 #clock-cells = <1>;
   50                 #reset-cells = <1>;
   51                 clocks = <&xtal>, <&clkc CLKID_CLK81>;
   52                 clock-names = "xtal", "mpeg-clk";
   53         };
   54 
   55 Example: UART controller node that consumes the clock and reset generated
   56   by the clock controller:
   57 
   58         uart_AO: serial@4c0 {
   59                 compatible = "amlogic,meson-uart";
   60                 reg = <0x4c0 0x14>;
   61                 interrupts = <0 90 1>;
   62                 clocks = <&clkc_AO CLKID_AO_UART1>;
   63                 resets = <&clkc_AO RESET_AO_UART1>;
   64         };

Cache object: 24541619229f32ebc0cce894025c9e73


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