Back to home page

OSCL-LXR

 
 

    


0001 Binding for MTK SPI controller (MT7621 MIPS)
0002 
0003 Required properties:
0004 - compatible: Should be one of the following:
0005   - "ralink,mt7621-spi": for mt7621/mt7628/mt7688 platforms
0006 - #address-cells: should be 1.
0007 - #size-cells: should be 0.
0008 - reg: Address and length of the register set for the device
0009 - resets: phandle to the reset controller asserting this device in
0010           reset
0011   See ../reset/reset.txt for details.
0012 
0013 Optional properties:
0014 - cs-gpios: see spi-bus.txt.
0015 
0016 Example:
0017 
0018 - SoC Specific Portion:
0019 spi0: spi@b00 {
0020         compatible = "ralink,mt7621-spi";
0021         reg = <0xb00 0x100>;
0022         #address-cells = <1>;
0023         #size-cells = <0>;
0024         resets = <&rstctrl 18>;
0025         reset-names = "spi";
0026 };