ath79: fix nanobeam ac ethernet interface
[openwrt/openwrt.git] / target / linux / ath79 / dts / qca9531_glinet_gl-ar300m-nand.dts
index 26c30f2b72b31d3bd80dfa08082d7bd031916e99..e08f66bf2a93b8bc32185cd77f2f7db359af0ab3 100644 (file)
@@ -1,4 +1,4 @@
-/dts-v1/;
+// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
 
 #include "qca9531_glinet_gl-ar300m.dtsi"
 
@@ -7,28 +7,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";
 };