diff mbox series

[5/5] ARM: dts: exynos: Add Ethernet interface description for Odroid X/X2

Message ID 20201103124618.21358-6-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 X/X2.

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

Comments

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

> 

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

> ---

>  arch/arm/boot/dts/exynos4412-odroidx.dts | 28 ++++++++++++++++++++++++

>  1 file changed, 28 insertions(+)

> 

> diff --git a/arch/arm/boot/dts/exynos4412-odroidx.dts b/arch/arm/boot/dts/exynos4412-odroidx.dts

> index 3ea2a0101e80..8f154f431f6c 100644

> --- a/arch/arm/boot/dts/exynos4412-odroidx.dts

> +++ b/arch/arm/boot/dts/exynos4412-odroidx.dts

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

>  	model = "Hardkernel ODROID-X board based on Exynos4412";

>  	compatible = "hardkernel,odroid-x", "samsung,exynos4412", "samsung,exynos4";

>  

> +	aliases {

> +		ethernet = &ethernet;

> +	};

> +

>  	memory@40000000 {

>  		device_type = "memory";

>  		reg = <0x40000000 0x3FF00000>;

> @@ -72,8 +76,32 @@ &buck8_reg {

>  };

>  

>  &ehci {

> +	#address-cells = <1>;

> +	#size-cells = <0>;

>  	phys = <&exynos_usbphy 2>;

>  	phy-names = "hsic0";

> +

> +	hub@2 {

> +		compatible = "usb0424,3503";

> +		reg = <2>;

> +		#address-cells = <1>;

> +		#size-cells = <0>;

> +

> +		hub@1 {

> +			compatible = "usb0424:9514";


Does not look like correct compatible.

Best regards,
Krzysztof
diff mbox series

Patch

diff --git a/arch/arm/boot/dts/exynos4412-odroidx.dts b/arch/arm/boot/dts/exynos4412-odroidx.dts
index 3ea2a0101e80..8f154f431f6c 100644
--- a/arch/arm/boot/dts/exynos4412-odroidx.dts
+++ b/arch/arm/boot/dts/exynos4412-odroidx.dts
@@ -15,6 +15,10 @@  / {
 	model = "Hardkernel ODROID-X board based on Exynos4412";
 	compatible = "hardkernel,odroid-x", "samsung,exynos4412", "samsung,exynos4";
 
+	aliases {
+		ethernet = &ethernet;
+	};
+
 	memory@40000000 {
 		device_type = "memory";
 		reg = <0x40000000 0x3FF00000>;
@@ -72,8 +76,32 @@  &buck8_reg {
 };
 
 &ehci {
+	#address-cells = <1>;
+	#size-cells = <0>;
 	phys = <&exynos_usbphy 2>;
 	phy-names = "hsic0";
+
+	hub@2 {
+		compatible = "usb0424,3503";
+		reg = <2>;
+		#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 */
+			};
+		};
+	};
+
+
 };
 
 &mshc_0 {