From patchwork Fri Aug 28 13:53:20 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cristian Ciocaltea X-Patchwork-Id: 11742893 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 6163716B1 for ; Fri, 28 Aug 2020 13:55:10 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (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 38FB120776 for ; Fri, 28 Aug 2020 13:55:10 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="MjxsY1Ke"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="CuhFyzqy" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 38FB120776 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com 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=merlin.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=HziCLwLKoNPYhDuewMLz0EYKdIaaHEB7beIe25urhUw=; b=MjxsY1Ke6s1PWMPzSwzzviQ1b jlH8ncXkjq78wQAwO6r+hnfRr65EyuAfdXmrd2PjHr6kALHTV4FHJwagKcHNLxbH2jsXGgETCmP6E RtjsRFgAguOeBgdLdZ24zrOc/JSP2BnLFHGqIv+tNUF85NwTiskKmLTqThEx1jvSF9rJ7dRFEqFcO r9BDvHdualCA3Acweb/FIzR0s2XF4nFLTLd3eP/rqN1eSQuWnEwcrtUAhOqj99x/9L+CmGhdoPKQq smJEOv622qG0lqlWFcXcHvh5etMWV/kXS6N+lWg/3CSVGAghtcGK745OluHM54V+3+EXph99nwhhI 3+JMQ18ew==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kBepC-0002Yd-SL; Fri, 28 Aug 2020 13:53:50 +0000 Received: from mail-ed1-x543.google.com ([2a00:1450:4864:20::543]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kBeor-0002M1-1U; Fri, 28 Aug 2020 13:53:30 +0000 Received: by mail-ed1-x543.google.com with SMTP id l63so1228395edl.9; Fri, 28 Aug 2020 06:53:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=6g/eS7zH2f40jz0ItECktwz0CHPb0AoI4mWHFv+EIfw=; b=CuhFyzqyuILD6dB+zn4B9tLjpTTD7G4nRMcS6CZwmWimN+SlsLtkdVHxcmXIMql6DH 68rUP6QozsvF1BMt+W/GNyqKUzPHGyuDU8dzNyABC9aSPsG81U5HMym/8c+hXmPGXeYS K+pzuZ67XuNzUnyIwF3/9Ge8d9ACFL76sCy48KUwep2pRKUNm47j8qh6OwIalU2tCjN7 Y7pg2mErMu5V2IRnbWDVGaXfvlkGfd8yYFjD6geNJKkGROT1tXH+hxb6+eWFNkAHfLx2 sRyNg1seM7QioWZcc6AnDfMsIG67xiTORuIeSjUlT/QKk6l1/NvsvmRD2mBuTIKYvXuj t1jQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=6g/eS7zH2f40jz0ItECktwz0CHPb0AoI4mWHFv+EIfw=; b=Q4RNAgHn475yyr4s7+Cq3fD415qhzF7NgC9pXnQre8KO5eR80lUn8wFaks14qvqaqD H10iUNI6FFsFtlFLK4IQ+30a9HJOOpLy9O3ZyXH6SI7CrezXlsWDZiaRmpUDuUYRU+lS kGcTZHM06qR9NXqrLMP4VZwELxZEoEAvGkq+teU0UYYnXTsyMtBmQnqfbyicPNa9wuLU pbGLWjO57cNIiHkUwZvFKlOZw4I8F7guh6va5/bZY5OI8CSPNLz0OKyVyS9RzKpR6gJs WI4SMTW/INZQw27HlZxFIsJHc5u+M3Ax6erVv6nuu/D+0KR26YhVpmmbS6RqvFo3Dxh+ VPrg== X-Gm-Message-State: AOAM532O3LrvrrY87yHUXAVUoYzEOOm3HV1xwgaFXpiKVWf7PraHPFre 3/5P5M2CEAcVLzJH+8WFvX4= X-Google-Smtp-Source: ABdhPJwYAk7TS5DA6wHvo2isqsN1Ef95e87YOO59YD+5VkSL7LiQoj74U1ANr2tqYVoDwUpUO44oNg== X-Received: by 2002:a50:b946:: with SMTP id m64mr2042615ede.92.1598622807602; Fri, 28 Aug 2020 06:53:27 -0700 (PDT) Received: from localhost.localdomain ([188.24.159.61]) by smtp.gmail.com with ESMTPSA id f20sm981624ejq.60.2020.08.28.06.53.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 Aug 2020 06:53:27 -0700 (PDT) From: Cristian Ciocaltea To: =?utf-8?q?Andreas_F=C3=A4rber?= , Manivannan Sadhasivam , Rob Herring , Peter Korsgaard Subject: [PATCH v2 4/4] arm: dts: owl-s500: Add RoseapplePi Date: Fri, 28 Aug 2020 16:53:20 +0300 Message-Id: <5a6fc55341b346439ba32b5a3e14087edbaa6226.1598621459.git.cristian.ciocaltea@gmail.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: References: MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200828_095329_142874_AD4548E9 X-CRM114-Status: GOOD ( 16.28 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.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 [2a00:1450:4864:20:0:0:0:543 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider [cristian.ciocaltea[at]gmail.com] 0.0 SPF_HELO_NONE SPF: HELO does not publish an 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_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-actions@lists.infradead.org, linux-kernel@vger.kernel.org, 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 a Device Tree for the RoseapplePi SBC. Signed-off-by: Cristian Ciocaltea Reviewed-by: Peter Korsgaard Reviewed-by: Manivannan Sadhasivam --- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/owl-s500-roseapplepi.dts | 47 ++++++++++++++++++++++ 2 files changed, 48 insertions(+) create mode 100644 arch/arm/boot/dts/owl-s500-roseapplepi.dts diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index 4572db3fa5ae..bff9ef996fbb 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile @@ -868,6 +868,7 @@ dtb-$(CONFIG_ARCH_ORION5X) += \ dtb-$(CONFIG_ARCH_ACTIONS) += \ owl-s500-cubieboard6.dtb \ owl-s500-guitar-bb-rev-b.dtb \ + owl-s500-roseapplepi.dtb \ owl-s500-sparky.dtb dtb-$(CONFIG_ARCH_PRIMA2) += \ prima2-evb.dtb diff --git a/arch/arm/boot/dts/owl-s500-roseapplepi.dts b/arch/arm/boot/dts/owl-s500-roseapplepi.dts new file mode 100644 index 000000000000..a2087e617cb2 --- /dev/null +++ b/arch/arm/boot/dts/owl-s500-roseapplepi.dts @@ -0,0 +1,47 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Roseapple Pi + * + * Copyright (C) 2020 Cristian Ciocaltea + */ + +/dts-v1/; + +#include "owl-s500.dtsi" + +/ { + compatible = "roseapplepi,roseapplepi", "actions,s500"; + model = "Roseapple Pi"; + + aliases { + serial2 = &uart2; + }; + + chosen { + stdout-path = "serial2:115200n8"; + }; + + memory@0 { + device_type = "memory"; + reg = <0x0 0x80000000>; /* 2GB */ + }; + + uart2_clk: uart2-clk { + compatible = "fixed-clock"; + clock-frequency = <921600>; + #clock-cells = <0>; + }; +}; + +&twd_timer { + status = "okay"; +}; + +&timer { + clocks = <&hosc>; +}; + +&uart2 { + status = "okay"; + clocks = <&uart2_clk>; +};