diff mbox series

[3/5] ARM: dts: exynos: Add Ethernet interface description for Odroid XU

Message ID 20201103124618.21358-4-l.stelmach@samsung.com
State New
Headers show
Series None | expand

Commit Message

Lukasz Stelmach Nov. 3, 2020, 12:46 p.m. UTC
Add Ethernet interface description for Odroid XU.

Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
---
 arch/arm/boot/dts/exynos5410-odroidxu.dts | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

Comments

Krzysztof Kozlowski Nov. 3, 2020, 4:40 p.m. UTC | #1
On Tue, Nov 03, 2020 at 01:46:16PM +0100, Łukasz Stelmach wrote:
> Add Ethernet interface description for Odroid XU.

> 

> Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>

> ---

>  arch/arm/boot/dts/exynos5410-odroidxu.dts | 15 +++++++++++++++

>  1 file changed, 15 insertions(+)

> 

> diff --git a/arch/arm/boot/dts/exynos5410-odroidxu.dts b/arch/arm/boot/dts/exynos5410-odroidxu.dts

> index 75b4150c26d7..882d9296fa5d 100644

> --- a/arch/arm/boot/dts/exynos5410-odroidxu.dts

> +++ b/arch/arm/boot/dts/exynos5410-odroidxu.dts

> @@ -19,6 +19,10 @@ / {

>  	model = "Hardkernel Odroid XU";

>  	compatible = "hardkernel,odroid-xu", "samsung,exynos5410", "samsung,exynos5";

>  

> +	aliases {

> +		ethernet = &ethernet;


Just like with patch 1/5 - please explain in commit msg why do you need
this.

Best regards,
Krzysztof
diff mbox series

Patch

diff --git a/arch/arm/boot/dts/exynos5410-odroidxu.dts b/arch/arm/boot/dts/exynos5410-odroidxu.dts
index 75b4150c26d7..882d9296fa5d 100644
--- a/arch/arm/boot/dts/exynos5410-odroidxu.dts
+++ b/arch/arm/boot/dts/exynos5410-odroidxu.dts
@@ -19,6 +19,10 @@  / {
 	model = "Hardkernel Odroid XU";
 	compatible = "hardkernel,odroid-xu", "samsung,exynos5410", "samsung,exynos5";
 
+	aliases {
+		ethernet = &ethernet;
+	};
+
 	memory@40000000 {
 		device_type = "memory";
 		reg = <0x40000000 0x7ea00000>;
@@ -653,3 +657,14 @@  &usbdrd3_1 {
 	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 */
+	};
+};