From patchwork Sun Jul 22 05:39:50 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Icenowy Zheng X-Patchwork-Id: 10539139 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id C5592112B for ; Sun, 22 Jul 2018 05:41:20 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A7D2227816 for ; Sun, 22 Jul 2018 05:41:20 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9BD9B2785D; Sun, 22 Jul 2018 05:41:20 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 4363C27816 for ; Sun, 22 Jul 2018 05:41:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: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:In-Reply-To: References:List-Owner; bh=SEP1nVEdrjftSMpCq5npRj53dgt9+ELezUz1mmR2OdQ=; b=cGW ELxsRA0noenUQAhhhQGlQxQUhpeLP5uynBZe4bIe8KVuREXNMNjN1KkF3cOEfYftjA8dggcMbZ4Or +5Z1XOLsPagp40CLBCJmj1ttf+CLFYtPyrYWiaSmlxRwtxx0Z9H5skwvcGgSLGkM+T96CxVuutsse 1bQ9GvAqFJLEG1kedA3OeyydD9R5INfNhTkfq5WfqAywNYJYd2lOTRK2p9xN0xa9r6lam5XR12K+h yQmf3pCRj6TvVimvAvtib+O3jpdqSmBD58jwxXdfc4k1EZF8J4yIVyednjkaAW0lS6Fl/lI62+XYn kUI2llbQQgPQkcusqHkCG66lNHg5Ptw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fh77I-0004pC-IZ; Sun, 22 Jul 2018 05:41:12 +0000 Received: from catfish.maple.relay.mailchannels.net ([23.83.214.32]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fh77F-0004nk-04 for linux-arm-kernel@lists.infradead.org; Sun, 22 Jul 2018 05:41:10 +0000 X-Sender-Id: lmn-tzduiowcrqmw|x-authsender|icenowy@aosc.io Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 5DAF0412CD; Sun, 22 Jul 2018 05:40:51 +0000 (UTC) Received: from hermes.aosc.io (unknown [100.96.26.113]) (Authenticated sender: lmn-TZDUIOWCRQMW) by relay.mailchannels.net (Postfix) with ESMTPA id 74E8D410D2; Sun, 22 Jul 2018 05:40:50 +0000 (UTC) X-Sender-Id: lmn-tzduiowcrqmw|x-authsender|icenowy@aosc.io Received: from hermes.aosc.io (hermes.aosc.io [199.195.250.187]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.16.1); Sun, 22 Jul 2018 05:40:51 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: lmn-tzduiowcrqmw|x-authsender|icenowy@aosc.io X-MailChannels-Auth-Id: lmn-TZDUIOWCRQMW X-Ruddy-Daffy: 1df91b404123a1a6_1532238051191_2737929932 X-MC-Loop-Signature: 1532238051190:1487584303 X-MC-Ingress-Time: 1532238051189 Received: from localhost (localhost [127.0.0.1]) (Authenticated sender: icenowy@aosc.io) by hermes.aosc.io (Postfix) with ESMTPSA id 6E1669F530; Sun, 22 Jul 2018 05:40:39 +0000 (UTC) From: Icenowy Zheng To: Rob Herring , Maxime Ripard , Chen-Yu Tsai , "David S. Miller" , Corentin Labbe Subject: [PATCH 0/5] Allwinner H6 Ethernet support Date: Sun, 22 Jul 2018 13:39:50 +0800 Message-Id: <20180722053955.25266-1-icenowy@aosc.io> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180721_224109_163348_FD1D026C X-CRM114-Status: GOOD ( 13.98 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-sunxi@googlegroups.com, linux-arm-kernel@lists.infradead.org, Icenowy Zheng MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP This patchset introduces Allwinner H6 Ethernet support with code already available for A64. As the system controller and EMAC on H6 are all similar to A64 ones, support for them are directly reused, by using fallback compatible strings. Icenowy Zheng (5): dt-binding: dwmac-sun8i: add H6 compatible string (w/ A64 fallback) dt-bindings: sunxi-sram: add binding for Allwinner H6 SRAM C arm64: allwinner: h6: add system controller device tree node arm64: allwinner: h6: add EMAC device nodes arm64: allwinner: h6: add support for the Ethernet on Pine H64 .../devicetree/bindings/net/dwmac-sun8i.txt | 1 + .../devicetree/bindings/sram/sunxi-sram.txt | 4 ++ .../boot/dts/allwinner/sun50i-h6-pine-h64.dts | 29 ++++++++++ arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi | 53 +++++++++++++++++++ 4 files changed, 87 insertions(+) Tested-by: Jagan Teki