From patchwork Tue Dec 18 08:05:22 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 154124 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp3412173ljp; Tue, 18 Dec 2018 00:06:30 -0800 (PST) X-Google-Smtp-Source: AFSGD/VkDqstInajbgjrI7KdT/m8X8/nJgzCa1LVnKOxldVCgu3GcAJq2AyYhVmDPHnAwJI+QO1w X-Received: by 2002:a62:2044:: with SMTP id g65mr15667336pfg.127.1545120390567; Tue, 18 Dec 2018 00:06:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1545120390; cv=none; d=google.com; s=arc-20160816; b=FT6KUMW5I5UlZiX2BZ+vANm8Tw4adcvGtjwdwW6Tf8badln6D158+vkpfoxQm0hYm+ cIVXf40RLdlYdzPMlYjTGCMeBO0LugmEYMgXBQNzu7ZQoSbCnXNro5GW+/PUdHchVaQr /v9/kTp3ZJFQ5admOYAm/OLuHyL09A+rcG18DNwTu2FJavv3zvxaQDcmXJgMy4PYPRx0 dfmO18dxB3rKS8/HVVqHzCbQ6dRp5+RNpdlk7ureEKAk7m9uSaumzwSF6JmMjq8bnXS3 ITJzcbP1yxwzy6jtH5u6l50FTjWQJpHB/wBL3y4gJQ2LzaN60d2+WTJhUtezOVcFfOPP xDJA== 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=wmN6xMf0aPf8UVCc2wf4EK67ePbKjndsd3KoPQ2+HvnF/p8EQEcsLIKSbe5JZfiRj3 O9Hug+rQXhsn4ZFEIvPFJs7sUgCQ+OBsdl249SLUMdCzg8j3Au5B6VedUCOThA3DBxuU 9hAz4HBo1Jq7l79QpFox+nDWJIpB2fEHLYld5DYQsNc6sLL5y5B75vzuoOy1SgG033rp Z6RYcBKOVy6qSyOP7amYwSOuQ3Tgzj8yt8R0zcj3b7LJtHx8iM87ndLHOLX73UKIayL3 xvxqovgDw/RRYfzCQVsDvDSq0WviOWdcBnEQVKyUUvuVbg+D4NXiyuvR4J72zOgMSyJe 6bBQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Dr0EVT+O; 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 s11si12375348pgk.344.2018.12.18.00.06.30; Tue, 18 Dec 2018 00:06:30 -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=Dr0EVT+O; 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 S1726556AbeLRIG3 (ORCPT + 2 others); Tue, 18 Dec 2018 03:06:29 -0500 Received: from mail-pl1-f194.google.com ([209.85.214.194]:41205 "EHLO mail-pl1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726739AbeLRIG3 (ORCPT ); Tue, 18 Dec 2018 03:06:29 -0500 Received: by mail-pl1-f194.google.com with SMTP id u6so7452088plm.8 for ; Tue, 18 Dec 2018 00:06:29 -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=Dr0EVT+OfdgOd3vo+FXI4YpTZNroQuSRFkxLLwUs0bNV53QET8UOOVxhnHCEELmJLi FS9dh43kX898kswHwjWnvkJsM63YNgspkEYXi4bAly143zlm69aCuqnyPXQ/VotWZSBg UcJbCfxQyh2y9EVoCOpVgrZFbChPvIDmxBbMs= 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=sPjEFxnER4Uk+Fa8ZGXU69q7dvquIoPZVOAB9PypaR/hMlf+OhTsKvV9Zf2zBduTLP XJ3RRyprTX/Nvo+o7IPESZIesMMg89OnrZS4SfYPsyUkgo7B5WIFHr/d32tPgn0UPreV ts+RluJ4LtQd6SBcel6rUn9i00HYLyWULkqnjDKE4YR5V4KDqJixaSyFQ3LcxIOl1BnL 22QJVWheCjARgP45xsOUgyzrTgd+JFLoOdeWmrphlTmMQl5oaoHviZn1m0gDSVAWprSG YgDv8VjqHB980tGXhhiwD/kOOlNSDSEfLbHu1boM+Qs+dZO3YXo06ze8RiTK5xpPlSXF AGzg== X-Gm-Message-State: AA+aEWZ+iOmnhuxX3q3qiZPzHoNJ9N4Fdq5b8OvVZ1j80CvGl7xXq98G rHzHLaCh5Vd/QngniWutQqol X-Received: by 2002:a17:902:5a86:: with SMTP id r6mr14914715pli.301.1545120388928; Tue, 18 Dec 2018 00:06:28 -0800 (PST) Received: from localhost.localdomain ([2409:4072:702:382e:8c68:d268:ed20:5f25]) by smtp.gmail.com with ESMTPSA id 7sm45596888pfm.8.2018.12.18.00.06.23 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 18 Dec 2018 00:06:28 -0800 (PST) From: Manivannan Sadhasivam To: olof@lixom.net, arnd@arndb.de, robh+dt@kernel.org, gregkh@linuxfoundation.org, jslaby@suse.com Cc: linux-unisoc@lists.infradead.org, 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, Manivannan Sadhasivam Subject: [PATCH v6 06/11] ARM: dts: Add devicetree for OrangePi i96 board Date: Tue, 18 Dec 2018 13:35:22 +0530 Message-Id: <20181218080527.10801-7-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181218080527.10801-1-manivannan.sadhasivam@linaro.org> References: <20181218080527.10801-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 | 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>; +};