1 # SPDX-License-Identifier: (GPL-2.0-only OR BS 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 # Copyright (C) 2022-2023 Renesas Electronics 2 # Copyright (C) 2022-2023 Renesas Electronics Corp. 3 %YAML 1.2 3 %YAML 1.2 4 --- 4 --- 5 $id: http://devicetree.org/schemas/pci/rcar-ge 5 $id: http://devicetree.org/schemas/pci/rcar-gen4-pci-ep.yaml# 6 $schema: http://devicetree.org/meta-schemas/co 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 7 8 title: Renesas R-Car Gen4 PCIe Endpoint 8 title: Renesas R-Car Gen4 PCIe Endpoint 9 9 10 maintainers: 10 maintainers: 11 - Yoshihiro Shimoda <yoshihiro.shimoda.uh@ren 11 - Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> 12 12 13 allOf: 13 allOf: 14 - $ref: snps,dw-pcie-ep.yaml# 14 - $ref: snps,dw-pcie-ep.yaml# 15 15 16 properties: 16 properties: 17 compatible: 17 compatible: 18 items: 18 items: 19 - enum: 19 - enum: 20 - renesas,r8a779f0-pcie-ep # R- 20 - renesas,r8a779f0-pcie-ep # R-Car S4-8 21 - renesas,r8a779g0-pcie-ep # R- 21 - renesas,r8a779g0-pcie-ep # R-Car V4H 22 - renesas,r8a779h0-pcie-ep # R- 22 - renesas,r8a779h0-pcie-ep # R-Car V4M 23 - const: renesas,rcar-gen4-pcie-ep # R- 23 - const: renesas,rcar-gen4-pcie-ep # R-Car Gen4 24 24 25 reg: 25 reg: 26 maxItems: 7 26 maxItems: 7 27 27 28 reg-names: 28 reg-names: 29 items: 29 items: 30 - const: dbi 30 - const: dbi 31 - const: dbi2 31 - const: dbi2 32 - const: atu 32 - const: atu 33 - const: dma 33 - const: dma 34 - const: app 34 - const: app 35 - const: phy 35 - const: phy 36 - const: addr_space 36 - const: addr_space 37 37 38 interrupts: 38 interrupts: 39 maxItems: 3 39 maxItems: 3 40 40 41 interrupt-names: 41 interrupt-names: 42 items: 42 items: 43 - const: dma 43 - const: dma 44 - const: sft_ce 44 - const: sft_ce 45 - const: app 45 - const: app 46 46 47 clocks: 47 clocks: 48 maxItems: 2 48 maxItems: 2 49 49 50 clock-names: 50 clock-names: 51 items: 51 items: 52 - const: core 52 - const: core 53 - const: ref 53 - const: ref 54 54 55 power-domains: 55 power-domains: 56 maxItems: 1 56 maxItems: 1 57 57 58 resets: 58 resets: 59 maxItems: 1 59 maxItems: 1 60 60 61 reset-names: 61 reset-names: 62 items: 62 items: 63 - const: pwr 63 - const: pwr 64 64 65 max-link-speed: 65 max-link-speed: 66 maximum: 4 66 maximum: 4 67 67 68 num-lanes: 68 num-lanes: 69 maximum: 4 69 maximum: 4 70 70 71 max-functions: 71 max-functions: 72 maximum: 2 72 maximum: 2 73 73 74 required: 74 required: 75 - compatible 75 - compatible 76 - reg 76 - reg 77 - reg-names 77 - reg-names 78 - interrupts 78 - interrupts 79 - interrupt-names 79 - interrupt-names 80 - clocks 80 - clocks 81 - clock-names 81 - clock-names 82 - power-domains 82 - power-domains 83 - resets 83 - resets 84 - reset-names 84 - reset-names 85 85 86 unevaluatedProperties: false 86 unevaluatedProperties: false 87 87 88 examples: 88 examples: 89 - | 89 - | 90 #include <dt-bindings/clock/r8a779f0-cpg-m 90 #include <dt-bindings/clock/r8a779f0-cpg-mssr.h> 91 #include <dt-bindings/interrupt-controller 91 #include <dt-bindings/interrupt-controller/arm-gic.h> 92 #include <dt-bindings/power/r8a779f0-sysc. 92 #include <dt-bindings/power/r8a779f0-sysc.h> 93 93 94 soc { 94 soc { 95 #address-cells = <2>; 95 #address-cells = <2>; 96 #size-cells = <2>; 96 #size-cells = <2>; 97 97 98 pcie0_ep: pcie-ep@e65d0000 { 98 pcie0_ep: pcie-ep@e65d0000 { 99 compatible = "renesas,r8a779f0-pci 99 compatible = "renesas,r8a779f0-pcie-ep", "renesas,rcar-gen4-pcie-ep"; 100 reg = <0 0xe65d0000 0 0x2000>, <0 100 reg = <0 0xe65d0000 0 0x2000>, <0 0xe65d2000 0 0x1000>, 101 <0 0xe65d3000 0 0x2000>, <0 101 <0 0xe65d3000 0 0x2000>, <0 0xe65d5000 0 0x1200>, 102 <0 0xe65d6200 0 0x0e00>, <0 102 <0 0xe65d6200 0 0x0e00>, <0 0xe65d7000 0 0x0400>, 103 <0 0xfe000000 0 0x400000>; 103 <0 0xfe000000 0 0x400000>; 104 reg-names = "dbi", "dbi2", "atu", 104 reg-names = "dbi", "dbi2", "atu", "dma", "app", "phy", "addr_space"; 105 interrupts = <GIC_SPI 417 IRQ_TYPE 105 interrupts = <GIC_SPI 417 IRQ_TYPE_LEVEL_HIGH>, 106 <GIC_SPI 418 IRQ_TYPE 106 <GIC_SPI 418 IRQ_TYPE_LEVEL_HIGH>, 107 <GIC_SPI 422 IRQ_TYPE 107 <GIC_SPI 422 IRQ_TYPE_LEVEL_HIGH>; 108 interrupt-names = "dma", "sft_ce", 108 interrupt-names = "dma", "sft_ce", "app"; 109 clocks = <&cpg CPG_MOD 624>, <&pci 109 clocks = <&cpg CPG_MOD 624>, <&pcie0_clkref>; 110 clock-names = "core", "ref"; 110 clock-names = "core", "ref"; 111 power-domains = <&sysc R8A779F0_PD 111 power-domains = <&sysc R8A779F0_PD_ALWAYS_ON>; 112 resets = <&cpg 624>; 112 resets = <&cpg 624>; 113 reset-names = "pwr"; 113 reset-names = "pwr"; 114 max-link-speed = <4>; 114 max-link-speed = <4>; 115 num-lanes = <2>; 115 num-lanes = <2>; 116 max-functions = /bits/ 8 <2>; 116 max-functions = /bits/ 8 <2>; 117 }; 117 }; 118 }; 118 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.