aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/lantiq/files/arch/mips/boot/dts/falcon-sflash-16M.dtsi
diff options
context:
space:
mode:
authorMathias Kresin <dev@kresin.me>2019-01-27 14:05:38 +0100
committerMathias Kresin <dev@kresin.me>2019-07-07 11:17:27 +0200
commit2ec59c173f228911ed4038a757df1bad8147f6a5 (patch)
tree03a66315e25b403ea1769834f7aeb61d13a5bb9c /target/linux/lantiq/files/arch/mips/boot/dts/falcon-sflash-16M.dtsi
parent7685ed59c53b3d4d410f990ba8164833278b9fa8 (diff)
downloadupstream-2ec59c173f228911ed4038a757df1bad8147f6a5.tar.gz
upstream-2ec59c173f228911ed4038a757df1bad8147f6a5.tar.bz2
upstream-2ec59c173f228911ed4038a757df1bad8147f6a5.zip
lantiq: dts: move partitions into partition node
Signed-off-by: Mathias Kresin <dev@kresin.me>
Diffstat (limited to 'target/linux/lantiq/files/arch/mips/boot/dts/falcon-sflash-16M.dtsi')
-rw-r--r--target/linux/lantiq/files/arch/mips/boot/dts/falcon-sflash-16M.dtsi40
1 files changed, 22 insertions, 18 deletions
diff --git a/target/linux/lantiq/files/arch/mips/boot/dts/falcon-sflash-16M.dtsi b/target/linux/lantiq/files/arch/mips/boot/dts/falcon-sflash-16M.dtsi
index d95acc21ef..626b964507 100644
--- a/target/linux/lantiq/files/arch/mips/boot/dts/falcon-sflash-16M.dtsi
+++ b/target/linux/lantiq/files/arch/mips/boot/dts/falcon-sflash-16M.dtsi
@@ -5,33 +5,37 @@
compatible = "lantiq,sflash-falcon", "simple-bus";
flash@0 {
- #address-cells = <1>;
- #size-cells = <1>;
compatible = "spansion,s25fl129p0", "spansion,s25fl129p1";
reg = <0 0>;
linux,mtd-name = "sflash";
spi-max-frequency = <80000000>;
m25p,fast-read;
- partition@0 {
- reg = <0x0 0x40000>;
- label = "uboot";
- read-only;
- };
+ partitions {
+ compatible = "fixed-partitions";
+ #address-cells = <1>;
+ #size-cells = <1>;
- partition@40000 {
- reg = <0x40000 0x80000>;
- label = "uboot_env";
- };
+ partition@0 {
+ reg = <0x0 0x40000>;
+ label = "uboot";
+ read-only;
+ };
- partition@C0000 {
- reg = <0xC0000 0x740000>;
- label = "image0";
- };
+ partition@40000 {
+ reg = <0x40000 0x80000>;
+ label = "uboot_env";
+ };
+
+ partition@C0000 {
+ reg = <0xC0000 0x740000>;
+ label = "image0";
+ };
- partition@800000 {
- reg = <0x800000 0x800000>;
- label = "image1";
+ partition@800000 {
+ reg = <0x800000 0x800000>;
+ label = "image1";
+ };
};
};
};