From patchwork Mon Nov 19 17:09:29 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 151507 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp2918838ljp; Mon, 19 Nov 2018 09:11:47 -0800 (PST) X-Google-Smtp-Source: AJdET5fJDSYsAZfLeq+C/o6KDkzqCi5vpeGMKegb/IDtEO9/UCBQubs9MMHeZfsEW7pzlURhPCRD X-Received: by 2002:a17:902:bc83:: with SMTP id bb3-v6mr22687188plb.223.1542647506901; Mon, 19 Nov 2018 09:11:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542647506; cv=none; d=google.com; s=arc-20160816; b=j9k0ACHpS1RPzEG1z131xKERtjcrEVA1ApjbHNKyFddvrEyIcHaEzpfxeCTWY4/I3G haQvWs9pSnYTeK53TaXRgxbIxROQNcXX/MC4mqcGd9cUguLutKxmBMFO9tBGhoDSXyxa UP1s8GZsVZZ+jBU2+8KFGklwENpL16U/ZGZG04I2pNcJnPSHXChzh0Foyrkcg7ffwWEb H0dPOA3N0v0cMbZbk9RBG9pw2DPtqylyRWRr//RlokyTAXmzF0ZLVZ9si1IrHw0vp+yb Gl4Eqotq/TMJR+Lx+IdFrPXtus4kfWfqkSe6/I911zXw5lWQHOw/k+7u2jt/N+N+9tdO TuAw== 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=f8EdN9IfUC+HQpAsL0jSDLomOfXBY5TdAIOND6Bm3Pg=; b=cG0g6++TA6VtrukRBJ+dp5K7pkest0FAPhASShG6DR7Ebm45VxfydRM+4qV7GRuoyF TNXsJiriQm8PU/KQkWLqYiBVX2h2pAP+sYEs0xlG3vlkcDmWqN+niPNm76l411ddyKBb EDAnK1gRiOulc8l0TpClouU9/32oLb/9lrjsrQ30+LkVUcYJXfhOKw0ufqw1jB3KmOGu 0YpLPaBph0cGCt6sFyxh79oyKVV44TyRMpeZibB+Kq4QlyA147JgSyaDra/l3fC7w99+ MHPN96mraKXh6sq/QdJ1k4uVZ+ysne4iSlRbxFPKVUz+K6go5OezXcedXC2uFMS1SbfF kB7w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="DcQi4j/u"; 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 r17si22067367pls.380.2018.11.19.09.11.43; Mon, 19 Nov 2018 09:11:46 -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="DcQi4j/u"; 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 S2436456AbeKTDf5 (ORCPT + 32 others); Mon, 19 Nov 2018 22:35:57 -0500 Received: from mail-pf1-f193.google.com ([209.85.210.193]:38168 "EHLO mail-pf1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2406258AbeKTDf4 (ORCPT ); Mon, 19 Nov 2018 22:35:56 -0500 Received: by mail-pf1-f193.google.com with SMTP id q1so7153562pfi.5 for ; Mon, 19 Nov 2018 09:11:37 -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=f8EdN9IfUC+HQpAsL0jSDLomOfXBY5TdAIOND6Bm3Pg=; b=DcQi4j/uit2V/jjRVTqlhidAKQmOlNp6R3xG9FsvTzENvySz0QN8wwDgEa+NxDZR1y pMxnrzcMAGlWp4qptU3Xhc7jKLq3Ws2l82u2et/KBPI9aViVUalcOjSzCLecsi3YW9k2 e0OHpNninSSTutQfVyh9xDRiQ7lYKxjHV1k2c= 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=f8EdN9IfUC+HQpAsL0jSDLomOfXBY5TdAIOND6Bm3Pg=; b=XfJJ7WjuUYhUJQXtmXNh7WxY0YbkqSHbALlHJdJtYF3UeUUyOjn01k0C9kHBJgmU+k 22pIWBFlcRzxfiu9flAo92Ymv+sxic/9qhs9+g5G8Ib3uceSpeSqsxz2CMditwqvbDpR up2KRZgjSypLs9RYckdI7O59b4aIA25OPIWl8tsx+XPvhIZbqBVTU68aGgZfO6huGCVb gR9oggCufS4RsGBGV358SomBvZ/XdzGbhe/zuQT9WPHJbYlEvf7wLpLgGw5MsZ4HWUBV phM4QiG74uJkG3iupQRIrcu3/bRYTohvNZZTlBeXS145qBApzXNHEXriu0Ad75zsp9cS QvmQ== X-Gm-Message-State: AGRZ1gKQLmosconvICi0Ld6vZmxwS49USCRJDVq7sYNo+rpsmFrl5bh5 s2qqIwwGq5CZFFE2IIyBkfMX X-Received: by 2002:a63:6f0d:: with SMTP id k13mr20651272pgc.42.1542647496980; Mon, 19 Nov 2018 09:11:36 -0800 (PST) Received: from localhost.localdomain ([2409:4072:631b:44eb:3905:6402:e2fb:2d7]) by smtp.gmail.com with ESMTPSA id 186-v6sm46175458pfe.39.2018.11.19.09.11.29 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 19 Nov 2018 09:11:36 -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 Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, amit.kucheria@linaro.org, linus.walleij@linaro.org, zhao_steven@263.net, service@rdamicro.com, Manivannan Sadhasivam , =?utf-8?q?Andreas_F=C3=A4rber?= Subject: [PATCH 06/16] arm: dts: Add devicetree for OrangePi i96 board Date: Mon, 19 Nov 2018 22:39:29 +0530 Message-Id: <20181119170939.19153-7-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181119170939.19153-1-manivannan.sadhasivam@linaro.org> References: <20181119170939.19153-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 | 35 ++++++++++++++++++++ 2 files changed, 37 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..3e3b8c4575cd --- /dev/null +++ b/arch/arm/boot/dts/rda8810pl-orangepi-i96.dts @@ -0,0 +1,35 @@ +/* + * Copyright (c) 2017 Andreas Färber + * Copyright (c) 2018 Manivannan Sadhasivam + * + * SPDX-License-Identifier: (GPL-2.0+ OR MIT) + */ + +/dts-v1/; + +#include "rda8810pl.dtsi" + +/ { + compatible = "xunlong,orangepi-i96", "rda,8810pl"; + model = "Orange Pi i96"; + + 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>; +};