From patchwork Tue Dec 18 03:41:27 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 154044 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp3228810ljp; Mon, 17 Dec 2018 19:42:47 -0800 (PST) X-Google-Smtp-Source: AFSGD/WQE7nhJ8S+/YNdj02vMy4KkpA6hHSemmB6sMGMEbR6hjvp2lxLHjspiX1edkkWNe67LpnR X-Received: by 2002:a17:902:584:: with SMTP id f4mr15534645plf.28.1545104567529; Mon, 17 Dec 2018 19:42:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1545104567; cv=none; d=google.com; s=arc-20160816; b=UOQmJPnZtd+BdgStTO+KTjWoPQgeiCXH6GcN3vr5wP7dixF3qfQ+qlHmZ/TtQTX6C9 TSuG5UxEaeHVmQMbP4+8Q00g3k5otFUsMIDPzkhwrzUCzPZuiEFBFhFxDB3SJ0635IJ5 VxELtq7PMRHfhShpPASJ4bMiAMlEgLdsDK5T7Wn0XRz7McQ0+/Z8iQw0Jh4q2gODjLYz gFDelWHvKaVn3s1FQuV/rzX/UtIweBNzTfpbwWdA7f89bnIKmoXIz2G/AIP+ehwtNfc+ DYV+atclyOOY42JO0Vl34hgTQcDyoXU/14331z0fBPa7vacnevc1xrGTwKiXJf7kqxIA saDA== 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=OJ3k2Qf5BRYXjS6Np1Hy3aEWFMrlBh65z9lNJ9XgUTDflcSlPZYRufHjQs85Yi0kPq IQWgBBxrWYaivR2JWmUuK/EMt2fBO4C8MW4WrJTqz8K0jGLuMkzlzQAvHM1NQPBzMxYS DcwbAKh0CYJ3G0tBKNsF0s3U6PD0SW3VzbsR1+L7IxYf7Yzp2+3b4U2ZKwtCVbjkE6Kh /Q0eLneNSo3b8cmVaxey0+iL8p/DkBccDj2Mf3++qYwyYfDbCziKsLUb2G/fP+jBlyWp XSNWlSc8rojj1FsK9tbD0FRAq0vYgp3Wla3Sr8fUE7AOGBy51kj7vDqDE9NXB1GX9r2b T15w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=OQ25nOtS; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-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 32si12581618ple.72.2018.12.17.19.42.47; Mon, 17 Dec 2018 19:42:47 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of devicetree-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=OQ25nOtS; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-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 S1726716AbeLRDmq (ORCPT + 6 others); Mon, 17 Dec 2018 22:42:46 -0500 Received: from mail-pl1-f193.google.com ([209.85.214.193]:33280 "EHLO mail-pl1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726713AbeLRDmq (ORCPT ); Mon, 17 Dec 2018 22:42:46 -0500 Received: by mail-pl1-f193.google.com with SMTP id z23so7156884plo.0 for ; Mon, 17 Dec 2018 19:42:46 -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=OQ25nOtS0UyMunCAlfaR4TZTGa9gwOgUbHU4MJ4kZBfY3aOHyFBK4sz6iHOx2ECeG3 r95OPHK/J72NNg/xqt5kp9BDVlARfZWSqeyEKt2vZjo3yBeb19gSP7hVtprRuq4s9TBj +zGuv9JePi/Y/rISflxHGrymlUx2gund69NQM= 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=Pdj1LCHjFkRtd4J4OwFWuCFPZZqx5F2Nj1P0iIzEuePUtRWDSas12aIPZ/YUrkpTtJ 4ZhtHrKt5r2lbka3xPOWHYe/UzqtEfVyp2jxF8RAbp3MK0uFlpWZ0C+Kv8rxwg7uz/iM Bq4qgbLZeTA4yQ8bTmKe2cizXuu712uti1ZVG46bftKW3X3tOV8f1qa851k6rSXbJ40I r3FNPkB2OJ5aCUfTgtrs2zHxiKNSS6m4f4yCRqkuxm9YEHKOcpPFdV9ODw2LnLWQ6ygK lYF1P9ewAo5rVilckTJIlF/EQ9TmQ6Lc8uTJtxE5+SZMIY1sIZhk4BtNCIH2GJBuDPNt zpkQ== X-Gm-Message-State: AA+aEWbhTB32GkG7OvEvuEfmXFon4qJ4Led0YkG4bpvLJPs+oxhAlgA2 JNh4IyAb5HzGD7xw01YkzxkE X-Received: by 2002:a17:902:bf0c:: with SMTP id bi12mr15249168plb.0.1545104565617; Mon, 17 Dec 2018 19:42:45 -0800 (PST) Received: from localhost.localdomain ([2409:4072:702:382e:8c68:d268:ed20:5f25]) by smtp.gmail.com with ESMTPSA id b202sm25255422pfb.88.2018.12.17.19.42.39 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 17 Dec 2018 19:42:44 -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 v5 06/11] ARM: dts: Add devicetree for OrangePi i96 board Date: Tue, 18 Dec 2018 09:11:27 +0530 Message-Id: <20181218034132.5070-7-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181218034132.5070-1-manivannan.sadhasivam@linaro.org> References: <20181218034132.5070-1-manivannan.sadhasivam@linaro.org> MIME-Version: 1.0 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@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>; +};