Received: by 2002:a05:6a10:6006:0:0:0:0 with SMTP id w6csp1213116pxa; Fri, 28 Aug 2020 06:56:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzU0Ws/lz4W3AM7S6m3sf2x7Z0R+If6g48A3aalu+BH5DjZwYBcQVKpuVX+cO4aJKAofmDL X-Received: by 2002:a17:906:4f8f:: with SMTP id o15mr1907673eju.220.1598622977613; Fri, 28 Aug 2020 06:56:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598622977; cv=none; d=google.com; s=arc-20160816; b=JdsARf5G++W5cSitcxeno+yQ+g9YxAJIK8E7An5Q0LfSQDI9FlH5na83/x0cKahBMc TrEUsw5xGhpKRN6Fxyw6amWi/bh+IrHP+dRHCmfeRl8Vw3XkoEdzouavTAe9z6wpKfu2 7EeIutTH57YnszB5WLXVSwS91klc5QCoEetiixysePTDE9Kbnd9q6N5Ci9c5m43q5BRt Y3InnkYyDxrOwNUQIV1QyxNKtdlWR4/Sr6eWzEAbeiFXV5epJeaglpOpxNBayVwx6uIs KLNKrD85lY0186NMPn26Qv29rtKzgWIPbRUjVwRAcTcOQROy6leRVUtjR/QRjCYeqzvT 7KQg== 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=6g/eS7zH2f40jz0ItECktwz0CHPb0AoI4mWHFv+EIfw=; b=aKui7kMzXVVgiWSrcNDYv85O/2nJ7gfUiFNA0/o13YC31iVpjpbokZ+AabBZQxLych wUUKNdRJkciGs/k0uVj7Q43GL1bKM+xHUjQpqPVEGFJD51fTqtyJ6jXobcs8GvjKenEz VbiF6eCa+IAIonIJCVBdTivvk4SM/Mi7zCy7pQooXPIEVfvbdgPeBz4/v/gRq8yr8hHB m3WWbk5BjCfuR0wd1KDmVMq68EDO3Z6fQpUej8V69PApLiSEhHZ2CQSRYi4a16z4cYy1 yi07mYgJA33/5hnsiIUvdQwFnh9DuFmKm7v6EqlwacZboK4JsUS0uGsr7+qB+9ZioCr5 rI6w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=CuhFyzqy; 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 d10si635232edu.284.2020.08.28.06.55.55; Fri, 28 Aug 2020 06:56:17 -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=CuhFyzqy; 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 S1726774AbgH1NyQ (ORCPT + 99 others); Fri, 28 Aug 2020 09:54:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50218 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727017AbgH1Nx3 (ORCPT ); Fri, 28 Aug 2020 09:53:29 -0400 Received: from mail-ed1-x544.google.com (mail-ed1-x544.google.com [IPv6:2a00:1450:4864:20::544]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DE381C061233; Fri, 28 Aug 2020 06:53:28 -0700 (PDT) Received: by mail-ed1-x544.google.com with SMTP id q4so1251637eds.3; 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=FRNC0y4/FatH0oKu85+jhMVW9UhL0YcqW+KJtAelh2G0fd+RCGjp2Nx9iuSZsR3dkD G+TZ3aLam2Zn2UKCM9GUeYc68Y2PefR6PnHaBG/nDjCJLEG6o3vNcGmGf64zialPGo5q kjsJG2KSFSO046FxKPWY0fU78VYdbHqDNKY73Uv7iAz3t6j9rkbHlOdIPUBbN61HHKpV QJ3bOD5UjPmm6H+l2TT83fD3afKlo2rPXisoPDZVbdrR6Ln2pkhunbh288pOsMyDQShJ Z45W8EfQyq4NFLh7l19ugxA04OVKWJBdlUlr/KGYCRzhyIBrZCEiLgUq1qSbtiBJGiT+ Fx5Q== X-Gm-Message-State: AOAM531clxToZ7KuOeh9MbzaPOxbUmgW2AAeZ03KNHpfxbdSmxkvxvP1 1PU94UB5rB4YD9waG9aPMys= 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=20F=C3=A4rber?= , Manivannan Sadhasivam , Rob Herring , Peter Korsgaard Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-actions@lists.infradead.org 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 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 Reviewed-by: Peter Korsgaard --- 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>; +}; -- 2.28.0