powerpc: dts: p2020: Do not automatically disable spi@7000 node in p2020-post.dtsi
authorPali Rohár <pali@kernel.org>
Fri, 8 Apr 2022 12:39:54 +0000 (14:39 +0200)
committerPriyanka Jain <priyanka.jain@nxp.com>
Tue, 26 Apr 2022 11:48:39 +0000 (17:18 +0530)
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>
Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
arch/powerpc/dts/p2020-post.dtsi
arch/powerpc/dts/p2020rdb-pc.dts
arch/powerpc/dts/p2020rdb-pc_36b.dts

index d155973..248b504 100644 (file)
@@ -45,7 +45,6 @@
                #size-cells = <0>;
                reg = <0x7000 0x1000>;
                fsl,espi-num-chipselects = <4>;
-               status = "disabled";
        };
 
 /include/ "pq3-i2c-0.dtsi"
index 67fa340..84d3236 100644 (file)
@@ -49,7 +49,6 @@
 /include/ "p2020-post.dtsi"
 
 &espi0 {
-       status = "okay";
        flash@0 {
                compatible = "jedec,spi-nor";
                #address-cells = <1>;
index 6f25196..c847417 100644 (file)
@@ -49,7 +49,6 @@
 /include/ "p2020-post.dtsi"
 
 &espi0 {
-       status = "okay";
        flash@0 {
                compatible = "jedec,spi-nor";
                #address-cells = <1>;