From: "Pali Rohár" <pali@kernel.org>
To: Priyanka Jain <priyanka.jain@nxp.com>, Wolfgang Denk <wd@denx.de>,
Sinan Akman <sinan@writeme.com>
Cc: u-boot@lists.denx.de
Subject: [PATCH 5/9] powerpc: dts: p2020: Do not automatically disable spi@7000 node in p2020-post.dtsi
Date: Fri, 8 Apr 2022 14:39:54 +0200 [thread overview]
Message-ID: <20220408123958.25724-6-pali@kernel.org> (raw)
In-Reply-To: <20220408123958.25724-1-pali@kernel.org>
Device tree include file p2020-post.dtsi should be included after the board
device tree file and overrides settings of the board. So it should not
disable some node as board cannot enable it via normal way (it has to
enable it after inclusion of p2020-post.dtsi file).
Fix it by removal of explicit disable in p2020-post.dtsi file and then
remove explicit post-post enable in all P2020 board device tree files.
Currently no P2020 board has spi@7000 node disabled.
Signed-off-by: Pali Rohár <pali@kernel.org>
---
arch/powerpc/dts/p2020-post.dtsi | 1 -
arch/powerpc/dts/p2020rdb-pc.dts | 1 -
arch/powerpc/dts/p2020rdb-pc_36b.dts | 1 -
3 files changed, 3 deletions(-)
diff --git a/arch/powerpc/dts/p2020-post.dtsi b/arch/powerpc/dts/p2020-post.dtsi
index d15597394048..248b504b8fc4 100644
--- a/arch/powerpc/dts/p2020-post.dtsi
+++ b/arch/powerpc/dts/p2020-post.dtsi
@@ -45,7 +45,6 @@
#size-cells = <0>;
reg = <0x7000 0x1000>;
fsl,espi-num-chipselects = <4>;
- status = "disabled";
};
/include/ "pq3-i2c-0.dtsi"
diff --git a/arch/powerpc/dts/p2020rdb-pc.dts b/arch/powerpc/dts/p2020rdb-pc.dts
index 67fa340d09d0..84d32360baa5 100644
--- a/arch/powerpc/dts/p2020rdb-pc.dts
+++ b/arch/powerpc/dts/p2020rdb-pc.dts
@@ -49,7 +49,6 @@
/include/ "p2020-post.dtsi"
&espi0 {
- status = "okay";
flash@0 {
compatible = "jedec,spi-nor";
#address-cells = <1>;
diff --git a/arch/powerpc/dts/p2020rdb-pc_36b.dts b/arch/powerpc/dts/p2020rdb-pc_36b.dts
index 6f2519600313..c847417df99c 100644
--- a/arch/powerpc/dts/p2020rdb-pc_36b.dts
+++ b/arch/powerpc/dts/p2020rdb-pc_36b.dts
@@ -49,7 +49,6 @@
/include/ "p2020-post.dtsi"
&espi0 {
- status = "okay";
flash@0 {
compatible = "jedec,spi-nor";
#address-cells = <1>;
--
2.20.1
next prev parent reply other threads:[~2022-04-08 12:42 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-08 12:39 [PATCH 0/9] powerpc: dts: p2020: Linux compatibility Pali Rohár
2022-04-08 12:39 ` [PATCH 1/9] powerpc: dts: p2020: Add gpio-controller@fc00 node via pq3-gpio-0.dtsi Pali Rohár
2022-04-08 12:39 ` [PATCH 2/9] powerpc: dts: p2020: Make PCIe nodes compatible for Linux kernel driver Pali Rohár
2022-04-08 12:39 ` [PATCH 3/9] powerpc: dts: p2020: Add ptp_clock@24e00 node via pq3-etsec1-timer-0.dtsi Pali Rohár
2022-04-08 12:39 ` [PATCH 4/9] powerpc: dts: p2020: Add Linux compatible string and property for eSDHC Pali Rohár
2022-04-08 12:39 ` Pali Rohár [this message]
2022-04-08 12:39 ` [PATCH 6/9] powerpc: dts: p2020: Add missing interrupts property to spi@7000 node Pali Rohár
2022-04-08 12:39 ` [PATCH 7/9] powerpc: dts: p2020: Make usb@22000 node compatible for Linux kernel driver Pali Rohár
2022-04-08 12:39 ` [PATCH 8/9] powerpc: dts: p2020: Define L2 cache node Pali Rohár
2022-04-08 12:39 ` [PATCH 9/9] powerpc: dts: p2020: Set dfsrr property for i2c nodes Pali Rohár
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220408123958.25724-6-pali@kernel.org \
--to=pali@kernel.org \
--cc=priyanka.jain@nxp.com \
--cc=sinan@writeme.com \
--cc=u-boot@lists.denx.de \
--cc=wd@denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox