Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1282366ybt; Sun, 14 Jun 2020 17:21:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz/ZZ+a70E0XJeThpfVaOq4a+E5gAkj7c6pERYgnNFxwJl6/Uwu2lTsVMypdAzMsE3phwR+ X-Received: by 2002:a17:906:76c4:: with SMTP id q4mr24562273ejn.371.1592180487347; Sun, 14 Jun 2020 17:21:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592180487; cv=none; d=google.com; s=arc-20160816; b=t2wteYPpTsL5ypJNqIOsUUeINexWYVuofO9K2f3NF+CshssX8Q3pYso6gyenUw+EBC sS3/WaPw/F+7Oas78oBbuwmL3kAg/JOsbScJEvhjdwdhY7t7NY6OO2wGiYUfAzSUyfbt l+3w6JTqcZym0Ixerv0p1se37oeRHLAGqs5IZr5W6RNmWg/CLcJFjg1/3FRUzn3wxEOU Z6JZlQzRofA6d72KzD2aqbo+bVDRCILuxWGd9P6zeTYsA+6IhDalBXZ6Ntsa0/NgWWV1 BAhnwFSOxrbMOWJJhtWZVCveiEfRPwg6cm3hgWazWO9aSf3bgwA2Fn4/3gzZnE+GiWc8 Kzyw== 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=sMTnpuFTK9jMtHgfDYfsLFnZ16e3Qp2YKWz6Fg/OOQQ=; b=oDnOuOOsB/PSdSKH7rrTc1ysIKmlMY91PSnVCA9ptTMF8JpqG8gL3g4tCDsHb2ZJl+ AqbX1CZStKgsUeRZDrJKDm4cCQsSpO516dSig97mk6O/5iK4r9JuotZsW73pZQaJtPPS NQHRxxdZz3iJAY/RCxXa4wmqEq+LkmBGH9rIhrO2NlPpZqh5Ozg0WM+X7ZnWTtWt85X5 +RfBYzn7vqoptbKoTNG/A8/6ub3vRrS0ktLZFny25xGrirdXq2MOC0fbVE/ThosirHDQ hTX7lJK+EJWWTmTcbHtGTN3/DW529TjhAXxoOgOyNNVMMMNXiuysKncXqFSnHtn/6LoO WQFQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=TMNNMnFO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id eb11si10140748edb.302.2020.06.14.17.21.05; Sun, 14 Jun 2020 17:21:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=TMNNMnFO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728111AbgFOATU (ORCPT + 99 others); Sun, 14 Jun 2020 20:19:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48594 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727954AbgFOATS (ORCPT ); Sun, 14 Jun 2020 20:19:18 -0400 Received: from mail-ej1-x644.google.com (mail-ej1-x644.google.com [IPv6:2a00:1450:4864:20::644]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8F35AC05BD43; Sun, 14 Jun 2020 17:19:18 -0700 (PDT) Received: by mail-ej1-x644.google.com with SMTP id k11so15515971ejr.9; Sun, 14 Jun 2020 17:19:18 -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=sMTnpuFTK9jMtHgfDYfsLFnZ16e3Qp2YKWz6Fg/OOQQ=; b=TMNNMnFOmmen27sobkCbO/xSOzIoROxVXssX4s+9qM9gKFKpBNvv4poHe354kO8kXM x+NT1ijS7ZTZkGoMohxBwyFdzGESdLYqQ58GeUuuOR2pXScfC6b58wpDHY0H+2QZ814d +u104JG+82FO24SGOu/jkVTmg2FMv0LHg4orVIE4qK971JwvT5QzI31rSa/JDj5AK/d5 USVTLKwKjIhxH7HUdYc9o8e4SbuTMhwy5J3rt10eSd8q6LhjSSyYYDfJ0wbld9QdvUvH 3/Z4s7gCKFlIWv82r6BxlZMGM9A+lXAexHsyxJet1K8NTtU8VoyNhGfWs7LnTRqG6cSl BM8g== 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=sMTnpuFTK9jMtHgfDYfsLFnZ16e3Qp2YKWz6Fg/OOQQ=; b=ps8eBED30/ywDXubfwVkxr971piXOurDkZ2L6by6Qt417JnI4QqhDk6wWzeN4Jsxkz OUw0tyY9yGwkVCjioyv0gro9BMX38iHaf1j+1hFFOT5oGt/92+Zg4GjQldS6wjdkA9yf o+9tV+VC9Mq22SdANrq78bnggHy4yxGqFUhB/lzEbLNt5hXC0LTGxW2uj5QfDqOscf6x QaPZz1CIhUimmlMDrihEOvEKDZB2io3jY4jAF/NgnIB/tr+JSsarUA1l0853yxSIFHU2 t9o34Q0ctvJeYlPh16jQLlqzrWXogMcvrGoDHpqg9EwukCL95ABYralyU/Ipm40+YnNT 5nIw== X-Gm-Message-State: AOAM531v7gHotoDAvm4v6WTHRp7YgSaiMxkOLLwf4wdQjWb//PB9qjmT JPlxAhHJeL+U8HKlj2vwa7B2sCVU X-Received: by 2002:a17:906:4f87:: with SMTP id o7mr3547346eju.233.1592180357346; Sun, 14 Jun 2020 17:19:17 -0700 (PDT) Received: from localhost.localdomain ([188.24.129.96]) by smtp.gmail.com with ESMTPSA id m30sm7450666eda.16.2020.06.14.17.19.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 14 Jun 2020 17:19:17 -0700 (PDT) From: Cristian Ciocaltea To: Rob Herring , =?UTF-8?q?Andreas=20F=C3=A4rber?= , Manivannan Sadhasivam Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 4/4] arm: dts: owl-s500: Add RoseapplePi Date: Mon, 15 Jun 2020 03:19:11 +0300 Message-Id: <2d12521d196e2c08a30aacd0ab20d93593f94707.1592123160.git.cristian.ciocaltea@gmail.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add a Device Tree for the RoseapplePi SBC. Signed-off-by: Cristian Ciocaltea --- 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 e8dd99201397..d0712e7275da 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-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..c61fbaa3821e --- /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>; +}; -- 2.27.0