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

dt-bindings: net: airoha: Add AN7583 support

Introduce AN7583 ethernet controller support to Airoha EN7581
device-tree bindings. The main difference between EN7581 and AN7583 is
the number of reset lines required by the controller (AN7583 does not
require hsi-mac).

Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Reviewed-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://patch.msgid.link/20251017-an7583-eth-support-v3-1-f28319666667@kernel.org
Signed-off-by: Paolo Abeni <pabeni@redhat.com>

authored by

Lorenzo Bianconi and committed by
Paolo Abeni
51538c0c 3dc835a6

+34 -1
+34 -1
Documentation/devicetree/bindings/net/airoha,en7581-eth.yaml
··· 17 17 compatible: 18 18 enum: 19 19 - airoha,en7581-eth 20 + - airoha,an7583-eth 20 21 21 22 reg: 22 23 items: ··· 45 44 - description: PDMA irq 46 45 47 46 resets: 47 + minItems: 7 48 48 maxItems: 8 49 49 50 50 reset-names: ··· 56 54 - const: xsi-mac 57 55 - const: hsi0-mac 58 56 - const: hsi1-mac 59 - - const: hsi-mac 57 + - enum: [ hsi-mac, xfp-mac ] 60 58 - const: xfp-mac 59 + minItems: 7 61 60 62 61 memory-region: 63 62 items: ··· 83 80 The Airoha Network Processor Unit (NPU) provides a configuration 84 81 interface to implement hardware flow offloading programming Packet 85 82 Processor Engine (PPE) flow table. 83 + 84 + allOf: 85 + - $ref: ethernet-controller.yaml# 86 + - if: 87 + properties: 88 + compatible: 89 + contains: 90 + enum: 91 + - airoha,en7581-eth 92 + then: 93 + properties: 94 + resets: 95 + minItems: 8 96 + 97 + reset-names: 98 + minItems: 8 99 + 100 + - if: 101 + properties: 102 + compatible: 103 + contains: 104 + enum: 105 + - airoha,an7583-eth 106 + then: 107 + properties: 108 + resets: 109 + maxItems: 7 110 + 111 + reset-names: 112 + maxItems: 7 86 113 87 114 patternProperties: 88 115 "^ethernet@[1-4]$":