From patchwork Tue Nov 3 18:44:08 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lukasz Stelmach X-Patchwork-Id: 315288 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE, SPF_PASS, URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 56244C388F7 for ; Tue, 3 Nov 2020 18:45:01 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 05F5522226 for ; Tue, 3 Nov 2020 18:45:00 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=samsung.com header.i=@samsung.com header.b="fNpqzEsM" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729465AbgKCSox (ORCPT ); Tue, 3 Nov 2020 13:44:53 -0500 Received: from mailout1.w1.samsung.com ([210.118.77.11]:45388 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729458AbgKCSov (ORCPT ); Tue, 3 Nov 2020 13:44:51 -0500 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20201103184433euoutp01a23e80f094315578e8a3491a1879c8fa~EE73O_LbE1326313263euoutp01_ for ; Tue, 3 Nov 2020 18:44:33 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20201103184433euoutp01a23e80f094315578e8a3491a1879c8fa~EE73O_LbE1326313263euoutp01_ DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1604429073; bh=RSkEIzrtJiw3sP1zG4MRVGuJkbWdz5Cm5l24dOAb+O4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=fNpqzEsMkhxGG9Y3ykUXVD5j9zkS0h4JtAWO4qp4hCKP7AtSzXJKUPRiyj8cWRb0G ax8OmbI7JEO4nHPFq9vgzsO7Hx8EQyB3uYNM3rRqxlscsY5fshezZ9zoAXi+go4QU0 wgkldN/Sr+fdE8FoZTgt0/PHqlr2s5ddykamqjco= Received: from eusmges1new.samsung.com (unknown [203.254.199.242]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20201103184418eucas1p12a8ebdc9be66dfd9ce3c43cc35ba60a1~EE7pnrlmg1968219682eucas1p1V; Tue, 3 Nov 2020 18:44:18 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges1new.samsung.com (EUCPMTA) with SMTP id 78.13.06456.205A1AF5; Tue, 3 Nov 2020 18:44:18 +0000 (GMT) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p2.samsung.com (KnoxPortal) with ESMTPA id 20201103184418eucas1p242bfce393134713bc1d21d0776b2f9ca~EE7pS8WGd2525425254eucas1p2P; Tue, 3 Nov 2020 18:44:18 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20201103184418eusmtrp16babefe9478985cdd2a685d7c59a7b02~EE7pSUl740548305483eusmtrp1d; Tue, 3 Nov 2020 18:44:18 +0000 (GMT) X-AuditID: cbfec7f2-809ff70000001938-bd-5fa1a50289d5 Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id 71.84.06017.205A1AF5; Tue, 3 Nov 2020 18:44:18 +0000 (GMT) Received: from localhost (unknown [106.120.51.46]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20201103184417eusmtip2126c21d60dc8dc59b0600145b26f3218~EE7pEgbiS2597425974eusmtip2W; Tue, 3 Nov 2020 18:44:17 +0000 (GMT) From: =?utf-8?q?=C5=81ukasz_Stelmach?= To: Rob Herring , Kukjin Kim , Krzysztof Kozlowski , Anand Moon , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org Cc: =?utf-8?q?Bart=C5=82omiej_=C5=BBolnierkiewicz?= , Marek Szyprowski , =?utf-8?q?=C5=81ukasz_St?= =?utf-8?q?elmach?= Subject: [PATCH v2 2/6] ARM: dts: exynos: Add an alias for the Ethernet interface on Odroid XU3 Date: Tue, 3 Nov 2020 19:44:08 +0100 Message-Id: <20201103184412.18874-3-l.stelmach@samsung.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20201103184412.18874-1-l.stelmach@samsung.com> MIME-Version: 1.0 Organization: Samsung R&D Institute Poland X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrAKsWRmVeSWpSXmKPExsWy7djPc7pMSxfGGxz4I2uxccZ6Vov5R86x WvQ/fs1scf78BnaLm4dWMFpsenyN1eLyrjlsFjPO72OyWLfxFrvF2iN32S1a9x5hd+D22Dnr LrvHplWdbB6bl9R79G1ZxejxeZNcAGsUl01Kak5mWWqRvl0CV0br7/SCc6wVe2dvYG9gvMPS xcjBISFgIvHiu3IXIxeHkMAKRokTDe+YIZwvjBKtJ08wQTifGSVWPp/P2sXICdbR0nOBFSKx nFHi4o5lUM5zRolNu6exg1SxCThK9C89AZYQEZjOJLF0z3ywwcwC+xgldt6bwgxSJSyQKNF/ YysbiM0ioCpxd8J8RhCbV8Ba4vqkL8wQ++Ql2pdvB6vhFLCR2Pa6G6pGUOLkzCcsIDa/gJbE mqbrYDYzUH3z1tlgyyQEzrFLvHxyG2qQi0TH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XnFibnFpXrpecn7uJkZg9G079nPLDsaud8GHGAU4 GJV4eB1SF8QLsSaWFVfmHmKU4GBWEuF1Ons6Tog3JbGyKrUoP76oNCe1+BCjKdCbE5mlRJPz gYkhryTe0NTQ3MLS0NzY3NjMQkmct0PgYIyQQHpiSWp2ampBahFMHxMHp1QDY2mS5dkzEdcU cg/phKjzWfl0P1Vete6eXpV0Yo6z3z+PTXWd2/VqlplIBlg0dHutttTn5Hp07US7s494UNGf 7twLuwt+Lgidd7o/UqVpY8nDXSwHbfbwuity9jw/P+/gvbMP5cr/v+Da+eXq5n1PPlcWqm1N lH64PrF95ovF731WrLbqnLpivRJLcUaioRZzUXEiAM7hie7UAgAA X-CMS-MailID: 20201103184418eucas1p242bfce393134713bc1d21d0776b2f9ca X-Msg-Generator: CA X-RootMTR: 20201103184418eucas1p242bfce393134713bc1d21d0776b2f9ca X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20201103184418eucas1p242bfce393134713bc1d21d0776b2f9ca References: <20201103184412.18874-1-l.stelmach@samsung.com> Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org Add an alias to enable bootloaders to find the Ethernet interface and assign a MAC address. Signed-off-by: Łukasz Stelmach --- arch/arm/boot/dts/exynos5422-odroidxu3.dts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/exynos5422-odroidxu3.dts b/arch/arm/boot/dts/exynos5422-odroidxu3.dts index 0fa8bea781ff..2a4153484664 100644 --- a/arch/arm/boot/dts/exynos5422-odroidxu3.dts +++ b/arch/arm/boot/dts/exynos5422-odroidxu3.dts @@ -15,6 +15,10 @@ / { model = "Hardkernel Odroid XU3"; compatible = "hardkernel,odroid-xu3", "samsung,exynos5800", "samsung,exynos5"; + + aliases { + ethernet = ðernet; + }; }; &i2c_0 { From patchwork Tue Nov 3 18:44:09 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lukasz Stelmach X-Patchwork-Id: 315289 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE, SPF_PASS, URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2B87AC388F2 for ; Tue, 3 Nov 2020 18:44:49 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id D392220786 for ; Tue, 3 Nov 2020 18:44:48 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=samsung.com header.i=@samsung.com header.b="tq1qGanV" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725997AbgKCSor (ORCPT ); Tue, 3 Nov 2020 13:44:47 -0500 Received: from mailout2.w1.samsung.com ([210.118.77.12]:45328 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729437AbgKCSoq (ORCPT ); Tue, 3 Nov 2020 13:44:46 -0500 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20201103184428euoutp02cacebd365ce8472abf5252d86f1bdca8~EE7yu5STp2226122261euoutp02X for ; Tue, 3 Nov 2020 18:44:28 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20201103184428euoutp02cacebd365ce8472abf5252d86f1bdca8~EE7yu5STp2226122261euoutp02X DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1604429068; bh=AFQ1Xoh1P+fOWo/ZlEP5tE9qx1pmGB/HHsjLNt6xvks=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=tq1qGanV6xHpCFkVqzYaiSjMY4xoUzSXWAM0Bfcd0RlwESGPdWwjAlvaw69f5pviT 2Kt4EHo+BBTSgSZOBSSzMvPaKIL74I6TFEXHE/uRmzL1+PObOjExWGO6bLNBiqyJ2Q dewIsWEgvfaQ2BMedrwnwsJ4cS4lIDwzxW+yNJzc= Received: from eusmges1new.samsung.com (unknown [203.254.199.242]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20201103184419eucas1p1247ee6b3d3ba757cc81e4c4cf3b40695~EE7qW71971969619696eucas1p1n; Tue, 3 Nov 2020 18:44:19 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges1new.samsung.com (EUCPMTA) with SMTP id 39.13.06456.305A1AF5; Tue, 3 Nov 2020 18:44:19 +0000 (GMT) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p2.samsung.com (KnoxPortal) with ESMTPA id 20201103184418eucas1p221bebfee92d2753b11a158b765d77cc6~EE7pkeH3R2525825258eucas1p2I; Tue, 3 Nov 2020 18:44:18 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20201103184418eusmtrp179107d4703bfa61cd996e93a272dffbf~EE7pj3_WG0237602376eusmtrp1i; Tue, 3 Nov 2020 18:44:18 +0000 (GMT) X-AuditID: cbfec7f2-7efff70000001938-be-5fa1a503394c Received: from eusmtip1.samsung.com ( [203.254.199.221]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id 0F.BB.06314.205A1AF5; Tue, 3 Nov 2020 18:44:18 +0000 (GMT) Received: from localhost (unknown [106.120.51.46]) by eusmtip1.samsung.com (KnoxPortal) with ESMTPA id 20201103184418eusmtip1c866bb200424d28e3e9c1cf5a77270ac~EE7pZHf6-2263022630eusmtip1y; Tue, 3 Nov 2020 18:44:18 +0000 (GMT) From: =?utf-8?q?=C5=81ukasz_Stelmach?= To: Rob Herring , Kukjin Kim , Krzysztof Kozlowski , Anand Moon , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org Cc: =?utf-8?q?Bart=C5=82omiej_=C5=BBolnierkiewicz?= , Marek Szyprowski , =?utf-8?q?=C5=81ukasz_St?= =?utf-8?q?elmach?= Subject: [PATCH v2 3/6] ARM: dts: exynos: Add Ethernet interface description for Odroid XU3 Lite Date: Tue, 3 Nov 2020 19:44:09 +0100 Message-Id: <20201103184412.18874-4-l.stelmach@samsung.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20201103184412.18874-1-l.stelmach@samsung.com> MIME-Version: 1.0 Organization: Samsung R&D Institute Poland X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrIKsWRmVeSWpSXmKPExsWy7djPc7rMSxfGG3zsELHYOGM9q8X8I+dY Lfofv2a2OH9+A7vFzUMrGC02Pb7GanF51xw2ixnn9zFZrNt4i91i7ZG77Bate4+wO3B77Jx1 l91j06pONo/NS+o9+rasYvT4vEkugDWKyyYlNSezLLVI3y6BK+PbjB6mgvecFbN23mJtYPzN 3sXIySEhYCLxcB6IzcUhJLCCUWJz3xc2COcLo8T+7avBqoQEPjNKHNgZDtPR3XQbqmM5o8S+ 48eZIJznjBJXXr9kAaliE3CU6F96ghUkISIwnUli6Z75zCAOs8A+Romd96Ywg1QJCyRJfD4w C8jm4GARUJWYfyIbJMwrYC3Rc7SRFWKdvET78u1sIDangI3EttfdjBA1ghInZz4BW8YvoCWx puk6mM0MVN+8dTbYLgmBS+wSO78uZYYY5CKxYM5FqK+FJV4d3wJly0icntzDAnKDhEC9xORJ ZhC9PYwS2+b8YIGosZa4c+4XG0gNs4CmxPpd+hBhR4m7v+axQ7TySdx4KwhxAp/Ep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UqLJ +cDUkFcSb2hqaG5haWhubG5sZqEkztshcDBGSCA9sSQ1OzW1ILUIpo+Jg1OqgTHq+27WV/PY /Y8rCscrpuil1S5YoVayQHZp0ruGaUIym1fIxT/bME8tLNIv3HT/zP9TRW+XndY2+mv8N/Sa 4sn4dzqK2wQnLhOOrf4qsWXfxyOMgbHxWyraLr3etXTiohctd79Hv79Ut35l6ieWh7XV36zm 3nET2Gt9p0xku/y1li33zXZvPl+uxFKckWioxVxUnAgA8ZvU6tUCAAA= X-CMS-MailID: 20201103184418eucas1p221bebfee92d2753b11a158b765d77cc6 X-Msg-Generator: CA X-RootMTR: 20201103184418eucas1p221bebfee92d2753b11a158b765d77cc6 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20201103184418eucas1p221bebfee92d2753b11a158b765d77cc6 References: <20201103184412.18874-1-l.stelmach@samsung.com> Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org 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 --- .../boot/dts/exynos5422-odroidxu3-lite.dts | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) 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 = ðernet; + }; }; &arm_a7_pmu { @@ -103,3 +107,21 @@ &pwm { &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 */ + }; + }; +}; From patchwork Tue Nov 3 18:44:11 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lukasz Stelmach X-Patchwork-Id: 315287 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE, SPF_PASS, URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 22907C55178 for ; Tue, 3 Nov 2020 18:45:02 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id B9CA422226 for ; Tue, 3 Nov 2020 18:45:01 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=samsung.com header.i=@samsung.com header.b="BSAkQwqW" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729428AbgKCSot (ORCPT ); Tue, 3 Nov 2020 13:44:49 -0500 Received: from mailout1.w1.samsung.com ([210.118.77.11]:45371 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729429AbgKCSoq (ORCPT ); Tue, 3 Nov 2020 13:44:46 -0500 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20201103184428euoutp0142a358d2a7069a921f3c0f8da1f97d0e~EE7y1Q9eD1326313263euoutp018 for ; Tue, 3 Nov 2020 18:44:28 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20201103184428euoutp0142a358d2a7069a921f3c0f8da1f97d0e~EE7y1Q9eD1326313263euoutp018 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1604429068; bh=terzoYDOErK+rP1nw6I708y2Kao7c4Emc97iPIks/bg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=BSAkQwqWngs1+SU5SL3sSUC09uqsEBuvKFXRCqYb0NHtHuWY/vXtl9ngWlYbdToMK Xu4KXBVmDdNX/enEI+h+wQ56Il+TQM3CrbxWbx6nB+kJs4RWc+NTGaIqvSoIhpyDBN 998if9WWfLaVwNa07l5Sl4RzRw2jwDFltdUnua8w= Received: from eusmges2new.samsung.com (unknown [203.254.199.244]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20201103184419eucas1p168d90f1899e5604af38a4c92c9a8fcb9~EE7qeQzzx1968219682eucas1p1X; Tue, 3 Nov 2020 18:44:19 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges2new.samsung.com (EUCPMTA) with SMTP id 80.D2.05997.305A1AF5; Tue, 3 Nov 2020 18:44:19 +0000 (GMT) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p1.samsung.com (KnoxPortal) with ESMTPA id 20201103184419eucas1p148b9a8b6bb513191c6d341e47969f6bd~EE7qOlnmt1968619686eucas1p1g; Tue, 3 Nov 2020 18:44:19 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20201103184419eusmtrp176a6ad1c32d2948b681f663a8b52e6ab~EE7qOABr-0237602376eusmtrp1j; Tue, 3 Nov 2020 18:44:19 +0000 (GMT) X-AuditID: cbfec7f4-65dff7000000176d-1f-5fa1a503b61c Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id F2.84.06017.305A1AF5; Tue, 3 Nov 2020 18:44:19 +0000 (GMT) Received: from localhost (unknown [106.120.51.46]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20201103184419eusmtip2d7fe508752d78e4a0957e156979ca704~EE7qB8-Cr1233912339eusmtip2R; Tue, 3 Nov 2020 18:44:18 +0000 (GMT) From: =?utf-8?q?=C5=81ukasz_Stelmach?= To: Rob Herring , Kukjin Kim , Krzysztof Kozlowski , Anand Moon , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org Cc: =?utf-8?q?Bart=C5=82omiej_=C5=BBolnierkiewicz?= , Marek Szyprowski , =?utf-8?q?=C5=81ukasz_St?= =?utf-8?q?elmach?= Subject: [PATCH v2 5/6] ARM: dts: exynos: Add Ethernet interface description for Odroid U3 Date: Tue, 3 Nov 2020 19:44:11 +0100 Message-Id: <20201103184412.18874-6-l.stelmach@samsung.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20201103184412.18874-1-l.stelmach@samsung.com> MIME-Version: 1.0 Organization: Samsung R&D Institute Poland X-Brightmail-Tracker: H4sIAAAAAAAAA02Se0hTcRTH++3u7t7Nptcp7GCSNuwPDbUXdUnJB0EjJCTBP8rS5a4PclM2 NS1IKyxTa84Hzvk2xSnmcpql6JS5tBIdKphmCmUhqUWkkEVEbtfK/87j8z3fc+CQmKgT9yCT lemMSilLkfAE3J6RHzZ/rLkh9qBB50l36ow4XWedwGnN0ipG22yPCXrOYkC0aWkGp6f7qnm0 zmbm0B2dbwj6kXWBoPMGrESok7RXv0BITW33eNKuphzpg+42JF037Y3EzwuC5UxKciajCjwZ J0gya81E2it+VtvGd04uWiIKEJ8E6ijMfKvFCpCAFFEGBJMP13A22UCgzW/lssk6gi5d+z+J 1Ty43WhBsGrs2NYvI1j4uuageFQYaJp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YT5BbQk1jRdZwGxmYHGNG+dzTyB UWgWko5ZCB2zkFQtYGRexSiSWlqcm55bbKRXnJhbXJqXrpecn7uJERiB24793LKDsetd8CFG AQ5GJR5eh9QF8UKsiWXFlbmHGCU4mJVEeJ3Ono4T4k1JrKxKLcqPLyrNSS0+xGgK9OZEZinR 5HxgcsgriTc0NTS3sDQ0NzY3NrNQEuftEDgYIySQnliSmp2aWpBaBNPHxMEp1cB4xWz2811Z ezlP32vg0H9yfnqgWdEbixlS+7KfNPmIaIa9rc3bMs3uj/apZ1FTy1asUJzkMstJwFQnq8Ws +7LS3wcMOat5Au6sjL75y+7SOo8pmjvEnhg+czQR9HnwSoEtL8Tvxd6VzV7pXH//L08tuBM2 P81VrGgVUwLbuW/RIooznsltuiWtxFKckWioxVxUnAgAOeJfjtYCAAA= X-CMS-MailID: 20201103184419eucas1p148b9a8b6bb513191c6d341e47969f6bd X-Msg-Generator: CA X-RootMTR: 20201103184419eucas1p148b9a8b6bb513191c6d341e47969f6bd X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20201103184419eucas1p148b9a8b6bb513191c6d341e47969f6bd References: <20201103184412.18874-1-l.stelmach@samsung.com> Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org Add Ethernet interface description for Odroid U3. Add an alias to enable bootloaders to find the Ethernet interface and assign a MAC address. Signed-off-by: Łukasz Stelmach --- arch/arm/boot/dts/exynos4412-odroidu3.dts | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/exynos4412-odroidu3.dts b/arch/arm/boot/dts/exynos4412-odroidu3.dts index b8549d846f86..b503f04db923 100644 --- a/arch/arm/boot/dts/exynos4412-odroidu3.dts +++ b/arch/arm/boot/dts/exynos4412-odroidu3.dts @@ -16,6 +16,10 @@ / { model = "Hardkernel ODROID-U3 board based on Exynos4412"; compatible = "hardkernel,odroid-u3", "samsung,exynos4412", "samsung,exynos4"; + aliases { + ethernet = ðernet; + }; + memory@40000000 { device_type = "memory"; reg = <0x40000000 0x7FF00000>; @@ -101,8 +105,16 @@ &usb3503 { }; &ehci { + #address-cells = <1>; + #size-cells = <0>; phys = <&exynos_usbphy 2>, <&exynos_usbphy 3>; phy-names = "hsic0", "hsic1"; + + ethernet: usbether@2 { + compatible = "usb0424,9730"; + reg = <2>; + local-mac-address = [00 00 00 00 00 00]; /* Filled in by a bootloader */ + }; }; &sound {