]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
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 d155973940482851b079b1d17b5b0393be7e4b0c..248b504b8fc4e4cd2e3157a3b03c83cc486c04ec 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 67fa340d09d0626f0ebca9608e75092bc5417bbb..84d32360baa53216d80b122bd1f108eada8ef512 100644 (file)
@@ -49,7 +49,6 @@
 /include/ "p2020-post.dtsi"
 
 &espi0 {
-       status = "okay";
        flash@0 {
                compatible = "jedec,spi-nor";
                #address-cells = <1>;
index 6f251960031322403006a454a173f7d6f56eb8a4..c847417df99cea479464db159f049a57150acb01 100644 (file)
@@ -49,7 +49,6 @@
 /include/ "p2020-post.dtsi"
 
 &espi0 {
-       status = "okay";
        flash@0 {
                compatible = "jedec,spi-nor";
                #address-cells = <1>;