devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Krzysztof Kozlowski <krzk@kernel.org>
To: "Łukasz Stelmach" <l.stelmach@samsung.com>
Cc: "Rob Herring" <robh+dt@kernel.org>,
	"Kukjin Kim" <kgene@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,
	"Bartłomiej Żolnierkiewicz" <b.zolnierkie@samsung.com>,
	"Marek Szyprowski" <m.szyprowski@samsung.com>
Subject: Re: [PATCH v2 6/6] ARM: dts: exynos: Add Ethernet interface description for Odroid X/X2
Date: Thu, 5 Nov 2020 20:30:42 +0100	[thread overview]
Message-ID: <20201105193042.GE236732@kozik-lap> (raw)
In-Reply-To: <20201103184412.18874-7-l.stelmach@samsung.com>

On Tue, Nov 03, 2020 at 07:44:12PM +0100, Łukasz Stelmach wrote:
> Add Ethernet interface description for Odroid X/X2.
> 
> 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/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..2da220102883 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 */
> +			};
> +		};
> +	};
> +
> +

Thanks, applied with space fixup.

Best regards,
Krzysztof


      reply	other threads:[~2020-11-05 19:30 UTC|newest]

Thread overview: 14+ 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
     [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-05 19:22       ` 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-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-05 19:23       ` Krzysztof Kozlowski
     [not found]   ` <CGME20201103184418eucas1p2f99b978bb007670d49741421744696f9@eucas1p2.samsung.com>
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
     [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-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-05 19:30       ` Krzysztof Kozlowski [this message]

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=20201105193042.GE236732@kozik-lap \
    --to=krzk@kernel.org \
    --cc=b.zolnierkie@samsung.com \
    --cc=devicetree@vger.kernel.org \
    --cc=kgene@kernel.org \
    --cc=l.stelmach@samsung.com \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).