summaryrefslogtreecommitdiffstats
path: root/arch/arm/dts/at91-sama5d27_som1_ek.dts
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/dts/at91-sama5d27_som1_ek.dts')
-rw-r--r--arch/arm/dts/at91-sama5d27_som1_ek.dts49
1 files changed, 35 insertions, 14 deletions
diff --git a/arch/arm/dts/at91-sama5d27_som1_ek.dts b/arch/arm/dts/at91-sama5d27_som1_ek.dts
index 936f07eac4..44e6305449 100644
--- a/arch/arm/dts/at91-sama5d27_som1_ek.dts
+++ b/arch/arm/dts/at91-sama5d27_som1_ek.dts
@@ -3,34 +3,55 @@
* Copyright (C) 2019 Oleksij Rempel - Pengutronix
*/
-#include <arm/at91-sama5d27_som1_ek.dts>
+#include <arm/microchip/at91-sama5d27_som1_ek.dts>
+#include "at91-sama5d27_som1.dtsi"
/ {
chosen {
- environment {
+ environment-qspi {
compatible = "barebox,environment";
device-path = &barebox_env;
+ status = "disabled";
+ };
+
+ environment-sd {
+ compatible = "barebox,environment";
+ device-path = &sdmmc0;
+ file-path = "barebox.env";
+ status = "disabled";
};
- };
- memory {
- reg = <0x20000000 0x8000000>;
+ environment-microsd {
+ compatible = "barebox,environment";
+ device-path = &sdmmc1;
+ file-path = "barebox.env";
+ status = "disabled";
+ };
};
};
+/delete-node/ &{qspi1/flash@0};
&qspi1 {
flash@0 {
- #address-cells = <1>;
- #size-cells = <1>;
+ compatible = "jedec,spi-nor";
+ reg = <0>;
+ spi-max-frequency = <80000000>;
+ m25p,fast-read;
- partition@0 {
- label = "barebox";
- reg = <0x0 0x80000>;
- };
+ partitions {
+ compatible = "fixed-partitions";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ barebox@40000 {
+ label = "barebox";
+ reg = <0x40000 0xc0000>;
+ };
- barebox_env: partition@80000 {
- label = "barebox-environment";
- reg = <0x80000 0x80000>;
+ barebox_env: barebox-env@100000 {
+ label = "barebox-environment";
+ reg = <0x100000 0x40000>;
+ };
};
};
};