File tree Expand file tree Collapse file tree 1 file changed +64
-0
lines changed
Documentation/devicetree/bindings/pci Expand file tree Collapse file tree 1 file changed +64
-0
lines changed Original file line number Diff line number Diff line change 1+ # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2+ %YAML 1.2
3+ ---
4+ $id : http://devicetree.org/schemas/pci/sophgo,sg2042-pcie-host.yaml#
5+ $schema : http://devicetree.org/meta-schemas/core.yaml#
6+
7+ title : Sophgo SG2042 PCIe Host (Cadence PCIe Wrapper)
8+
9+ description :
10+ Sophgo SG2042 PCIe host controller is based on the Cadence PCIe core.
11+
12+ maintainers :
13+ 14+
15+ properties :
16+ compatible :
17+ const : sophgo,sg2042-pcie-host
18+
19+ reg :
20+ maxItems : 2
21+
22+ reg-names :
23+ items :
24+ - const : reg
25+ - const : cfg
26+
27+ vendor-id :
28+ const : 0x1f1c
29+
30+ device-id :
31+ const : 0x2042
32+
33+ msi-parent : true
34+
35+ allOf :
36+ - $ref : cdns-pcie-host.yaml#
37+
38+ required :
39+ - compatible
40+ - reg
41+ - reg-names
42+
43+ unevaluatedProperties : false
44+
45+ examples :
46+ - |
47+ #include <dt-bindings/interrupt-controller/irq.h>
48+
49+ pcie@62000000 {
50+ compatible = "sophgo,sg2042-pcie-host";
51+ device_type = "pci";
52+ reg = <0x62000000 0x00800000>,
53+ <0x48000000 0x00001000>;
54+ reg-names = "reg", "cfg";
55+ #address-cells = <3>;
56+ #size-cells = <2>;
57+ ranges = <0x81000000 0 0x00000000 0xde000000 0 0x00010000>,
58+ <0x82000000 0 0xd0400000 0xd0400000 0 0x0d000000>;
59+ bus-range = <0x00 0xff>;
60+ vendor-id = <0x1f1c>;
61+ device-id = <0x2042>;
62+ cdns,no-bar-match-nbits = <48>;
63+ msi-parent = <&msi>;
64+ };
You can’t perform that action at this time.
0 commit comments