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

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

index 98feeca..62c5928 100644 (file)
 / {
        model = "Hardkernel Odroid XU3 Lite";
        compatible = "hardkernel,odroid-xu3-lite", "samsung,exynos5800", "samsung,exynos5";
+
+       aliases {
+               ethernet = &ethernet;
+       };
 };
 
 &arm_a7_pmu {
 &usbdrd_dwc3_1 {
        dr_mode = "peripheral";
 };
+
+&usbhost2 {
+       #address-cells = <1>;
+       #size-cells = <0>;
+
+       hub@1 {
+               compatible = "usb0424,9514";
+               reg = <1>;
+               #address-cells = <1>;
+               #size-cells = <0>;
+
+               ethernet: usbether@1 {
+                       compatible = "usb0424,ec00";
+                       reg = <1>;
+                       local-mac-address = [00 00 00 00 00 00]; /* Filled in by a bootloader */
+               };
+       };
+};