[PATCH 5/9] powerpc: dts: p2020: Do not automatically disable spi at 7000 node in p2020-post.dtsi

Pali Rohár pali at kernel.org
Fri Apr 8 14:39:54 CEST 2022


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 at 7000 node disabled.

Signed-off-by: Pali Rohár <pali at 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 at 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 at 0 {
 		compatible = "jedec,spi-nor";
 		#address-cells = <1>;
-- 
2.20.1



More information about the U-Boot mailing list