From patchwork Thu Feb 27 20:15:56 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matheus Castello X-Patchwork-Id: 11409607 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 CFBFA138D for ; Thu, 27 Feb 2020 20:16:46 +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 9DEDB246A0 for ; Thu, 27 Feb 2020 20:16:46 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="JpVc7hNC"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=castello.eng.br header.i=@castello.eng.br header.b="tcjbM6ns" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 9DEDB246A0 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=Q3LKrpDMSUD3p26qm7aRDE4W/7XUTI4UQV1gTcct6cY=; b=JpVc7hNCyc1vkF aUgzL3dOfVzhh0oqifFvImg4M9YnJymhT+HzZhEkh3SpEbWeh8QIzQctS6osddYbRK2AI1I+iivJb yPhKYMvq0o0PaRXV4l5GpsAPVf0ocK1KXlmFKg4GTi7xsDeUuUPk+uSpUze1vVzSyKdKbWEOOTtGz jjqA2x8wzcvHo7gf4K9DKLvGRqrmYEXvl01cjsA0Z9IccTZR3+tixTM5nX7/UZET86B86MfAldOoh Uij5Ii73rVLXYbzJMyDciW6FcVVtO54lTHlLGe6xxMf0xHyPJ3Z3gN66d9sYT17VzI8XKjtHrCNh0 2QLa98e5o4mdzFvCR2ZQ==; 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 1j7PaN-0003Vz-W4; Thu, 27 Feb 2020 20:16:44 +0000 Received: from gateway20.websitewelcome.com ([192.185.68.24]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1j7PaH-0003Mk-Cs for linux-arm-kernel@lists.infradead.org; Thu, 27 Feb 2020 20:16:39 +0000 Received: from cm10.websitewelcome.com (cm10.websitewelcome.com [100.42.49.4]) by gateway20.websitewelcome.com (Postfix) with ESMTP id 538BF400D20EA for ; Thu, 27 Feb 2020 13:02:02 -0600 (CST) Received: from br164.hostgator.com.br ([192.185.176.180]) by cmsmtp with SMTP id 7Pa5jWScaEfyq7Pa5jbybP; Thu, 27 Feb 2020 14:16:25 -0600 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:MIME-Version: References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type: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=qoO2qsaKDDkITqEnriWbR9MEmzTrNQCsMHlNkFBYJ7c=; b=tcjbM6nsjXMnB1U50YJqJ0Xpq+ qnb6sizE41zDg6WWUl6+PgNcBLucBF18ilJ0ekjStyF0ZK+qs9laPZeAs4HULnEnQJAPcUYmJhJh3 iNANGLYl0YuK6SGCRzH2kwFqTtzFPqn065TDn2wj+R8SSpz9sqOrctyNxJ7dlKjIGHuo/lxgZJ7gW 4QE368So677rBzP33fUqD1UHd+Z5E1rOKM1ck0LnzvKzZWMkTYPLf2n/ieBR1K0zTtFiUfv6wle1v dp+OsSgF9hYl1BG91kGTsc5PPX0iJg/vbfN2VOy0Txc/DcxMMZxqGE8gjOwKZQLcNBPMf5yjUSZCA mj2+zzYA==; Received: from [191.31.195.84] (port=40030 helo=castello.castello) by br164.hostgator.com.br with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.92) (envelope-from ) id 1j7Pa4-002xJo-Nh; Thu, 27 Feb 2020 17:16:25 -0300 From: Matheus Castello To: afaerber@suse.de, manivannan.sadhasivam@linaro.org, mark.rutland@arm.com, robh+dt@kernel.org Subject: [PATCH v1 1/2] dt-bindings: arm: actions: Document Caninos Loucos Labrador Date: Thu, 27 Feb 2020 17:15:56 -0300 Message-Id: <20200227201557.368533-2-matheus@castello.eng.br> X-Mailer: git-send-email 2.25.0 In-Reply-To: <20200227201557.368533-1-matheus@castello.eng.br> References: <20200227201557.368533-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.195.84 X-Source-L: No X-Exim-ID: 1j7Pa4-002xJo-Nh X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: (castello.castello) [191.31.195.84]:40030 X-Source-Auth: matheus@castello.eng.br X-Email-Count: 12 X-Source-Cap: Y2FzdGUyNDg7Y2FzdGUyNDg7YnIxNjQuaG9zdGdhdG9yLmNvbS5icg== X-Local-Domain: yes X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200227_121637_571427_1F337EB8 X-CRM114-Status: UNSURE ( 6.51 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.3 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.68.24 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid 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, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Matheus Castello Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Update the documentation to add the Caninos Loucos Labrador vendor-prefix and items that were included in the device tree files. Signed-off-by: Matheus Castello --- Documentation/devicetree/bindings/arm/actions.yaml | 5 +++++ Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ 2 files changed, 7 insertions(+) -- 2.25.0 diff --git a/Documentation/devicetree/bindings/arm/actions.yaml b/Documentation/devicetree/bindings/arm/actions.yaml index ace3fdaa8396..1b131ceb884a 100644 --- a/Documentation/devicetree/bindings/arm/actions.yaml +++ b/Documentation/devicetree/bindings/arm/actions.yaml @@ -24,6 +24,11 @@ properties: - lemaker,guitar-bb-rev-b # LeMaker Guitar Base Board rev. B - const: lemaker,guitar - const: actions,s500 + - items: + - enum: + - caninos,labrador-bb # Caninos Loucos Labrador Base Board + - const: caninos,labrador + - const: actions,s500 # The Actions Semi S700 is a quad-core ARM Cortex-A53 SoC. - items: diff --git a/Documentation/devicetree/bindings/vendor-prefixes.yaml b/Documentation/devicetree/bindings/vendor-prefixes.yaml index 9e67944bec9c..3e974dd563cf 100644 --- a/Documentation/devicetree/bindings/vendor-prefixes.yaml +++ b/Documentation/devicetree/bindings/vendor-prefixes.yaml @@ -167,6 +167,8 @@ patternProperties: description: Calxeda "^capella,.*": description: Capella Microsystems, Inc + "^caninos,.*": + description: Caninos Loucos LSI-TEC NPO "^cascoda,.*": description: Cascoda, Ltd. "^catalyst,.*": From patchwork Thu Feb 27 20:15:57 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Matheus Castello X-Patchwork-Id: 11409609 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 F046D138D for ; Thu, 27 Feb 2020 20:17:07 +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 ADDD52469C for ; Thu, 27 Feb 2020 20:17:07 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="gov65e/F"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=castello.eng.br header.i=@castello.eng.br header.b="o1WmDQ8U" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org ADDD52469C 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=08gets2IkSt8V8w9x/A4W2gNqmejdVetxKvY7V+xklk=; b=gov65e/FrG1tvI ULElh5udTcQrNxmDdWwbqEx84H9iz5cZTBD/1muzdgvlP4rVA3DLBvWnLGKeqR8cXf5pXCs9yjaIZ NLwxcf1tEuLj5Rxprin9SfBjiAX5Xq2o9rflppAsXV1U7MzyAnOrqr858fnB7bMGt/LVjTeNU1JN5 rJ5L+JpuncEpKhZf7/vPyMH0iFyoMGiWAn4FcwUVOv9XbiFSWfDHJ14qipkILkUHxqR7TdwhDDhs5 Zte6pGTDxgnQJZOav5u8dAvvkM6beADlo5X/71+xRYFzZ6sqgphggWPR9UHZCst+aeZKJ5HTbSnga 9YOr06bWmPoYvTmrVKmQ==; 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 1j7Paj-0003qJ-CQ; Thu, 27 Feb 2020 20:17:05 +0000 Received: from gateway32.websitewelcome.com ([192.185.145.189]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1j7PaM-0003NZ-EV for linux-arm-kernel@lists.infradead.org; Thu, 27 Feb 2020 20:16:43 +0000 Received: from cm12.websitewelcome.com (cm12.websitewelcome.com [100.42.49.8]) by gateway32.websitewelcome.com (Postfix) with ESMTP id A8EF848894 for ; Thu, 27 Feb 2020 14:16:30 -0600 (CST) Received: from br164.hostgator.com.br ([192.185.176.180]) by cmsmtp with SMTP id 7PaAj0f8rvBMd7PaAjwEQ8; Thu, 27 Feb 2020 14:16:30 -0600 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=dli9kbZ6lD/nnDirr7aZdMn36VuNaUx+QZ+TACIU/tA=; b=o1WmDQ8Ul7jha4hCTy8IB94VwD EJKa0915/vQCGn7dbSlMGMck6hiMPesVVtxejSyJ3zWgWRuAMUBFXPb9dWMa3m5200gVkD+dFdEh0 7CBttQ89CyWYYlfb4IYCMTIFPDpqhinZQRnOQvDttvA+JmbU9vm0ejWlNBvmEwDvAnxiDfW+Yh0mU Xmf9WLa36EE1M0EdXowscfXwmiedtGUnl8MaFNnw/8e9RGlv4BB1Fa3J3zmq/VS54qy7AqRSnpsMq dTLgmsAUpbN0zULww6DGP9CJJcXwuWDhxdSa9cVq3SWgd75d3Er5uKWKdSnAl1ANhAgeK0mSjFZb2 8AdnyFOg==; Received: from [191.31.195.84] (port=40030 helo=castello.castello) by br164.hostgator.com.br with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.92) (envelope-from ) id 1j7Pa9-002xJo-TL; Thu, 27 Feb 2020 17:16:30 -0300 From: Matheus Castello To: afaerber@suse.de, manivannan.sadhasivam@linaro.org, mark.rutland@arm.com, robh+dt@kernel.org Subject: [PATCH v1 2/2] ARM: dts: Add Caninos Loucos Labrador Date: Thu, 27 Feb 2020 17:15:57 -0300 Message-Id: <20200227201557.368533-3-matheus@castello.eng.br> X-Mailer: git-send-email 2.25.0 In-Reply-To: <20200227201557.368533-1-matheus@castello.eng.br> References: <20200227201557.368533-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.195.84 X-Source-L: No X-Exim-ID: 1j7Pa9-002xJo-TL X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: (castello.castello) [191.31.195.84]:40030 X-Source-Auth: matheus@castello.eng.br X-Email-Count: 20 X-Source-Cap: Y2FzdGUyNDg7Y2FzdGUyNDg7YnIxNjQuaG9zdGdhdG9yLmNvbS5icg== X-Local-Domain: yes X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200227_121642_585930_6421744B X-CRM114-Status: GOOD ( 10.93 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.3 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.145.189 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid 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, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Matheus Castello 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 SoM 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 | 3 +- arch/arm/boot/dts/owl-s500-labrador-bb.dts | 33 +++++++++++++++++++++ arch/arm/boot/dts/owl-s500-labrador-v2.dtsi | 21 +++++++++++++ 3 files changed, 56 insertions(+), 1 deletion(-) create mode 100644 arch/arm/boot/dts/owl-s500-labrador-bb.dts create mode 100644 arch/arm/boot/dts/owl-s500-labrador-v2.dtsi -- 2.25.0 diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index d6546d2676b9..acdf65ef3236 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile @@ -842,7 +842,8 @@ dtb-$(CONFIG_ARCH_ORION5X) += \ dtb-$(CONFIG_ARCH_ACTIONS) += \ owl-s500-cubieboard6.dtb \ owl-s500-guitar-bb-rev-b.dtb \ - owl-s500-sparky.dtb + owl-s500-sparky.dtb \ + owl-s500-labrador-bb.dtb dtb-$(CONFIG_ARCH_PRIMA2) += \ prima2-evb.dtb dtb-$(CONFIG_ARCH_PXA) += \ 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..1e821804da30 --- /dev/null +++ b/arch/arm/boot/dts/owl-s500-labrador-bb.dts @@ -0,0 +1,33 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2019-2020 Matheus Castello + */ + +/dts-v1/; + +#include "owl-s500-labrador-v2.dtsi" +#include + +/ { + 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..ee079f02b5dd --- /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 SoM 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>; +};