aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ath79/dts/qca9531_glinet_gl-ar300m-nand.dts
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ath79/dts/qca9531_glinet_gl-ar300m-nand.dts')
-rw-r--r--target/linux/ath79/dts/qca9531_glinet_gl-ar300m-nand.dts30
1 files changed, 7 insertions, 23 deletions
diff --git a/target/linux/ath79/dts/qca9531_glinet_gl-ar300m-nand.dts b/target/linux/ath79/dts/qca9531_glinet_gl-ar300m-nand.dts
index 26c30f2b72..00f9f5c82d 100644
--- a/target/linux/ath79/dts/qca9531_glinet_gl-ar300m-nand.dts
+++ b/target/linux/ath79/dts/qca9531_glinet_gl-ar300m-nand.dts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
+
/dts-v1/;
#include "qca9531_glinet_gl-ar300m.dtsi"
@@ -7,28 +9,10 @@
model = "GL.iNet GL-AR300M (NAND)";
};
-&spi {
- num-cs = <1>;
-
- flash@1 {
- compatible = "spinand,mt29f";
- reg = <1>;
- spi-max-frequency = <25000000>;
-
- partitions {
- compatible = "fixed-partitions";
- #address-cells = <1>;
- #size-cells = <1>;
-
- partition@0 {
- label = "kernel";
- reg = <0x000000 0x0200000>;
- };
+&nand_kernel {
+ label = "kernel";
+};
- partition@1 {
- label = "ubi";
- reg = <0x200000 0x7e00000>;
- };
- };
- };
+&nand_ubi {
+ label = "ubi";
};