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

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-5-l.stelmach@samsung.com
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
arch/arm/boot/dts/exynos5410-odroidxu.dts

index 40cb072..949c072 100644 (file)
        model = "Hardkernel Odroid XU";
        compatible = "hardkernel,odroid-xu", "samsung,exynos5410", "samsung,exynos5";
 
+       aliases {
+               ethernet = &ethernet;
+       };
+
        memory@40000000 {
                device_type = "memory";
                reg = <0x40000000 0x7ea00000>;
        vdd33-supply = <&ldo12_reg>;
        vdd10-supply = <&ldo15_reg>;
 };
+
+&usbhost2 {
+       #address-cells = <1>;
+       #size-cells = <0>;
+
+       ethernet: usbether@2 {
+               compatible = "usb0424,9730";
+               reg = <2>;
+               local-mac-address = [00 00 00 00 00 00]; /* Filled in by a bootloader */
+       };
+};