diff options
author | Alexander Shiyan <shc_work@mail.ru> | 2014-03-16 12:27:24 +0400 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2014-03-17 08:05:27 +0100 |
commit | 298e521b4473e623ad4a742af6e3ec98dabd671f (patch) | |
tree | 91c8704ffa7ad6bcb076f285203fd7403daa489e /arch/arm/dts/imx27-phytec-phycard-s-rdk-bb.dts | |
parent | d2bd14784733586618dbd200e93cbc7dbbb05e89 (diff) | |
download | barebox-298e521b4473e623ad4a742af6e3ec98dabd671f.tar.gz barebox-298e521b4473e623ad4a742af6e3ec98dabd671f.tar.xz |
ARM: i.MX27: dts: Separate barebox-specific DT changes
To ease DT import from Linux, which is still maintained in-tree, we
separate barebox-specific changes by including the original dts in
a separate DT file. This allows to overlay modifications and keep
clean DT history. Additionally, this patch updates i.MX27 DTS tree.
Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/dts/imx27-phytec-phycard-s-rdk-bb.dts')
-rw-r--r-- | arch/arm/dts/imx27-phytec-phycard-s-rdk-bb.dts | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/arch/arm/dts/imx27-phytec-phycard-s-rdk-bb.dts b/arch/arm/dts/imx27-phytec-phycard-s-rdk-bb.dts new file mode 100644 index 0000000000..cecfc5a827 --- /dev/null +++ b/arch/arm/dts/imx27-phytec-phycard-s-rdk-bb.dts @@ -0,0 +1,38 @@ +/* + * Barebox specific DT overlay for Phytec PCA100 RDK + */ + +#include "imx27-phytec-phycard-s-rdk.dts" + +/ { + chosen { + linux,stdout-path = &uart1; + + environment@0 { + compatible = "barebox,environment"; + device-path = &nfc, "partname:environment"; + }; + }; +}; + +&nfc { + partition@0 { + label = "boot"; + reg = <0x0 0x80000>; + }; + + partition@1 { + label = "environment"; + reg = <0x80000 0x80000>; + }; + + partition@2 { + label = "kernel"; + reg = <0x100000 0x400000>; + }; + + partition@3 { + label = "root"; + reg = <0x500000 0x7b00000>; + }; +}; |