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

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/pci/socionext,uniphier-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 ] ~

  1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
  2 %YAML 1.2
  3 ---
  4 $id: http://devicetree.org/schemas/pci/socionext,uniphier-pcie.yaml#
  5 $schema: http://devicetree.org/meta-schemas/core.yaml#
  6 
  7 title: Socionext UniPhier PCIe host controller
  8 
  9 description: |
 10   UniPhier PCIe host controller is based on the Synopsys DesignWare
 11   PCI core. It shares common features with the PCIe DesignWare core and
 12   inherits common properties defined in
 13   Documentation/devicetree/bindings/pci/snps,dw-pcie.yaml.
 14 
 15 maintainers:
 16   - Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
 17 
 18 allOf:
 19   - $ref: /schemas/pci/snps,dw-pcie.yaml#
 20 
 21 properties:
 22   compatible:
 23     enum:
 24       - socionext,uniphier-pcie
 25 
 26   reg:
 27     minItems: 3
 28     maxItems: 4
 29 
 30   reg-names:
 31     minItems: 3
 32     items:
 33       - const: dbi
 34       - const: link
 35       - const: config
 36       - const: atu
 37 
 38   clocks:
 39     maxItems: 1
 40 
 41   resets:
 42     maxItems: 1
 43 
 44   num-viewport: true
 45 
 46   num-lanes: true
 47 
 48   phys:
 49     maxItems: 1
 50 
 51   phy-names:
 52     const: pcie-phy
 53 
 54   interrupt-controller:
 55     type: object
 56     additionalProperties: false
 57 
 58     properties:
 59       interrupt-controller: true
 60 
 61       '#interrupt-cells':
 62         const: 1
 63 
 64       interrupts:
 65         maxItems: 1
 66 
 67 required:
 68   - compatible
 69   - reg
 70   - reg-names
 71   - clocks
 72   - resets
 73 
 74 unevaluatedProperties: false
 75 
 76 examples:
 77   - |
 78     bus {
 79         gic: interrupt-controller {
 80             interrupt-controller;
 81             #interrupt-cells = <3>;
 82         };
 83     };
 84 
 85     pcie: pcie@66000000 {
 86         compatible = "socionext,uniphier-pcie";
 87         reg-names = "dbi", "link", "config";
 88         reg = <0x66000000 0x1000>, <0x66010000 0x10000>, <0x2fff0000 0x10000>;
 89         #address-cells = <3>;
 90         #size-cells = <2>;
 91         clocks = <&sys_clk 24>;
 92         resets = <&sys_rst 24>;
 93         num-lanes = <1>;
 94         num-viewport = <1>;
 95         bus-range = <0x0 0xff>;
 96         device_type = "pci";
 97         ranges = <0x81000000 0 0x00000000  0x2ffe0000  0 0x00010000>,
 98                  <0x82000000 0 0x00000000  0x20000000  0 0x0ffe0000>;
 99         phy-names = "pcie-phy";
100         phys = <&pcie_phy>;
101         #interrupt-cells = <1>;
102         interrupt-names = "dma", "msi";
103         interrupt-parent = <&gic>;
104         interrupts = <0 224 4>, <0 225 4>;
105         interrupt-map-mask = <0 0 0  7>;
106         interrupt-map = <0 0 0  1  &pcie_intc 0>,
107                         <0 0 0  2  &pcie_intc 1>,
108                         <0 0 0  3  &pcie_intc 2>,
109                         <0 0 0  4  &pcie_intc 3>;
110 
111         pcie_intc: interrupt-controller {
112             interrupt-controller;
113             #interrupt-cells = <1>;
114             interrupt-parent = <&gic>;
115             interrupts = <0 226 4>;
116         };
117     };

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