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-clkc.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 Clock and Reset Unit
    2 
    3 The Amlogic GXBB clock controller generates and supplies clock to various
    4 controllers within the SoC.
    5 
    6 Required Properties:
    7 
    8 - compatible: should be:
    9                 "amlogic,gxbb-clkc" for GXBB SoC,
   10                 "amlogic,gxl-clkc" for GXL and GXM SoC,
   11                 "amlogic,axg-clkc" for AXG SoC.
   12                 "amlogic,g12a-clkc" for G12A SoC.
   13                 "amlogic,g12b-clkc" for G12B SoC.
   14                 "amlogic,sm1-clkc" for SM1 SoC.
   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 
   19 - #clock-cells: should be 1.
   20 
   21 Each clock is assigned an identifier and client nodes can use this identifier
   22 to specify the clock which they consume. All available clocks are defined as
   23 preprocessor macros in the dt-bindings/clock/gxbb-clkc.h header and can be
   24 used in device tree sources.
   25 
   26 Parent node should have the following properties :
   27 - compatible: "syscon", "simple-mfd, and "amlogic,meson-gx-hhi-sysctrl" or
   28               "amlogic,meson-axg-hhi-sysctrl"
   29 - reg: base address and size of the HHI system control register space.
   30 
   31 Example: Clock controller node:
   32 
   33 sysctrl: system-controller@0 {
   34         compatible = "amlogic,meson-gx-hhi-sysctrl", "syscon", "simple-mfd";
   35         reg = <0 0 0 0x400>;
   36 
   37         clkc: clock-controller {
   38                 #clock-cells = <1>;
   39                 compatible = "amlogic,gxbb-clkc";
   40                 clocks = <&xtal>;
   41                 clock-names = "xtal";
   42         };
   43 };
   44 
   45 Example: UART controller node that consumes the clock generated by the clock
   46   controller:
   47 
   48         uart_AO: serial@c81004c0 {
   49                 compatible = "amlogic,meson-uart";
   50                 reg = <0xc81004c0 0x14>;
   51                 interrupts = <0 90 1>;
   52                 clocks = <&clkc CLKID_CLK81>;
   53         };

Cache object: b0228e1e8f9bf8f5dda4b68f8fb0afcd


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