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