microchip,pic32-clock.txt 927 B

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