Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp87704ybx; Thu, 31 Oct 2019 16:25:39 -0700 (PDT) X-Google-Smtp-Source: APXvYqzOSESRzjOg8HABHDGE8VM8PZ5KW2dQPArTSaYss3SOV2sp+jUD9QP33uIkAmJvMl4qMJoY X-Received: by 2002:a05:6402:150a:: with SMTP id f10mr9155578edw.235.1572564339795; Thu, 31 Oct 2019 16:25:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572564339; cv=none; d=google.com; s=arc-20160816; b=MCH1V5/3TJ56hE7EYOvySxq3G5uBRl4tNMPaZWMcnAulf1K4TxGrVnvD4uXYJtWehr kW4oNwpcyZ3Nisscs37kjeh9+L9OiLJLcnjC+zj8HWaFjzP+6sPQ9ICg2YirDG34g1sU SMe6pxH+ZUu2K+2p2RApH2TI+WsTBKt2YGOHT6oxn6CXskKUAJEHD2zDPBoXHakgFGPU 1i+Hdli+TEzwYTRZcn0/a4mwlDvQbByqVNQR92iRvvylZyCLLfcbi/D81VtdkrofCoPa BwI4+evLnq1yxKNousWCLaz3gM7qFIGwPAOM1xeSrMrcqWS6W0MxcliVfQ4816eDSsv8 3iQw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=uE47BGTwvGV5RxgEtzkUckaQoCKV66XqDuAD1DWAEBA=; b=G+waRn5Dh+kiVrEmSpRbu8ZAQVeBKCirhHGcwuXexwyZ/qdYoxxjYmfqqH9jTL5E+G gqt+8/TwmavZMN0++AJ2Xo7ZwOqtMhEWMPe/EgTz/zKqyAWT6S0Jc2GQAlr7ZCjomCv5 8lPSw9Y1uUYmmSnmiyaNW2AJ0bBz022S04SUxkuWzM6TLdxBomwOzQ4Y8/NdMlzQosc6 aOaSug0rVHLWWQbPrTY9QvNef609OYGLTRsMh9MnlgwM/BdvxET3BzDG53VVMXi+RgSY UJsHoVhN2q2dq3D3z4abBOsHwNsnMTakKmyJNbCvzmG3OmUA2o7G9yyhGhBQuHDoBajD CxAQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f20si2028205ejr.390.2019.10.31.16.25.13; Thu, 31 Oct 2019 16:25:39 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728817AbfJaXQf (ORCPT + 99 others); Thu, 31 Oct 2019 19:16:35 -0400 Received: from palmtree.beeroclock.net ([178.79.160.154]:43066 "EHLO palmtree.beeroclock.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726602AbfJaXQe (ORCPT ); Thu, 31 Oct 2019 19:16:34 -0400 Received: from beros.lan (89-160-129-47.du.xdsl.is [89.160.129.47]) by palmtree.beeroclock.net (Postfix) with ESMTPSA id 66ACF1FAF3; Thu, 31 Oct 2019 23:12:33 +0000 (UTC) From: Karl Palsson To: mripard@kernel.org, wens@csie.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Karl Palsson Subject: [PATCH 3/3] ARM: dts: sun8i: add FriendlyARM NanoPi Duo2-IoT Box Date: Thu, 31 Oct 2019 23:12:16 +0000 Message-Id: <20191031231216.30903-3-karlp@tweak.net.au> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20191031231216.30903-2-karlp@tweak.net.au> References: <20191031231216.30903-2-karlp@tweak.net.au> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The IoT-Box is a dock for the NanoPi Duo2, adding two USB host ports, a 10/100 ethernet port, a variety of pin headers for i2c and uarts, and a quad band 2G GSM module, a SIM800C. Full documentation and schematics available from vendor: http://wiki.friendlyarm.com/wiki/index.php/NanoPi_Duo2_IoT-Box Signed-off-by: Karl Palsson --- arch/arm/boot/dts/Makefile | 1 + .../boot/dts/sun8i-h3-nanopi-duo2-iotbox.dts | 45 +++++++++++++++++++ 2 files changed, 46 insertions(+) create mode 100644 arch/arm/boot/dts/sun8i-h3-nanopi-duo2-iotbox.dts diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index d8bf02abcda1..d605766441dd 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile @@ -1097,6 +1097,7 @@ dtb-$(CONFIG_MACH_SUN8I) += \ sun8i-h3-libretech-all-h3-cc.dtb \ sun8i-h3-mapleboard-mp130.dtb \ sun8i-h3-nanopi-duo2.dtb \ + sun8i-h3-nanopi-duo2-iotbox.dtb \ sun8i-h3-nanopi-m1.dtb \ sun8i-h3-nanopi-m1-plus.dtb \ sun8i-h3-nanopi-neo.dtb \ diff --git a/arch/arm/boot/dts/sun8i-h3-nanopi-duo2-iotbox.dts b/arch/arm/boot/dts/sun8i-h3-nanopi-duo2-iotbox.dts new file mode 100644 index 000000000000..d4f347192199 --- /dev/null +++ b/arch/arm/boot/dts/sun8i-h3-nanopi-duo2-iotbox.dts @@ -0,0 +1,45 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (C) 2019 Karl Palsson + */ + +#include "sun8i-h3-nanopi-duo2.dts" + +/ { + model = "FriendlyARM NanoPi Duo2 IoT Box"; + compatible = "friendlyarm,nanopi-duo2-iotbox", + "friendlyarm,nanopi-duo2", + "allwinner,sun8i-h3"; +}; + +&ehci2 { + status = "okay"; +}; + +&ehci3 { + status = "okay"; +}; + +&ohci2 { + status = "okay"; +}; + +&ohci3 { + status = "okay"; +}; + +&emac { + phy-handle = <&int_mii_phy>; + phy-mode = "mii"; + allwinner,leds-active-low; + status = "okay"; +}; + +/* Not addressed, SIM800C module on uart3 */ +&uart3 { + pinctrl-names = "default"; + pinctrl-0 = <&uart3_pins>, <&uart3_rts_cts_pins>; + uart-has-rtscts; + status = "okay"; +}; + -- 2.20.1