Back to home page

OSCL-LXR

 
 

    


0001 Microchip PIC32 Quad SPI controller
0002 -----------------------------------
0003 Required properties:
0004 - compatible: Should be "microchip,pic32mzda-sqi".
0005 - reg: Address and length of SQI controller register space.
0006 - interrupts: Should contain SQI interrupt.
0007 - clocks: Should contain phandle of two clocks in sequence, one that drives
0008           clock on SPI bus and other that drives SQI controller.
0009 - clock-names: Should be "spi_ck" and "reg_ck" in order.
0010 
0011 Example:
0012         sqi1: spi@1f8e2000 {
0013                 compatible = "microchip,pic32mzda-sqi";
0014                 reg = <0x1f8e2000 0x200>;
0015                 clocks = <&rootclk REF2CLK>, <&rootclk PB5CLK>;
0016                 clock-names = "spi_ck", "reg_ck";
0017                 interrupts = <169 IRQ_TYPE_LEVEL_HIGH>;
0018         };