]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: exynos: Add Ethernet node for E850-96 board
authorSam Protsenko <semen.protsenko@linaro.org>
Thu, 31 Jul 2025 23:45:32 +0000 (18:45 -0500)
committerKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Wed, 13 Aug 2025 07:50:27 +0000 (09:50 +0200)
The E850-96 board has a hard-wired LAN9514 chip which acts as a USB hub
and Ethernet bridge. It's being discovered dynamically when the USB bus
gets enumerated, but the corresponding Ethernet device tree node is
still needed for the bootloader to pass the MAC address through. Add
LAN9514 nodes as described in [1]. 'local-mac-address' property (in the
'ethernet' node) is used for MAC address handover from the bootloader to
Linux.

[1] Documentation/devicetree/bindings/net/microchip,lan95xx.yaml

Signed-off-by: Sam Protsenko <semen.protsenko@linaro.org>
Link: https://lore.kernel.org/r/20250731234532.12903-1-semen.protsenko@linaro.org
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
arch/arm64/boot/dts/exynos/exynos850-e850-96.dts

index 7d70a32e75b2553ad690bf936a5d8f784d3aa4ae..ab076d326a49824c4335394a9a12df6d0292c4ab 100644 (file)
@@ -21,6 +21,7 @@
        compatible = "winlink,e850-96", "samsung,exynos850";
 
        aliases {
+               ethernet0 = &ethernet;
                mmc0 = &mmc_0;
                serial0 = &serial_0;
        };
 };
 
 &usbdrd_dwc3 {
+       #address-cells = <1>;
+       #size-cells = <0>;
        dr_mode = "otg";
        usb-role-switch;
        role-switch-default-mode = "host";
 
+       hub@1 {
+               compatible = "usb424,9514";
+               reg = <1>;
+               #address-cells = <1>;
+               #size-cells = <0>;
+
+               ethernet: ethernet@1 {
+                       compatible = "usb424,ec00";
+                       reg = <1>;
+               };
+       };
+
        port {
                usb1_drd_sw: endpoint {
                        remote-endpoint = <&usb_dr_connector>;