1af7cda83SSimon Xue# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2af7cda83SSimon Xue%YAML 1.2 3af7cda83SSimon Xue--- 4af7cda83SSimon Xue$id: http://devicetree.org/schemas/pci/rockchip-dw-pcie.yaml# 5af7cda83SSimon Xue$schema: http://devicetree.org/meta-schemas/core.yaml# 6af7cda83SSimon Xue 7af7cda83SSimon Xuetitle: DesignWare based PCIe controller on Rockchip SoCs 8af7cda83SSimon Xue 9af7cda83SSimon Xuemaintainers: 10af7cda83SSimon Xue - Shawn Lin <shawn.lin@rock-chips.com> 11af7cda83SSimon Xue - Simon Xue <xxm@rock-chips.com> 12af7cda83SSimon Xue - Heiko Stuebner <heiko@sntech.de> 13af7cda83SSimon Xue 14af7cda83SSimon Xuedescription: |+ 15af7cda83SSimon Xue RK3568 SoC PCIe host controller is based on the Synopsys DesignWare 16af7cda83SSimon Xue PCIe IP and thus inherits all the common properties defined in 1798b59129SSerge Semin snps,dw-pcie.yaml. 18af7cda83SSimon Xue 19af7cda83SSimon XueallOf: 2098b59129SSerge Semin - $ref: /schemas/pci/snps,dw-pcie.yaml# 21af7cda83SSimon Xue 22af7cda83SSimon Xueproperties: 23af7cda83SSimon Xue compatible: 24*13803c86SLucas Tanure oneOf: 25*13803c86SLucas Tanure - const: rockchip,rk3568-pcie 26*13803c86SLucas Tanure - items: 27*13803c86SLucas Tanure - enum: 28*13803c86SLucas Tanure - rockchip,rk3588-pcie 29af7cda83SSimon Xue - const: rockchip,rk3568-pcie 30af7cda83SSimon Xue 31af7cda83SSimon Xue reg: 32af7cda83SSimon Xue items: 33af7cda83SSimon Xue - description: Data Bus Interface (DBI) registers 34af7cda83SSimon Xue - description: Rockchip designed configuration registers 35af7cda83SSimon Xue - description: Config registers 36af7cda83SSimon Xue 37af7cda83SSimon Xue reg-names: 38af7cda83SSimon Xue items: 39af7cda83SSimon Xue - const: dbi 40af7cda83SSimon Xue - const: apb 41af7cda83SSimon Xue - const: config 42af7cda83SSimon Xue 43af7cda83SSimon Xue clocks: 44af7cda83SSimon Xue items: 45af7cda83SSimon Xue - description: AHB clock for PCIe master 46af7cda83SSimon Xue - description: AHB clock for PCIe slave 47af7cda83SSimon Xue - description: AHB clock for PCIe dbi 48af7cda83SSimon Xue - description: APB clock for PCIe 49af7cda83SSimon Xue - description: Auxiliary clock for PCIe 50af7cda83SSimon Xue 51af7cda83SSimon Xue clock-names: 52af7cda83SSimon Xue items: 53af7cda83SSimon Xue - const: aclk_mst 54af7cda83SSimon Xue - const: aclk_slv 55af7cda83SSimon Xue - const: aclk_dbi 56af7cda83SSimon Xue - const: pclk 57af7cda83SSimon Xue - const: aux 58af7cda83SSimon Xue 59af7cda83SSimon Xue msi-map: true 60af7cda83SSimon Xue 61af7cda83SSimon Xue num-lanes: true 62af7cda83SSimon Xue 63af7cda83SSimon Xue phys: 64af7cda83SSimon Xue maxItems: 1 65af7cda83SSimon Xue 66af7cda83SSimon Xue phy-names: 67af7cda83SSimon Xue const: pcie-phy 68af7cda83SSimon Xue 69af7cda83SSimon Xue power-domains: 70af7cda83SSimon Xue maxItems: 1 71af7cda83SSimon Xue 72af7cda83SSimon Xue ranges: 73af7cda83SSimon Xue maxItems: 2 74af7cda83SSimon Xue 75af7cda83SSimon Xue resets: 76af7cda83SSimon Xue maxItems: 1 77af7cda83SSimon Xue 78af7cda83SSimon Xue reset-names: 79af7cda83SSimon Xue const: pipe 80af7cda83SSimon Xue 81af7cda83SSimon Xue vpcie3v3-supply: true 82af7cda83SSimon Xue 83af7cda83SSimon Xuerequired: 84af7cda83SSimon Xue - compatible 85af7cda83SSimon Xue - reg 86af7cda83SSimon Xue - reg-names 87af7cda83SSimon Xue - clocks 88af7cda83SSimon Xue - clock-names 89af7cda83SSimon Xue - msi-map 90af7cda83SSimon Xue - num-lanes 91af7cda83SSimon Xue - phys 92af7cda83SSimon Xue - phy-names 93af7cda83SSimon Xue - power-domains 94af7cda83SSimon Xue - resets 95af7cda83SSimon Xue - reset-names 96af7cda83SSimon Xue 97af7cda83SSimon XueunevaluatedProperties: false 98af7cda83SSimon Xue 99af7cda83SSimon Xueexamples: 100af7cda83SSimon Xue - | 101af7cda83SSimon Xue 102af7cda83SSimon Xue bus { 103af7cda83SSimon Xue #address-cells = <2>; 104af7cda83SSimon Xue #size-cells = <2>; 105af7cda83SSimon Xue 106af7cda83SSimon Xue pcie3x2: pcie@fe280000 { 107931262e6SPeter Geis compatible = "rockchip,rk3568-pcie"; 108af7cda83SSimon Xue reg = <0x3 0xc0800000 0x0 0x390000>, 109af7cda83SSimon Xue <0x0 0xfe280000 0x0 0x10000>, 110af7cda83SSimon Xue <0x3 0x80000000 0x0 0x100000>; 111af7cda83SSimon Xue reg-names = "dbi", "apb", "config"; 112af7cda83SSimon Xue bus-range = <0x20 0x2f>; 113af7cda83SSimon Xue clocks = <&cru 143>, <&cru 144>, 114af7cda83SSimon Xue <&cru 145>, <&cru 146>, 115af7cda83SSimon Xue <&cru 147>; 116af7cda83SSimon Xue clock-names = "aclk_mst", "aclk_slv", 117af7cda83SSimon Xue "aclk_dbi", "pclk", 118af7cda83SSimon Xue "aux"; 119af7cda83SSimon Xue device_type = "pci"; 120af7cda83SSimon Xue linux,pci-domain = <2>; 121af7cda83SSimon Xue max-link-speed = <2>; 122af7cda83SSimon Xue msi-map = <0x2000 &its 0x2000 0x1000>; 123af7cda83SSimon Xue num-lanes = <2>; 124af7cda83SSimon Xue phys = <&pcie30phy>; 125af7cda83SSimon Xue phy-names = "pcie-phy"; 126af7cda83SSimon Xue power-domains = <&power 15>; 127af7cda83SSimon Xue ranges = <0x81000000 0x0 0x80800000 0x3 0x80800000 0x0 0x100000>, 128af7cda83SSimon Xue <0x83000000 0x0 0x80900000 0x3 0x80900000 0x0 0x3f700000>; 129af7cda83SSimon Xue resets = <&cru 193>; 130af7cda83SSimon Xue reset-names = "pipe"; 131af7cda83SSimon Xue #address-cells = <3>; 132af7cda83SSimon Xue #size-cells = <2>; 133af7cda83SSimon Xue }; 134af7cda83SSimon Xue }; 135af7cda83SSimon Xue... 136