1*4882a593SmuzhiyunSPI Master controller for Netlogic XLP MIPS64 SOCs 2*4882a593Smuzhiyun================================================== 3*4882a593Smuzhiyun 4*4882a593SmuzhiyunCurrently this SPI controller driver is supported for the following 5*4882a593SmuzhiyunNetlogic XLP SoCs: 6*4882a593Smuzhiyun XLP832, XLP316, XLP208, XLP980, XLP532 7*4882a593Smuzhiyun 8*4882a593SmuzhiyunRequired properties: 9*4882a593Smuzhiyun- compatible : Should be "netlogic,xlp832-spi". 10*4882a593Smuzhiyun- #address-cells : Number of cells required to define a chip select address 11*4882a593Smuzhiyun on the SPI bus. 12*4882a593Smuzhiyun- #size-cells : Should be zero. 13*4882a593Smuzhiyun- reg : Should contain register location and length. 14*4882a593Smuzhiyun- clocks : Phandle of the spi clock 15*4882a593Smuzhiyun- interrupts : Interrupt number used by this controller. 16*4882a593Smuzhiyun 17*4882a593SmuzhiyunSPI slave nodes must be children of the SPI master node and can contain 18*4882a593Smuzhiyunproperties described in Documentation/devicetree/bindings/spi/spi-bus.txt. 19*4882a593Smuzhiyun 20*4882a593SmuzhiyunExample: 21*4882a593Smuzhiyun 22*4882a593Smuzhiyun spi: xlp_spi@3a100 { 23*4882a593Smuzhiyun compatible = "netlogic,xlp832-spi"; 24*4882a593Smuzhiyun #address-cells = <1>; 25*4882a593Smuzhiyun #size-cells = <0>; 26*4882a593Smuzhiyun reg = <0 0x3a100 0x100>; 27*4882a593Smuzhiyun clocks = <&spi_clk>; 28*4882a593Smuzhiyun interrupts = <34>; 29*4882a593Smuzhiyun interrupt-parent = <&pic>; 30*4882a593Smuzhiyun 31*4882a593Smuzhiyun spi_nor@1 { 32*4882a593Smuzhiyun compatible = "spansion,s25sl12801"; 33*4882a593Smuzhiyun #address-cells = <1>; 34*4882a593Smuzhiyun #size-cells = <1>; 35*4882a593Smuzhiyun reg = <1>; /* Chip Select */ 36*4882a593Smuzhiyun spi-max-frequency = <40000000>; 37*4882a593Smuzhiyun }; 38*4882a593Smuzhiyun}; 39