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