Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

powerpc/fsl: Added aliased MSIIR register address to MSI node in dts

The MSIIR register for each MSI bank is aliased to a different
address. The MSI node reg property was updated to contain this
address:

e.g. reg = <0x41600 0x200 0x44140 4>;

The first region contains the address and length of the MSI
register set and the second region contains the address of
the aliased MSIIR register at 0x44140.

Signed-off-by: Diana CRACIUN <Diana.Craciun@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>

authored by

Diana CRACIUN and committed by
Kumar Gala
da3b6c05 a2279e3f

+7 -5
+4 -2
Documentation/devicetree/bindings/powerpc/fsl/msi-pic.txt
··· 6 6 etc.) and the second is "fsl,mpic-msi" or "fsl,ipic-msi" depending on 7 7 the parent type. 8 8 9 - - reg : should contain the address and the length of the shared message 10 - interrupt register set. 9 + - reg : It may contain one or two regions. The first region should contain 10 + the address and the length of the shared message interrupt register set. 11 + The second region should contain the address of aliased MSIIR register for 12 + platforms that have such an alias. 11 13 12 14 - msi-available-ranges: use <start count> style section to define which 13 15 msi interrupt can be used in the 256 msi interrupts. This property is
+3 -3
arch/powerpc/boot/dts/fsl/qoriq-mpic.dtsi
··· 53 53 54 54 msi0: msi@41600 { 55 55 compatible = "fsl,mpic-msi"; 56 - reg = <0x41600 0x200>; 56 + reg = <0x41600 0x200 0x44140 4>; 57 57 msi-available-ranges = <0 0x100>; 58 58 interrupts = < 59 59 0xe0 0 0 0 ··· 68 68 69 69 msi1: msi@41800 { 70 70 compatible = "fsl,mpic-msi"; 71 - reg = <0x41800 0x200>; 71 + reg = <0x41800 0x200 0x45140 4>; 72 72 msi-available-ranges = <0 0x100>; 73 73 interrupts = < 74 74 0xe8 0 0 0 ··· 83 83 84 84 msi2: msi@41a00 { 85 85 compatible = "fsl,mpic-msi"; 86 - reg = <0x41a00 0x200>; 86 + reg = <0x41a00 0x200 0x46140 4>; 87 87 msi-available-ranges = <0 0x100>; 88 88 interrupts = < 89 89 0xf0 0 0 0