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/csr,atlas7-car.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 * Clock and reset bindings for CSR atlas7
    2 
    3 Required properties:
    4 - compatible: Should be "sirf,atlas7-car"
    5 - reg: Address and length of the register set
    6 - #clock-cells: Should be <1>
    7 - #reset-cells: Should be <1>
    8 
    9 The clock consumer should specify the desired clock by having the clock
   10 ID in its "clocks" phandle cell.
   11 The ID list atlas7_clks defined in drivers/clk/sirf/clk-atlas7.c
   12 
   13 The reset consumer should specify the desired reset by having the reset
   14 ID in its "reset" phandle cell.
   15 The ID list atlas7_reset_unit defined in drivers/clk/sirf/clk-atlas7.c
   16 
   17 Examples: Clock and reset controller node:
   18 
   19 car: clock-controller@18620000 {
   20         compatible = "sirf,atlas7-car";
   21         reg = <0x18620000 0x1000>;
   22         #clock-cells = <1>;
   23         #reset-cells = <1>;
   24 };
   25 
   26 Examples: Consumers using clock or reset:
   27 
   28 timer@10dc0000 {
   29         compatible = "sirf,macro-tick";
   30         reg = <0x10dc0000 0x1000>;
   31         clocks = <&car 54>;
   32         interrupts = <0 0 0>,
   33                    <0 1 0>,
   34                    <0 2 0>,
   35                    <0 49 0>,
   36                    <0 50 0>,
   37                    <0 51 0>;
   38 };
   39 
   40 uart1: uart@18020000 {
   41         cell-index = <1>;
   42         compatible = "sirf,macro-uart";
   43         reg = <0x18020000 0x1000>;
   44         clocks = <&clks 95>;
   45         interrupts = <0 18 0>;
   46         fifosize = <32>;
   47 };
   48 
   49 vpp@13110000 {
   50         compatible = "sirf,prima2-vpp";
   51         reg = <0x13110000 0x10000>;
   52         interrupts = <0 31 0>;
   53         clocks = <&car 85>;
   54         resets = <&car 29>;
   55 };

Cache object: 2d8e4a88b4bd1294aec7192af2e5e1c5


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