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: 10688941 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 4CE2313B5 for ; Mon, 19 Nov 2018 17:12:24 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 335282A302 for ; Mon, 19 Nov 2018 17:12:24 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 263252A2F8; Mon, 19 Nov 2018 17:12:24 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.6 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id A37132A302 for ; Mon, 19 Nov 2018 17:12:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=NYcke3JXnVhUWIAuOUG+fuIanvdGNyUn7gLWGgg8K+M=; b=TWJfn0EnY2frtE gUxBA7ud4F63llcK9aFh2g+l1J+Z/mhAalRUz5EN22zxpvtgISx2xi3hNbnAy5UKy9PIAa4HcufYs +Ffb9p8lWdENvpyluFTj4etdrw69C2s3Y9mNjuCkoAwmKdo+6GeGfO0zjn4rUt0AcCZBvySphv8q2 DCsiCZ1bgfSQzqhtTumHHKn39YwNFKnuVRCME+jYVLgnB1gq3oto28dPwN2/6JZgLQv1aG4wgGyXr 5C1DqTze/PVi8uNDvRnSzUlPFrR/NE/XivZfahQjVcD+MZLToLZFiJ7S42/rLpGx6mx1J/UidCmhH M+T0OHbnQPBz2hn5rZ9A==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gOn5p-0001kZ-7i; Mon, 19 Nov 2018 17:12:13 +0000 Received: from mail-pg1-x544.google.com ([2607:f8b0:4864:20::544]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gOn5G-0001EB-A7 for linux-arm-kernel@lists.infradead.org; Mon, 19 Nov 2018 17:11:41 +0000 Received: by mail-pg1-x544.google.com with SMTP id z10so14107990pgp.7 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=hE1bbTnyP8yT3XV4KGfUw2llvjXt4yrDdlnNART3Aigxqn8f4xucFSqp357RDR+hZl byHYuMSac4iW8hOH5Ay/Skw4d85Y4sjmGGfOTm8ae8kEW8Syuy61+TJcI4nRGdSjAEeH DSb2EuKn2vhNTnQuPCwWLgvkhEIfH61BOAw2fsvTFPvJGWTP+oSmjDrg4qRZl+tAs7WU 4/ww+Za1twg1TTPm+iftY7p76DiNh8okUpZOY/JsMRMVHKB3EhqgQCpNWbqTm61wmSCC +bYwEtSdayFNc5/xBiFVv54r4o0g/B4+erZjz2XBBN5vBxgdMvlDzkpIJwPI/aUWNvsO PIxA== X-Gm-Message-State: AGRZ1gILQcqak79FjtxMyCwa2u5JgT9/NLvMfdP3RBqrl4oCy6NGYdWW dFzX1hvebDFfcLx4sngW/PEJ2a1qaw== X-Google-Smtp-Source: AJdET5eMv18kMDsLE0eoCXWqRIA+aAQKo2rn4pNCCLLN3Ng1XI0/LM7GaCBw5+K5e4t/ysbiywv6dw== 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 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181119_091138_398655_7988BCC5 X-CRM114-Status: GOOD ( 15.47 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linus.walleij@linaro.org, service@rdamicro.com, linux-kernel@vger.kernel.org, amit.kucheria@linaro.org, Manivannan Sadhasivam , =?utf-8?q?Andreas?= =?utf-8?q?_F=C3=A4rber?= , linux-arm-kernel@lists.infradead.org, zhao_steven@263.net Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP 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 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>; +};