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: 947441 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=devicetree-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=aosc.io Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 41YD4N274xz9s0w for ; Sun, 22 Jul 2018 15:40:52 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727802AbeGVGgO (ORCPT ); Sun, 22 Jul 2018 02:36:14 -0400 Received: from hermes.aosc.io ([199.195.250.187]:44771 "EHLO hermes.aosc.io" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726926AbeGVGgO (ORCPT ); Sun, 22 Jul 2018 02:36:14 -0400 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 Cc: netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-sunxi@googlegroups.com, Icenowy Zheng 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> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org 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