From patchwork Mon May 25 01:30:08 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Matheus Castello X-Patchwork-Id: 11567863 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 76A6513B4 for ; Mon, 25 May 2020 01:31:35 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 427B02075F for ; Mon, 25 May 2020 01:31:35 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="L0alTd6I"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=castello.eng.br header.i=@castello.eng.br header.b="oSd547Lp" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 427B02075F Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=castello.eng.br Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org 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: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=tTPTNG8A8RQaNo98XQk/cevP5kfN1shhAuJynfEn0ek=; b=L0alTd6IISO6eq EHz/gBbAh1aletMkXbgbCcyQSmkGtALdN/598JrXvcPogYQWkl4GxrUhiFHmavyY029mywE31P5Kl emuxeGFmBclENDKXEsQQqwiAehnTZKQdVxihM+jXu4sUQaLMSVpATrrdEQ0v9BU/ktYUC1ZA2rpCu 7tr/F8MXgueXz+UkERSSsV3eUowXhdc8py89AzdephwA5ZHcxIntoJEj7nFvTEhU6+L+AA0MzWj/P SpTHAw0uPtuWOTMj67qyw26kYjLfdMfQcrk9j2AUog7hRyeVZSWRaHzFr80w5v7wnby+N3DcYiIjr EAF+dc+kpSKTIHCUW5dQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jd1xd-0007oe-NF; Mon, 25 May 2020 01:31:25 +0000 Received: from gateway30.websitewelcome.com ([192.185.152.11]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jd1x6-0007Mz-FA for linux-arm-kernel@lists.infradead.org; Mon, 25 May 2020 01:30:54 +0000 Received: from cm12.websitewelcome.com (cm12.websitewelcome.com [100.42.49.8]) by gateway30.websitewelcome.com (Postfix) with ESMTP id E53DD3ED1 for ; Sun, 24 May 2020 20:30:51 -0500 (CDT) Received: from br164.hostgator.com.br ([192.185.176.180]) by cmsmtp with SMTP id d1x5jqK9J1s2xd1x5jKrZM; Sun, 24 May 2020 20:30:51 -0500 X-Authority-Reason: nr=8 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=castello.eng.br; s=default; h=Content-Transfer-Encoding:Content-Type: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender :Reply-To: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=GGgwQdUzcMvoWgVO5XpDUhAIz3Dc4bq2gIMPXKAwu6Q=; b=oSd547Lp5+yjbuv5glgUXMfsHW imgAgCdvx+URlUr80e/AdzA9ScPC63TS0p4b1buTdpekBz8Qd8aoNztQ64oPsWob8rnW93C4Q8coF fy2APo1zMgXnyawFDQT5srjpnKWTRxPOWPzaDH4p2elIRcQ8GPITr7ibVKsjB6G0XOdNQSPdX7LnD dTsLoZYu/AticXVmQ0l+aFjBE8pH4vgsLCYz/bnUhBIgIGmYn9fYXMWvS7X/TdS54srKXXPa+C0If WRAaybkajm9EmWbSfE3Lnkl/XlhacM4iEqnO34PbREIdKU0yw2bx7oKBhf0yoHgXFLFGBExWCNunZ W30bZQ1w==; Received: from [191.31.196.240] (port=34284 helo=castello.castello) by br164.hostgator.com.br with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.92) (envelope-from ) id 1jd1x5-004Dik-CJ; Sun, 24 May 2020 22:30:51 -0300 From: Matheus Castello To: afaerber@suse.de, manivannan.sadhasivam@linaro.org, mark.rutland@arm.com, robh+dt@kernel.org Subject: [PATCH v5 3/3] ARM: dts: Add Caninos Loucos Labrador Date: Sun, 24 May 2020 22:30:08 -0300 Message-Id: <20200525013008.108750-4-matheus@castello.eng.br> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200525013008.108750-1-matheus@castello.eng.br> References: <20200525013008.108750-1-matheus@castello.eng.br> MIME-Version: 1.0 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - br164.hostgator.com.br X-AntiAbuse: Original Domain - lists.infradead.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - castello.eng.br X-BWhitelist: no X-Source-IP: 191.31.196.240 X-Source-L: No X-Exim-ID: 1jd1x5-004Dik-CJ X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: (castello.castello) [191.31.196.240]:34284 X-Source-Auth: matheus@castello.eng.br X-Email-Count: 39 X-Source-Cap: Y2FzdGUyNDg7Y2FzdGUyNDg7YnIxNjQuaG9zdGdhdG9yLmNvbS5icg== X-Local-Domain: yes X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200524_183052_696686_0A618859 X-CRM114-Status: UNSURE ( 9.62 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on bombadil.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [192.185.152.11 listed in list.dnswl.org] -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [192.185.152.11 listed in wl.mailspike.net] -0.0 SPF_PASS SPF: sender matches SPF record -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Matheus Castello , linux-actions@lists.infradead.org, linux-kernel@vger.kernel.org, igor.lima@lsitec.org.br, edgar.righi@lsitec.org.br, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Add Device Trees for Caninos Loucos Labrador CoM and base board. Based on the work of Andreas Färber on Lemaker Guitar device tree. Signed-off-by: Matheus Castello Reviewed-by: Manivannan Sadhasivam Reviewed-by: Andreas Färber --- arch/arm/boot/dts/Makefile | 1 + .../arm/boot/dts/owl-s500-labrador-base-m.dts | 34 +++++++++++++++++++ arch/arm/boot/dts/owl-s500-labrador-v2.dtsi | 22 ++++++++++++ 3 files changed, 57 insertions(+) create mode 100644 arch/arm/boot/dts/owl-s500-labrador-base-m.dts create mode 100644 arch/arm/boot/dts/owl-s500-labrador-v2.dtsi -- 2.26.2 diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index e8dd99201397..0f8c1f255574 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile @@ -856,6 +856,7 @@ dtb-$(CONFIG_ARCH_ORION5X) += \ dtb-$(CONFIG_ARCH_ACTIONS) += \ owl-s500-cubieboard6.dtb \ owl-s500-guitar-bb-rev-b.dtb \ + owl-s500-labrador-base-m.dtb \ owl-s500-sparky.dtb dtb-$(CONFIG_ARCH_PRIMA2) += \ prima2-evb.dtb diff --git a/arch/arm/boot/dts/owl-s500-labrador-base-m.dts b/arch/arm/boot/dts/owl-s500-labrador-base-m.dts new file mode 100644 index 000000000000..044568fec25e --- /dev/null +++ b/arch/arm/boot/dts/owl-s500-labrador-base-m.dts @@ -0,0 +1,34 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Caninos Labrador Base Board + * + * Copyright (c) 2019-2020 Matheus Castello + */ + +/dts-v1/; + +#include "owl-s500-labrador-v2.dtsi" + +/ { + model = "Caninos Labrador Base-M v1.0a"; + compatible = "caninos,labrador-base-m", "actions,s500"; + + aliases { + serial3 = &uart3; + }; + + chosen { + stdout-path = "serial3:115200n8"; + }; + + uart3_clk: uart3-clk { + compatible = "fixed-clock"; + clock-frequency = <921600>; + #clock-cells = <0>; + }; +}; + +&uart3 { + status = "okay"; + clocks = <&uart3_clk>; +}; diff --git a/arch/arm/boot/dts/owl-s500-labrador-v2.dtsi b/arch/arm/boot/dts/owl-s500-labrador-v2.dtsi new file mode 100644 index 000000000000..883ff2f9886d --- /dev/null +++ b/arch/arm/boot/dts/owl-s500-labrador-v2.dtsi @@ -0,0 +1,22 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Caninos Labrador SoM V2 + * + * Copyright (c) 2019-2020 Matheus Castello + */ + +#include "owl-s500.dtsi" + +/ { + model = "Caninos Labrador Core V2.1"; + compatible = "caninos,labrador-v2", "actions,s500"; + + memory@0 { + device_type = "memory"; + reg = <0x0 0x80000000>; + }; +}; + +&timer { + clocks = <&hosc>; +};