From patchwork Tue Nov 14 18:01:14 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Andreas_F=C3=A4rber?= X-Patchwork-Id: 118879 Delivered-To: patch@linaro.org Received: by 10.140.22.164 with SMTP id 33csp3342021qgn; Tue, 14 Nov 2017 10:01:51 -0800 (PST) X-Google-Smtp-Source: AGs4zMbjvupVn0A1uUipbAYoyCJTrm9Q2CnXlu6ZeuJxf6uVINb5gSCoIvIVda44inAvSi17KJOe X-Received: by 10.99.60.26 with SMTP id j26mr12751918pga.256.1510682511018; Tue, 14 Nov 2017 10:01:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510682511; cv=none; d=google.com; s=arc-20160816; b=lRDivCplb004/6y5gPpsgBwM3idINcT13PO0x9xyZzKLWsAFml6bAdqca+xTNtshhP D0tkYUzgsfiJnsx7kc3APLsV0pIadajQrtnSIycHXv9ym9ii+VVJ7K1FEQ58EjkQq97E i0s6XA0celAkIZkmW8kz75GGWVryB2HKmGFzqguxfYOTeamNEJ+39sc/rHZ/5NAR+eKq 3UDKS9dL/tm66d7DQEDZBeBdu1XsiyYoz7XZqV0vNc1L1srPTETe+H3e498oVeGdEoij 9dL4cWDn5M8eUJw8X8FYDcCrVL3D2qTaxMs1fYdwHm/WIo6pScJGpRtOIPh5uoi0wyfY 0Nnw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=NZCov7nKnTBvoq8w5x+hdIWoYDDxaFqWDk1cXDewD+I=; b=CMDfEi6LiWtzz7tA/yZsMfD1YK2yOYLxZlaxLcwBhoqNmharDFOiWfU2zcwx89W3Gw P4gY5IpFmPI/Lnkcqpk0pss1b1nm7A+r04S1IJny7Rrm8zIoyTXpm6parJMMRZsXiWSZ Yv2LUCQictW5Ur3NONWQTQnVCE5nGP1wzx7OHIMCLOBFPyiljwMzhdFVwkEmwlHg+c8X 8PTdVGov9BWxyVSuz+vBlvisBcI+rtVELkbZ+yPwrTZTA0F3ALcs9hQbe9Op7gybT2IE 6p8WQ2p2XqheeWBG9GINQTHVy3TuYhLacM6vrs15z7KVYIzOkTCiKqZ2PAaibVjw9UO8 xhMA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w5si17916962pfk.132.2017.11.14.10.01.50; Tue, 14 Nov 2017 10:01:51 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756241AbdKNSBn (ORCPT + 6 others); Tue, 14 Nov 2017 13:01:43 -0500 Received: from mx2.suse.de ([195.135.220.15]:60635 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752675AbdKNSBg (ORCPT ); Tue, 14 Nov 2017 13:01:36 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 2628EACA1; Tue, 14 Nov 2017 18:01:35 +0000 (UTC) From: =?utf-8?q?Andreas_F=C3=A4rber?= To: linux-arm-kernel@lists.infradead.org Cc: Thomas Liau , Jeff Chen , =?utf-8?b?5byg5Lic6aOO?= , =?utf-8?b?5YiY54Kc?= , =?utf-8?b?5byg5aSp55uK?= , =?utf-8?b?5qKF5Yip?= , Ioan B , Sudeep Kumar , linux-kernel@vger.kernel.org, =?utf-8?q?Andreas_F=C3=A4rber?= , Rob Herring , Mark Rutland , Russell King , devicetree@vger.kernel.org Subject: [PATCH 3/3] arm: dts: owl-s500: Add Sparky Date: Tue, 14 Nov 2017 19:01:14 +0100 Message-Id: <20171114180114.26408-4-afaerber@suse.de> X-Mailer: git-send-email 2.13.6 In-Reply-To: <20171114180114.26408-1-afaerber@suse.de> References: <20171114180114.26408-1-afaerber@suse.de> MIME-Version: 1.0 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org 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 -- 2.13.6 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Signed-off-by: Andreas Färber 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>; +};