Lines Matching +full:range +full:- +full:gpios

1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/pci/hisilicon,kirin-pcie.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Xiaowei Song <songxiaowei@hisilicon.com>
11 - Binghui Wang <wangbinghui@hisilicon.com>
17 Documentation/devicetree/bindings/pci/snps,dw-pcie.yaml.
20 - $ref: /schemas/pci/snps,dw-pcie.yaml#
26 - hisilicon,kirin960-pcie
27 - hisilicon,kirin970-pcie
32 For hisilicon,kirin960-pcie, it should also contain phy.
36 reg-names:
42 clock-names:
44 - const: pcie_phy_ref
45 - const: pcie_aux
46 - const: pcie_apb_phy
47 - const: pcie_apb_sys
48 - const: pcie_aclk
53 hisilicon,clken-gpios:
55 Clock input enablement GPIOs from PCI devices like Ethernet, M.2 and
56 mini-PCIe slots.
59 - compatible
60 - reg
61 - reg-names
66 - |
67 #include <dt-bindings/interrupt-controller/arm-gic.h>
68 #include <dt-bindings/clock/hi3660-clock.h>
69 #include <dt-bindings/clock/hi3670-clock.h>
72 #address-cells = <2>;
73 #size-cells = <2>;
76 compatible = "hisilicon,kirin960-pcie";
81 reg-names = "dbi", "apb", "phy", "config";
82 bus-range = <0x0 0xff>;
83 #address-cells = <3>;
84 #size-cells = <2>;
89 num-lanes = <1>;
90 #interrupt-cells = <1>;
92 interrupt-names = "msi";
93 interrupt-map-mask = <0xf800 0 0 7>;
94 interrupt-map = <0x0 0 0 1 &gic GIC_SPI 282 IRQ_TYPE_LEVEL_HIGH>,
103 clock-names = "pcie_phy_ref", "pcie_aux", "pcie_apb_phy",
108 compatible = "hisilicon,kirin970-pcie";
112 reg-names = "dbi", "apb", "config";
113 bus-range = <0x0 0xff>;
114 #address-cells = <3>;
115 #size-cells = <2>;
121 num-lanes = <1>;
122 #interrupt-cells = <1>;
124 interrupt-names = "msi";
125 interrupt-map-mask = <0 0 0 7>;
126 interrupt-map = <0x0 0 0 1 &gic GIC_SPI 282 IRQ_TYPE_LEVEL_HIGH>,
130 reset-gpios = <&gpio7 0 0>;
131 hisilicon,clken-gpios = <&gpio27 3 0>, <&gpio17 0 0>, <&gpio20 6 0>;
136 #address-cells = <3>;
137 #size-cells = <2>;
144 #address-cells = <3>;
145 #size-cells = <2>;
152 reset-gpios = <&gpio3 1 0>;
153 #address-cells = <3>;
154 #size-cells = <2>;
162 reset-gpios = <&gpio27 4 0 >;
163 #address-cells = <3>;
164 #size-cells = <2>;
172 reset-gpios = <&gpio25 2 0 >;
173 #address-cells = <3>;
174 #size-cells = <2>;