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/nvidia,tegra210-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 NVIDIA Tegra210 Clock And Reset Controller
    2 
    3 This binding uses the common clock binding:
    4 Documentation/devicetree/bindings/clock/clock-bindings.txt
    5 
    6 The CAR (Clock And Reset) Controller on Tegra is the HW module responsible
    7 for muxing and gating Tegra's clocks, and setting their rates.
    8 
    9 Required properties :
   10 - compatible : Should be "nvidia,tegra210-car"
   11 - reg : Should contain CAR registers location and length
   12 - clocks : Should contain phandle and clock specifiers for two clocks:
   13   the 32 KHz "32k_in".
   14 - #clock-cells : Should be 1.
   15   In clock consumers, this cell represents the clock ID exposed by the
   16   CAR. The assignments may be found in header file
   17   <dt-bindings/clock/tegra210-car.h>.
   18 - #reset-cells : Should be 1.
   19   In clock consumers, this cell represents the bit number in the CAR's
   20   array of CLK_RST_CONTROLLER_RST_DEVICES_* registers.
   21 
   22 Example SoC include file:
   23 
   24 / {
   25         tegra_car: clock {
   26                 compatible = "nvidia,tegra210-car";
   27                 reg = <0x60006000 0x1000>;
   28                 #clock-cells = <1>;
   29                 #reset-cells = <1>;
   30         };
   31 
   32         usb@c5004000 {
   33                 clocks = <&tegra_car TEGRA210_CLK_USB2>;
   34         };
   35 };
   36 
   37 Example board file:
   38 
   39 / {
   40         clocks {
   41                 compatible = "simple-bus";
   42                 #address-cells = <1>;
   43                 #size-cells = <0>;
   44 
   45                 clk_32k: clock@1 {
   46                         compatible = "fixed-clock";
   47                         reg = <1>;
   48                         #clock-cells = <0>;
   49                         clock-frequency = <32768>;
   50                 };
   51         };
   52 
   53         &tegra_car {
   54                 clocks = <&clk_32k>;
   55         };
   56 };

Cache object: 0bfedecb53b519db3a39272c2e440e9d


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