From patchwork Mon Sep 11 00:58:05 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: 112162 Delivered-To: patch@linaro.org Received: by 10.100.153.131 with SMTP id 3csp5024812pji; Sun, 10 Sep 2017 17:58:25 -0700 (PDT) X-Google-Smtp-Source: ADKCNb50LzKyMFvjUmmL8iWCGOS2UMUxhP10XF4OqFcBNuJovDWsuakwe1fMWiReIzW4uzONwvVD X-Received: by 10.159.198.1 with SMTP id f1mr12024341plo.370.1505091505118; Sun, 10 Sep 2017 17:58:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1505091505; cv=none; d=google.com; s=arc-20160816; b=QSkglSBjv6IPza6sHaqlxFqueU9fGlY7tnTAv5vymKwhMx6ccYxQyCPlNencHpTarM PfbCQ+ItgIpmFzLN/ljpYLfzs97PTLdL9IZhif9XhH6l25fywN3AEOreiZEoTWEDCfPm SKjQPoHtznRsfOEcvEChy/hzUB36LXpAsTki0rppIKfjdJVzjOvtHqb/vREwm0qOeiJU oeZEwY6lo6Yh11NYVpKhrWg8UZQvsnptTze8Py6NHeuNW3BEH5a5yEDXAe0YSAk17+Do VJ8K1VcRhGKDAA3Bqpz99IsACCvhj35OsOChU7H6grTYHZ/U37Yz4nmADULM525LvHmR SVcQ== 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=yNsKU/lIHKLU4jvMu6PhCXe6KCDwZh24fgDAIpC4i7M=; b=knJ6yfxd5v9K6x4VabRkAc1wOkXGNIOrpwew+gGOOZz+qO8jzTbA2EOF8QL//92wzV tn8QB/4b2xjPoRRy2El2nuoM+/Vvge6wx4KGcXgJAcqQxFgiXyEA+3f+EDkYHmsfV3uC WEM21qcSCd6IuOfbSMoKgLyVN3W5kcmsBkEON0SqCAj0fbH0wNZDFmn0EuWnGkmFGK7I pTREDtzDqTj+pNLf3EntzBGLzT7+6f7XqJ5gjNzYlb7FKbCrs9gE4qS0X7KmWNhkT5vX IXUwP1EqnWXfkyv0i6ShUN65aDabNcrmnrHoG6EiQwZXV7gScn6W2R6L2SCB772XeBYq 3anQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-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 d3si2379255pgu.789.2017.09.10.17.58.24; Sun, 10 Sep 2017 17:58:25 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-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 linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752118AbdIKA6Q (ORCPT + 26 others); Sun, 10 Sep 2017 20:58:16 -0400 Received: from mx2.suse.de ([195.135.220.15]:60036 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752020AbdIKA6O (ORCPT ); Sun, 10 Sep 2017 20:58:14 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay1.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id E4B93ABB4; Mon, 11 Sep 2017 00:58:12 +0000 (UTC) From: =?utf-8?q?Andreas_F=C3=A4rber?= To: =?utf-8?q?Andreas_F=C3=A4rber?= , linux-arm-kernel@lists.infradead.org Cc: Thomas Liau , =?utf-8?b?5byg5Lic6aOO?= , =?utf-8?b?5YiY54Kc?= , =?utf-8?b?5byg5aSp55uK?= , =?utf-8?b?5qKF5Yip?= , support@cubietech.com, linux-kernel@vger.kernel.org, Rob Herring , Mark Rutland , Russell King , devicetree@vger.kernel.org Subject: [PATCH 2/2] ARM: dts: owl-s500: Add CubieBoard6 Date: Mon, 11 Sep 2017 02:58:05 +0200 Message-Id: <20170911005805.10116-3-afaerber@suse.de> X-Mailer: git-send-email 2.13.5 In-Reply-To: <20170911005805.10116-1-afaerber@suse.de> References: <20170911005805.10116-1-afaerber@suse.de> MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add a Device Tree for Cubietech CubieBoard6. Cc: support@cubietech.com Signed-off-by: Andreas Färber --- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/owl-s500-cubieboard6.dts | 44 ++++++++++++++++++++++++++++++ 2 files changed, 45 insertions(+) create mode 100644 arch/arm/boot/dts/owl-s500-cubieboard6.dts -- 2.13.5 diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index faf46abaa4a2..448e0bd74ab7 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile @@ -680,6 +680,7 @@ dtb-$(CONFIG_ARCH_ORION5X) += \ orion5x-netgear-wnr854t.dtb \ orion5x-rd88f5182-nas.dtb dtb-$(CONFIG_ARCH_ACTIONS) += \ + owl-s500-cubieboard6.dtb \ owl-s500-guitar-bb-rev-b.dtb dtb-$(CONFIG_ARCH_PRIMA2) += \ prima2-evb.dtb diff --git a/arch/arm/boot/dts/owl-s500-cubieboard6.dts b/arch/arm/boot/dts/owl-s500-cubieboard6.dts new file mode 100644 index 000000000000..ea4e01bce8d1 --- /dev/null +++ b/arch/arm/boot/dts/owl-s500-cubieboard6.dts @@ -0,0 +1,44 @@ +/* + * Cubietech CubieBoard6 + * + * Copyright (c) 2017 Andreas Färber + * + * SPDX-License-Identifier: (GPL-2.0+ OR MIT) + */ + +/dts-v1/; + +#include "owl-s500.dtsi" + +/ { + compatible = "cubietech,cubieboard6", "actions,s500"; + model = "CubieBoard6"; + + aliases { + serial3 = &uart3; + }; + + chosen { + stdout-path = "serial3:115200n8"; + }; + + memory@0 { + device_type = "memory"; + reg = <0x0 0x80000000>; + }; + + uart3_clk: uart3-clk { + compatible = "fixed-clock"; + clock-frequency = <921600>; + #clock-cells = <0>; + }; +}; + +&timer { + clocks = <&hosc>; +}; + +&uart3 { + status = "okay"; + clocks = <&uart3_clk>; +};