diff options
author | Andrey Smirnov <andrew.smirnov@gmail.com> | 2020-03-31 11:47:21 -0700 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2020-04-03 08:21:28 +0200 |
commit | 75abcc0e861fc12272b1b197b4a00c6166f049b9 (patch) | |
tree | 85499bf46bb53bf14ca08891b973066bb05f4e30 | |
parent | e703c4fc73087c79617c0bbd13a87cfa3b1668fa (diff) | |
download | barebox-75abcc0e861fc12272b1b197b4a00c6166f049b9.tar.gz barebox-75abcc0e861fc12272b1b197b4a00c6166f049b9.tar.xz |
ARM: zii-imx7d-rmu2: Add SPI NOR partition info
Add SPI NOR partition info necessary for SPI BBU target to work.
Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r-- | arch/arm/dts/imx7d-zii-rmu2.dts | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/arch/arm/dts/imx7d-zii-rmu2.dts b/arch/arm/dts/imx7d-zii-rmu2.dts index de330c4132..7bb0ab2640 100644 --- a/arch/arm/dts/imx7d-zii-rmu2.dts +++ b/arch/arm/dts/imx7d-zii-rmu2.dts @@ -6,3 +6,20 @@ #include <arm/imx7d-zii-rmu2.dts> #include "imx7d-ddrc.dtsi" + +&ecspi1 { + nor_flash: flash@0 { + #address-cells = <1>; + #size-cells = <1>; + + partition@0 { + label = "barebox"; + reg = <0x0 0xc0000>; + }; + + partition@c0000 { + label = "barebox-environment"; + reg = <0xc0000 0x40000>; + }; + }; +}; |