ARM: dts: exynos: Add Ethernet interface description for Odroid U3
authorŁukasz Stelmach <l.stelmach@samsung.com>
Tue, 3 Nov 2020 18:44:11 +0000 (19:44 +0100)
committerKrzysztof Kozlowski <krzk@kernel.org>
Thu, 5 Nov 2020 19:30:15 +0000 (20:30 +0100)
Add Ethernet interface description for Odroid U3.

Add an alias to enable bootloaders to find the Ethernet interface
and assign a MAC address.

Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
Link: https://lore.kernel.org/r/20201103184412.18874-6-l.stelmach@samsung.com
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
arch/arm/boot/dts/exynos4412-odroidu3.dts

index 3bc83d6..efaf753 100644 (file)
        model = "Hardkernel ODROID-U3 board based on Exynos4412";
        compatible = "hardkernel,odroid-u3", "samsung,exynos4412", "samsung,exynos4";
 
+       aliases {
+               ethernet = &ethernet;
+       };
+
        memory@40000000 {
                device_type = "memory";
                reg = <0x40000000 0x7FF00000>;
 };
 
 &ehci {
+       #address-cells = <1>;
+       #size-cells = <0>;
        phys = <&exynos_usbphy 2>, <&exynos_usbphy 3>;
        phy-names = "hsic0", "hsic1";
+
+       ethernet: usbether@2 {
+               compatible = "usb0424,9730";
+               reg = <2>;
+               local-mac-address = [00 00 00 00 00 00]; /* Filled in by a bootloader */
+       };
 };
 
 &hsotg {