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