From patchwork Fri Oct 2 19:22: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: 267500 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 57293C35257 for ; Fri, 2 Oct 2020 19:22:39 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 22F74206DD for ; Fri, 2 Oct 2020 19:22:39 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=samsung.com header.i=@samsung.com header.b="vBoqgAH2" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388488AbgJBTWg (ORCPT ); Fri, 2 Oct 2020 15:22:36 -0400 Received: from mailout2.w1.samsung.com ([210.118.77.12]:40113 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388489AbgJBTWW (ORCPT ); Fri, 2 Oct 2020 15:22:22 -0400 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20201002192217euoutp02051c8db59d53ec52e5bd973341924b6f~6Qzrn0AqK0516305163euoutp02b for ; Fri, 2 Oct 2020 19:22:17 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20201002192217euoutp02051c8db59d53ec52e5bd973341924b6f~6Qzrn0AqK0516305163euoutp02b DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1601666537; bh=U1UCX20HUE0JmpBPjjxqCtXiDnfNU/Fkk5/O+oz+GJg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=vBoqgAH2lQ6FsvuCvit0NEbnxYdCUZlglwqdH/n9HWKwDzECwokZGoz7UrFQv2m7b VBzxMFjlN3D8+LmAc+LceokUElh6fxLYZv0D3bjEKFyvWiT0usR5JRQ6nqNgfLWO1k k+NPNd6LSHKN6+q7RxPrh0zMkySUDhKezu60rUVc= Received: from eusmges1new.samsung.com (unknown [203.254.199.242]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20201002192217eucas1p23d95aee31e1c228260cc43754ec2748a~6QzrGDbnC1922419224eucas1p2r; Fri, 2 Oct 2020 19:22:17 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges1new.samsung.com (EUCPMTA) with SMTP id 0F.BA.06456.9ED777F5; Fri, 2 Oct 2020 20:22:17 +0100 (BST) Received: from eusmtrp2.samsung.com (unknown [182.198.249.139]) by eucas1p1.samsung.com (KnoxPortal) with ESMTPA id 20201002192216eucas1p16933608dcb0fb8ceee21caa3455cbaf1~6QzqlgFp-1183211832eucas1p1K; Fri, 2 Oct 2020 19:22:16 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eusmtrp2.samsung.com (KnoxPortal) with ESMTP id 20201002192216eusmtrp242840993dcaae6ceb99521d78be57204~6Qzqk4zTK3070930709eusmtrp28; Fri, 2 Oct 2020 19:22:16 +0000 (GMT) X-AuditID: cbfec7f2-7efff70000001938-2e-5f777de9447c Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id D1.54.06017.8ED777F5; Fri, 2 Oct 2020 20:22:16 +0100 (BST) Received: from localhost (unknown [106.120.51.46]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20201002192216eusmtip2e26aea81762b559d3c795ff2c3a0e124~6QzqXsZ4X2142021420eusmtip2S; Fri, 2 Oct 2020 19:22:16 +0000 (GMT) From: =?utf-8?q?=C5=81ukasz_Stelmach?= To: "David S. Miller" , Jakub Kicinski , Krzysztof Kozlowski , Kukjin Kim , Rob Herring , Russell King , Andrew Lunn , jim.cromie@gmail.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-samsung-soc@vger.kernel.org, netdev@vger.kernel.org, devicetree@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/4] ARM: dts: exynos: Add Ethernet to Artik 5 board Date: Fri, 2 Oct 2020 21:22:09 +0200 Message-Id: <20201002192210.19967-4-l.stelmach@samsung.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20201002192210.19967-1-l.stelmach@samsung.com> MIME-Version: 1.0 Organization: Samsung R&D Institute Poland X-Brightmail-Tracker: H4sIAAAAAAAAA02Sa0hTYRjHffeesx1Hs7Mp+maRsOqD5iUt6pRSKUHnoxUElalLType2dSl 4IWVmqLOVqaZpJn38jZtuZGDlkzFyzTxmgZpWWpCqFFmaG7HyG//53l/z/95/vASUDSGOxIR MfGMNEYSJebyMY1xbcBtPkUedMQwj1GmaQOkWoqbcKrUdAejyjoHcGp0aQqnlLOLkDKZmnnU oCYfpyYMtYBSz47i1LCulEsVm/QcylDYAaiGzmkeZSy3pzI6OnlnSXp4dAjSbXUTHFpbMs2j 1fXZXLq1Mo3Wtq9w6Py2ekCvqPf7E1f5PqFMVEQiI/U4HcwP143oOXE9/FvN2UY8HcwROcCa QOQx1LBYjecAPiEiawGqyZuDbLEKUH7lLG6mROQKQJr3fjmAsEyMKFJZpgagtTebGMt8Aeje d7lZc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eQWsJRY/7GeBWCEv0b58OxuIzSlgI7GraQNYvRBQzeWb Rxkh6gUlTs58wgJyHbOAusT6eUIgYX4BLYk1TdfBxjADjWneOpt5AqPQLCQdsxA6ZiGpWsDI vIpRJLW0ODc9t9hIrzgxt7g0L10vOT93EyMwmrcd+7llB2PXu+BDjAIcjEo8vBwG5fFCrIll xZW5hxglOJiVRHidzp6OE+JNSaysSi3Kjy8qzUktPsRoCvTmRGYp0eR8YKLJK4k3NDU0t7A0 NDc2NzazUBLn7RA4GCMkkJ5YkpqdmlqQWgTTx8TBKdXA2HM4Mi7/vmeVff1m08hA/uUm7+8F 3wv9s9kwV6JnzYEH8/d93ep04v/0O9OVA9ZfvBLUZK88g5VtjkLGquK93iU2xXVSxkGX/Cp/ tEZZnTu0wMapodpq7W3tnacfdHfLN7yfMHvdhP2H/yq/fxNxYb1Fd++2eKa7r1fq3myyXpRi 76H55/ZqeyWW4oxEQy3mouJEAKjv+XP8AgAA X-CMS-MailID: 20201002192216eucas1p16933608dcb0fb8ceee21caa3455cbaf1 X-Msg-Generator: CA X-RootMTR: 20201002192216eucas1p16933608dcb0fb8ceee21caa3455cbaf1 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20201002192216eucas1p16933608dcb0fb8ceee21caa3455cbaf1 References: <20201002192210.19967-1-l.stelmach@samsung.com> Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org Add node for ax88796c ethernet chip. Signed-off-by: Ɓukasz Stelmach --- arch/arm/boot/dts/exynos3250-artik5-eval.dts | 21 ++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/arch/arm/boot/dts/exynos3250-artik5-eval.dts b/arch/arm/boot/dts/exynos3250-artik5-eval.dts index 20446a846a98..7f115c348a2a 100644 --- a/arch/arm/boot/dts/exynos3250-artik5-eval.dts +++ b/arch/arm/boot/dts/exynos3250-artik5-eval.dts @@ -37,3 +37,24 @@ &mshc_2 { &serial_2 { status = "okay"; }; + +&spi_0 { + status = "okay"; + cs-gpios = <&gpx3 4 GPIO_ACTIVE_LOW>, <0>; + + assigned-clocks = <&cmu CLK_MOUT_MPLL>, <&cmu CLK_DIV_MPLL_PRE>, <&cmu CLK_MOUT_SPI0>, <&cmu CLK_DIV_SPI0>, <&cmu CLK_DIV_SPI0_PRE>, <&cmu CLK_SCLK_SPI0>; + assigned-clock-parents = <&cmu CLK_FOUT_MPLL>, <&cmu CLK_MOUT_MPLL>, <&cmu CLK_DIV_MPLL_PRE>, <&cmu CLK_MOUT_SPI0>, <&cmu CLK_DIV_SPI0>, <&cmu CLK_DIV_SPI0_PRE>; + + ax88796c@0 { + compatible = "asix,ax88796c"; + local-mac-address = [00 00 00 00 00 00]; /* Filled in by a boot-loader */ + interrupt-parent = <&gpx2>; + interrupts = <0 IRQ_TYPE_LEVEL_LOW>; + spi-max-frequency = <40000000>; + reg = <0x0>; + reset-gpios = <&gpe0 2 GPIO_ACTIVE_LOW>; + controller-data { + samsung,spi-feedback-delay = <2>; + }; + }; +};