aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/lantiq/files/arch/mips/boot/dts/FRITZ3370-REV2.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/FRITZ3370-REV2.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/FRITZ3370-REV2.dtsi')
-rw-r--r--target/linux/lantiq/files/arch/mips/boot/dts/FRITZ3370-REV2.dtsi40
1 files changed, 22 insertions, 18 deletions
diff --git a/target/linux/lantiq/files/arch/mips/boot/dts/FRITZ3370-REV2.dtsi b/target/linux/lantiq/files/arch/mips/boot/dts/FRITZ3370-REV2.dtsi
index aba0d2c81e..7197537490 100644
--- a/target/linux/lantiq/files/arch/mips/boot/dts/FRITZ3370-REV2.dtsi
+++ b/target/linux/lantiq/files/arch/mips/boot/dts/FRITZ3370-REV2.dtsi
@@ -261,28 +261,32 @@
pinctrl-0 = <&pins_spi_default>;
m25p80@4 {
- #address-cells = <1>;
- #size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <4>;
spi-max-frequency = <1000000>;
- urlader: partition@0 {
- reg = <0x0 0x20000>;
- label = "urlader";
- read-only;
- };
-
- partition@20000 {
- reg = <0x20000 0x10000>;
- label = "tffs (1)";
- read-only;
- };
-
- partition@30000 {
- reg = <0x30000 0x10000>;
- label = "tffs (2)";
- read-only;
+ partitions {
+ compatible = "fixed-partitions";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ urlader: partition@0 {
+ reg = <0x0 0x20000>;
+ label = "urlader";
+ read-only;
+ };
+
+ partition@20000 {
+ reg = <0x20000 0x10000>;
+ label = "tffs (1)";
+ read-only;
+ };
+
+ partition@30000 {
+ reg = <0x30000 0x10000>;
+ label = "tffs (2)";
+ read-only;
+ };
};
};
};