From patchwork Wed Nov 28 22:33:27 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mesih Kilinc X-Patchwork-Id: 10703593 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 5B21C15A7 for ; Wed, 28 Nov 2018 22:38:50 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4843D2DB9B for ; Wed, 28 Nov 2018 22:38:50 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 398092DBEF; Wed, 28 Nov 2018 22:38:50 +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 C47382DB9B for ; Wed, 28 Nov 2018 22:38: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=Yd+JbQjYSZ/Bs30KLNgCSgu2PIypkjyosaS3JI9fIb0=; b=NbQWkLSWoF8AgBzOskkAOTWhbf tX1BwxVI3HIdhz0wFXigV6CCVRag9p+kUK6utVu9G1sprmCp8QqgtmtNMzE/JgLmIP8IeFwRyH1Yl RR8WLwV+jsjU/bbZiavjniO2Wy9HHUBywRb+k6oS4tswVX2/UtQwIm2I4iOMoUrgDADpkEnrrsfVk l/8BXjJ76OOkOxfhGemaFjrcvJy809jO5FKp21Ll1FjVsylQs3XV3ML0PLN9E+xSYKVm7nkIAP32m sBsUYcCWeLh1jIRmZoBXz2JLCd+MFKqPmkkgUAffK65kAHeQdmDMemQ1hJD+Ot13ivRIzaeR5GhF6 7AYeso0g==; 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 1gS8Tm-0002BT-1v; Wed, 28 Nov 2018 22:38:46 +0000 Received: from merlin.infradead.org ([2001:8b0:10b:1231::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gS8Q8-0005xY-KJ for linux-arm-kernel@bombadil.infradead.org; Wed, 28 Nov 2018 22:35:00 +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=VkawJcjcjc12DBJtCZ++/73BzJMuRi7b2X8pVhsSCeI=; b=TPCK32GFJ/mDQkOJ2T0Lkkfkf 5KMByL2PTsRDjtLX97aIwhsyliyR+oLa6N0WdaDwXMq9k8gCg2S4KHIMdN9MCb0G/cxYJ6QEgnim2 ii0qatpjslQOH5mTsuVhQ1URmGscnGmwFLRAYHg+vwaF13zc+PeARWTxYKgAXIqeDXpWf2tvz0KNy oNWRcDa9xukAUFSYzPBlN6zMpNOddX67HePjiLKEtbErOMDRGNGy7N1TOUIzp02cDh51onTVPM6Ks wAPwTzBN/q4cQazrAndkQtX5+eoLUJJ6uZsfD8xpm1HFD3VK5RyWcPMvyn+JHzodtc0MRJep9RKUE YI5payWTw==; Received: from mail-wr1-x442.google.com ([2a00:1450:4864:20::442]) by merlin.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gS8Q5-0001qJ-Nw for linux-arm-kernel@lists.infradead.org; Wed, 28 Nov 2018 22:34:58 +0000 Received: by mail-wr1-x442.google.com with SMTP id t3so27922103wrr.3 for ; Wed, 28 Nov 2018 14:34:42 -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=VkawJcjcjc12DBJtCZ++/73BzJMuRi7b2X8pVhsSCeI=; b=Oyrriys4rQM2qdpSCl1tTkvP/Bly613Qg7GKQoqDATUEHBY8frBenNn6oY6QjQbHJ+ MBqksQGQHupvZGH6/xEORU6/KemExYUbJCLswVQVDMkzRrPWzIUt6GRIA4MKgSxf4Nus dDblImO3mvbNl3EkkTFEM9gtcy3YSeHJJ9M/d/OZzhkrbL325Ghno9dDzjP9DQNCrbF7 +Rorg/CvfI7Y7ULB3D9yBH/ys+NoWLOUp7bJr9Uenft0iR1zoa1TGcCv/dpRkUZiqD5p qYlKzx4qqS3tfYBCSSyKTiFhrveLQqp4fhCEb/1mBDAqS9sgWIuyJPZMWGCkdSWcEVIu 3Jrw== 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=VkawJcjcjc12DBJtCZ++/73BzJMuRi7b2X8pVhsSCeI=; b=cMPzpL2j32G1OHctxbwCMgqaytojU20wPvbBmQzZsJMvTRX2EI2pErtZRVgiI1jlnN uqG1W0n8yLhG+n0jn6/8c8wzvI/fWHINgjL7bD1j9xAZ16UZE4mr9QCpdDL+DXWLV44N 4ZUAipc7JoQzVuSVsL6sO16rT8+wOXvKkhu5OMAbPaYvvcTZoL0CI8T9P4YV1J/ccgOi 8hN5d+ZEJ8sIl/gJcoOoXeYlGFADBL0MJpz1dm8+SAx6bAJcncLag4RV9KP2rthrCM83 QPAdDkzzZjZT4E5tKSUQsScci63qcpIlkP9EC4X+P4tqEZHKqxCr51+ITQvjDqFrQQwj LXFQ== X-Gm-Message-State: AA+aEWZbvr2QkJtMKQcoRKlBXHbmcAyndtFlFmNMWyga3aTuW03iMitK 6k0z241qvtIVixqm+BzG8TQ= X-Google-Smtp-Source: AFSGD/Uxsu+Y0EMsKrB6JTECxsPrsZdGjz+3V2e3l7ZIrHxnePDCnUeJlI9i6PzUfHrUastuRGRiZg== X-Received: by 2002:adf:f449:: with SMTP id f9mr33586513wrp.40.1543444480846; Wed, 28 Nov 2018 14:34:40 -0800 (PST) Received: from ThinkPad.home ([185.219.177.239]) by smtp.gmail.com with ESMTPSA id g198sm180244wmd.23.2018.11.28.14.34.39 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 28 Nov 2018 14:34:40 -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: [PATCH v5 17/17] ARM: suniv: f1c100s: add device tree for Lichee Pi Nano Date: Thu, 29 Nov 2018 01:33:27 +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-20181128_173457_888729_3D8295A8 X-CRM114-Status: GOOD ( 18.23 ) 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..a1154e6 --- /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_pe_pins>; + status = "okay"; +};