From patchwork Tue Nov 3 18:44:12 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lukasz Stelmach X-Patchwork-Id: 11878827 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,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham 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 3DC2FC2D0A3 for ; Tue, 3 Nov 2020 18:45:36 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id D8F3120786 for ; Tue, 3 Nov 2020 18:45:35 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="Q6aDBTKL"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=samsung.com header.i=@samsung.com header.b="UHrmmjRs" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D8F3120786 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=samsung.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:References:MIME-Version:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=ZN1PNfSUFe4BdRlr78yzpfyMHqjlxKMfwEaUSuw83hw=; b=Q6aDBTKLnoV8Dnzdrhs+jRkIs ETfHwLhzqNTd8AJTyQ2atvvObvXe5lUMh+OKwv3pkvvfHSzHEj7xJVrhKmgSkLzvGeFNmY6PR2MS8 LvcxAdI64TLVkLO8v1Ld597Xy8Cla94CxtbxskE0IA5xI/uxljUktlnLk4lXC/3OCzZHhDgtkTdA4 5sd2jgbupVg9B+qC7IwrTKdYN1xjUOkJo/iTwAYjAsQHO6EceiNeUMOWd4m8B5ahPdS+CROLrfWyb ecw8ON+ratpuZvIqaeQNm/gOS6QG6HRW0JwyPu/U5/sRE6hsWXsEMgOpVTAFHExA1DWS4NyG4QMtv WXT1iRqcQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1ka1Il-0000SX-I7; Tue, 03 Nov 2020 18:45:03 +0000 Received: from mailout1.w1.samsung.com ([210.118.77.11]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1ka1IT-0000MG-4U for linux-arm-kernel@lists.infradead.org; Tue, 03 Nov 2020 18:44:48 +0000 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20201103184428euoutp01213069ecde2a6f8f087c6c9bb801f264~EE7y3ob3Z1546115461euoutp01b for ; Tue, 3 Nov 2020 18:44:28 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20201103184428euoutp01213069ecde2a6f8f087c6c9bb801f264~EE7y3ob3Z1546115461euoutp01b DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1604429068; bh=X5n64N6kj5gULS9ipRbmJr/IBJyN3axgfQr6eluL9Lg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=UHrmmjRs26Ad/uawKnaS9tL/5bH34cpcqxp9n6n5R2d44tFxeC4iHe2vs4fByuMqX AZH1yYccRkLa3V7y3Rn2wOHOI6vV3AamLQK9voaFirQs9smttmfTHaaLPTimLzrg6n 4oIatJQigMx1idDb8xGBGwhFvpUrtiCfSxUIEg1Q= Received: from eusmges3new.samsung.com (unknown [203.254.199.245]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20201103184420eucas1p29feafc6dbad3fdfe38625829902e1eee~EE7rmGpt00616406164eucas1p26; Tue, 3 Nov 2020 18:44:20 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges3new.samsung.com (EUCPMTA) with SMTP id AB.0F.06318.405A1AF5; Tue, 3 Nov 2020 18:44:20 +0000 (GMT) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p1.samsung.com (KnoxPortal) with ESMTPA id 20201103184419eucas1p1e5f855727fae95d992f8e95c7dbda787~EE7qmGWfZ1968619686eucas1p1h; Tue, 3 Nov 2020 18:44:19 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20201103184419eusmtrp1b56fab8163c69e98f6c77ee17d2a0dc1~EE7qleLXT0548305483eusmtrp1f; Tue, 3 Nov 2020 18:44:19 +0000 (GMT) X-AuditID: cbfec7f5-371ff700000018ae-0d-5fa1a504a35e Received: from eusmtip1.samsung.com ( [203.254.199.221]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id CF.BB.06314.305A1AF5; Tue, 3 Nov 2020 18:44:19 +0000 (GMT) Received: from localhost (unknown [106.120.51.46]) by eusmtip1.samsung.com (KnoxPortal) with ESMTPA id 20201103184419eusmtip103f5e6b1ba44483895603efda47fba32~EE7qWi-iT2261422614eusmtip1E; Tue, 3 Nov 2020 18:44:19 +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 Subject: [PATCH v2 6/6] ARM: dts: exynos: Add Ethernet interface description for Odroid X/X2 Date: Tue, 3 Nov 2020 19:44:12 +0100 Message-Id: <20201103184412.18874-7-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+NgFtrAKsWRmVeSWpSXmKPExsWy7djPc7osSxfGG9w+rWaxccZ6Vov5R86x WvQ/fs1scf78BnaLm4dWMFpsenyN1eLyrjlsFjPO72OyWLfxFrvF2iN32S1a9x5hd+D22Dnr LrvHplWdbB6bl9R79G1ZxejxeZNcAGsUl01Kak5mWWqRvl0CV8bs6c9ZCrZyVzTMXMbewPib o4uRk0NCwESi+dEHZhBbSGAFo8Tdez5djFxA9hdGifauZkaIxGdGic3/q2Earq59zg5RtJxR 4tSeOawQznNGiT23N7KCVLEJOEr0Lz0BlhARmM4ksXTPfGYQh1lgH6PEzntTwBYKC8RJXDv3 CMxmEVCVOLLxGBOIzStgLbH3y3dWiH3yEu3Lt7OB2JwCNhLbXnczQtQISpyc+YQFxOYX0JJY 03QdzGYGqm/eOhtsmYTAJXaJZR03gRIcQI6LxKHHDhAzhSVeHd/CDmHLSJye3ANVUi8xeZIZ RGsPo8S2OT9YIGqsJe6c+8UGUsMsoCmxfpc+RNhR4mdPIztEK5/EjbeCEBfwSUzaNp0ZIswr 0dEmBFGtIrGufw/UQCmJ3lcrGCcwKs1C8sssJPfPQti1gJF5FaN4amlxbnpqsXFearlecWJu cWleul5yfu4mRmA6Ov3v+NcdjPv+JB1iFOB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NjJBcrHLCvP9adjzXxS16V66muTK0fhddxiJ70eb3r4crfQ83nkmc 0ljyRiqT+V1jqsjmqFv/+E6+i+w+ffnLgi0V1RvX1IssVI1VZbuRcZnz7LTpJ7ZNVUoWXlM3 cePeNyo9bXl7GS/du26+ImV/zQ2z/0osxRmJhlrMRcWJAKL1QiXVAgAA X-CMS-MailID: 20201103184419eucas1p1e5f855727fae95d992f8e95c7dbda787 X-Msg-Generator: CA X-RootMTR: 20201103184419eucas1p1e5f855727fae95d992f8e95c7dbda787 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20201103184419eucas1p1e5f855727fae95d992f8e95c7dbda787 References: <20201103184412.18874-1-l.stelmach@samsung.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201103_134445_504522_AF9C7A1A X-CRM114-Status: GOOD ( 15.47 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Marek Szyprowski , =?utf-8?q?=C5=81ukasz_Stelm?= =?utf-8?q?ach?= , =?utf-8?q?Bart=C5=82omiej_=C5=BBo?= =?utf-8?q?lnierkiewicz?= Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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 --- 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 = ðernet; + }; + 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 {