1*4882a593SmuzhiyunOMAP2+ McSPI device 2*4882a593Smuzhiyun 3*4882a593SmuzhiyunRequired properties: 4*4882a593Smuzhiyun- compatible : 5*4882a593Smuzhiyun - "ti,am654-mcspi" for AM654. 6*4882a593Smuzhiyun - "ti,omap2-mcspi" for OMAP2 & OMAP3. 7*4882a593Smuzhiyun - "ti,omap4-mcspi" for OMAP4+. 8*4882a593Smuzhiyun- ti,spi-num-cs : Number of chipselect supported by the instance. 9*4882a593Smuzhiyun- ti,hwmods: Name of the hwmod associated to the McSPI 10*4882a593Smuzhiyun- ti,pindir-d0-out-d1-in: Select the D0 pin as output and D1 as 11*4882a593Smuzhiyun input. The default is D0 as input and 12*4882a593Smuzhiyun D1 as output. 13*4882a593Smuzhiyun 14*4882a593SmuzhiyunOptional properties: 15*4882a593Smuzhiyun- dmas: List of DMA specifiers with the controller specific format 16*4882a593Smuzhiyun as described in the generic DMA client binding. A tx and rx 17*4882a593Smuzhiyun specifier is required for each chip select. 18*4882a593Smuzhiyun- dma-names: List of DMA request names. These strings correspond 19*4882a593Smuzhiyun 1:1 with the DMA specifiers listed in dmas. The string naming 20*4882a593Smuzhiyun is to be "rxN" and "txN" for RX and TX requests, 21*4882a593Smuzhiyun respectively, where N equals the chip select number. 22*4882a593Smuzhiyun 23*4882a593SmuzhiyunExamples: 24*4882a593Smuzhiyun 25*4882a593Smuzhiyun[hwmod populated DMA resources] 26*4882a593Smuzhiyun 27*4882a593Smuzhiyunmcspi1: mcspi@1 { 28*4882a593Smuzhiyun #address-cells = <1>; 29*4882a593Smuzhiyun #size-cells = <0>; 30*4882a593Smuzhiyun compatible = "ti,omap4-mcspi"; 31*4882a593Smuzhiyun ti,hwmods = "mcspi1"; 32*4882a593Smuzhiyun ti,spi-num-cs = <4>; 33*4882a593Smuzhiyun}; 34*4882a593Smuzhiyun 35*4882a593Smuzhiyun[generic DMA request binding] 36*4882a593Smuzhiyun 37*4882a593Smuzhiyunmcspi1: mcspi@1 { 38*4882a593Smuzhiyun #address-cells = <1>; 39*4882a593Smuzhiyun #size-cells = <0>; 40*4882a593Smuzhiyun compatible = "ti,omap4-mcspi"; 41*4882a593Smuzhiyun ti,hwmods = "mcspi1"; 42*4882a593Smuzhiyun ti,spi-num-cs = <2>; 43*4882a593Smuzhiyun dmas = <&edma 42 44*4882a593Smuzhiyun &edma 43 45*4882a593Smuzhiyun &edma 44 46*4882a593Smuzhiyun &edma 45>; 47*4882a593Smuzhiyun dma-names = "tx0", "rx0", "tx1", "rx1"; 48*4882a593Smuzhiyun}; 49