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

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/pci/baikal,bt1-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/baikal,bt1-pcie.yaml (Architecture i386) and /Documentation/devicetree/bindings/pci/baikal,bt1-pcie.yaml (Architecture sparc64)


  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/baikal,      4 $id: http://devicetree.org/schemas/pci/baikal,bt1-pcie.yaml#
  5 $schema: http://devicetree.org/meta-schemas/co      5 $schema: http://devicetree.org/meta-schemas/core.yaml#
  6                                                     6 
  7 title: Baikal-T1 PCIe Root Port Controller          7 title: Baikal-T1 PCIe Root Port Controller
  8                                                     8 
  9 maintainers:                                        9 maintainers:
 10   - Serge Semin <fancer.lancer@gmail.com>           10   - Serge Semin <fancer.lancer@gmail.com>
 11                                                    11 
 12 description:                                       12 description:
 13   Embedded into Baikal-T1 SoC Root Complex con     13   Embedded into Baikal-T1 SoC Root Complex controller with a single port
 14   activated. It's based on the DWC RC PCIe v4.     14   activated. It's based on the DWC RC PCIe v4.60a IP-core, which is configured
 15   to have just a single Root Port function and     15   to have just a single Root Port function and is capable of establishing the
 16   link up to Gen.3 speed on x4 lanes. It doesn     16   link up to Gen.3 speed on x4 lanes. It doesn't have embedded clock and reset
 17   control module, so the proper interface init     17   control module, so the proper interface initialization is supposed to be
 18   performed by software. There four in- and fo     18   performed by software. There four in- and four outbound iATU regions
 19   which can be used to emit all required TLP t     19   which can be used to emit all required TLP types on the PCIe bus.
 20                                                    20 
 21 allOf:                                             21 allOf:
 22   - $ref: /schemas/pci/snps,dw-pcie.yaml#          22   - $ref: /schemas/pci/snps,dw-pcie.yaml#
 23                                                    23 
 24 properties:                                        24 properties:
 25   compatible:                                      25   compatible:
 26     const: baikal,bt1-pcie                         26     const: baikal,bt1-pcie
 27                                                    27 
 28   reg:                                             28   reg:
 29     description:                                   29     description:
 30       DBI, DBI2 and at least 4KB outbound iATU     30       DBI, DBI2 and at least 4KB outbound iATU-capable region for the
 31       peripheral devices CFG-space access.         31       peripheral devices CFG-space access.
 32     maxItems: 3                                    32     maxItems: 3
 33                                                    33 
 34   reg-names:                                       34   reg-names:
 35     items:                                         35     items:
 36       - const: dbi                                 36       - const: dbi
 37       - const: dbi2                                37       - const: dbi2
 38       - const: config                              38       - const: config
 39                                                    39 
 40   interrupts:                                      40   interrupts:
 41     description:                                   41     description:
 42       MSI, AER, PME, Hot-plug, Link Bandwidth      42       MSI, AER, PME, Hot-plug, Link Bandwidth Management, Link Equalization
 43       request and eight Read/Write eDMA IRQ li     43       request and eight Read/Write eDMA IRQ lines are available.
 44     maxItems: 14                                   44     maxItems: 14
 45                                                    45 
 46   interrupt-names:                                 46   interrupt-names:
 47     items:                                         47     items:
 48       - const: dma0                                48       - const: dma0
 49       - const: dma1                                49       - const: dma1
 50       - const: dma2                                50       - const: dma2
 51       - const: dma3                                51       - const: dma3
 52       - const: dma4                                52       - const: dma4
 53       - const: dma5                                53       - const: dma5
 54       - const: dma6                                54       - const: dma6
 55       - const: dma7                                55       - const: dma7
 56       - const: msi                                 56       - const: msi
 57       - const: aer                                 57       - const: aer
 58       - const: pme                                 58       - const: pme
 59       - const: hp                                  59       - const: hp
 60       - const: bw_mg                               60       - const: bw_mg
 61       - const: l_eq                                61       - const: l_eq
 62                                                    62 
 63   clocks:                                          63   clocks:
 64     description:                                   64     description:
 65       DBI (attached to the APB bus), AXI-bus m     65       DBI (attached to the APB bus), AXI-bus master and slave interfaces
 66       are fed up by the dedicated application      66       are fed up by the dedicated application clocks. A common reference
 67       clock signal is supposed to be attached      67       clock signal is supposed to be attached to the corresponding Ref-pad
 68       of the SoC. It will be redistributed amo     68       of the SoC. It will be redistributed amongst the controller core
 69       sub-modules (pipe, core, aux, etc).          69       sub-modules (pipe, core, aux, etc).
 70     maxItems: 4                                    70     maxItems: 4
 71                                                    71 
 72   clock-names:                                     72   clock-names:
 73     items:                                         73     items:
 74       - const: dbi                                 74       - const: dbi
 75       - const: mstr                                75       - const: mstr
 76       - const: slv                                 76       - const: slv
 77       - const: ref                                 77       - const: ref
 78                                                    78 
 79   resets:                                          79   resets:
 80     description:                                   80     description:
 81       A comprehensive controller reset logic i     81       A comprehensive controller reset logic is supposed to be implemented
 82       by software, so almost all the possible      82       by software, so almost all the possible application and core reset
 83       signals are exposed via the system CCU m     83       signals are exposed via the system CCU module.
 84     maxItems: 9                                    84     maxItems: 9
 85                                                    85 
 86   reset-names:                                     86   reset-names:
 87     items:                                         87     items:
 88       - const: mstr                                88       - const: mstr
 89       - const: slv                                 89       - const: slv
 90       - const: pwr                                 90       - const: pwr
 91       - const: hot                                 91       - const: hot
 92       - const: phy                                 92       - const: phy
 93       - const: core                                93       - const: core
 94       - const: pipe                                94       - const: pipe
 95       - const: sticky                              95       - const: sticky
 96       - const: non-sticky                          96       - const: non-sticky
 97                                                    97 
 98   baikal,bt1-syscon:                               98   baikal,bt1-syscon:
 99     $ref: /schemas/types.yaml#/definitions/pha     99     $ref: /schemas/types.yaml#/definitions/phandle
100     description:                                  100     description:
101       Phandle to the Baikal-T1 System Controll    101       Phandle to the Baikal-T1 System Controller DT node. It's required to
102       access some additional PM, Reset-related    102       access some additional PM, Reset-related and LTSSM signals.
103                                                   103 
104   num-lanes:                                      104   num-lanes:
105     maximum: 4                                    105     maximum: 4
106                                                   106 
107   max-link-speed:                                 107   max-link-speed:
108     maximum: 3                                    108     maximum: 3
109                                                   109 
110 required:                                         110 required:
111   - compatible                                    111   - compatible
112   - reg                                           112   - reg
113   - reg-names                                     113   - reg-names
114   - interrupts                                    114   - interrupts
115   - interrupt-names                               115   - interrupt-names
116                                                   116 
117 unevaluatedProperties: false                      117 unevaluatedProperties: false
118                                                   118 
119 examples:                                         119 examples:
120   - |                                             120   - |
121     #include <dt-bindings/interrupt-controller    121     #include <dt-bindings/interrupt-controller/mips-gic.h>
122     #include <dt-bindings/gpio/gpio.h>            122     #include <dt-bindings/gpio/gpio.h>
123                                                   123 
124     pcie@1f052000 {                               124     pcie@1f052000 {
125       compatible = "baikal,bt1-pcie";             125       compatible = "baikal,bt1-pcie";
126       device_type = "pci";                        126       device_type = "pci";
127       reg = <0x1f052000 0x1000>, <0x1f053000 0    127       reg = <0x1f052000 0x1000>, <0x1f053000 0x1000>, <0x1bdbf000 0x1000>;
128       reg-names = "dbi", "dbi2", "config";        128       reg-names = "dbi", "dbi2", "config";
129       #address-cells = <3>;                       129       #address-cells = <3>;
130       #size-cells = <2>;                          130       #size-cells = <2>;
131       ranges = <0x81000000 0 0x00000000 0x1bdb    131       ranges = <0x81000000 0 0x00000000 0x1bdb0000 0 0x00008000>,
132                <0x82000000 0 0x20000000 0x0800    132                <0x82000000 0 0x20000000 0x08000000 0 0x13db0000>;
133       bus-range = <0x0 0xff>;                     133       bus-range = <0x0 0xff>;
134                                                   134 
135       interrupts = <GIC_SHARED 80 IRQ_TYPE_LEV    135       interrupts = <GIC_SHARED 80 IRQ_TYPE_LEVEL_HIGH>,
136                    <GIC_SHARED 81 IRQ_TYPE_LEV    136                    <GIC_SHARED 81 IRQ_TYPE_LEVEL_HIGH>,
137                    <GIC_SHARED 82 IRQ_TYPE_LEV    137                    <GIC_SHARED 82 IRQ_TYPE_LEVEL_HIGH>,
138                    <GIC_SHARED 83 IRQ_TYPE_LEV    138                    <GIC_SHARED 83 IRQ_TYPE_LEVEL_HIGH>,
139                    <GIC_SHARED 84 IRQ_TYPE_LEV    139                    <GIC_SHARED 84 IRQ_TYPE_LEVEL_HIGH>,
140                    <GIC_SHARED 85 IRQ_TYPE_LEV    140                    <GIC_SHARED 85 IRQ_TYPE_LEVEL_HIGH>,
141                    <GIC_SHARED 86 IRQ_TYPE_LEV    141                    <GIC_SHARED 86 IRQ_TYPE_LEVEL_HIGH>,
142                    <GIC_SHARED 87 IRQ_TYPE_LEV    142                    <GIC_SHARED 87 IRQ_TYPE_LEVEL_HIGH>,
143                    <GIC_SHARED 88 IRQ_TYPE_LEV    143                    <GIC_SHARED 88 IRQ_TYPE_LEVEL_HIGH>,
144                    <GIC_SHARED 89 IRQ_TYPE_LEV    144                    <GIC_SHARED 89 IRQ_TYPE_LEVEL_HIGH>,
145                    <GIC_SHARED 90 IRQ_TYPE_LEV    145                    <GIC_SHARED 90 IRQ_TYPE_LEVEL_HIGH>,
146                    <GIC_SHARED 91 IRQ_TYPE_LEV    146                    <GIC_SHARED 91 IRQ_TYPE_LEVEL_HIGH>,
147                    <GIC_SHARED 92 IRQ_TYPE_LEV    147                    <GIC_SHARED 92 IRQ_TYPE_LEVEL_HIGH>,
148                    <GIC_SHARED 93 IRQ_TYPE_LEV    148                    <GIC_SHARED 93 IRQ_TYPE_LEVEL_HIGH>;
149       interrupt-names = "dma0", "dma1", "dma2"    149       interrupt-names = "dma0", "dma1", "dma2", "dma3",
150                         "dma4", "dma5", "dma6"    150                         "dma4", "dma5", "dma6", "dma7",
151                         "msi", "aer", "pme", "    151                         "msi", "aer", "pme", "hp", "bw_mg",
152                         "l_eq";                   152                         "l_eq";
153                                                   153 
154       clocks = <&ccu_sys 1>, <&ccu_axi 6>, <&c    154       clocks = <&ccu_sys 1>, <&ccu_axi 6>, <&ccu_axi 7>, <&clk_pcie>;
155       clock-names = "dbi", "mstr", "slv", "ref    155       clock-names = "dbi", "mstr", "slv", "ref";
156                                                   156 
157       resets = <&ccu_axi 6>, <&ccu_axi 7>, <&c    157       resets = <&ccu_axi 6>, <&ccu_axi 7>, <&ccu_sys 7>, <&ccu_sys 10>,
158                <&ccu_sys 4>, <&ccu_sys 6>, <&c    158                <&ccu_sys 4>, <&ccu_sys 6>, <&ccu_sys 5>, <&ccu_sys 8>,
159                <&ccu_sys 9>;                      159                <&ccu_sys 9>;
160       reset-names = "mstr", "slv", "pwr", "hot    160       reset-names = "mstr", "slv", "pwr", "hot", "phy", "core", "pipe",
161                     "sticky", "non-sticky";       161                     "sticky", "non-sticky";
162                                                   162 
163       reset-gpios = <&port0 0 GPIO_ACTIVE_LOW>    163       reset-gpios = <&port0 0 GPIO_ACTIVE_LOW>;
164                                                   164 
165       num-lanes = <4>;                            165       num-lanes = <4>;
166       max-link-speed = <3>;                       166       max-link-speed = <3>;
167     };                                            167     };
168 ...                                               168 ...
                                                      

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