From patchwork Wed Nov 21 18:30:50 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mesih Kilinc X-Patchwork-Id: 10693019 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 003E213AD for ; Wed, 21 Nov 2018 18:34:50 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E1DAB2C21A for ; Wed, 21 Nov 2018 18:34:49 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D52ED2C68A; Wed, 21 Nov 2018 18:34:49 +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 56D652C284 for ; Wed, 21 Nov 2018 18:34:49 +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=rKRkABjv4ZztTvsvMkznFXdGiA QuQAIqsIoGCwPqfkiptamsgFPPQtaeqlnFTEZJPmDW2ci8kVK65P1Z+ZWVTNdFbz8xXkrUgWkugh5 Lftl6YPK/2i7NAwo6yOuw+xN3VuDZEDwug78EgEnayxHDShvE7QSp+fI8D2ccw/N1ZiZl1BJ809+v iQsTti4T3bcydWr+BnB1+fxSPlbJGMq46jnPUp3EhNa3m4zkLasgk9S1MSQGRCXSn09UTLRDbJ2Ns uyHupCUM45uJ/RDdao5fxMjxc2FNJPF1397mFT6DzCJcgIKu1KM3pwimX+5xf0UOGTS2Gf5B4zPch IF+xKOxQ==; 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 1gPXKp-0005ET-FK; Wed, 21 Nov 2018 18:34:47 +0000 Received: from merlin.infradead.org ([205.233.59.134]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gPXId-0002XO-8h for linux-arm-kernel@bombadil.infradead.org; Wed, 21 Nov 2018 18:32:31 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=M/F13hGIu6S2eKou90/ihwML11eeJAohnt+PY+W3ikI=; b=ecRQO6UCwwzM65mdPgfRRRqxG mpg0vzp/X7bqIGBchXcm4hMIm8vrNbTEYBZZksO99K2ujtHURpx/8imMAemVjYV+vSG+OMlNb42Ak Uo3eHOfNfwW4LN3vWFdDVCdwENxUEcLzGK6bcnOycXtXWVxfPIp5z45UAfK5FoaLokFjRKGbrCP7d QzOTAF6iKcFK9IeZ552BXtnXtR/FWewPDxY4mkLlRbkYuqoqY3gKvqTA8OD/qW8QgYD10yGrszQGL IiUarkYZDDN5CiMBsvsoUkf5WwHmm4wQeM/sF43HfTnN8F/Z3cArXKuOJ1yDl/f/xxyJoZ9q5dYPD gt1TOxgDg==; Received: from mail-wr1-x444.google.com ([2a00:1450:4864:20::444]) by merlin.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gPXIZ-0001hQ-AH for linux-arm-kernel@lists.infradead.org; Wed, 21 Nov 2018 18:32:27 +0000 Received: by mail-wr1-x444.google.com with SMTP id v13so3274786wrw.5 for ; Wed, 21 Nov 2018 10:32:16 -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=WaF/rI5YaAiC6Be4ION3zIdcmRcT0wK3yJggGSt4OR52ELy0Oh9X32BAzuWYKVcLVd /fhuQoaZjimZIwZ2WkZUp6p4FlVczn4QM3jAQK+YSD0REpu9uTolpPuau/70eC9vI3TP IaCK80dhTU3RGViu8Eze6iC4ZY1js8cFQYqDe0yB03S1Cg8M6rLkeTyk8trjUX5ro61S P8NBYN3XjijmBmgmKB/5wGoILDiY0ZhBKt1UkswED9ehAjUqJPFFc7IwwrHWci5j8F4C 1uly2g5TRfZV4VWtqGV/5UZj00k2JQ8iT5UlMdZhn3d4IOgoJSY7QUtZ7gJ5YxkhmdED 6yJA== 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=hBjLT3y6R4eOtwPAPc0TxUdSRIcoMnpbAbFDSc5TMU/2ZNzECHYjEpBHe/Byp+m3xq 4aaOpq7iNGFyaB/LhWMrUM3RutsFxhVeF3J1A4KkGGXHCQKiHYoUI8ZFXd7V5r3SD7ZQ VRi8lZJ7gDD/eNOGdQYqJHNEj7wNsL+nhCnPaBU0Teby0jkyQ2zbVBcaf0nSOYkdHSpT hs/5zQDL8BTL/eKdKkK2aWLTWwxA+2oTszHGwB6FcML1gs2oB8F7eTrf0/rZvolVkaHi z6Dh9kdodpGUM7oTYRJDVQA1sUw3YYspn8+rdTMEjVp8u8N18h6k27aLFR1GuI+OGCfU HIpQ== X-Gm-Message-State: AA+aEWZeAKQlMsKEUqGocp3N71Nix1ZUo2rTorI2zZDmEAJ38HK8X47t +OTjWch1uozTUPd0dttDL8A= X-Google-Smtp-Source: AFSGD/WNN0/BvDKGjxA6x/1axaU+fHY3lPbOGGy7AQLmXHGuaC7/ZyoE+pssjYydhgLci+4LrfQEjg== X-Received: by 2002:adf:f4c2:: with SMTP id h2mr6693932wrp.21.1542825135253; Wed, 21 Nov 2018 10:32:15 -0800 (PST) Received: from ThinkPad.home ([185.219.177.229]) by smtp.gmail.com with ESMTPSA id e66-v6sm2568779wmf.40.2018.11.21.10.32.13 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 21 Nov 2018 10:32:14 -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 v3 17/17] ARM: suniv: f1c100s: add device tree for Lichee Pi Nano Date: Wed, 21 Nov 2018 21:30:50 +0300 Message-Id: <055b2e09b14ff1699f2ed8fc879a6e9cfa9c5270.1542824904.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-20181121_133227_378739_F147A504 X-CRM114-Status: GOOD ( 18.24 ) 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"; +};