~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/pci/xgene-pci-msi.txt

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /Documentation/devicetree/bindings/pci/xgene-pci-msi.txt (Architecture sparc) and /Documentation/devicetree/bindings/pci/xgene-pci-msi.txt (Architecture mips)


  1 * AppliedMicro X-Gene v1 PCIe MSI controller        1 * AppliedMicro X-Gene v1 PCIe MSI controller
  2                                                     2 
  3 Required properties:                                3 Required properties:
  4                                                     4 
  5 - compatible: should be "apm,xgene1-msi" to id      5 - compatible: should be "apm,xgene1-msi" to identify
  6               X-Gene v1 PCIe MSI controller bl      6               X-Gene v1 PCIe MSI controller block.
  7 - msi-controller: indicates that this is an X-      7 - msi-controller: indicates that this is an X-Gene v1 PCIe MSI controller node
  8 - reg: physical base address (0x79000000) and       8 - reg: physical base address (0x79000000) and length (0x900000) for controller
  9        registers. These registers include the       9        registers. These registers include the MSI termination address and data
 10        registers as well as the MSI interrupt      10        registers as well as the MSI interrupt status registers.
 11 - reg-names: not required                          11 - reg-names: not required
 12 - interrupts: A list of 16 interrupt outputs o     12 - interrupts: A list of 16 interrupt outputs of the controller, starting from
 13               interrupt number 0x10 to 0x1f.       13               interrupt number 0x10 to 0x1f.
 14 - interrupt-names: not required                    14 - interrupt-names: not required
 15                                                    15 
 16 Each PCIe node needs to have property msi-pare     16 Each PCIe node needs to have property msi-parent that points to an MSI
 17 controller node                                    17 controller node
 18                                                    18 
 19 Examples:                                          19 Examples:
 20                                                    20 
 21 SoC DTSI:                                          21 SoC DTSI:
 22                                                    22 
 23         + MSI node:                                23         + MSI node:
 24         msi@79000000 {                             24         msi@79000000 {
 25                 compatible = "apm,xgene1-msi";     25                 compatible = "apm,xgene1-msi";
 26                 msi-controller;                    26                 msi-controller;
 27                 reg = <0x00 0x79000000 0x0 0x9     27                 reg = <0x00 0x79000000 0x0 0x900000>;
 28                 interrupts =    <0x0 0x10 0x4>     28                 interrupts =    <0x0 0x10 0x4>
 29                                 <0x0 0x11 0x4>     29                                 <0x0 0x11 0x4>
 30                                 <0x0 0x12 0x4>     30                                 <0x0 0x12 0x4>
 31                                 <0x0 0x13 0x4>     31                                 <0x0 0x13 0x4>
 32                                 <0x0 0x14 0x4>     32                                 <0x0 0x14 0x4>
 33                                 <0x0 0x15 0x4>     33                                 <0x0 0x15 0x4>
 34                                 <0x0 0x16 0x4>     34                                 <0x0 0x16 0x4>
 35                                 <0x0 0x17 0x4>     35                                 <0x0 0x17 0x4>
 36                                 <0x0 0x18 0x4>     36                                 <0x0 0x18 0x4>
 37                                 <0x0 0x19 0x4>     37                                 <0x0 0x19 0x4>
 38                                 <0x0 0x1a 0x4>     38                                 <0x0 0x1a 0x4>
 39                                 <0x0 0x1b 0x4>     39                                 <0x0 0x1b 0x4>
 40                                 <0x0 0x1c 0x4>     40                                 <0x0 0x1c 0x4>
 41                                 <0x0 0x1d 0x4>     41                                 <0x0 0x1d 0x4>
 42                                 <0x0 0x1e 0x4>     42                                 <0x0 0x1e 0x4>
 43                                 <0x0 0x1f 0x4>     43                                 <0x0 0x1f 0x4>;
 44         };                                         44         };
 45                                                    45 
 46         + PCIe controller node with msi-parent     46         + PCIe controller node with msi-parent property pointing to MSI node:
 47         pcie0: pcie@1f2b0000 {                     47         pcie0: pcie@1f2b0000 {
 48                 device_type = "pci";               48                 device_type = "pci";
 49                 compatible = "apm,xgene-storm-     49                 compatible = "apm,xgene-storm-pcie", "apm,xgene-pcie";
 50                 #interrupt-cells = <1>;            50                 #interrupt-cells = <1>;
 51                 #size-cells = <2>;                 51                 #size-cells = <2>;
 52                 #address-cells = <3>;              52                 #address-cells = <3>;
 53                 reg = < 0x00 0x1f2b0000 0x0 0x     53                 reg = < 0x00 0x1f2b0000 0x0 0x00010000   /* Controller registers */
 54                         0xe0 0xd0000000 0x0 0x     54                         0xe0 0xd0000000 0x0 0x00040000>; /* PCI config space */
 55                 reg-names = "csr", "cfg";          55                 reg-names = "csr", "cfg";
 56                 ranges = <0x01000000 0x00 0x00     56                 ranges = <0x01000000 0x00 0x00000000 0xe0 0x10000000 0x00 0x00010000   /* io */
 57                           0x02000000 0x00 0x80     57                           0x02000000 0x00 0x80000000 0xe1 0x80000000 0x00 0x80000000>; /* mem */
 58                 dma-ranges = <0x42000000 0x80      58                 dma-ranges = <0x42000000 0x80 0x00000000 0x80 0x00000000 0x00 0x80000000
 59                               0x42000000 0x00      59                               0x42000000 0x00 0x00000000 0x00 0x00000000 0x80 0x00000000>;
 60                 interrupt-map-mask = <0x0 0x0      60                 interrupt-map-mask = <0x0 0x0 0x0 0x7>;
 61                 interrupt-map = <0x0 0x0 0x0 0     61                 interrupt-map = <0x0 0x0 0x0 0x1 &gic 0x0 0xc2 0x1
 62                                  0x0 0x0 0x0 0     62                                  0x0 0x0 0x0 0x2 &gic 0x0 0xc3 0x1
 63                                  0x0 0x0 0x0 0     63                                  0x0 0x0 0x0 0x3 &gic 0x0 0xc4 0x1
 64                                  0x0 0x0 0x0 0     64                                  0x0 0x0 0x0 0x4 &gic 0x0 0xc5 0x1>;
 65                 dma-coherent;                      65                 dma-coherent;
 66                 clocks = <&pcie0clk 0>;            66                 clocks = <&pcie0clk 0>;
 67                 msi-parent= <&msi>;                67                 msi-parent= <&msi>;
 68         };                                         68         };
                                                      

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php