Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp239354ybb; Thu, 19 Mar 2020 20:54:52 -0700 (PDT) X-Google-Smtp-Source: ADFU+vsG7qMujBmJAx/NmMN7TE/mcIu20pqaXwLyeiRYJIN7myUdew8e8ud85tDCQw/pkQgnnwPq X-Received: by 2002:a05:6830:2246:: with SMTP id t6mr5218268otd.46.1584676492376; Thu, 19 Mar 2020 20:54:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584676492; cv=none; d=google.com; s=arc-20160816; b=H4+yr+kfYYZmKG+X7c6X/EUb0Az22pQqIHJ3yKFttJnipdwxWJCQUTiNik+ukOc0gt XDgG9NIlLzKJ97uIldq5jOSXCyVbTu/X8nPr9f6W2IduZ8/0JNloyO8HZ8WWyujL3Ntu IS+TL7nxWHEI3zyvCT/K3VYiYyP/ZjV1EvOAI1pXy2ApibHzqvN5QLRl3JnfdkKs3pZN 97adcThYoNRStcKiSrAb16GrpAdNFF3Gge/l0Itaqm8NstwkhkxxOvAntOITD8ev8Tk4 fRcGEe8yr56JZAKJ9t5XaAPxfF6tg+CMmfUcZ4o+K/b08UGqnO5oXiOp/D79VwH04rzL pEWg== 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 :dkim-signature; bh=msXgc3TGQhw2fSPO6AXY+2RmKkB9onA2Nue9cLwXGQI=; b=R1EYlBhnadWBxZQG1r7dkbQXX76TdpZfH2LdHwTKyG7uGB4n+344ytRzhjO5CZPbUV bzUXzkUDpPvTNKDBKu4QBsHyByPKt3eeLvaKAoOPbsZGp8ZhSgjVLrBLE7Tr1nhi3Y3e UKfUI82Uwwgq2JF3sHY4+AtgpdsryInXkysTIzXKqFvq90nkZYZ0dgpXRe3jmc2kHzM1 zgsNiOg+zNDsk+NPCwp3RJ3jwZyPgYlCAV8nVQoSoQF/Y1yogZKkdDy0qxsCVfwc9/Br rylas7QCosEiKQ1jIc7kdZJiiWjYkoDn0DjGOx0Z+az7E8z5+vZ0hDQNaWawOe3eiFsE PuhA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@castello.eng.br header.s=default header.b=xWXteZZa; 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 v7si2263127otp.43.2020.03.19.20.54.39; Thu, 19 Mar 2020 20:54:52 -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; dkim=fail header.i=@castello.eng.br header.s=default header.b=xWXteZZa; 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 S1727297AbgCTDwg (ORCPT + 99 others); Thu, 19 Mar 2020 23:52:36 -0400 Received: from gateway21.websitewelcome.com ([192.185.46.113]:38401 "EHLO gateway21.websitewelcome.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726774AbgCTDwg (ORCPT ); Thu, 19 Mar 2020 23:52:36 -0400 Received: from cm16.websitewelcome.com (cm16.websitewelcome.com [100.42.49.19]) by gateway21.websitewelcome.com (Postfix) with ESMTP id B4BE2400C5815 for ; Thu, 19 Mar 2020 22:52:35 -0500 (CDT) Received: from br164.hostgator.com.br ([192.185.176.180]) by cmsmtp with SMTP id F8i3je5vg8vkBF8i3jV5EX; Thu, 19 Mar 2020 22:52:35 -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=msXgc3TGQhw2fSPO6AXY+2RmKkB9onA2Nue9cLwXGQI=; b=xWXteZZa0LMHxN6Y2mAwB9wVq5 Ladmsq1H35wzFWCysI6IWT3iovvvK1dubKQ7zwlLPhOCqTVmzunv0c3+m56NCakqW+wTGemRNQ/bj QpQm1W1T1+RHA4NiWDTt1OlEpcREDR0a9qXE9nxdAZFim+mzHeOsbFr8zWaZr/1qTokWutYYEuT12 xNG7rsRNqCyejBkJ2puNMY7hiChidMCYcg4stxypf73xOgiD8PTftncMpH/tzf/XT/GVLcdQcC6B+ 1JzevVtkARSzUxYioOeSUJJvC65b6LnRczcJY/YcKnBe8xzVy6gI6d740164g7HAg1LHeaXZxMQ2k clfApasg==; Received: from [191.31.203.148] (port=48890 helo=castello.castello) by br164.hostgator.com.br with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.92) (envelope-from ) id 1jF8i3-000OUT-0Y; Fri, 20 Mar 2020 00:52:35 -0300 From: Matheus Castello To: afaerber@suse.de, manivannan.sadhasivam@linaro.org, mark.rutland@arm.com, robh+dt@kernel.org Cc: edgar.righi@lsitec.org.br, igor.lima@lsitec.org.br, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Matheus Castello Subject: [PATCH v3 3/3] ARM: dts: Add Caninos Loucos Labrador Date: Fri, 20 Mar 2020 00:51:04 -0300 Message-Id: <20200320035104.26139-4-matheus@castello.eng.br> X-Mailer: git-send-email 2.25.0 In-Reply-To: <20200320035104.26139-1-matheus@castello.eng.br> References: <20200229104358.GB19610@mani> <20200320035104.26139-1-matheus@castello.eng.br> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 - vger.kernel.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.203.148 X-Source-L: No X-Exim-ID: 1jF8i3-000OUT-0Y X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: (castello.castello) [191.31.203.148]:48890 X-Source-Auth: matheus@castello.eng.br X-Email-Count: 32 X-Source-Cap: Y2FzdGUyNDg7Y2FzdGUyNDg7YnIxNjQuaG9zdGdhdG9yLmNvbS5icg== X-Local-Domain: yes Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.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 --- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/owl-s500-labrador-bb.dts | 34 +++++++++++++++++++++ arch/arm/boot/dts/owl-s500-labrador-v2.dtsi | 21 +++++++++++++ 3 files changed, 56 insertions(+) create mode 100644 arch/arm/boot/dts/owl-s500-labrador-bb.dts create mode 100644 arch/arm/boot/dts/owl-s500-labrador-v2.dtsi diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index d6546d2676b9..99f633460833 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile @@ -842,6 +842,7 @@ dtb-$(CONFIG_ARCH_ORION5X) += \ dtb-$(CONFIG_ARCH_ACTIONS) += \ owl-s500-cubieboard6.dtb \ owl-s500-guitar-bb-rev-b.dtb \ + owl-s500-labrador-bb.dtb \ owl-s500-sparky.dtb dtb-$(CONFIG_ARCH_PRIMA2) += \ prima2-evb.dtb diff --git a/arch/arm/boot/dts/owl-s500-labrador-bb.dts b/arch/arm/boot/dts/owl-s500-labrador-bb.dts new file mode 100644 index 000000000000..91012b4a4c30 --- /dev/null +++ b/arch/arm/boot/dts/owl-s500-labrador-bb.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" + +/ { + compatible = "caninos,labrador-bb", "caninos,labrador", "actions,s500"; + model = "Caninos Labrador Base Board M v1.0"; + + 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..0b54f1ef3ec0 --- /dev/null +++ b/arch/arm/boot/dts/owl-s500-labrador-v2.dtsi @@ -0,0 +1,21 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Caninos Labrador CoM V2 + * + * Copyright (c) 2019-2020 Matheus Castello + */ + +#include "owl-s500.dtsi" + +/ { + compatible = "caninos,labrador", "actions,s500"; + + memory@0 { + device_type = "memory"; + reg = <0x0 0x80000000>; + }; +}; + +&timer { + clocks = <&hosc>; +}; -- 2.25.0