]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
dts: T2080RDB: Add ESPI slave device node
authorXiaowei Bao <xiaowei.bao@nxp.com>
Thu, 4 Jun 2020 15:16:58 +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 T2080RDB.

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/t2080rdb.dts

index 49c1765b299e5aa2ef22ca3e52e2e5f810cfde8d..34ec6a74cb1d0a8cb50c00cb94cc104f46002d04 100644 (file)
        #address-cells = <2>;
        #size-cells = <2>;
        interrupt-parent = <&mpic>;
+
+       aliases {
+               spi0 = &espi0;
+       };
+};
+
+&espi0 {
+       status = "okay";
+       flash@0 {
+               compatible = "jedec,spi-nor"; /* 16MB */
+               #address-cells = <1>;
+               #size-cells = <1>;
+               reg = <0>;
+               spi-max-frequency = <10000000>; /* input clock */
+       };
 };