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

dt-bindings: net: renesas,rzv2h-gbeth: Document Renesas RZ/G3L SoC

Add device tree binding support for the Gigabit Ethernet (GBETH) IP on
Renesas RZ/G3L SoC. This SoC uses different Synopsys DesignWare MAC
version 5.30 compared to RZ/G3E.

RZ/G3L requires an extra clock compared to RZ/G3E and has pps interrupts.

Add a new compatible string "renesas,r9a08g046-gbeth" for RZ/G3L SoC and
update the schema to handle hardware differences between SoC variants.

Extend the base snps,dwmac.yaml schema to accommodate the PPS interrupts.

Acked-by: Conor Dooley <conor.dooley@microchip.com>
Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
Reviewed-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Link: https://patch.msgid.link/20260131161250.5047-2-biju.das.jz@bp.renesas.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>

authored by

Biju Das and committed by
Jakub Kicinski
3ac2aa31 84b86025

+69 -11
+66 -11
Documentation/devicetree/bindings/net/renesas,rzv2h-gbeth.yaml
··· 27 27 compatible: 28 28 oneOf: 29 29 - items: 30 + - const: renesas,r9a08g046-gbeth # RZ/G3L 31 + - const: snps,dwmac-5.30a 32 + - items: 30 33 - enum: 31 34 - renesas,r9a09g047-gbeth # RZ/G3E 32 35 - renesas,r9a09g056-gbeth # RZ/V2N ··· 50 47 clocks: 51 48 oneOf: 52 49 - items: 53 - - description: CSR clock 54 - - description: AXI system clock 50 + - description: CSR/Register access clock 51 + - description: AXI system/Main clock 55 52 - description: PTP clock 56 53 - description: TX clock 57 54 - description: RX clock 58 55 - description: TX clock phase-shifted by 180 degrees 59 56 - description: RX clock phase-shifted by 180 degrees 57 + - description: RMII clock 58 + 59 + minItems: 7 60 + 60 61 - items: 61 62 - description: CSR clock 62 63 - description: AXI system clock ··· 76 69 - const: rx 77 70 - const: tx-180 78 71 - const: rx-180 72 + - const: rmii 73 + 74 + minItems: 7 75 + 79 76 - items: 80 77 - const: stmmaceth 81 78 - const: pclk ··· 99 88 - const: tx-queue-1 100 89 - const: tx-queue-2 101 90 - const: tx-queue-3 91 + - items: 92 + - const: macirq 93 + - const: eth_wake_irq 94 + - const: eth_lpi 95 + - const: rx-queue-0 96 + - const: rx-queue-1 97 + - const: rx-queue-2 98 + - const: rx-queue-3 99 + - const: tx-queue-0 100 + - const: tx-queue-1 101 + - const: tx-queue-2 102 + - const: tx-queue-3 103 + - const: ptp-pps-0 104 + - const: ptp-pps-1 105 + - const: ptp-pps-2 106 + - const: ptp-pps-3 102 107 - items: 103 108 - const: macirq 104 109 - const: eth_wake_irq ··· 166 139 properties: 167 140 compatible: 168 141 contains: 142 + const: renesas,r9a08g046-gbeth 143 + then: 144 + properties: 145 + clocks: 146 + minItems: 8 147 + 148 + clock-names: 149 + minItems: 8 150 + 151 + interrupts: 152 + minItems: 15 153 + maxItems: 15 154 + 155 + interrupt-names: 156 + minItems: 15 157 + maxItems: 15 158 + 159 + - if: 160 + properties: 161 + compatible: 162 + contains: 169 163 const: renesas,r9a09g077-gbeth 170 164 then: 171 165 properties: ··· 212 164 - reset-names 213 165 else: 214 166 properties: 167 + resets: 168 + maxItems: 1 169 + 170 + pcs-handle: false 171 + 172 + reset-names: false 173 + 174 + - if: 175 + properties: 176 + compatible: 177 + contains: 178 + const: renesas,rzv2h-gbeth 179 + then: 180 + properties: 215 181 clocks: 216 - minItems: 7 182 + maxItems: 7 217 183 218 184 clock-names: 219 - minItems: 7 185 + maxItems: 7 220 186 221 187 interrupts: 222 188 minItems: 11 ··· 239 177 interrupt-names: 240 178 minItems: 11 241 179 maxItems: 11 242 - 243 - resets: 244 - maxItems: 1 245 - 246 - pcs-handle: false 247 - 248 - reset-names: false 249 180 250 181 unevaluatedProperties: false 251 182
+3
Documentation/devicetree/bindings/net/snps,dwmac.yaml
··· 75 75 - qcom,sc8280xp-ethqos 76 76 - qcom,sm8150-ethqos 77 77 - renesas,r9a06g032-gmac 78 + - renesas,r9a08g046-gbeth 78 79 - renesas,r9a09g077-gbeth 79 80 - renesas,rzn1-gmac 80 81 - renesas,rzv2h-gbeth ··· 143 142 pattern: '^rx-queue-[0-7]$' 144 143 - description: Per channel transmit completion interrupt 145 144 pattern: '^tx-queue-[0-7]$' 145 + - description: PPS interrupt 146 + pattern: '^ptp-pps-[0-3]$' 146 147 147 148 clocks: 148 149 minItems: 1