1 * Microchip PIC32 Clock and Oscillator 2 3 Microchip PIC32 clock tree consists of few oscillators, PLLs, 4 multiplexers and few divider modules capable of supplying clocks 5 to various controllers within SoC and also to off-chip. 6 7 PIC32 clock controller output is defined by indices as defined 8 in [0] 9 10 [0] include/dt-bindings/clock/microchip,clock.h 11 12 Required 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 18 Example: Clock controller node: 19 20 clock: clk@1f801200 { 21 compatible = "microchip,pic32mzda-clk"; 22 reg = <0x1f801200 0x1000>; 23 }; 24 25 Example: UART controller node that consumes the clock generated by the clock 26 controller: 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 }; 34