From: Christian Hemp <c.hemp@phytec.de>
To: barebox@lists.infradead.org
Subject: [PATCH 09/10] dts:imx6:pfla02: Add env node for SPI-NOR and NAND
Date: Fri, 12 Sep 2014 15:33:46 +0200 [thread overview]
Message-ID: <1410528827-12722-9-git-send-email-c.hemp@phytec.de> (raw)
In-Reply-To: <1410528827-12722-1-git-send-email-c.hemp@phytec.de>
Add environment node for NAND and SPI-NOR
Move the environment property to the module file.
Signed-off-by: Christian Hemp <c.hemp@phytec.de>
---
arch/arm/dts/imx6dl-phytec-pbab01.dts | 5 ----
arch/arm/dts/imx6q-phytec-pbab01.dts | 5 ----
arch/arm/dts/imx6qdl-phytec-pbab01.dtsi | 9 --------
arch/arm/dts/imx6qdl-phytec-pfla02.dtsi | 34 +++++++++++++++++++++++++++++++
4 files changed, 34 insertions(+), 19 deletions(-)
diff --git a/arch/arm/dts/imx6dl-phytec-pbab01.dts b/arch/arm/dts/imx6dl-phytec-pbab01.dts
index 0e90c47..4b77838 100644
--- a/arch/arm/dts/imx6dl-phytec-pbab01.dts
+++ b/arch/arm/dts/imx6dl-phytec-pbab01.dts
@@ -20,10 +20,5 @@
chosen {
linux,stdout-path = &uart4;
-
- environment@0 {
- compatible = "barebox,environment";
- device-path = &flash, "partname:barebox-environment";
- };
};
};
diff --git a/arch/arm/dts/imx6q-phytec-pbab01.dts b/arch/arm/dts/imx6q-phytec-pbab01.dts
index 26046e0..580338d 100644
--- a/arch/arm/dts/imx6q-phytec-pbab01.dts
+++ b/arch/arm/dts/imx6q-phytec-pbab01.dts
@@ -19,10 +19,5 @@
chosen {
linux,stdout-path = &uart4;
-
- environment@0 {
- compatible = "barebox,environment";
- device-path = &flash, "partname:barebox-environment";
- };
};
};
diff --git a/arch/arm/dts/imx6qdl-phytec-pbab01.dtsi b/arch/arm/dts/imx6qdl-phytec-pbab01.dtsi
index 7d31123..157e130 100644
--- a/arch/arm/dts/imx6qdl-phytec-pbab01.dtsi
+++ b/arch/arm/dts/imx6qdl-phytec-pbab01.dtsi
@@ -9,15 +9,6 @@
* http://www.gnu.org/copyleft/gpl.html
*/
-/ {
- chosen {
- environment@0 {
- compatible = "barebox,environment";
- device-path = &flash, "partname:barebox-environment";
- };
- };
-};
-
&fec {
status = "okay";
};
diff --git a/arch/arm/dts/imx6qdl-phytec-pfla02.dtsi b/arch/arm/dts/imx6qdl-phytec-pfla02.dtsi
index 4b8e256..5c7bcee 100644
--- a/arch/arm/dts/imx6qdl-phytec-pfla02.dtsi
+++ b/arch/arm/dts/imx6qdl-phytec-pfla02.dtsi
@@ -9,6 +9,28 @@
* http://www.gnu.org/copyleft/gpl.html
*/
+/ {
+ chosen {
+ environment-nand {
+ compatible = "barebox,environment";
+ device-path = &gpmi, "partname:barebox-environment";
+ status = "disabled";
+ };
+
+ environment-spinor {
+ compatible = "barebox,environment";
+ device-path = &flash, "partname:barebox-environment";
+ status = "disabled";
+ };
+
+ environment-sd {
+ compatible = "barebox,environment";
+ device-path = &usdhc3, "partname:barebox-environment";
+ status = "disabled";
+ };
+ };
+};
+
&ecspi3 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_ecspi3>;
@@ -214,4 +236,16 @@
cd-gpios = <&gpio1 27 0>;
wp-gpios = <&gpio1 29 0>;
status = "disabled";
+
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ partition@0 {
+ label = "barebox";
+ reg = <0x0 0x80000>;
+ };
+ partition@1 {
+ label = "barebox-environment";
+ reg = <0x80000 0x80000>;
+ };
};
--
1.7.0.4
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
next prev parent reply other threads:[~2014-09-12 13:34 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-12 13:33 [PATCH 01/10] dts:imx6:pfla02: Add nand partitions Christian Hemp
2014-09-12 13:33 ` [PATCH 02/10] dts:imx6q:pcaaxl3: Add oftree partition to nand Christian Hemp
2014-09-12 13:33 ` [PATCH 03/10] ARM:imx6:phycard: Switch env to defaultenv_append_directory Christian Hemp
2014-09-12 13:33 ` [PATCH 04/10] ARM:imx6:phyflex: Add defaultenv Christian Hemp
2014-09-12 13:33 ` [PATCH 05/10] ARM:imx6:pfla02: Remove redundant code Christian Hemp
2014-09-12 13:33 ` [PATCH 06/10] dts:imx6:pfla02: Remove memory node Christian Hemp
2014-09-12 13:33 ` [PATCH 07/10] dts:imx6:pfla02: move mac read to module Christian Hemp
2014-09-12 13:33 ` [PATCH 08/10] dts:imx6:pfla02:Move spi partitions imx6qdl-phytec-pfla02 Christian Hemp
2014-09-12 13:33 ` Christian Hemp [this message]
2014-09-12 13:33 ` [PATCH 10/10] ARM:phyFLEX-iMX6: Add bootsource detection Christian Hemp
2014-09-15 5:33 ` [PATCH 01/10] dts:imx6:pfla02: Add nand partitions Sascha Hauer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1410528827-12722-9-git-send-email-c.hemp@phytec.de \
--to=c.hemp@phytec.de \
--cc=barebox@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox