Add DT nodes for eSPI slave device SPI flash.
Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
};
/include/ "p1010si-post.dtsi"
+/include/ "p1010rdb.dtsi"
};
/include/ "p1010si-post.dtsi"
+/include/ "p1010rdb.dtsi"
*
* Copyright 2020 NXP
*/
+/ {
+ aliases {
+ spi0 = &espi0;
+ };
+};
+
&soc {
i2c@3000 {
rtc@68 {
reg = <0x68>;
};
};
+
+ spi@7000 {
+ status = "okay";
+ flash@0 {
+ compatible = "jedec,spi-nor";
+ #address-cells = <1>;
+ #size-cells = <1>;
+ reg = <0>;
+ spi-max-frequency = <10000000>; /* input clock */
+ };
+ };
};