Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp345161imu; Fri, 14 Dec 2018 21:24:17 -0800 (PST) X-Google-Smtp-Source: AFSGD/Vqmiq95CDg6Tss5sSwQFEfp0IfvikxlU5mrYbUT2ODKMVzz2Qu/qDrwuo218BphVekuW90 X-Received: by 2002:a17:902:8306:: with SMTP id bd6mr5444460plb.217.1544851457570; Fri, 14 Dec 2018 21:24:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544851457; cv=none; d=google.com; s=arc-20160816; b=n93EwSo8zmCZ9wQI/D5sramzeKOEUDHJ36gqLzfjZFlDnQgqj6G1iB4TOYvPKcew/g bLf/cyh2Itpy0aLDqPZT7xquo5LaYMGA56P1r8GzcC2iET+PwZBp61SAoMI8c7SNuf+z DbM69KAONPfKR8fI3FJorv60og99LCKsNaX4NLb2XIsem83m8jE8wFD3rCEdwlx+IArq +CBX1BQUoSD+ylkyMZc4SyQju3LO5omHnVIa5kYatoQnZqOpnrjvHOgM8UMy6RZwgTL4 emQOo1FrjrwFDGvnWbvI24Y206GAC1zmdxSFBS2T9Wc4DNu0CvqUX/Vjo5Yke5IyDFT/ Mvew== 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=/liDBIpQXNSCjmDraeSlsWQ6WORYpTFOBdDULIY1SWU=; b=JcvNELnidZU6Nl2bZfb2Qg4ATFpteOhJusfV3zAHpkDHsBEtwbh9alH4Gx8TpifXwI 8H05Tq4Rn5HMUnKHtOKbZI/n0muHfOefrEgP0Qfv5xLzH2WUeavhgaznKjha4uqyH0x1 hxas9W2xscQQ76+wzWJnskjTn0S4m4CN//i6sAN+DYJqJl7okb1mPrY9eSVdo6yZLs6O xUQJzxaIP1Qj/l6T5yjGKp6WbHXvYSH7PouamZ/Vz35Z9UMFQrXxVjw8q9Z/BSnRRqgh sQu9gWrlPrruzX7xL+QfE7wyBQPq6nGYHWUXNrcPx4pRgnggIKbCDVfvSFXt2GLFPBKh H78w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sifive.com header.s=google header.b=DcTyiDjq; 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 m8si5584574pls.400.2018.12.14.21.23.47; Fri, 14 Dec 2018 21:24:17 -0800 (PST) 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=pass header.i=@sifive.com header.s=google header.b=DcTyiDjq; 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 S1730153AbeLOFWk (ORCPT + 99 others); Sat, 15 Dec 2018 00:22:40 -0500 Received: from mail-pf1-f194.google.com ([209.85.210.194]:39441 "EHLO mail-pf1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730086AbeLOFWh (ORCPT ); Sat, 15 Dec 2018 00:22:37 -0500 Received: by mail-pf1-f194.google.com with SMTP id c72so3802396pfc.6 for ; Fri, 14 Dec 2018 21:22:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sifive.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=/liDBIpQXNSCjmDraeSlsWQ6WORYpTFOBdDULIY1SWU=; b=DcTyiDjqBzYIaA513uHWLRLPoYRoX5rk9vElhcz0rY+QpmqVnrH4Ih+cVjTwFP9cpB P7SjeKKmjWSeZObpJLVNDZTi2mz8KDve72UK/T7rLNNml4QLpXwgcFLo8IxuMIA6CYRg I3U2S4tCWFDLFpD1Nq9KwDtFE49uOmmmfb+DVuxsETyiV9/AAg2/TsPOiTF9hFQPPOT0 3eHXk2Uko/CUs7kMHEHSwADlrWpvOVYCaw/RHBhl/0ijL62pCCqxrO0qyP+zF0kkYB/S GNzM9ckJ2wug9vqH+e98YAAgJQsW9Tv0P0c04H+YlpXZsquoUirBZYED1RRrGXfjBYGF WGiw== 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=/liDBIpQXNSCjmDraeSlsWQ6WORYpTFOBdDULIY1SWU=; b=Nv5AsJSy1YO009CVbgTE+d2B8XdP6WhFGlMPkDd6OslldiSlJrAhW64FI8EYtebcj+ sR6OcAAJF6MQrqUC/e6B8Q+1WpjopGdF17hKkEeH+Ki42uEzIGzzFvK/loVs2/eUqYDd 5oH8nXFie8zqY+eGZeW7Mk9L0TR09hmk4CVcUsizY3h1Zzg+TP5oS+dJzUW3snP8wOsp ZuiwfKXD6wcfMETUszSDZm/DBjhSeNvYdJE5ULYHrveBVlNy5Tyy+waRJM1OMRNyovWb ZoqThqMgOBuo/G8kanzfqBWbdPi+nCvO9H/DAZB1lPUf5rsj1vXG4pTRoze/qzDGKQX5 8kEA== X-Gm-Message-State: AA+aEWa0k6QXLBflQ+HcWDhocQwGm1yhzeo0AcsRK+Z7nUdnBvQAROG1 Zo7pxLf5f0Qy2loSxkgj8paN4pyyKEQ= X-Received: by 2002:a63:801:: with SMTP id 1mr5044606pgi.275.1544851356054; Fri, 14 Dec 2018 21:22:36 -0800 (PST) Received: from viisi.sifive.com ([12.206.222.5]) by smtp.gmail.com with ESMTPSA id z127sm11351282pfb.80.2018.12.14.21.22.35 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 14 Dec 2018 21:22:35 -0800 (PST) From: Paul Walmsley To: linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org Cc: Paul Walmsley , Rob Herring , Mark Rutland , Palmer Dabbelt , Albert Ou , devicetree@vger.kernel.org, Paul Walmsley Subject: [PATCH 7/7] riscv: dts: add initial board data for the SiFive HiFive Unleashed Date: Fri, 14 Dec 2018 21:21:54 -0800 Message-Id: <20181215052154.24347-8-paul.walmsley@sifive.com> X-Mailer: git-send-email 2.20.0 In-Reply-To: <20181215052154.24347-1-paul.walmsley@sifive.com> References: <20181215052154.24347-1-paul.walmsley@sifive.com> 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 initial board data for the SiFive HiFive Unleashed A00. Currently the data populated in this DT file describes the board DRAM configuration and the external clock sources that supply the PRCI. Cc: Rob Herring Cc: Mark Rutland Cc: Palmer Dabbelt Cc: Albert Ou Cc: devicetree@vger.kernel.org Cc: linux-riscv@lists.infradead.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Paul Walmsley Signed-off-by: Paul Walmsley --- arch/riscv/boot/dts/Makefile | 2 + arch/riscv/boot/dts/sifive/Makefile | 4 ++ .../dts/sifive/hifive-unleashed-a00-fu540.dts | 39 +++++++++++++++++++ 3 files changed, 45 insertions(+) create mode 100644 arch/riscv/boot/dts/Makefile create mode 100644 arch/riscv/boot/dts/sifive/Makefile create mode 100644 arch/riscv/boot/dts/sifive/hifive-unleashed-a00-fu540.dts diff --git a/arch/riscv/boot/dts/Makefile b/arch/riscv/boot/dts/Makefile new file mode 100644 index 000000000000..dcc3ada78455 --- /dev/null +++ b/arch/riscv/boot/dts/Makefile @@ -0,0 +1,2 @@ +# SPDX-License-Identifier: GPL-2.0 +subdir-y += sifive diff --git a/arch/riscv/boot/dts/sifive/Makefile b/arch/riscv/boot/dts/sifive/Makefile new file mode 100644 index 000000000000..e120ccf5649c --- /dev/null +++ b/arch/riscv/boot/dts/sifive/Makefile @@ -0,0 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 +dtb-$(CONFIG_ARCH_SIFIVE) += hifive-unleashed-a00-fu540.dtb + + diff --git a/arch/riscv/boot/dts/sifive/hifive-unleashed-a00-fu540.dts b/arch/riscv/boot/dts/sifive/hifive-unleashed-a00-fu540.dts new file mode 100644 index 000000000000..0c6afabe69e3 --- /dev/null +++ b/arch/riscv/boot/dts/sifive/hifive-unleashed-a00-fu540.dts @@ -0,0 +1,39 @@ +// SPDX-License-Identifier: Apache-2.0 +// SPDX-License-Identifier: GPL-2.0-or-later +/* Copyright (c) 2018 SiFive, Inc */ +/* See the file LICENSE for further information */ + +/dts-v1/; + +#include "fu540-c000.dtsi" + +/ { + #address-cells = <2>; + #size-cells = <2>; + model = "SiFive HiFive Unleashed A00 (FU540-C000)" + compatible = "sifive,hifive-unleashed-a00-fu540", + "sifive,hifive-unleashed-fu540"; + + chosen { + }; + + memory@80000000 { + device_type = "memory"; + reg = <0x0 0x80000000 0x1f 0x80000000>; + }; + + soc { + hfclk: hfclk { + #clock-cells = <0>; + compatible = "fixed-clock"; + clock-frequency = <33333333>; + clock-output-names = "hfclk"; + }; + rtcclk: rtcclk { + #clock-cells = <0>; + compatible = "fixed-clock"; + clock-frequency = <1000000>; + clock-output-names = "rtcclk"; + }; + }; +}; -- 2.20.0