From patchwork Mon Dec 10 17:35:42 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 153322 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp3819965ljp; Mon, 10 Dec 2018 09:37:05 -0800 (PST) X-Google-Smtp-Source: AFSGD/XEn8xhT1Jxiwybd8v3yTw0Tak9MNwiE/wMvPhapNdG+HlEPzWmwJNM0+peaDx4YlGYWIKM X-Received: by 2002:a62:ab0d:: with SMTP id p13mr13161271pff.211.1544463425173; Mon, 10 Dec 2018 09:37:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544463425; cv=none; d=google.com; s=arc-20160816; b=chS7zKJ13lroYMfgLN1NbNShW2d6D6h/3E0To0BCKylBFijTWLIonyVavnt4LsXTZb 6z8g8pUY186MqnObQCRh9J0nsfnsBQjHUYzss+Jv3Zu1EMPNFZpedeuXl9xKLhb/bvUZ 7U1+DabKBzGMMzhv14RYupgVETJtE2Ajc/PqDkdHfIcgr4ezgaidn+Yd9ufZ1bNJMqzZ R6bBslal8JUqg3kwcOgfMQcBV7H39OitDk8DkLBy2v2FQ9af5tCjVNyQBEhN+J/7fLvb EI2CTyPcv7VNKq5yyTVD+x8eKfbUgSpEkHxc/7NI/UFVNKy2ztuPw0eb2r175f5oAW40 kEaA== 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=UkG6xfw6MKveqSSnGCxSrcj8uJye9OOrRlO4Ifl7JXW+84+e68S9pD3Aqu+ropSrcx a9mMm7ZR8I+I6UrHbA6SToPvgZ7UKHBSy2vcSDldIlh65MdofLM//CnaHHmguq2JoRmJ 961Cjy3QY2lHZ4mF6jjWTcOXw02RbdJtS9TABheFpDBw3bjsg59P5FI+SIuL6mf68dRE GN1pUKFazu5WB9Tn2MNtXYjtN9OMlB5OCrFrZ/+67PRSMwdtrMSGjYr01Tq77cTCqqrc vyzJQErKuM20aAgZYn2f4hAX18NzSdP3lV6zChanet111V8Hlp9KwBeZSLdvt3av9dYS feoA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ZRPxyo2z; 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 g184si11036001pfb.288.2018.12.10.09.37.04; Mon, 10 Dec 2018 09:37:05 -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=ZRPxyo2z; 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 S1728302AbeLJRhE (ORCPT + 2 others); Mon, 10 Dec 2018 12:37:04 -0500 Received: from mail-pf1-f195.google.com ([209.85.210.195]:39060 "EHLO mail-pf1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727225AbeLJRhE (ORCPT ); Mon, 10 Dec 2018 12:37:04 -0500 Received: by mail-pf1-f195.google.com with SMTP id c72so5728000pfc.6 for ; Mon, 10 Dec 2018 09:37:04 -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=ZRPxyo2zGSkOcBSGXrLTPsyinQ6P17sQYCJvUWjiXwmwT74RFHgz7X57daD7YmwgzX ZtexgVCNfkVxz82UizIMCUz/1zzmbIC9wGECCFVSwIvAPLwUKhjsFKbWqKkArHL6FgoI sYTSI6gLwi8oMawAa4OIfsFh/Jb24VFHbaxAE= 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=fIwxIM0ehtGy+4vjEPKoRLyuJyrk8OLFYr4uic/IFecQJD2nM7QAw2h9seX7hhoQrP +dHWPfQfNdHrXpOC4ZyNNfC5EVkPjaEQzqMW5KOBm0fUV0kV+d6yNUU7iJnE7q7yb5iV NMDdOJUWmujLb+mkrYYJczrIaxdBFc1z7TSS1tP9fowUuAdZx/TcBPN7vQS1lD8tYum+ aaHDJeKQofF7G2J99myMQzo0PVvQaXCmco7xpFXVloEla+GI+0VFj2jArruAW/jXx7on THGE6pSiCPLNTX1cdcr/G2C/eZvWlGJsfoXH2Lj4XscrMKgnWVLNwYaOcntrb+H6n29l zvUQ== X-Gm-Message-State: AA+aEWbGMS3VYRxq0ObSIZW1kpY/XEyRqgbjz17oJKfv/SExRleVpFEc fMzDKfg9wAQ78APiTCHqy/Tv X-Received: by 2002:a63:4b60:: with SMTP id k32mr11526285pgl.186.1544463423895; Mon, 10 Dec 2018 09:37:03 -0800 (PST) Received: from localhost.localdomain ([2409:4072:91e:2c01:40e1:a028:b090:9e12]) by smtp.gmail.com with ESMTPSA id q1sm15998396pfb.96.2018.12.10.09.36.55 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 10 Dec 2018 09:37:03 -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: 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 v4 07/15] ARM: dts: Add devicetree for OrangePi i96 board Date: Mon, 10 Dec 2018 23:05:42 +0530 Message-Id: <20181210173550.29643-8-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181210173550.29643-1-manivannan.sadhasivam@linaro.org> References: <20181210173550.29643-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>; +};