]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
dts: P1020RDB: Add ESPI slave device node
authorXiaowei Bao <xiaowei.bao@nxp.com>
Thu, 4 Jun 2020 15:16:35 +0000 (23:16 +0800)
committerTom Rini <trini@konsulko.com>
Thu, 24 Sep 2020 12:27:44 +0000 (08:27 -0400)
Add ESPI slave node for P1020RDB.

Signed-off-by: Xiaowei Bao <xiaowei.bao@nxp.com>
Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
arch/powerpc/dts/p1020rdb-pc.dts
arch/powerpc/dts/p1020rdb-pc_36b.dts
arch/powerpc/dts/p1020rdb-pd.dts

index 7ebaa619df4a9964222fd3884108938038548532..4193af10c9e1ca47e35e6c141566bfc98b2e82a5 100644 (file)
                ranges = <0x01000000 0x0 0x00000000 0x0 0xffc00000 0x0 0x00010000   /* downstream I/O */
                          0x02000000 0x0 0x80000000 0x0 0x80000000 0x0 0x20000000>; /* non-prefetchable memory */
        };
+
+       aliases {
+               spi0 = &espi0;
+       };
 };
 
 /include/ "p1020-post.dtsi"
+
+&espi0 {
+       status = "okay";
+       flash@0 {
+               compatible = "jedec,spi-nor";
+               #address-cells = <1>;
+               #size-cells = <1>;
+               reg = <0>;
+               spi-max-frequency = <10000000>; /* input clock */
+       };
+};
index c0e5ef4cf42fc0025d34c85d2072768c764b39a6..5a20e60d961fc4d42f8379f2699aee85e59a8aee 100644 (file)
                ranges = <0x01000000 0x0 0x00000000 0xf 0xffc00000 0x0 0x00010000   /* downstream I/O */
                          0x02000000 0x0 0x80000000 0xc 0x00000000 0x0 0x20000000>; /* non-prefetchable memory */
        };
+
+       aliases {
+               spi0 = &espi0;
+       };
 };
 
 /include/ "p1020-post.dtsi"
+
+&espi0 {
+       status = "okay";
+       flash@0 {
+               compatible = "jedec,spi-nor";
+               #address-cells = <1>;
+               #size-cells = <1>;
+               reg = <0>;
+               spi-max-frequency = <10000000>; /* input clock */
+       };
+};
index 21174a09be550abd5d844192177e0644930b5a3b..6e319f0ef0c34b298607b973c3509ba2830110ca 100644 (file)
                ranges = <0x01000000 0x0 0x00000000 0x0 0xffc00000 0x0 0x00010000   /* downstream I/O */
                          0x02000000 0x0 0x80000000 0x0 0x80000000 0x0 0x20000000>; /* non-prefetchable memory */
        };
+
+       aliases {
+               spi0 = &espi0;
+       };
 };
 
 /include/ "p1020-post.dtsi"
+
+&espi0 {
+       status = "okay";
+       flash@0 {
+               compatible = "jedec,spi-nor";
+               #address-cells = <1>;
+               #size-cells = <1>;
+               reg = <0>;
+               spi-max-frequency = <10000000>; /* input clock */
+       };
+};