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/microchip,pic32.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 Microchip PIC32 Clock Controller Binding
    2 ----------------------------------------
    3 Microchip clock controller is consists of few oscillators, PLL, multiplexer
    4 and few divider modules.
    5 
    6 This binding uses common clock bindings.
    7 [1] Documentation/devicetree/bindings/clock/clock-bindings.txt
    8 
    9 Required properties:
   10 - compatible: shall be "microchip,pic32mzda-clk".
   11 - reg: shall contain base address and length of clock registers.
   12 - #clock-cells: shall be 1.
   13 
   14 Optional properties:
   15 - microchip,pic32mzda-sosc: shall be added only if platform has
   16   secondary oscillator connected.
   17 
   18 Example:
   19         rootclk: clock-controller@1f801200 {
   20                 compatible = "microchip,pic32mzda-clk";
   21                 reg = <0x1f801200 0x200>;
   22                 #clock-cells = <1>;
   23                 /* optional */
   24                 microchip,pic32mzda-sosc;
   25         };
   26 
   27 
   28 The clock consumer shall specify the desired clock-output of the clock
   29 controller (as defined in [2]) by specifying output-id in its "clock"
   30 phandle cell.
   31 [2] include/dt-bindings/clock/microchip,pic32-clock.h
   32 
   33 For example for UART2:
   34 uart2: serial@2 {
   35         compatible = "microchip,pic32mzda-uart";
   36         reg = <>;
   37         interrupts = <>;
   38         clocks = <&rootclk PB2CLK>;
   39 };

Cache object: d2884c9dd9a4997a5665a3b337f335a8


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