From patchwork Wed Nov 28 13:50:58 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 152260 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp1114444ljp; Wed, 28 Nov 2018 05:52:35 -0800 (PST) X-Google-Smtp-Source: AFSGD/ULcx13cFEPJtv+suUN7qOlfeSSxqG7PnAGSBlgUozsEnnNUuMK8vRAuT5zUuneihuLMIEX X-Received: by 2002:a17:902:8c98:: with SMTP id t24mr36963310plo.130.1543413155697; Wed, 28 Nov 2018 05:52:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543413155; cv=none; d=google.com; s=arc-20160816; b=t/bIQRx2jJOjKHHlkN+6uJLhm72NDanxrCrWbavIzDjIltjPEQSBqrC08j+q+v87Dn 9TCRthh6FrVx+m1KgYmxZoW1/nfs6/t0F5XsBiXlYt2m5kdM4OVoZfxrlDSLoAzoItqG rYpoj3er7rMNLq+bBVC8pRK1rFIrRswIU3enaAisijy184gW1m8V+vj3DSnuataDqu8w v1m5FjWiHLFImYIvtd6v4+DwLqqYZrdKddmKBpVnu27qu0vqv/cfxpmnhQA713e1bU30 +6fRADea+eaN7WVNgMW0ahffFxVAXzGt4oTpycpHvo5XYIKEdVY9dOppoDJqopqoF2Vu aw5A== 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 :dkim-signature; bh=KIbCrv6kxd+jKuB+Z655EDqVYRNgXku8ohIbZgJ20mM=; b=vc6ulqmhuSXZd4+iu0nvWO/La1Q4WztJJOfXmDgJkduepFGXJ+jNGamMqhTbzZY2EQ qsYxNuCGeNhY8YQU6sgQpItZRMIv+dW91u0Hy4MokBQ7yUHaUVtNysdhNRgUR+ZmRirO GhCH/b8h06prOzWw89AM//kA1RlS1bcegxLugVwLyTNtGMCuUvIpAjXtF5Q8kA07tYII Ia39LcLEjeUD/vA9pBsf0uijKF5MidNT2FhLXyPjV4/xbHaLCUATf+DftWJuIbDnpc36 uXtHaGzMuh02yaVnWX65XeFb1vDwarTkk0+eoHCUtXAxuTCJSIASUvtx4PQn1mwCQs+t hc2g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=cddgPvll; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e189si7692380pfc.202.2018.11.28.05.52.35; Wed, 28 Nov 2018 05:52:35 -0800 (PST) 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; dkim=pass header.i=@linaro.org header.s=google header.b=cddgPvll; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728759AbeK2AyQ (ORCPT + 32 others); Wed, 28 Nov 2018 19:54:16 -0500 Received: from mail-pg1-f195.google.com ([209.85.215.195]:46490 "EHLO mail-pg1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728436AbeK2AyQ (ORCPT ); Wed, 28 Nov 2018 19:54:16 -0500 Received: by mail-pg1-f195.google.com with SMTP id w7so9519331pgp.13 for ; Wed, 28 Nov 2018 05:52:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=KIbCrv6kxd+jKuB+Z655EDqVYRNgXku8ohIbZgJ20mM=; b=cddgPvllApWIuVm4aNSLi6L2wrPXnlKhA3mnRLP96rpqQQu6i5k+lgm3nyXgO9/6DJ S5wl6GHcGKuu3+5Orn7JV1lCcNbtvp5XHWme7qykP1/clAEbfBPCqpdC6wgUcTclDdHl j73ST9dIaacg47QmZUoQiErzxlERmv+FB78LM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=KIbCrv6kxd+jKuB+Z655EDqVYRNgXku8ohIbZgJ20mM=; b=XkTwXhUnTh5zAaEXZwRQiSbEFJW21a8OODT2nXbAXUmRLXb9JRv/H6++BT58N0htWa An1eYJB1D6r+Mb9UT4bnXS5umYz1TaeCKf/8QR3vMev1B9inZ1xGQcY5MtCoXPuHiBPX 4IeoBcRVG8HbhnjkC9wFbRWtJBuiL+cnis+nI5JcWD4fLWxpvMiHufPIq2kcuASlONrI k9NO8FjSCbDNJnCrZDMWupGM+iEu54vs2iQqE/gJAlHpr+NJEBCzfxP5B5wnlX4BLChP wdMCDRx6SHJ62m2+TpQRdrkSMSec/Jnz5JU1r91plwLpY1GcDTpGtS4RB9mmLPOWH9aB XNrQ== X-Gm-Message-State: AA+aEWZ18ZFQe4svNrFv8cZCzqK2mHr5q6BmeuXovEqmwKngf3Etkzni rwHMfqQGna5bIyMv7jOJ1oDL X-Received: by 2002:a63:1848:: with SMTP id 8mr32779975pgy.81.1543413152522; Wed, 28 Nov 2018 05:52:32 -0800 (PST) Received: from localhost.localdomain ([2409:4072:90a:a93f:b481:6fae:6692:c3ee]) by smtp.gmail.com with ESMTPSA id c4sm22049854pfm.151.2018.11.28.05.52.22 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 28 Nov 2018 05:52:32 -0800 (PST) From: Manivannan Sadhasivam To: olof@lixom.net, arnd@arndb.de, robh+dt@kernel.org, tglx@linutronix.de, jason@lakedaemon.net, marc.zyngier@arm.com, daniel.lezcano@linaro.org, gregkh@linuxfoundation.org, jslaby@suse.com Cc: afaerber@suse.de, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-serial@vger.kernel.org, amit.kucheria@linaro.org, linus.walleij@linaro.org, zhao_steven@263.net, overseas.sales@unisoc.com, Manivannan Sadhasivam Subject: [PATCH v3 07/15] arm: dts: Add devicetree for OrangePi i96 board Date: Wed, 28 Nov 2018 19:20:58 +0530 Message-Id: <20181128135106.9255-8-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181128135106.9255-1-manivannan.sadhasivam@linaro.org> References: <20181128135106.9255-1-manivannan.sadhasivam@linaro.org> MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add initial devicetree for Orange Pi i96 board from Xunlong. It is one of the 96Boards IoT Edition board. Signed-off-by: Andreas Färber Signed-off-by: Manivannan Sadhasivam --- arch/arm/boot/dts/Makefile | 3 +- arch/arm/boot/dts/rda8810pl-orangepi-i96.dts | 50 ++++++++++++++++++++ 2 files changed, 52 insertions(+), 1 deletion(-) create mode 100644 arch/arm/boot/dts/rda8810pl-orangepi-i96.dts -- 2.17.1 diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index a0fdad8f10dd..cfb08ea33872 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile @@ -807,7 +807,8 @@ dtb-$(CONFIG_ARCH_QCOM) += \ qcom-msm8974-sony-xperia-honami.dtb \ qcom-mdm9615-wp8548-mangoh-green.dtb dtb-$(CONFIG_ARCH_RDA) += \ - rda8810pl-orangepi-2g-iot.dtb + rda8810pl-orangepi-2g-iot.dtb \ + rda8810pl-orangepi-i96.dtb dtb-$(CONFIG_ARCH_REALVIEW) += \ arm-realview-pb1176.dtb \ arm-realview-pb11mp.dtb \ diff --git a/arch/arm/boot/dts/rda8810pl-orangepi-i96.dts b/arch/arm/boot/dts/rda8810pl-orangepi-i96.dts new file mode 100644 index 000000000000..728f76931b99 --- /dev/null +++ b/arch/arm/boot/dts/rda8810pl-orangepi-i96.dts @@ -0,0 +1,50 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2017 Andreas Färber + * Copyright (c) 2018 Manivannan Sadhasivam + */ + +/dts-v1/; + +#include "rda8810pl.dtsi" + +/ { + compatible = "xunlong,orangepi-i96", "rda,8810pl"; + model = "Orange Pi i96"; + + aliases { + serial0 = &uart2; + serial1 = &uart1; + serial2 = &uart3; + }; + + chosen { + stdout-path = "serial2:921600n8"; + }; + + memory@80000000 { + device_type = "memory"; + reg = <0x80000000 0x10000000>; + }; + + uart_clk: uart-clk { + compatible = "fixed-clock"; + clock-frequency = <921600>; + #clock-cells = <0>; + }; +}; + +&uart1 { + status = "okay"; + clocks = <&uart_clk>; +}; + +&uart2 { + status = "okay"; + clocks = <&uart_clk>; +}; + +&uart3 { + status = "okay"; + clocks = <&uart_clk>; +};