Received: by 2002:a25:f815:0:0:0:0:0 with SMTP id u21csp2317169ybd; Mon, 24 Jun 2019 04:27:10 -0700 (PDT) X-Google-Smtp-Source: APXvYqxk+NetRRYJe7E2sL6syQjtcO6lGzDjpabhTcWnVySNLitz7e7CX71ytBLKi8Lmh76nusYv X-Received: by 2002:a63:c0e:: with SMTP id b14mr32263211pgl.4.1561375630292; Mon, 24 Jun 2019 04:27:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561375630; cv=none; d=google.com; s=arc-20160816; b=zvUBRnm7wIRHIduR6rjuNhWUP2rJbWVWEipQXzheoaXgj3lCJiO/LtCGB5fAQoFErB hEbbfppvXvmCrLVnQFNG9HO1ds5eqq89wFNYels1SEV9JPWks5JpD+AIiDhDHV9ZYLGX g9YybCq1hNvDarlMiv5qhWR5FW8Ym0isrzHbR1f8Bx0pDflTUMfrOEGsfJdY/c0GB7cP QKHo2X7dFLx36+AXx3pXCD2NjUpdORQpzFSwliTAWvo7UxSUS/YUpsROwQeVTNAAFp0O kBAas6AicK2Hd78WOZuxXjOnON9BjjB7DG4SLFnN9hjSOrydx9nyQUmG6ieJ194hL9fV v0kg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=cPO95tQ02ItJUXKI0dlIoUOx9gg/Y99XsbDXMsh4yyo=; b=Eyws6MolcGU6QHyTCA35cl3cTinO6mHTnkBhMM+93GoTSuuzHpza+AvYpDcf53RKAq RDDDtUNX28K5+4lzfj8RN2+dnfb66dZkOHUycl86TR+gMp3jOs5ZkYbxwqf5P6ObRIrC ekWB553lR8Bcxav93BLS/cVapsCwKVO+caFGrO3WgpOlAoIwwedU/E6565sqE4Zyuqfs 4dLwzJ8iRgzg0ev1Ss+GIebg5KiKz40cni7cldXh6Bz6EvKy4cPlu/J9rn8YnDPZNoKD 1E8Ybtwfq92tz6dX0hY5HLmkKqPwoPdFqwDdUvnqckQj81DOH8mADnc5Mu6RDOHGebLg dflA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sifive.com header.s=google header.b=JPNxft3A; 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 f4si7184274plo.166.2019.06.24.04.26.54; Mon, 24 Jun 2019 04:27:10 -0700 (PDT) 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=JPNxft3A; 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 S1729798AbfFXLY2 (ORCPT + 99 others); Mon, 24 Jun 2019 07:24:28 -0400 Received: from mail-pg1-f196.google.com ([209.85.215.196]:40501 "EHLO mail-pg1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728664AbfFXLY2 (ORCPT ); Mon, 24 Jun 2019 07:24:28 -0400 Received: by mail-pg1-f196.google.com with SMTP id w10so6941548pgj.7 for ; Mon, 24 Jun 2019 04:24:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sifive.com; s=google; h=from:to:cc:subject:date:message-id; bh=cPO95tQ02ItJUXKI0dlIoUOx9gg/Y99XsbDXMsh4yyo=; b=JPNxft3APis+w63JZCUevjDC4FQtwDYcNWMo5bWBOLjBiw7leJlkdff0ToQiDXNy2f eT1qyEHIOFYlUtBmnICfl7Zj0PoedCNri3AuuzCCnTGCUbEuEbj0JbIug0kQyGBFpVJ5 rB3WESNwo3RlmIwwBJnJGiLlzTfYcKWoW4ih19orBUKAa8r+BoiDPTYueKGYmcu1ivb3 5mKHWuYgG7+5Rd03JpM/cjyHTsPrrQw+Q6ZfhC6geHyGgDIasIhWCKikRNPLmuGBNfwh XQ5F9jl+vPPyoOst6mRAMO1qlj/AASwLG3jdugDZfjqkZIjvsxjAtkgHqpESO75owI1e WWyw== 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; bh=cPO95tQ02ItJUXKI0dlIoUOx9gg/Y99XsbDXMsh4yyo=; b=iIVCnQol9u3ot1Z4W+sC9FhcdHM1HnZlLHV6qtc0hSQI4C9USyT1YT1o0Y8ynPJKwN MosjTo9zWNjx7LUe3UAWMnzHGjHYIorn8ksmbNo853qWk/Xth9F5Rh87bTuBBomR+C8E XVTP98/hemph7WqXE60vkVaL6uOCtPCKXxwL0KNvAaBitwbc7eCK8zixL6js9idFg5M7 vkPpW4ef9I6QSc5x949RYXUZ75JiXYfhoXssbKvXz0dBr/a1OgVwu1Fh6QJBluAn1nw3 hM83pOBvgJdiR4zkcmTZ/KbDkvPO4n4NFycJ/fwMwFkAca8piH+8nG4Ido1veK56n08y N/yA== X-Gm-Message-State: APjAAAVTrglSKIldHJpk6BIjDgTvtLfE/6milh12vDAvZWriZd/YhCo+ NN8bQsa/iQzsHWoL0euPGMzixA== X-Received: by 2002:a17:90a:2488:: with SMTP id i8mr23689463pje.123.1561375467383; Mon, 24 Jun 2019 04:24:27 -0700 (PDT) Received: from buildserver-90.open-silicon.com ([114.143.65.226]) by smtp.googlemail.com with ESMTPSA id b24sm10635119pfd.98.2019.06.24.04.24.22 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 24 Jun 2019 04:24:26 -0700 (PDT) From: Yash Shah To: robh+dt@kernel.org, paul.walmsley@sifive.com, devicetree@vger.kernel.org, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org Cc: mark.rutland@arm.com, palmer@sifive.com, aou@eecs.berkeley.edu, sachin.ghadi@sifive.com, Yash Shah Subject: [PATCH] riscv: dts: Re-organize SPI DT nodes Date: Mon, 24 Jun 2019 16:54:13 +0530 Message-Id: <1561375453-3135-1-git-send-email-yash.shah@sifive.com> X-Mailer: git-send-email 1.9.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org As per the General convention, define only device DT node in SOC DTSi file with status = "disabled" and enable device in Board DTS file with status = "okay" Reported-by: Anup Patel Signed-off-by: Yash Shah --- arch/riscv/boot/dts/sifive/fu540-c000.dtsi | 3 +++ arch/riscv/boot/dts/sifive/hifive-unleashed-a00.dts | 1 + 2 files changed, 4 insertions(+) diff --git a/arch/riscv/boot/dts/sifive/fu540-c000.dtsi b/arch/riscv/boot/dts/sifive/fu540-c000.dtsi index 4e8fbde..270f6e8 100644 --- a/arch/riscv/boot/dts/sifive/fu540-c000.dtsi +++ b/arch/riscv/boot/dts/sifive/fu540-c000.dtsi @@ -203,6 +203,7 @@ interrupt-parent = <&plic0>; interrupts = <51>; clocks = <&prci PRCI_CLK_TLCLK>; + status = "disabled"; #address-cells = <1>; #size-cells = <0>; }; @@ -213,6 +214,7 @@ interrupt-parent = <&plic0>; interrupts = <52>; clocks = <&prci PRCI_CLK_TLCLK>; + status = "disabled"; #address-cells = <1>; #size-cells = <0>; }; @@ -222,6 +224,7 @@ interrupt-parent = <&plic0>; interrupts = <6>; clocks = <&prci PRCI_CLK_TLCLK>; + status = "disabled"; #address-cells = <1>; #size-cells = <0>; }; diff --git a/arch/riscv/boot/dts/sifive/hifive-unleashed-a00.dts b/arch/riscv/boot/dts/sifive/hifive-unleashed-a00.dts index 4da8870..73e2af6 100644 --- a/arch/riscv/boot/dts/sifive/hifive-unleashed-a00.dts +++ b/arch/riscv/boot/dts/sifive/hifive-unleashed-a00.dts @@ -43,6 +43,7 @@ }; &qspi0 { + status = "okay"; flash@0 { compatible = "issi,is25wp256", "jedec,spi-nor"; reg = <0>; -- 1.9.1