Skip to content

Commit afa950b

Browse files
krzkPaolo Abeni
authored andcommitted
dt-bindings: net: cdns,macb: use correct xlnx prefix for Xilinx
Use correct vendor for Xilinx versions of Cadence MACB/GEM Ethernet controller. The Versal compatible was not released, so it can be changed. Zynq-7xxx and Ultrascale+ has to be kept in new and deprecated form. Signed-off-by: Krzysztof Kozlowski <[email protected]> Reviewed-by: Rob Herring <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Paolo Abeni <[email protected]>
1 parent 7d85e9c commit afa950b

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

Documentation/devicetree/bindings/net/cdns,macb.yaml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,17 @@ properties:
2020

2121
- items:
2222
- enum:
23-
- cdns,versal-gem # Xilinx Versal
2423
- cdns,zynq-gem # Xilinx Zynq-7xxx SoC
2524
- cdns,zynqmp-gem # Xilinx Zynq Ultrascale+ MPSoC
2625
- const: cdns,gem # Generic
26+
deprecated: true
27+
28+
- items:
29+
- enum:
30+
- xlnx,versal-gem # Xilinx Versal
31+
- xlnx,zynq-gem # Xilinx Zynq-7xxx SoC
32+
- xlnx,zynqmp-gem # Xilinx Zynq Ultrascale+ MPSoC
33+
- const: cdns,gem # Generic
2734

2835
- items:
2936
- enum:
@@ -183,7 +190,7 @@ examples:
183190
#address-cells = <2>;
184191
#size-cells = <2>;
185192
gem1: ethernet@ff0c0000 {
186-
compatible = "cdns,zynqmp-gem", "cdns,gem";
193+
compatible = "xlnx,zynqmp-gem", "cdns,gem";
187194
interrupt-parent = <&gic>;
188195
interrupts = <0 59 4>, <0 59 4>;
189196
reg = <0x0 0xff0c0000 0x0 0x1000>;

0 commit comments

Comments
 (0)