Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp6274035imu; Mon, 21 Jan 2019 06:12:38 -0800 (PST) X-Google-Smtp-Source: ALg8bN55zqzL0WrZUJRxL1Ou72vDs89YLuGQseWaU9s3xh/14f+BsTk0KnaIZvG+5JI0XP32wRa1 X-Received: by 2002:a63:d547:: with SMTP id v7mr27827013pgi.339.1548079958589; Mon, 21 Jan 2019 06:12:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548079958; cv=none; d=google.com; s=arc-20160816; b=XOvcQB3BwjraoO3l9euKJE/A0lMl8tceKNPQ8nH5Ssk2L9y/J76IX1kj3yNChpmVxv Q8QPqElYU+zDRtoENj9eGz/0p4SBAzh6iFEZOb9LsxopYcdYmGxTpWClfkNj4vEdkN6W kvVCtO1NvNqfgzrn/sb6/JnV1CEoBJy8fCyzc5BJaNlYQcILLGiOyj43cNa99BVrhVgQ 94IU83oyIIsmVcNJ/3z9I7owHg9M2qXO4dkP1RDZrySTQo0x7sR+i0ZQZ3Ea7dvHQbex 0PcTLj5uftskZTbNEzhMKs1oHPnUcGcIe7muWleI32uRYWZW2p5lOhrOKlH0LLv6PqSX e4ZA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=8jpIsQBQw8LJ2Rg1bqKD/AdjTLRe3AL1lYfFNor0shs=; b=pSEdhKKZH9Vkg9fS4eHDpgDZPaUWDJkPlDCZqK97wSkxnGwiIt9Swj1XfMwj4PqEAz jlJrhNMtlpa0/LPAtmwJ/seUKQW0loMz64ZrZZeo0BOTBZ7+RuK0s2Rx3CFZPfFjUh6Q IRBifSXhzBskPP85KGQ5ZY9HlRlZDSXpDGXNIbuzSt25M4ryvjN2Qqh2LHMrrr8HXNMt hkLX+jtLNWWFkZr9pdFRXy43DxfHGu5GmPa6UbLOEX60/74ArxbdrWKnVOJHTz0rA+pG rlHv8z4iYWg+TZTyJdjYLsmg+35Bm9kuYDjVMeFLeVwS48Lr/v6c1PWjpmxFYiD+1+Ui NsGQ== ARC-Authentication-Results: i=1; mx.google.com; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n33si12547085pgl.336.2019.01.21.06.12.22; Mon, 21 Jan 2019 06:12:38 -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; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731851AbfAUOKu (ORCPT + 99 others); Mon, 21 Jan 2019 09:10:50 -0500 Received: from mail-lj1-f195.google.com ([209.85.208.195]:33573 "EHLO mail-lj1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731742AbfAUOKs (ORCPT ); Mon, 21 Jan 2019 09:10:48 -0500 Received: by mail-lj1-f195.google.com with SMTP id v1-v6so17681857ljd.0; Mon, 21 Jan 2019 06:10:46 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=8jpIsQBQw8LJ2Rg1bqKD/AdjTLRe3AL1lYfFNor0shs=; b=XBIo5C2vKvF+ZdydWisb69IbQ7e83WL60oax87Mdif7++Yc1gcrrLNeF9l78AakdJG BTB7aLUUterwSloD+3lF5AzsnecYmCYaYdME9l726qSGVrMbhcI4MoE/NZWS9f0BoT+l 3kUNUGqlKk7u5lgnvQa95KIu4sHfbm2+WfdGrEdb9KxCHqG9LMBvxghufyASGgAr50Kx slj14bMwjVmyi9ouSsHxo78Y76Zt0fUQI2pYJM0owfmpw61ckmohogwfLgTuvzJYECkS khsCoIs2knnXED+0IUMwZpie38CyaMbR47amwqpMa29V0L2N+QVHJQyX5ohRWX4iBlfu AKLg== X-Gm-Message-State: AJcUukfbEISzjMPuN8aQPm1XQlR7BLJu/Dw/xt+T1koRkqkCvpfLH2cc M+WL3jI/+Go8qMruAqmvujU= X-Received: by 2002:a2e:9849:: with SMTP id e9-v6mr17974492ljj.9.1548079845547; Mon, 21 Jan 2019 06:10:45 -0800 (PST) Received: from xi.terra (c-74bee655.07-184-6d6c6d4.bbcust.telenor.se. [85.230.190.116]) by smtp.gmail.com with ESMTPSA id q10-v6sm2295968ljj.3.2019.01.21.06.10.44 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 21 Jan 2019 06:10:44 -0800 (PST) Received: from johan by xi.terra with local (Exim 4.91) (envelope-from ) id 1glaHg-0001iu-TD; Mon, 21 Jan 2019 15:10:40 +0100 Date: Mon, 21 Jan 2019 15:10:40 +0100 From: Johan Hovold To: Paul Walmsley Cc: linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, Rob Herring , Mark Rutland , Palmer Dabbelt , Albert Ou , devicetree@vger.kernel.org, Paul Walmsley Subject: Re: [PATCH 5/7] riscv: dts: add initial support for the SiFive FU540-C000 SoC Message-ID: <20190121141040.GM3691@localhost> References: <20181215052154.24347-1-paul.walmsley@sifive.com> <20181215052154.24347-6-paul.walmsley@sifive.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20181215052154.24347-6-paul.walmsley@sifive.com> User-Agent: Mutt/1.11.2 (2019-01-07) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Dec 14, 2018 at 09:21:52PM -0800, Paul Walmsley wrote: > Add initial support for the SiFive FU540-C000 SoC. This is a 28nm SoC > based around the SiFive U54-MC core complex and a TileLink > interconnect. > > This file is expected to grow considerably as more device drivers are > added to the kernel. > > 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/sifive/fu540-c000.dtsi | 182 +++++++++++++++++++++ > 1 file changed, 182 insertions(+) > create mode 100644 arch/riscv/boot/dts/sifive/fu540-c000.dtsi > > diff --git a/arch/riscv/boot/dts/sifive/fu540-c000.dtsi b/arch/riscv/boot/dts/sifive/fu540-c000.dtsi > new file mode 100644 > index 000000000000..0ef314cf17b6 > --- /dev/null > +++ b/arch/riscv/boot/dts/sifive/fu540-c000.dtsi > + cpus { > + #address-cells = <1>; > + #size-cells = <0>; > + timebase-frequency = <1000000>; > + cpu0: cpu@0 { > + clock-frequency = <0>; > + compatible = "sifive,e51", "sifive,rocket0"; Looks like you forgot the currently required "riscv" compatible here and below. But perhaps it's the binding and arch code that should be revised instead (e.g. as per your discussion with Rob elsewhere in this thread). Johan