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

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/pci/apple,pcie.yaml

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/apple,pcie.yaml (Version linux-6.12-rc7) and /Documentation/devicetree/bindings/pci/apple,pcie.yaml (Version linux-6.6.60)


  1 # SPDX-License-Identifier: (GPL-2.0-only OR BS      1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
  2 %YAML 1.2                                           2 %YAML 1.2
  3 ---                                                 3 ---
  4 $id: http://devicetree.org/schemas/pci/apple,p      4 $id: http://devicetree.org/schemas/pci/apple,pcie.yaml#
  5 $schema: http://devicetree.org/meta-schemas/co      5 $schema: http://devicetree.org/meta-schemas/core.yaml#
  6                                                     6 
  7 title: Apple PCIe host controller                   7 title: Apple PCIe host controller
  8                                                     8 
  9 maintainers:                                        9 maintainers:
 10   - Mark Kettenis <kettenis@openbsd.org>            10   - Mark Kettenis <kettenis@openbsd.org>
 11                                                    11 
 12 description: |                                     12 description: |
 13   The Apple PCIe host controller is a PCIe hos     13   The Apple PCIe host controller is a PCIe host controller with
 14   multiple root ports present in Apple ARM SoC     14   multiple root ports present in Apple ARM SoC platforms, including
 15   various iPhone and iPad devices and the "App     15   various iPhone and iPad devices and the "Apple Silicon" Macs.
 16   The controller incorporates Synopsys DesigWa     16   The controller incorporates Synopsys DesigWare PCIe logic to
 17   implements its root ports.  But the ATU foun     17   implements its root ports.  But the ATU found on most DesignWare
 18   PCIe host bridges is absent.                     18   PCIe host bridges is absent.
 19                                                    19 
 20   All root ports share a single ECAM space, bu     20   All root ports share a single ECAM space, but separate GPIOs are
 21   used to take the PCI devices on those ports      21   used to take the PCI devices on those ports out of reset.  Therefore
 22   the standard "reset-gpios" and "max-link-spe     22   the standard "reset-gpios" and "max-link-speed" properties appear on
 23   the child nodes that represent the PCI bridg     23   the child nodes that represent the PCI bridges that correspond to
 24   the individual root ports.                       24   the individual root ports.
 25                                                    25 
 26   MSIs are handled by the PCIe controller and      26   MSIs are handled by the PCIe controller and translated into regular
 27   interrupts.  A range of 32 MSIs is provided.     27   interrupts.  A range of 32 MSIs is provided.  These 32 MSIs can be
 28   distributed over the root ports as the OS se     28   distributed over the root ports as the OS sees fit by programming
 29   the PCIe controller's port registers.            29   the PCIe controller's port registers.
 30                                                    30 
 31 properties:                                        31 properties:
 32   compatible:                                      32   compatible:
 33     items:                                         33     items:
 34       - enum:                                      34       - enum:
 35           - apple,t8103-pcie                       35           - apple,t8103-pcie
 36           - apple,t8112-pcie                       36           - apple,t8112-pcie
 37           - apple,t6000-pcie                       37           - apple,t6000-pcie
 38       - const: apple,pcie                          38       - const: apple,pcie
 39                                                    39 
 40   reg:                                             40   reg:
 41     minItems: 3                                    41     minItems: 3
 42     maxItems: 6                                    42     maxItems: 6
 43                                                    43 
 44   reg-names:                                       44   reg-names:
 45     minItems: 3                                    45     minItems: 3
 46     items:                                         46     items:
 47       - const: config                              47       - const: config
 48       - const: rc                                  48       - const: rc
 49       - const: port0                               49       - const: port0
 50       - const: port1                               50       - const: port1
 51       - const: port2                               51       - const: port2
 52       - const: port3                               52       - const: port3
 53                                                    53 
 54   ranges:                                          54   ranges:
 55     minItems: 2                                    55     minItems: 2
 56     maxItems: 2                                    56     maxItems: 2
 57                                                    57 
 58   interrupts:                                      58   interrupts:
 59     description:                                   59     description:
 60       Interrupt specifiers, one for each root      60       Interrupt specifiers, one for each root port.
 61     minItems: 1                                    61     minItems: 1
 62     maxItems: 4                                    62     maxItems: 4
 63                                                    63 
 64   msi-parent: true                                 64   msi-parent: true
 65                                                    65 
 66   msi-ranges:                                      66   msi-ranges:
 67     maxItems: 1                                    67     maxItems: 1
 68                                                    68 
 69   iommu-map: true                                  69   iommu-map: true
 70   iommu-map-mask: true                             70   iommu-map-mask: true
 71                                                    71 
 72   power-domains:                                   72   power-domains:
 73     maxItems: 1                                    73     maxItems: 1
 74                                                    74 
 75 required:                                          75 required:
 76   - compatible                                     76   - compatible
 77   - reg                                            77   - reg
 78   - reg-names                                      78   - reg-names
 79   - bus-range                                      79   - bus-range
 80   - interrupts                                     80   - interrupts
 81   - msi-controller                                 81   - msi-controller
 82   - msi-parent                                     82   - msi-parent
 83   - msi-ranges                                     83   - msi-ranges
 84                                                    84 
 85 unevaluatedProperties: false                       85 unevaluatedProperties: false
 86                                                    86 
 87 allOf:                                             87 allOf:
 88   - $ref: /schemas/pci/pci-host-bridge.yaml#   !!  88   - $ref: /schemas/pci/pci-bus.yaml#
 89   - $ref: /schemas/interrupt-controller/msi-co     89   - $ref: /schemas/interrupt-controller/msi-controller.yaml#
 90   - if:                                            90   - if:
 91       properties:                                  91       properties:
 92         compatible:                                92         compatible:
 93           contains:                                93           contains:
 94             const: apple,t8103-pcie                94             const: apple,t8103-pcie
 95     then:                                          95     then:
 96       properties:                                  96       properties:
 97         reg:                                       97         reg:
 98           maxItems: 5                              98           maxItems: 5
 99         interrupts:                                99         interrupts:
100           maxItems: 3                             100           maxItems: 3
101                                                   101 
102 examples:                                         102 examples:
103   - |                                             103   - |
104     #include <dt-bindings/interrupt-controller    104     #include <dt-bindings/interrupt-controller/apple-aic.h>
105                                                   105 
106     soc {                                         106     soc {
107       #address-cells = <2>;                       107       #address-cells = <2>;
108       #size-cells = <2>;                          108       #size-cells = <2>;
109                                                   109 
110       pcie0: pcie@690000000 {                     110       pcie0: pcie@690000000 {
111         compatible = "apple,t8103-pcie", "appl    111         compatible = "apple,t8103-pcie", "apple,pcie";
112         device_type = "pci";                      112         device_type = "pci";
113                                                   113 
114         reg = <0x6 0x90000000 0x0 0x1000000>,     114         reg = <0x6 0x90000000 0x0 0x1000000>,
115               <0x6 0x80000000 0x0 0x100000>,      115               <0x6 0x80000000 0x0 0x100000>,
116               <0x6 0x81000000 0x0 0x4000>,        116               <0x6 0x81000000 0x0 0x4000>,
117               <0x6 0x82000000 0x0 0x4000>,        117               <0x6 0x82000000 0x0 0x4000>,
118               <0x6 0x83000000 0x0 0x4000>;        118               <0x6 0x83000000 0x0 0x4000>;
119         reg-names = "config", "rc", "port0", "    119         reg-names = "config", "rc", "port0", "port1", "port2";
120                                                   120 
121         interrupt-parent = <&aic>;                121         interrupt-parent = <&aic>;
122         interrupts = <AIC_IRQ 695 IRQ_TYPE_LEV    122         interrupts = <AIC_IRQ 695 IRQ_TYPE_LEVEL_HIGH>,
123                      <AIC_IRQ 698 IRQ_TYPE_LEV    123                      <AIC_IRQ 698 IRQ_TYPE_LEVEL_HIGH>,
124                      <AIC_IRQ 701 IRQ_TYPE_LEV    124                      <AIC_IRQ 701 IRQ_TYPE_LEVEL_HIGH>;
125                                                   125 
126         msi-controller;                           126         msi-controller;
127         msi-parent = <&pcie0>;                    127         msi-parent = <&pcie0>;
128         msi-ranges = <&aic AIC_IRQ 704 IRQ_TYP    128         msi-ranges = <&aic AIC_IRQ 704 IRQ_TYPE_EDGE_RISING 32>;
129                                                   129 
130         iommu-map = <0x100 &dart0 1 1>,           130         iommu-map = <0x100 &dart0 1 1>,
131                     <0x200 &dart1 1 1>,           131                     <0x200 &dart1 1 1>,
132                     <0x300 &dart2 1 1>;           132                     <0x300 &dart2 1 1>;
133         iommu-map-mask = <0xff00>;                133         iommu-map-mask = <0xff00>;
134                                                   134 
135         bus-range = <0 3>;                        135         bus-range = <0 3>;
136         #address-cells = <3>;                     136         #address-cells = <3>;
137         #size-cells = <2>;                        137         #size-cells = <2>;
138         ranges = <0x43000000 0x6 0xa0000000 0x    138         ranges = <0x43000000 0x6 0xa0000000 0x6 0xa0000000 0x0 0x20000000>,
139                  <0x02000000 0x0 0xc0000000 0x    139                  <0x02000000 0x0 0xc0000000 0x6 0xc0000000 0x0 0x40000000>;
140                                                   140 
141         power-domains = <&ps_apcie_gp>;           141         power-domains = <&ps_apcie_gp>;
142         pinctrl-0 = <&pcie_pins>;                 142         pinctrl-0 = <&pcie_pins>;
143         pinctrl-names = "default";                143         pinctrl-names = "default";
144                                                   144 
145         pci@0,0 {                                 145         pci@0,0 {
146           device_type = "pci";                    146           device_type = "pci";
147           reg = <0x0 0x0 0x0 0x0 0x0>;            147           reg = <0x0 0x0 0x0 0x0 0x0>;
148           reset-gpios = <&pinctrl_ap 152 0>;      148           reset-gpios = <&pinctrl_ap 152 0>;
149                                                   149 
150           #address-cells = <3>;                   150           #address-cells = <3>;
151           #size-cells = <2>;                      151           #size-cells = <2>;
152           ranges;                                 152           ranges;
153         };                                        153         };
154                                                   154 
155         pci@1,0 {                                 155         pci@1,0 {
156           device_type = "pci";                    156           device_type = "pci";
157           reg = <0x800 0x0 0x0 0x0 0x0>;          157           reg = <0x800 0x0 0x0 0x0 0x0>;
158           reset-gpios = <&pinctrl_ap 153 0>;      158           reset-gpios = <&pinctrl_ap 153 0>;
159                                                   159 
160           #address-cells = <3>;                   160           #address-cells = <3>;
161           #size-cells = <2>;                      161           #size-cells = <2>;
162           ranges;                                 162           ranges;
163         };                                        163         };
164                                                   164 
165         pci@2,0 {                                 165         pci@2,0 {
166           device_type = "pci";                    166           device_type = "pci";
167           reg = <0x1000 0x0 0x0 0x0 0x0>;         167           reg = <0x1000 0x0 0x0 0x0 0x0>;
168           reset-gpios = <&pinctrl_ap 33 0>;       168           reset-gpios = <&pinctrl_ap 33 0>;
169                                                   169 
170           #address-cells = <3>;                   170           #address-cells = <3>;
171           #size-cells = <2>;                      171           #size-cells = <2>;
172           ranges;                                 172           ranges;
173         };                                        173         };
174       };                                          174       };
175     };                                            175     };
                                                      

~ [ 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