1*c66ec88fSEmmanuel Vadot 2*c66ec88fSEmmanuel Vadot* Marvell ODMI for MSI support 3*c66ec88fSEmmanuel Vadot 4*c66ec88fSEmmanuel VadotSome Marvell SoCs have an On-Die Message Interrupt (ODMI) controller 5*c66ec88fSEmmanuel Vadotwhich can be used by on-board peripheral for MSI interrupts. 6*c66ec88fSEmmanuel Vadot 7*c66ec88fSEmmanuel VadotRequired properties: 8*c66ec88fSEmmanuel Vadot 9*c66ec88fSEmmanuel Vadot- compatible : The value here should contain: 10*c66ec88fSEmmanuel Vadot 11*c66ec88fSEmmanuel Vadot "marvell,ap806-odmi-controller", "marvell,odmi-controller". 12*c66ec88fSEmmanuel Vadot 13*c66ec88fSEmmanuel Vadot- interrupt,controller : Identifies the node as an interrupt controller. 14*c66ec88fSEmmanuel Vadot 15*c66ec88fSEmmanuel Vadot- msi-controller : Identifies the node as an MSI controller. 16*c66ec88fSEmmanuel Vadot 17*c66ec88fSEmmanuel Vadot- marvell,odmi-frames : Number of ODMI frames available. Each frame 18*c66ec88fSEmmanuel Vadot provides a number of events. 19*c66ec88fSEmmanuel Vadot 20*c66ec88fSEmmanuel Vadot- reg : List of register definitions, one for each 21*c66ec88fSEmmanuel Vadot ODMI frame. 22*c66ec88fSEmmanuel Vadot 23*c66ec88fSEmmanuel Vadot- marvell,spi-base : List of GIC base SPI interrupts, one for each 24*c66ec88fSEmmanuel Vadot ODMI frame. Those SPI interrupts are 0-based, 25*c66ec88fSEmmanuel Vadot i.e marvell,spi-base = <128> will use SPI #96. 26*c66ec88fSEmmanuel Vadot See Documentation/devicetree/bindings/interrupt-controller/arm,gic.yaml 27*c66ec88fSEmmanuel Vadot for details about the GIC Device Tree binding. 28*c66ec88fSEmmanuel Vadot 29*c66ec88fSEmmanuel VadotExample: 30*c66ec88fSEmmanuel Vadot 31*c66ec88fSEmmanuel Vadot odmi: odmi@300000 { 32*c66ec88fSEmmanuel Vadot compatible = "marvell,ap806-odmi-controller", 33*c66ec88fSEmmanuel Vadot "marvell,odmi-controller"; 34*c66ec88fSEmmanuel Vadot interrupt-controller; 35*c66ec88fSEmmanuel Vadot msi-controller; 36*c66ec88fSEmmanuel Vadot marvell,odmi-frames = <4>; 37*c66ec88fSEmmanuel Vadot reg = <0x300000 0x4000>, 38*c66ec88fSEmmanuel Vadot <0x304000 0x4000>, 39*c66ec88fSEmmanuel Vadot <0x308000 0x4000>, 40*c66ec88fSEmmanuel Vadot <0x30C000 0x4000>; 41*c66ec88fSEmmanuel Vadot marvell,spi-base = <128>, <136>, <144>, <152>; 42*c66ec88fSEmmanuel Vadot }; 43