Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: PCI: renesas,pci-rcar-gen2: Add device tree support for R9A06G032

Add internal PCI bridge support for the R9A06G032 SOC. The Renesas RZ/N1D
(R9A06G032) internal PCI bridge is compatible with the one present in the
R-Car Gen2 family, but compared to R-Car Gen2, it needs three clocks
instead of one.

The 'resets' property is not required for the RZ/N1 family.

Link: https://lore.kernel.org/r/20220520094155.313784-3-herve.codina@bootlin.com
Signed-off-by: Herve Codina <herve.codina@bootlin.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Rob Herring <robh@kernel.org>

authored by

Herve Codina and committed by
Bjorn Helgaas
2ed9ae81 409ae431

+40 -10
+40 -10
Documentation/devicetree/bindings/pci/renesas,pci-rcar-gen2.yaml
··· 15 15 AHB. There is one bridge instance per USB port connected to the internal 16 16 OHCI and EHCI controllers. 17 17 18 - allOf: 19 - - $ref: /schemas/pci/pci-bus.yaml# 20 - 21 18 properties: 22 19 compatible: 23 20 oneOf: ··· 29 32 - renesas,pci-r8a7793 # R-Car M2-N 30 33 - renesas,pci-r8a7794 # R-Car E2 31 34 - const: renesas,pci-rcar-gen2 # R-Car Gen2 and RZ/G1 35 + - items: 36 + - enum: 37 + - renesas,pci-r9a06g032 # RZ/N1D 38 + - const: renesas,pci-rzn1 # RZ/N1 32 39 33 40 reg: 34 41 items: ··· 42 41 interrupts: 43 42 maxItems: 1 44 43 45 - clocks: 46 - items: 47 - - description: Device clock 44 + clocks: true 48 45 49 - clock-names: 50 - items: 51 - - const: pclk 46 + clock-names: true 52 47 53 48 resets: 54 49 maxItems: 1 ··· 103 106 - interrupt-map 104 107 - interrupt-map-mask 105 108 - clocks 106 - - resets 107 109 - power-domains 108 110 - bus-range 109 111 - "#address-cells" 110 112 - "#size-cells" 111 113 - "#interrupt-cells" 114 + 115 + allOf: 116 + - $ref: /schemas/pci/pci-bus.yaml# 117 + 118 + - if: 119 + properties: 120 + compatible: 121 + contains: 122 + enum: 123 + - renesas,pci-rzn1 124 + then: 125 + properties: 126 + clocks: 127 + items: 128 + - description: Internal bus clock (AHB) for HOST 129 + - description: Internal bus clock (AHB) Power Management 130 + - description: PCI clock for USB subsystem 131 + clock-names: 132 + items: 133 + - const: hclkh 134 + - const: hclkpm 135 + - const: pciclk 136 + required: 137 + - clock-names 138 + else: 139 + properties: 140 + clocks: 141 + items: 142 + - description: Device clock 143 + clock-names: 144 + items: 145 + - const: pclk 146 + required: 147 + - resets 112 148 113 149 unevaluatedProperties: false 114 150