From patchwork Wed Nov 21 03:36:44 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 151632 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp1419009ljp; Tue, 20 Nov 2018 19:38:23 -0800 (PST) X-Google-Smtp-Source: AFSGD/UJhgbSbKt8nrjJhOfrckyyJu7JeuGbzhff/J4ilHgFsT2TlRipjTzOgZQYIFnKPd+d0s8V X-Received: by 2002:a63:dc54:: with SMTP id f20mr4499981pgj.410.1542771503586; Tue, 20 Nov 2018 19:38:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542771503; cv=none; d=google.com; s=arc-20160816; b=j5x0296FWw05iDwmmMoWjUIgP7n/SQ4yifnBnsVbYUegBcqoZzZmRvDvSnu6jYq+0+ Qh70MwO1tmj+lzUy1TWDIvBMXLt3nGO2ap4y+kkPu5wTJW+WStYj5Gu+YnyS4S92e7xX q14HhGZ3tJ7YY+yu9xonM0nRPx4St4KKknTyto1rvbTJ+gpp4V8wBUNPBh79pzSBBA9L 7tPB8TmqNsIJ8A4bCJ2JS8lei2YpIOi1p3JnnbYrd0wnb1iMow2te3OKqPHzB3kXhViL U3fz8oANEFK82rYCLErOzyg4ffK7qmKn9CBmsgfcsmj06/dXe1W/GKZ7OCCj/5jAf+Y2 OfPw== 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=GSF6N+Et36E4LkapTnnKe/iKqIqrR7BwC+DWwaMvFgU=; b=oBkmHFHwZB99updgEa5JpKipllYNFytv9YXWhY1CnL0sP+RdDuWAKshAY07pAgQrUS tLL0BwwKkDkrmJe/93ZH5wn16L3JUveNskXiO4Qm7XSgx4ZQJMRYQiGQinvk73eRldxK Ka5EmjlYtMt5pGQ0w+YTd+DLNEiRT/NhoIPENGjklTaHRcQDBIKWYV8emr7LrvNDNNRo noa4g+pif4H2/EYD1sOXDfYf940y3mCrs3PBWo8xHVt9ju1B0q6YLo/n/2mV6Loq+nhq Cl3UDhG7AhGDOiCkgQUfszVGUx+KdePS57IE6PaHtbQ9zF9czm+DLFaVSc6m/JGJppiD M/hQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=bZpiYzrh; spf=pass (google.com: best guess record for domain of linux-serial-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-serial-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 g8-v6si38886570pli.79.2018.11.20.19.38.23; Tue, 20 Nov 2018 19:38:23 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-serial-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=bZpiYzrh; spf=pass (google.com: best guess record for domain of linux-serial-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-serial-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 S1727355AbeKUOK4 (ORCPT + 2 others); Wed, 21 Nov 2018 09:10:56 -0500 Received: from mail-pl1-f194.google.com ([209.85.214.194]:37721 "EHLO mail-pl1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726993AbeKUOK4 (ORCPT ); Wed, 21 Nov 2018 09:10:56 -0500 Received: by mail-pl1-f194.google.com with SMTP id b5so3386647plr.4 for ; Tue, 20 Nov 2018 19:38:22 -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=GSF6N+Et36E4LkapTnnKe/iKqIqrR7BwC+DWwaMvFgU=; b=bZpiYzrhYRajQl9DjGCUQpHSedh7HGoHdMYhwXrA6yX+0cQwkjoPQwIJXQAT+F/kfj lnCGdM0ahEQ434qZMBWBvARnpbcis8OZtEm5Ko3wzGcy2oAigawtpQWff6RxHD8ODald 7QrR9kynvPBhXjR/znS1DWfHNInegGtTbnclc= 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=GSF6N+Et36E4LkapTnnKe/iKqIqrR7BwC+DWwaMvFgU=; b=iIIePN/e7tzPQ9jcNL1xNwWNWnRxQB29kxR3G9Asc2JfF1uRSPxYPayhb5DA3ngPZn dpcoFGmE8FIjG2D+tWQwQZ+SDc8AfWtIvd+qm4mv3AykLlag2J3nJ49hwt1qiYpp73sy tD5K7cz970MgPa+Q9oSWIahQjcn1zlMzOKt8GQfneW6wIWnQ90MsAIO0QO0akzPCIIFO kML/O85M+XCOPR+VJyH5G0sBxHyuF4etlRrE9WeV+zI6Z9u5RpxiFZst8EQRZaMmdR8x 2P6n/ztkGLFqmOsRX0Rqe3TZ1mbF+9xPr+roPZEVgQ6qjxWtSyyrChnZrepp5yzu2Bqm 1FRQ== X-Gm-Message-State: AA+aEWZFMXs8nmMS0Wy+9FtYJZfe5aDUNORu6scu1/zqq/m23rgGsCvf j80sQ25lpRgdVFC1ajOIET1X X-Received: by 2002:a17:902:7686:: with SMTP id m6mr5136940pll.179.1542771502100; Tue, 20 Nov 2018 19:38:22 -0800 (PST) Received: from localhost.localdomain ([2409:4072:98b:9501:106a:f751:df0d:9e68]) by smtp.gmail.com with ESMTPSA id z8sm72025095pgz.53.2018.11.20.19.38.13 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 20 Nov 2018 19:38:21 -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 v2 07/15] arm: dts: Add devicetree for OrangePi i96 board Date: Wed, 21 Nov 2018 09:06:44 +0530 Message-Id: <20181121033652.12247-8-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181121033652.12247-1-manivannan.sadhasivam@linaro.org> References: <20181121033652.12247-1-manivannan.sadhasivam@linaro.org> MIME-Version: 1.0 Sender: linux-serial-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-serial@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 | 40 ++++++++++++++++++++ 2 files changed, 42 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..11b586e3966b --- /dev/null +++ b/arch/arm/boot/dts/rda8810pl-orangepi-i96.dts @@ -0,0 +1,40 @@ +// 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 = &uart0; + serial1 = &uart1; + serial2 = &uart2; + }; + + chosen { + stdout-path = "serial2:921600n8"; + }; + + memory@80000000 { + device_type = "memory"; + reg = <0x80000000 0x10000000>; + }; + + uart2_clk: uart2-clk { + compatible = "fixed-clock"; + clock-frequency = <921600>; + #clock-cells = <0>; + }; +}; + +&uart2 { + status = "okay"; + clocks = <&uart2_clk>; +};