All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Łukasz Stelmach" <l.stelmach@samsung.com>
To: Rob Herring <robh+dt@kernel.org>, Kukjin Kim <kgene@kernel.org>,
	Krzysztof Kozlowski <krzk@kernel.org>,
	Anand Moon <linux.amoon@gmail.com>,
	devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
	linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org
Cc: "Bartłomiej Żolnierkiewicz" <b.zolnierkie@samsung.com>,
	"Marek Szyprowski" <m.szyprowski@samsung.com>,
	"Łukasz Stelmach" <l.stelmach@samsung.com>
Subject: [PATCH v2 4/6] ARM: dts: exynos: Add Ethernet interface description for Odroid XU
Date: Tue,  3 Nov 2020 19:44:10 +0100	[thread overview]
Message-ID: <20201103184412.18874-5-l.stelmach@samsung.com> (raw)
In-Reply-To: <20201103184412.18874-1-l.stelmach@samsung.com>

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>
---
 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;
+	};
+
 	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 */
+	};
+};
-- 
2.26.2


WARNING: multiple messages have this Message-ID (diff)
From: "Łukasz Stelmach" <l.stelmach@samsung.com>
To: Rob Herring <robh+dt@kernel.org>, Kukjin Kim <kgene@kernel.org>,
	Krzysztof Kozlowski <krzk@kernel.org>,
	Anand Moon <linux.amoon@gmail.com>,
	devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
	linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org
Cc: "Marek Szyprowski" <m.szyprowski@samsung.com>,
	"Łukasz Stelmach" <l.stelmach@samsung.com>,
	"Bartłomiej Żolnierkiewicz" <b.zolnierkie@samsung.com>
Subject: [PATCH v2 4/6] ARM: dts: exynos: Add Ethernet interface description for Odroid XU
Date: Tue,  3 Nov 2020 19:44:10 +0100	[thread overview]
Message-ID: <20201103184412.18874-5-l.stelmach@samsung.com> (raw)
In-Reply-To: <20201103184412.18874-1-l.stelmach@samsung.com>

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>
---
 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;
+	};
+
 	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 */
+	};
+};
-- 
2.26.2


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

  parent reply	other threads:[~2020-11-03 18:44 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CGME20201103184417eucas1p197b77670a32843abc1340b0979017bca@eucas1p1.samsung.com>
2020-11-03 18:44 ` [PATCH v2 0/6] Add Ethernet interface description for Odroid boards Łukasz Stelmach
2020-11-03 18:44   ` Łukasz Stelmach
     [not found]   ` <CGME20201103184417eucas1p2ae35b1c02361c2814d31ddc5fb27794d@eucas1p2.samsung.com>
2020-11-03 18:44     ` [PATCH v2 1/6] ARM: dts: exynos: Fix Ethernet interface description for Odroid XU3 Łukasz Stelmach
2020-11-03 18:44       ` Łukasz Stelmach
2020-11-05 19:22       ` Krzysztof Kozlowski
2020-11-05 19:22         ` Krzysztof Kozlowski
2020-11-15 10:38       ` Krzysztof Kozlowski
2020-11-15 10:38         ` Krzysztof Kozlowski
     [not found]   ` <CGME20201103184418eucas1p242bfce393134713bc1d21d0776b2f9ca@eucas1p2.samsung.com>
2020-11-03 18:44     ` [PATCH v2 2/6] ARM: dts: exynos: Add an alias for the Ethernet interface on " Łukasz Stelmach
2020-11-03 18:44       ` Łukasz Stelmach
2020-11-15 10:39       ` Krzysztof Kozlowski
2020-11-15 10:39         ` Krzysztof Kozlowski
     [not found]   ` <CGME20201103184418eucas1p221bebfee92d2753b11a158b765d77cc6@eucas1p2.samsung.com>
2020-11-03 18:44     ` [PATCH v2 3/6] ARM: dts: exynos: Add Ethernet interface description for Odroid XU3 Lite Łukasz Stelmach
2020-11-03 18:44       ` Łukasz Stelmach
2020-11-05 19:23       ` Krzysztof Kozlowski
2020-11-05 19:23         ` Krzysztof Kozlowski
     [not found]   ` <CGME20201103184418eucas1p2f99b978bb007670d49741421744696f9@eucas1p2.samsung.com>
2020-11-03 18:44     ` Łukasz Stelmach [this message]
2020-11-03 18:44       ` [PATCH v2 4/6] ARM: dts: exynos: Add Ethernet interface description for Odroid XU Łukasz Stelmach
2020-11-05 19:24       ` Krzysztof Kozlowski
2020-11-05 19:24         ` Krzysztof Kozlowski
     [not found]   ` <CGME20201103184419eucas1p148b9a8b6bb513191c6d341e47969f6bd@eucas1p1.samsung.com>
2020-11-03 18:44     ` [PATCH v2 5/6] ARM: dts: exynos: Add Ethernet interface description for Odroid U3 Łukasz Stelmach
2020-11-03 18:44       ` Łukasz Stelmach
2020-11-05 19:28       ` Krzysztof Kozlowski
2020-11-05 19:28         ` Krzysztof Kozlowski
     [not found]   ` <CGME20201103184419eucas1p1e5f855727fae95d992f8e95c7dbda787@eucas1p1.samsung.com>
2020-11-03 18:44     ` [PATCH v2 6/6] ARM: dts: exynos: Add Ethernet interface description for Odroid X/X2 Łukasz Stelmach
2020-11-03 18:44       ` Łukasz Stelmach
2020-11-05 19:30       ` Krzysztof Kozlowski
2020-11-05 19:30         ` Krzysztof Kozlowski

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20201103184412.18874-5-l.stelmach@samsung.com \
    --to=l.stelmach@samsung.com \
    --cc=b.zolnierkie@samsung.com \
    --cc=devicetree@vger.kernel.org \
    --cc=kgene@kernel.org \
    --cc=krzk@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-samsung-soc@vger.kernel.org \
    --cc=linux.amoon@gmail.com \
    --cc=m.szyprowski@samsung.com \
    --cc=robh+dt@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.