From patchwork Tue Nov 3 15:15:35 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lukasz Stelmach X-Patchwork-Id: 11877997 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 BFBF8C388F9 for ; Tue, 3 Nov 2020 15:18:12 +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 608E620757 for ; Tue, 3 Nov 2020 15:18:12 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="U4VYhUVa"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=samsung.com header.i=@samsung.com header.b="oJFSghgS" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 608E620757 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=aiLFCd7LJm/j7wNeb+n+KjukSf+QpxtriHyNO3fO7ac=; b=U4VYhUVafzN7R3y573vX66B9B nvQ+7N+VHl2+wJudAH3SNfTaZm7d6PvnsS0Qj7MUsbVGIfh2A+poyhB9v/wnwMQKk9V0UMN+X7txW 59BsKFoEj5fBCsXSi4E1rlPFI/TVAv7MPrwmYzK7g4YJtXyuX8DgrG9BGMEw6b2ePUWjxqX3wUoVI CGth57POyRJeRQEa8FSYv3u/LQtSbQoAyPRLRhJytPSP6P6spKBrQ07DSpJKKbMpoY+s1AiR4jUgJ Nk5S2THDB+4vBvZM1CgE6yAPqINcN59Fo6bd6p34BR1KBi5XqZbZgB3GkvxlpYIegmWf10MqXHklv yPJUBzoyQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kZy2o-0006s0-GO; Tue, 03 Nov 2020 15:16:22 +0000 Received: from mailout2.w1.samsung.com ([210.118.77.12]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kZy2Q-0006la-UH for linux-arm-kernel@lists.infradead.org; Tue, 03 Nov 2020 15:16:06 +0000 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20201103151542euoutp02e2d53317926e04f70c55c573643b5d2d~ECFhbRrRt0634006340euoutp023 for ; Tue, 3 Nov 2020 15:15:42 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20201103151542euoutp02e2d53317926e04f70c55c573643b5d2d~ECFhbRrRt0634006340euoutp023 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1604416542; bh=TmlrcraEmN6nS3uE2s6DB5WImBH1BqSTgR395EFEKMo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=oJFSghgSaEAcQBp1BGQ4TYbov+vKT3A13EX4VcdBadTOIGZXymA7ObO0OJ2dJGcbz ZaZESQGbJtoubkJYYEKksb9lzbsImS5DzLJTPhJyQMbBiTkwobQv/KJBUB/bJRa+Dg pkltCQtiV0hdcqqdQqKGLplw4AyQuws9Yvr9PCOw= Received: from eusmges2new.samsung.com (unknown [203.254.199.244]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20201103151540eucas1p1499c74af6e2cbaf96e1d72ecf00c9c30~ECFfaVImX1640316403eucas1p1J; Tue, 3 Nov 2020 15:15:40 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges2new.samsung.com (EUCPMTA) with SMTP id 80.0B.05997.C1471AF5; Tue, 3 Nov 2020 15:15:40 +0000 (GMT) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p2.samsung.com (KnoxPortal) with ESMTPA id 20201103151540eucas1p2750cffe062d6abff42ee479a218c8eb8~ECFfIkJb63053830538eucas1p22; Tue, 3 Nov 2020 15:15:40 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20201103151540eusmtrp1a7ae73a00622cea2838e493a4723c669~ECFfH4cik0045400454eusmtrp1v; Tue, 3 Nov 2020 15:15:40 +0000 (GMT) X-AuditID: cbfec7f4-65dff7000000176d-a2-5fa1741c08d8 Received: from eusmtip1.samsung.com ( [203.254.199.221]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id C8.B9.06314.C1471AF5; Tue, 3 Nov 2020 15:15:40 +0000 (GMT) Received: from localhost (unknown [106.120.51.46]) by eusmtip1.samsung.com (KnoxPortal) with ESMTPA id 20201103151540eusmtip1e5a5130c32387643196ff28d915de3cb~ECFe8Il2F2300123001eusmtip15; Tue, 3 Nov 2020 15:15:40 +0000 (GMT) From: =?utf-8?q?=C5=81ukasz_Stelmach?= To: Andrew Lunn , jim.cromie@gmail.com, Heiner Kallweit , "David S. Miller" , Jakub Kicinski , Rob Herring , Kukjin Kim , Krzysztof Kozlowski , Russell King , netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org Subject: [PATCH v5 4/5] ARM: dts: exynos: Add Ethernet to Artik 5 board Date: Tue, 3 Nov 2020 16:15:35 +0100 Message-Id: <20201103151536.26472-5-l.stelmach@samsung.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20201103151536.26472-1-l.stelmach@samsung.com> MIME-Version: 1.0 Organization: Samsung R&D Institute Poland X-Brightmail-Tracker: H4sIAAAAAAAAA01Se0hTcRTut7u7XR+z64w8qCSsFLKyfBQ/coRK1P6IipIgoWzpRcMn27S0 qJGWDyzzlbpGLctclvl+jZQamqXoLMFH6RRXmEuTsEIzJber5H/fd873feccOBQhNJIu1IU4 BSOLk8aIeLbcxjcLvbvcFA/D9mi6PLFhVE/gmuIqEqsNaVz8oL2XxKWzxSQemBkhcY7pG4EN hmo+7mu8TeJhvRbhWtMAift1ah4uNrRxsL6wFeHK9lE+fqPZjG+0tvMDHSX9A+8JSf3TYY6k RTXKl9RWZPIkdY+vSVqa5ziS2/UVSDJXu+U4FWorjmBiLiQxst0HztlGdXV8QQlLdpeUDUWk Ev2wyUI2FND+YNR2ElnIlhLSWgTqkruIJT8RFKjSSJbMIbj3sAWtWb4WtfHYRjmCbkP5KplE kDm5yLeoeHQQ5JS9tdo30UYCqtLHrcEE3YagxViwMpKinOjDkNuvsBi4tAeYelJJCxbQATC3 NMRjx7lDenmTFdvQYlAWFHJYjSO8K/nMteCNtBc8vz5oxcSKPrXhnvUioHMp+PT9CZ8NOggd fRkki53A3Fm/WneD7vxsrmUfoK9Bft4+1puNoFE9z2U1ATDS+4dn0RD0dqjS7WbLQVC9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J4IdbEsuLK3EOMEhzMSiK8TmdPxwnxpiRWVqUW5ccXleakFh9iNAV6cyKzlGhyPjDl5JXE G5oamltYGpobmxubWSiJ83YIHIwREkhPLEnNTk0tSC2C6WPi4JRqYAxpmubmb7Dh0Y2AVXkP e8Nln+9odM9e+HiueKX+skB2r2OSNgzsf9bFRm+TPxJsc7xsbdr0PWzCKjaynccTg6zbYrJY PrG9jJhVcbtoU6CdUJ/83A0vQm4qH/oj0myXbXJLc+rE9xcb9jjEi3U5x5+Qk1EWn7pObUte /ttNj+uZdq7QFH33VImlOCPRUIu5qDgRAGshmBQBAwAA X-CMS-MailID: 20201103151540eucas1p2750cffe062d6abff42ee479a218c8eb8 X-Msg-Generator: CA X-RootMTR: 20201103151540eucas1p2750cffe062d6abff42ee479a218c8eb8 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20201103151540eucas1p2750cffe062d6abff42ee479a218c8eb8 References: <20201103151536.26472-1-l.stelmach@samsung.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201103_101600_902491_34C0D0EF X-CRM114-Status: GOOD ( 16.01 ) 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 node for ax88796c ethernet chip. Signed-off-by: Ɓukasz Stelmach --- arch/arm/boot/dts/exynos3250-artik5-eval.dts | 29 ++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/arch/arm/boot/dts/exynos3250-artik5-eval.dts b/arch/arm/boot/dts/exynos3250-artik5-eval.dts index 20446a846a98..a91e09a7d3fa 100644 --- a/arch/arm/boot/dts/exynos3250-artik5-eval.dts +++ b/arch/arm/boot/dts/exynos3250-artik5-eval.dts @@ -37,3 +37,32 @@ &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>, /* for: CLK_MOUT_MPLL */ + <&cmu CLK_MOUT_MPLL>, /* for: CLK_DIV_MPLL_PRE */ + <&cmu CLK_DIV_MPLL_PRE>, /* for: CLK_MOUT_SPI0 */ + <&cmu CLK_MOUT_SPI0>, /* for: CLK_DIV_SPI0 */ + <&cmu CLK_DIV_SPI0>, /* for: CLK_DIV_SPI0_PRE */ + <&cmu CLK_DIV_SPI0_PRE>; /* for: CLK_SCLK_SPI0 */ + + ethernet@0 { + compatible = "asix,ax88796c"; + reg = <0x0>; + 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>; + reset-gpios = <&gpe0 2 GPIO_ACTIVE_LOW>; + controller-data { + samsung,spi-feedback-delay = <2>; + }; + }; +};