diff options
author | Marek BehĂșn <marek.behun@nic.cz> | 2021-06-07 16:34:50 +0200 |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2021-06-10 07:18:06 +0200 |
commit | f2213334004e885aed15d2036f0047d3ce18ef49 (patch) | |
tree | 610a8c436ad91a89b6cac04698b29194c5738a4c | |
parent | 8805647ed0f8c50bc47de4da04e85a62deea20ff (diff) | |
download | u-boot-f2213334004e885aed15d2036f0047d3ce18ef49.tar.gz u-boot-f2213334004e885aed15d2036f0047d3ce18ef49.tar.xz u-boot-f2213334004e885aed15d2036f0047d3ce18ef49.zip |
arm: mvebu: dts: turris_mox: add nodes for SPI NOR partitions
Add nodes for SPI NOR partitions to the device tree of Turris MOX, as
are in Linux' device tree.
Signed-off-by: Marek BehĂșn <marek.behun@nic.cz>
Reviewed-by: Stefan Roese <sr@denx.de>
-rw-r--r-- | arch/arm/dts/armada-3720-turris-mox.dts | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/arch/arm/dts/armada-3720-turris-mox.dts b/arch/arm/dts/armada-3720-turris-mox.dts index 741b0eeeee..f47ced05c5 100644 --- a/arch/arm/dts/armada-3720-turris-mox.dts +++ b/arch/arm/dts/armada-3720-turris-mox.dts @@ -164,6 +164,37 @@ reg = <0>; spi-max-frequency = <20000000>; m25p,fast-read; + + partitions { + compatible = "fixed-partitions"; + #address-cells = <1>; + #size-cells = <1>; + + partition@0 { + label = "secure-firmware"; + reg = <0x0 0x20000>; + }; + + partition@20000 { + label = "a53-firmware"; + reg = <0x20000 0x160000>; + }; + + partition@180000 { + label = "u-boot-env"; + reg = <0x180000 0x10000>; + }; + + partition@190000 { + label = "Rescue system"; + reg = <0x190000 0x660000>; + }; + + partition@7f0000 { + label = "dtb"; + reg = <0x7f0000 0x10000>; + }; + }; }; moxtet@1 { |