ath79: move dts-v1 statement to ath79.dtsi
[openwrt/openwrt.git] / target / linux / ath79 / dts / qca9558_comfast_cf-wr650ac-v2.dts
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2
3 #include "qca9558_comfast_cf-wr650ac.dtsi"
4
5 / {
6 compatible = "comfast,cf-wr650ac-v2", "qca,qca9558";
7 model = "Comfast CF-WR650AC v2";
8
9 leds {
10 compatible = "gpio-leds";
11
12 wps {
13 label = "cf-wr650ac-v2:blue:wps";
14 gpios = <&gpio 20 GPIO_ACTIVE_LOW>;
15 };
16
17 network {
18 label = "cf-wr650ac-v2:blue:network";
19 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
20 };
21
22 wlan2g {
23 label = "cf-wr650ac-v2:blue:wlan2";
24 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
25 linux,default-trigger = "phy1tpt";
26 };
27
28 wlan5g {
29 label = "cf-wr650ac-v2:blue:wlan5";
30 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
31 linux,default-trigger = "phy0tpt";
32 };
33 };
34 };
35
36 &spi {
37 status = "okay";
38 num-cs = <1>;
39
40 flash@0 {
41 compatible = "jedec,spi-nor";
42 reg = <0>;
43 spi-max-frequency = <25000000>;
44
45 partitions {
46 compatible = "fixed-partitions";
47 #address-cells = <1>;
48 #size-cells = <1>;
49
50 partition@0 {
51 label = "u-boot";
52 reg = <0x000000 0x040000>;
53 read-only;
54 };
55
56 art: partition@40000 {
57 label = "art";
58 reg = <0x040000 0x010000>;
59 read-only;
60 };
61
62 partition@50000 {
63 label = "firmware";
64 compatible = "denx,uimage";
65 reg = <0x050000 0xfa0000>;
66 };
67
68 partition@ff0000 {
69 label = "nvram";
70 reg = <0xff0000 0x010000>;
71 read-only;
72 };
73 };
74 };
75 };