diff options
author | Hou Zhiqiang <Zhiqiang.Hou@nxp.com> | 2020-06-04 23:17:04 +0800 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2020-09-24 08:27:44 -0400 |
commit | 3f8e7315998021acf0ff7d6fd93bc6f7a27e1837 (patch) | |
tree | bae171cd6f376fa4188ae62f6b22baec55a85c92 | |
parent | 04b3821b812a99b9ce5af3d15a53e784b87d73dd (diff) | |
download | u-boot-3f8e7315998021acf0ff7d6fd93bc6f7a27e1837.zip u-boot-3f8e7315998021acf0ff7d6fd93bc6f7a27e1837.tar.gz u-boot-3f8e7315998021acf0ff7d6fd93bc6f7a27e1837.tar.bz2 |
dts: P1010RDB: Add eSPI slave DT nodes
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>
-rw-r--r-- | arch/powerpc/dts/p1010rdb-pa.dts | 1 | ||||
-rw-r--r-- | arch/powerpc/dts/p1010rdb-pa_36b.dts | 1 | ||||
-rw-r--r-- | arch/powerpc/dts/p1010rdb.dtsi | 17 |
3 files changed, 19 insertions, 0 deletions
diff --git a/arch/powerpc/dts/p1010rdb-pa.dts b/arch/powerpc/dts/p1010rdb-pa.dts index c66c492..360d254 100644 --- a/arch/powerpc/dts/p1010rdb-pa.dts +++ b/arch/powerpc/dts/p1010rdb-pa.dts @@ -15,3 +15,4 @@ }; /include/ "p1010si-post.dtsi" +/include/ "p1010rdb.dtsi" diff --git a/arch/powerpc/dts/p1010rdb-pa_36b.dts b/arch/powerpc/dts/p1010rdb-pa_36b.dts index b943de7..062086a 100644 --- a/arch/powerpc/dts/p1010rdb-pa_36b.dts +++ b/arch/powerpc/dts/p1010rdb-pa_36b.dts @@ -15,3 +15,4 @@ }; /include/ "p1010si-post.dtsi" +/include/ "p1010rdb.dtsi" diff --git a/arch/powerpc/dts/p1010rdb.dtsi b/arch/powerpc/dts/p1010rdb.dtsi index 4f58ee2..20bd570 100644 --- a/arch/powerpc/dts/p1010rdb.dtsi +++ b/arch/powerpc/dts/p1010rdb.dtsi @@ -4,6 +4,12 @@ * * Copyright 2020 NXP */ +/ { + aliases { + spi0 = &espi0; + }; +}; + &soc { i2c@3000 { rtc@68 { @@ -11,4 +17,15 @@ 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 */ + }; + }; }; |