summary refs log tree commit diff
diff options
context:
space:
mode:
authorŁukasz Stelmach <l.stelmach@samsung.com>2020-11-03 19:44:09 +0100
committerKrzysztof Kozlowski <krzk@kernel.org>2020-11-05 20:30:07 +0100
commit9ef3a2c5859e02afc67f71cd31ff5177771b48c1 (patch)
tree392eb4dcc1d223d141b13357e4853b3b1c462d2f
parent007fda302d771d818347ce85043ae8681b87b6e0 (diff)
downloadlinux-9ef3a2c5859e02afc67f71cd31ff5177771b48c1.tar.gz
ARM: dts: exynos: Add Ethernet interface description for Odroid XU3 Lite
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>
-rw-r--r--arch/arm/boot/dts/exynos5422-odroidxu3-lite.dts22
1 files changed, 22 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/exynos5422-odroidxu3-lite.dts b/arch/arm/boot/dts/exynos5422-odroidxu3-lite.dts
index 98feecad5489..62c5928aa994 100644
--- a/arch/arm/boot/dts/exynos5422-odroidxu3-lite.dts
+++ b/arch/arm/boot/dts/exynos5422-odroidxu3-lite.dts
@@ -16,6 +16,10 @@
 / {
 	model = "Hardkernel Odroid XU3 Lite";
 	compatible = "hardkernel,odroid-xu3-lite", "samsung,exynos5800", "samsung,exynos5";
+
+	aliases {
+		ethernet = &ethernet;
+	};
 };
 
 &arm_a7_pmu {
@@ -103,3 +107,21 @@
 &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 */
+		};
+	};
+};