blob: f185ce0ae199a30fb5d14d41c274595b7801cb31 [file] [log] [blame]
Purna Chandra Mandala0e79082016-01-28 15:30:11 +05301* Microchip PIC32 Clock and Oscillator
2
3Microchip PIC32 clock tree consists of few oscillators, PLLs,
4multiplexers and few divider modules capable of supplying clocks
5to various controllers within SoC and also to off-chip.
6
7PIC32 clock controller output is defined by indices as defined
8in [0]
9
10[0] include/dt-bindings/clock/microchip,clock.h
11
12Required Properties:
13- compatible: should be "microchip,pic32mzda_clk"
14- reg: physical base address of the controller and length of memory mapped
15 region.
16- #clock-cells: should be 1.
17
18Example: Clock controller node:
19
20 clock: clk@1f801200 {
21 compatible = "microchip,pic32mzda-clk";
22 reg = <0x1f801200 0x1000>;
23 };
24
25Example: UART controller node that consumes the clock generated by the clock
26controller:
27
28 uart1: serial@1f822000 {
29 compatible = "microchip,pic32mzda-uart";
30 reg = <0xbf822000 0x50>;
31 interrupts = <112 IRQ_TYPE_LEVEL_HIGH>;
32 clocks = <&clock PB2CLK>;
33 };