From patchwork Sun Nov 18 14:17:13 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mesih Kilinc X-Patchwork-Id: 10687963 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 0E1BD109C for ; Sun, 18 Nov 2018 14:22:42 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id F044329B51 for ; Sun, 18 Nov 2018 14:22:41 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E19B129C75; Sun, 18 Nov 2018 14:22:41 +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_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,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 6DF6D29C36 for ; Sun, 18 Nov 2018 14:22:41 +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=Gvl0jiGUCmjD8hpFAttPDYibaB dkex23IiHJC2Bwcj7546xXEbUY4htYqDSjmgCTc6LeH3la07nRsHj4GNrWWv/2Kob7PJFeSWBFttN b2NqGx5495Lu6hHX1mfwmVq+KoASKnANmlsyxcJyAGMHMy5KlSfgqOswVLJkPSHH54YW0P/rL86ts cGGmHE5wt+OAsKsK1pGyoeRnH5qZdLjTX3EaVHO7NWay4mKkuaui27cdwMX4oFNOLw2xgmm3yaADG BNjuVGY0YfUGefGiUtlKl9KvC1+Cj7X8IPj3bsOctwmnqoth86DbRrXU5zD4dCXR9taxXPtnmOE8z sOQ5zmmA==; 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 1gONy3-0003zJ-Lo; Sun, 18 Nov 2018 14:22:31 +0000 Received: from mail-wr1-x443.google.com ([2a00:1450:4864:20::443]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gONuZ-0007xz-Vq for linux-arm-kernel@lists.infradead.org; Sun, 18 Nov 2018 14:18:57 +0000 Received: by mail-wr1-x443.google.com with SMTP id v6so7434597wrr.12 for ; Sun, 18 Nov 2018 06:18:45 -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=KWc+ebAMFpSDwHa+Wscdbm4TWle004geS1F/h03C7rCNkag5OOms9gHcAfVQ79BCmX ImmjV1hHKJb02HCpuzgp6jtX0/i39TysRPJ3nFs0rerMH5JTFmdnOpPt4BInjAUQCPrH /Wyh+WOo6tIzgbT1TTiwh4799aPudOdRqCyuSieyE3yMlmT9Ot9UVHvCeOhW5zv+pZQU KRMnvTtGqwhD6qLutwpMPETomV7qk8z0ObIRVLduccg17pJOcTLYpOUJwj+Zsf6lcCsU I+qynYkK1u5EiYahkjzpzj1LOjyRonb8GexkKCP2PhgBImw3DDVIpdyNRQ7Qtbw+4hZe Fmgw== 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=CppCZ+RLpzACScLfjEkz+lmQH9BId3qByOgtG9Agrufx4RTLNXs3UzWGMUQe4rfyaH nd7A0/XbhUSomAf9Ms2OT3PDRFMWPmi4A3lu/h4NMvb6q2OyXWQUg3UzE0J+HUqXQimx CePRaRh7kvJ/DYMlKgw3fvSunQrQkmpDGfITefaTiq8G81T7qpbbMmBnK+rYxgoBbTuS fkQsGej99EF70FlGWuan5XM5hAFiMuGT6kvZ6kfawHPq/KXii+HjI6d2bAU/oNZqbPSK CCEFJzbv+OoF2vfgM3qujvPpPEkdbMWYIBZAjDse+ZFUjYh6ZdgbHe3Tnlp9E1DfWdOH nKPQ== X-Gm-Message-State: AGRZ1gLBkwiFhjOzUkSXxhW7a/tbX+1x0ejJXnY88qaN4GOocupNFrU1 lNbPiurvkGEgurs2jwdGCOk= X-Google-Smtp-Source: AJdET5dmvQgjtLTdgYELhpVu9TxCjgW845Q6s1kkJwz076HlDvPzGxSDnFbUe2LkUd/ovgy4Sow9Fg== X-Received: by 2002:adf:fbc6:: with SMTP id d6-v6mr16040993wrs.241.1542550724466; Sun, 18 Nov 2018 06:18:44 -0800 (PST) Received: from ThinkPad.home ([185.219.176.209]) by smtp.gmail.com with ESMTPSA id d4sm29814412wrp.89.2018.11.18.06.18.42 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 18 Nov 2018 06:18:43 -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 v2 14/14] ARM: suniv: f1c100s: add device tree for Lichee Pi Nano Date: Sun, 18 Nov 2018 17:17:13 +0300 Message-Id: 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-20181118_061856_028777_30B6426E X-CRM114-Status: GOOD ( 14.95 ) 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"; +};