From patchwork Thu Nov 12 11:51:05 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lukasz Stelmach X-Patchwork-Id: 11899813 X-Patchwork-Delegate: kuba@kernel.org 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=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 B6E9FC2D0A3 for ; Thu, 12 Nov 2020 11:51:42 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 404E0216FD for ; Thu, 12 Nov 2020 11:51:41 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=samsung.com header.i=@samsung.com header.b="Fu3mff+T" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728247AbgKLLvh (ORCPT ); Thu, 12 Nov 2020 06:51:37 -0500 Received: from mailout1.w1.samsung.com ([210.118.77.11]:36634 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728039AbgKLLvX (ORCPT ); Thu, 12 Nov 2020 06:51:23 -0500 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20201112115110euoutp0199ea6fd2dc9d3edac40b58cce8f881c4~GwGgIPvB20058900589euoutp01i for ; Thu, 12 Nov 2020 11:51:10 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20201112115110euoutp0199ea6fd2dc9d3edac40b58cce8f881c4~GwGgIPvB20058900589euoutp01i DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1605181870; bh=TmlrcraEmN6nS3uE2s6DB5WImBH1BqSTgR395EFEKMo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Fu3mff+TZd9M68qRi3uxMwdWbsC2B6TamXCpELi3Dq54bQSVjN9VuwDBc1fRitsIE aQx4YlKoai5r3uPRSb5wtp9j+LT4ovPTdplu52TAiO/Vds6+wSOaErHXBaFMVuQ6Iy J0uVVyfuYO9ey4l1tpI2y1/grBlodjBvbe1U8hMA= Received: from eusmges2new.samsung.com (unknown [203.254.199.244]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20201112115109eucas1p212b1f5d5094d1afb2986373e0efd5ac1~GwGfw3JCo2193821938eucas1p2l; Thu, 12 Nov 2020 11:51:09 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges2new.samsung.com (EUCPMTA) with SMTP id BC.BF.44805.DA12DAF5; Thu, 12 Nov 2020 11:51:09 +0000 (GMT) Received: from eusmtrp2.samsung.com (unknown [182.198.249.139]) by eucas1p2.samsung.com (KnoxPortal) with ESMTPA id 20201112115109eucas1p2dfd5fbfd76c28ef07f637bcc40f420cd~GwGfPgR2b1221412214eucas1p2l; Thu, 12 Nov 2020 11:51:09 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eusmtrp2.samsung.com (KnoxPortal) with ESMTP id 20201112115109eusmtrp2043840acf8f77b8d0c038c27ce1c77ef~GwGfO10Fq2331023310eusmtrp2j; Thu, 12 Nov 2020 11:51:09 +0000 (GMT) X-AuditID: cbfec7f4-b37ff7000000af05-6d-5fad21ad9ae4 Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id 71.89.21957.DA12DAF5; Thu, 12 Nov 2020 11:51:09 +0000 (GMT) Received: from localhost (unknown [106.120.51.46]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20201112115109eusmtip281f72d804fdbfbe5064e4939c54c7970~GwGfCkHW11189511895eusmtip2V; Thu, 12 Nov 2020 11:51:09 +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 Cc: =?utf-8?q?Bart=C5=82omiej_=C5=BBolnierkiewicz?= , Marek Szyprowski , =?utf-8?q?=C5=81ukasz_Stelmach?= Subject: [PATCH v6 4/5] ARM: dts: exynos: Add Ethernet to Artik 5 board Date: Thu, 12 Nov 2020 12:51:05 +0100 Message-Id: <20201112115106.16224-5-l.stelmach@samsung.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20201112115106.16224-1-l.stelmach@samsung.com> MIME-Version: 1.0 Organization: Samsung R&D Institute Poland X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrEKsWRmVeSWpSXmKPExsWy7djP87prFdfGG3ydoG9x/u4hZouNM9az Wsw538JiMf/IOVaLRe9nsFpce3uH1aL/8Wtmi/PnN7BbXNjWx2px89AKRotNj6+xWlzeNYfN Ysb5fUwWh6buZbRYe+Quu8WxBWIWrXuPsDsIely+dpHZY8vKm0weO2fdZffYtKqTzWPzknqP nTs+M3n0bVnF6PF5k1wARxSXTUpqTmZZapG+XQJXxqmjTxkL/nJXNGydztrA+JGzi5GTQ0LA ROLR2+nMXYxcHEICKxglJv7/zgThfGGU2PjmMSOE85lRYtXJUywwLU0TvrNCJJYzSvQ/fsoO 4TxnlPh/dy4TSBWbgKNE/9ITYFUiAveYJda3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rShhZGeoaWFnpGJpZ6hsXmslZGpkr6d TUpqTmZZapG+XYJexqmjTxkL/nJXNGydztrA+JGzi5GTQ0LARKJpwnfWLkYuDiGBpYwSzbd2 s3UxcgAlpCRWzk2HqBGW+HOtiw2i5imjxJ1vi1hBEmwCjhL9S0+ANYsIvGGWaLr3lh3EYRbY xyix/+hidpAqYQF3iQ9LOsA6WARUJd5O/Q8W5xWwljj9p5kNYoW8RPvy7WA2p4CNxNKbF8Fq hIBqWmd+hqoXlDg58wkLyHXMAuoS6+cJgYT5BbQk1jRdZwGxmYHGNG+dzTyBUWgWko5ZCB2z kFQtYGRexSiSWlqcm55bbKhXnJhbXJqXrpecn7uJERjZ24793LyDcd6rj3qHGJk4GA8xSnAw K4nwKjusiRfiTUmsrEotyo8vKs1JLT7EaAr02URmKdHkfGBqySuJNzQzMDU0MbM0MLU0M1YS 5906F6hJID2xJDU7NbUgtQimj4mDU6qBqXT75TKV7UrVaq1K7alHSp+EPu6I1HusuYNpE8cO hVsiTiWvNrMlvffQjmq0XNVfFvnzXrS42U+uG+/q5cUWuHKnn433PL5Y7V3eqy9bHUQrM6VF uGszGV5zPPmsuGCvYKnfh8R/yx4Hmzeyn11m/1/tfvWklZsUJn+b4D9zRwePtsrOjKInGZFP CnbPjdbfJZ9jc/HpTm2/7oI3RQZNDYt6f+f4vf3VO8Hz7YGslqwTe6aLCatVb1sus663/8vW +5sOzlMQ2xbeF8N8kEOv6rFtl1jBvNSqOUv2cFrJ3LRcWqSkrLB37ipt+UTNIvu0+/u+xQmL iR5YZPA8YH/l+YfyzNOUxMK3vNDOVJuvxFKckWioxVxUnAgA2NVdaXUDAAA= X-CMS-MailID: 20201112115109eucas1p2dfd5fbfd76c28ef07f637bcc40f420cd X-Msg-Generator: CA X-RootMTR: 20201112115109eucas1p2dfd5fbfd76c28ef07f637bcc40f420cd X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20201112115109eucas1p2dfd5fbfd76c28ef07f637bcc40f420cd References: <20201112115106.16224-1-l.stelmach@samsung.com> Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.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>; + }; + }; +};