]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
powerpc: dts: t2080qds: add espi slave nodes support
authorChuanhua Han <chuanhua.han@nxp.com>
Thu, 4 Jun 2020 15:16:32 +0000 (23:16 +0800)
committerTom Rini <trini@konsulko.com>
Thu, 24 Sep 2020 12:27:44 +0000 (08:27 -0400)
Add espi slave nodes  to support t2080qds.

Signed-off-by: Chuanhua Han <chuanhua.han@nxp.com>
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/t2080qds.dts

index 1819a081dd6d71af07a70079c75e20be433750cd..f9e786b2395fe4ad65a75031c6cc2c8f60174289 100644 (file)
        #address-cells = <2>;
        #size-cells = <2>;
        interrupt-parent = <&mpic>;
+
+       aliases {
+               spi0 = &espi0;
+       };
+};
+
+&espi0 {
+
+       status = "okay";
+       flash@0 {
+               #address-cells = <1>;
+               #size-cells = <1>;
+               compatible = "micron,n25q128a11", "jedec,spi-nor"; /* 16MB */
+               reg = <0>;
+               spi-max-frequency = <10000000>;
+       };
+
+       flash@1 {
+               #address-cells = <1>;
+               #size-cells = <1>;
+               compatible = "sst,sst25wf040", "jedec,spi-nor";
+               reg = <1>;
+               spi-max-frequency = <10000000>;
+       };
+
+       flash@2 {
+               #address-cells = <1>;
+               #size-cells = <1>;
+               compatible = "eon,en25s64", "jedec,spi-nor";
+               reg = <2>;
+               spi-max-frequency = <10000000>;
+       };
+
 };