ath79: add support for GL.iNet 6408/6416 (GL.iNet V1)
[openwrt/openwrt.git] / target / linux / ath79 / dts / ar9331_glinet_6408.dts
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2 /dts-v1/;
3
4 #include "ar9331_glinet_64xx.dtsi"
5
6 / {
7 model = "GL.iNet 6408";
8 compatible = "glinet,6408", "qca,ar9331";
9 };
10
11 &spi {
12 status = "okay";
13
14 num-cs = <1>;
15
16 flash@0 {
17 compatible = "jedec,spi-nor";
18 reg = <0>;
19 spi-max-frequency = <25000000>;
20
21 partitions {
22 compatible = "fixed-partitions";
23 #address-cells = <1>;
24 #size-cells = <1>;
25
26 uboot: partition@0 {
27 reg = <0x0 0x20000>;
28 label = "u-boot";
29 read-only;
30 };
31
32 partition@20000 {
33 compatible = "tplink,firmware";
34 reg = <0x20000 0x7d0000>;
35 label = "firmware";
36 };
37
38 art: partition@7f0000 {
39 reg = <0x7f0000 0x10000>;
40 label = "art";
41 read-only;
42 };
43 };
44 };
45 };