arm64: zynqmp: Add missing ethernet alias for kr260-revB
authorMichal Simek <michal.simek@amd.com>
Tue, 29 Jul 2025 13:55:20 +0000 (15:55 +0200)
committerMichal Simek <michal.simek@amd.com>
Mon, 25 Aug 2025 14:20:48 +0000 (16:20 +0200)
Ethernet aliases are used in fdt_fixup_ethernet() to inject
local-mac-address in every boot for OS. Similar change has been done for
other carrier cards by commit c4a711253613 ("arm64: zynqmp: Describe
ethernet controllers via aliases on SOM").

Signed-off-by: Michal Simek <michal.simek@amd.com>
Link: https://lore.kernel.org/r/87d88dba98f7ed96463964684ee45a506d557226.1753797318.git.michal.simek@amd.com
arch/arm/dts/zynqmp-sck-kr-g-revB.dtso

index 0d915d4..60ac508 100644 (file)
                     "xlnx,zynqmp-sk-kr260", "xlnx,zynqmp";
        model = "ZynqMP KR260 revB";
 
+       aliases {
+               ethernet0 = "/axi/ethernet@ff0b0000"; /* &gem0 */
+               ethernet1 = "/axi/ethernet@ff0c0000"; /* &gem1 */
+       };
+
        ina260-u14 {
                compatible = "iio-hwmon";
                io-channels = <&u14 0>, <&u14 1>, <&u14 2>;