From patchwork Sun Nov 25 07:43:20 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mesih Kilinc X-Patchwork-Id: 10696749 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 6C11314BD for ; Sun, 25 Nov 2018 08:15:30 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 616D92927B for ; Sun, 25 Nov 2018 08:15:30 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 54E57293F2; Sun, 25 Nov 2018 08:15:30 +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=-5.2 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED 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 079D32927B for ; Sun, 25 Nov 2018 08:15:29 +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:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: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=tY3GtKyri9PfvLHSnSueDwW3CCAj1xx7ICzUohwIahw=; b=HvpOhxXQzC3IbgzF0aay29YDQX 9fdq//0FvS0/ZBTo7lqYPq7xjK+O8r8XA54u2Hg5NQUkUolBx1vpi5YM+gG9AVhq2VQgtYEGo0PbX haC5plLhTNozNt6wlnDQwnwqSN2rlw58kE2pTDQdzc6Kl30qzK+toNnWBE8H5KNdL8HerxiWHFnDH ypzpUtEGAtAXRrlmgk9P6z//jvPyRL93qd2OsSiR1oPtXkx/P8sTqTtvxmfGMlYZjjqGIZu3USPfb GelCtndkDkMpA0aKoJy3CSxF07BSCNKqpDl0xs6QE0PPUfp2GpDMAy+wD2EszdJlmduybn85K2IsI 7ETjO7PA==; 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 1gQpZg-0005mc-0y; Sun, 25 Nov 2018 08:15:28 +0000 Received: from mail-wm1-x342.google.com ([2a00:1450:4864:20::342]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gQp5Z-0007rU-Ve for linux-arm-kernel@lists.infradead.org; Sun, 25 Nov 2018 07:44:25 +0000 Received: by mail-wm1-x342.google.com with SMTP id y185so10244556wmd.1 for ; Sat, 24 Nov 2018 23:44:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=M/F13hGIu6S2eKou90/ihwML11eeJAohnt+PY+W3ikI=; b=Ow28vRWFMqhCe9RDklX4Urr/mIYYB5ijsm7gfO5Nl/1DYPaP7gSPB4A8QCrZCyodS8 +btrQ78i2HCUJ0hFWkB6pBd7MgNQ+4/5d1XCkOFR3sdGxqLu2XR2QwOLrk17Ew4iC1eF j6f/6DcIuuXjKRVjtR+g/qKYmbU7edNRD0+djqvsscSZjD6bdMU3krxhUGTukjprWXY7 hBo48vq65drNcDbm01RRM7tTxDdYLxvyhhotFZrDr7bmn31uxgmNFGfqw698gQZQJhoo Pj45rM0cqK3kd4iSJWFiJOvLue/EAsfkHjHw9UQgv/XWD8/YOrK3Yvi4lBUBK1b9D60a qHpg== 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; bh=M/F13hGIu6S2eKou90/ihwML11eeJAohnt+PY+W3ikI=; b=Boa4/8kTxccnllF492Hq7ElCO4jdMi7Oof69TOjxjbBpbLWBtQYA6rUnVwfLguhMq6 nPfE1exDYxpylT881xFWViGpg8BadZx02e4viRcql4Sc4JXkszmQiaI0t6QGvcLpM19V MrLztMEtxLo+jlFe4DePt7HGF6uEWQ1Xq78xR1DjhOmrUapK+bN0CwNzdN8FHOyGb/++ 8jmJml9yIQ6T17wTge1ZpHKYX0g6ow2bgYX1PXK4JMb8ubFI2fbS18D364BgJS3qLXEk Cfepm09Ocm7LrR6PH71Oa3btOZaCqKYTzVisCBgP8SbBJ8HHjwFUwbvAoUW13XYtLXLh CNag== X-Gm-Message-State: AGRZ1gLwM7YFYBgNgR2sk7Gzli5fmA8QqAyATxUPZKuoUr6VNBnitfjT hEQ+Kz3mKvDippESNr+L/T8= X-Google-Smtp-Source: AJdET5cV30zRR7LzsC00vXPSI2yXLTbdugx9NIAjvchEgC7rcYI6hERPmzjRBlvq2cyOpxLRIUNfHw== X-Received: by 2002:a1c:23c1:: with SMTP id j184mr19419975wmj.16.1543131857346; Sat, 24 Nov 2018 23:44:17 -0800 (PST) Received: from localhost.localdomain ([185.219.177.224]) by smtp.gmail.com with ESMTPSA id 6-v6sm12296780wmg.19.2018.11.24.23.44.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 24 Nov 2018 23:44:16 -0800 (PST) From: Mesih Kilinc To: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, linux-gpio@vger.kernel.org, linux-sunxi@googlegroups.com Subject: [RFC PATCH v4 17/17] ARM: suniv: f1c100s: add device tree for Lichee Pi Nano Date: Sun, 25 Nov 2018 10:43:20 +0300 Message-Id: <7026f63df56684afb81443ed7cae6313d0dba71e.1543131714.git.mesihkilinc@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: References: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181124_234422_221031_4B30E30A X-CRM114-Status: GOOD ( 15.86 ) 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: Mesih Kilinc , Julian Calaby , Linus Walleij , Daniel Lezcano , Russell King , Marc Zyngier , Chen-Yu Tsai , Rob Herring , Maxime Ripard , Icenowy Zheng MIME-Version: 1.0 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 Lichee Pi Nano is a F1C100s board by Lichee Pi. Add initial device tree for it. Signed-off-by: Icenowy Zheng Signed-off-by: Mesih Kilinc --- arch/arm/boot/dts/Makefile | 2 ++ arch/arm/boot/dts/suniv-f1c100s-licheepi-nano.dts | 26 +++++++++++++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 arch/arm/boot/dts/suniv-f1c100s-licheepi-nano.dts diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index b0e966d..2b96a5b 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile @@ -1066,6 +1066,8 @@ dtb-$(CONFIG_MACH_SUN8I) += \ dtb-$(CONFIG_MACH_SUN9I) += \ sun9i-a80-optimus.dtb \ sun9i-a80-cubieboard4.dtb +dtb-$(CONFIG_MACH_SUNIV) += \ + suniv-f1c100s-licheepi-nano.dtb dtb-$(CONFIG_ARCH_TANGO) += \ tango4-vantage-1172.dtb dtb-$(CONFIG_ARCH_TEGRA_2x_SOC) += \ diff --git a/arch/arm/boot/dts/suniv-f1c100s-licheepi-nano.dts b/arch/arm/boot/dts/suniv-f1c100s-licheepi-nano.dts new file mode 100644 index 0000000..6ae5ccc --- /dev/null +++ b/arch/arm/boot/dts/suniv-f1c100s-licheepi-nano.dts @@ -0,0 +1,26 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR X11) +/* + * Copyright 2018 Icenowy Zheng + */ + +/dts-v1/; +#include "suniv-f1c100s.dtsi" + +/ { + model = "Lichee Pi Nano"; + compatible = "licheepi,licheepi-nano", "allwinner,suniv-f1c100s"; + + aliases { + serial0 = &uart0; + }; + + chosen { + stdout-path = "serial0:115200n8"; + }; +}; + +&uart0 { + pinctrl-names = "default"; + pinctrl-0 = <&uart0_pins_a>; + status = "okay"; +};