From patchwork Mon Nov 20 09:02:20 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: sudeep kumar X-Patchwork-Id: 10066175 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 7D155602B7 for ; Mon, 20 Nov 2017 09:02:58 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6FF282915E for ; Mon, 20 Nov 2017 09:02:58 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 62F6229166; Mon, 20 Nov 2017 09:02:58 +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=-4.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.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 90A272915E for ; Mon, 20 Nov 2017 09:02:57 +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:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject: In-Reply-To:References:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=MaRLXh4qYXk8uanAkdOTCUb32GJ8edL6t30wRfFsJSQ=; b=F6TdacmY9XIB5M xFW+5rnkJGwMsPvun96RW97p3RbR+3u+mteZF39hqo3hi7efeX2DgtC8C2ZTbmZAM2wz2ySWb2eAQ d2H2BVWwKYSiJwwMCxqa+PymhRyZHriKz5Tzk17VJiUXk4nzqXx/B3dweBCJbInbB2d4arSj2vR0F aHJbXymJFf1kbNdlmISJ6HYbcyJFg7H8OpFNAIYg1joQf+ScT/54394QeL0GdFxdGS+8CB2IAabGi lgzv9naTCXnPebT7+g7uksqwY4MHbLuJkORobopOUIVexjaR/ohJWETo1mP7gQTFI0RGIvkBCzxcq hnjE3kDEpPYPaQknd+yA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1eGhyi-0004Lj-WF; Mon, 20 Nov 2017 09:02:57 +0000 Received: from mx.hconet.com ([159.18.7.135]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1eGhye-0004Ck-Uf for linux-arm-kernel@lists.infradead.org; Mon, 20 Nov 2017 09:02:55 +0000 Received: (qmail 12771 invoked by uid 89); 20 Nov 2017 08:38:02 -0000 Received: by simscan 1.4.0 ppid: 12747, pid: 12768, t: 0.7709s scanners: attach: 1.4.0 Received: from unknown (HELO sudeeplaptop) (sudeepkumar@cem-solutions.net@61.12.17.171) by mx.hconet.com with ESMTPA; 20 Nov 2017 08:38:01 -0000 From: "sudeep kumar" To: =?utf-8?Q?'Andreas_F=C3=A4rber'?= , References: <20171114180114.26408-1-afaerber@suse.de> <20171114180114.26408-4-afaerber@suse.de> In-Reply-To: <20171114180114.26408-4-afaerber@suse.de> Subject: RE: [PATCH 3/3] arm: dts: owl-s500: Add Sparky Date: Mon, 20 Nov 2017 14:32:20 +0530 Message-ID: <003e01d361de$4e1c0710$ea541530$@cem-solutions.net> MIME-Version: 1.0 X-Mailer: Microsoft Outlook 16.0 Thread-Index: AQIw6ROgSR+eDaEvuD9Aw+OqJBGmhAECUMY7olnXg3A= Content-Language: en-us X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20171120_010253_058066_2995DE1F X-CRM114-Status: UNSURE ( 8.89 ) X-CRM114-Notice: Please train this message. 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: 'Mark Rutland' , devicetree@vger.kernel.org, =?utf-8?B?J+W8oOWkqeebiic=?= , =?utf-8?B?J+aiheWIqSc=?= , linux-kernel@vger.kernel.org, 'Thomas Liau' , 'Russell King' , 'Rob Herring' , =?utf-8?B?J+W8oOS4nOmjjic=?= , =?utf-8?B?J+WImOeCnCc=?= , 'Ioan B' , 'Jeff Chen' 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 Acked-by : sudeep -----Original Message----- From: Andreas Färber [mailto:afaerber@suse.de] Sent: Tuesday, November 14, 2017 11:31 PM To: linux-arm-kernel@lists.infradead.org Cc: Thomas Liau ; Jeff Chen ; 张东风 ; 刘炜 ; 张天益 ; 梅利 ; Ioan B ; Sudeep Kumar ; linux-kernel@vger.kernel.org; Andreas Färber ; Rob Herring ; Mark Rutland ; Russell King ; devicetree@vger.kernel.org Subject: [PATCH 3/3] arm: dts: owl-s500: Add Sparky Add a Device Tree for the Allo.com Sparky SBC. Signed-off-by: Andreas Färber --- arch/arm/boot/dts/Makefile | 3 ++- arch/arm/boot/dts/owl-s500-sparky.dts | 44 +++++++++++++++++++++++++++++++++++ 2 files changed, 46 insertions(+), 1 deletion(-) create mode 100644 arch/arm/boot/dts/owl-s500-sparky.dts diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index d0381e9caf21..ad77f7656a70 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile @@ -707,7 +707,8 @@ dtb-$(CONFIG_ARCH_ORION5X) += \ orion5x-rd88f5182-nas.dtb dtb-$(CONFIG_ARCH_ACTIONS) += \ owl-s500-cubieboard6.dtb \ - owl-s500-guitar-bb-rev-b.dtb + owl-s500-guitar-bb-rev-b.dtb \ + owl-s500-sparky.dtb dtb-$(CONFIG_ARCH_PRIMA2) += \ prima2-evb.dtb dtb-$(CONFIG_ARCH_OXNAS) += \ diff --git a/arch/arm/boot/dts/owl-s500-sparky.dts b/arch/arm/boot/dts/owl-s500-sparky.dts new file mode 100644 index 000000000000..f620548c6c0b --- /dev/null +++ b/arch/arm/boot/dts/owl-s500-sparky.dts @@ -0,0 +1,44 @@ +/* + * Allo.com Sparky + * + * Copyright (c) 2017 Andreas Färber + * + * SPDX-License-Identifier: (GPL-2.0+ OR MIT) */ + +/dts-v1/; + +#include "owl-s500.dtsi" + +/ { + compatible = "allo,sparky", "actions,s500"; + model = "Allo.com Sparky"; + + aliases { + serial3 = &uart3; + }; + + chosen { + stdout-path = "serial3:115200n8"; + }; + + memory@0 { + device_type = "memory"; + reg = <0x0 0x40000000>; /* 1 or 2 GiB */ + }; + + uart3_clk: uart3-clk { + compatible = "fixed-clock"; + clock-frequency = <921600>; + #clock-cells = <0>; + }; +}; + +&timer { + clocks = <&hosc>; +}; + +&uart3 { + status = "okay"; + clocks = <&uart3_clk>; +}; -- 2.13.6