1*c66ec88fSEmmanuel VadotBinding for MTK SPI controller (MT7621 MIPS) 2*c66ec88fSEmmanuel Vadot 3*c66ec88fSEmmanuel VadotRequired properties: 4*c66ec88fSEmmanuel Vadot- compatible: Should be one of the following: 5*c66ec88fSEmmanuel Vadot - "ralink,mt7621-spi": for mt7621/mt7628/mt7688 platforms 6*c66ec88fSEmmanuel Vadot- #address-cells: should be 1. 7*c66ec88fSEmmanuel Vadot- #size-cells: should be 0. 8*c66ec88fSEmmanuel Vadot- reg: Address and length of the register set for the device 9*c66ec88fSEmmanuel Vadot- resets: phandle to the reset controller asserting this device in 10*c66ec88fSEmmanuel Vadot reset 11*c66ec88fSEmmanuel Vadot See ../reset/reset.txt for details. 12*c66ec88fSEmmanuel Vadot 13*c66ec88fSEmmanuel VadotOptional properties: 14*c66ec88fSEmmanuel Vadot- cs-gpios: see spi-bus.txt. 15*c66ec88fSEmmanuel Vadot 16*c66ec88fSEmmanuel VadotExample: 17*c66ec88fSEmmanuel Vadot 18*c66ec88fSEmmanuel Vadot- SoC Specific Portion: 19*c66ec88fSEmmanuel Vadotspi0: spi@b00 { 20*c66ec88fSEmmanuel Vadot compatible = "ralink,mt7621-spi"; 21*c66ec88fSEmmanuel Vadot reg = <0xb00 0x100>; 22*c66ec88fSEmmanuel Vadot #address-cells = <1>; 23*c66ec88fSEmmanuel Vadot #size-cells = <0>; 24*c66ec88fSEmmanuel Vadot resets = <&rstctrl 18>; 25*c66ec88fSEmmanuel Vadot reset-names = "spi"; 26*c66ec88fSEmmanuel Vadot}; 27