gemini: Bump to kernel v6.6
[openwrt/openwrt.git] / target / linux / ath79 / dts / qca9531_comfast_cf-e5.dts
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2
3 #include "qca953x.dtsi"
4
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
7
8 / {
9 compatible = "comfast,cf-e5", "qca,qca9531";
10 model = "COMFAST CF-E5/E7";
11
12 aliases {
13 label-mac-device = &eth0;
14 };
15
16 keys {
17 compatible = "gpio-keys";
18
19 reset {
20 label = "reset";
21 linux,code = <KEY_RESTART>;
22 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
23 };
24 };
25
26 leds {
27 compatible = "gpio-leds";
28 pinctrl-names = "default";
29 pinctrl-0 = <&jtag_disable_pins &led_wan_pin>;
30
31 wan {
32 label = "blue:wan";
33 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
34 };
35
36 lan {
37 label = "blue:lan";
38 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
39 };
40
41 wlan {
42 label = "blue:wlan";
43 gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
44 linux,default-trigger = "phy0tpt";
45 };
46
47 rssi0 {
48 label = "blue:rssi0";
49 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
50 };
51
52 rssi1 {
53 label = "blue:rssi1";
54 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
55 };
56
57 rssi2 {
58 label = "blue:rssi2";
59 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
60 };
61 };
62 };
63
64 &usb0 {
65 #address-cells = <1>;
66 #size-cells = <0>;
67 status = "okay";
68
69 hub_port: port@1 {
70 reg = <1>;
71 #trigger-source-cells = <0>;
72 };
73 };
74
75 &usb_phy {
76 status = "okay";
77 };
78
79 &spi {
80 status = "okay";
81
82 flash@0 {
83 compatible = "jedec,spi-nor";
84 reg = <0>;
85 spi-max-frequency = <25000000>;
86
87 partitions {
88 compatible = "fixed-partitions";
89 #address-cells = <1>;
90 #size-cells = <1>;
91
92 partition@0 {
93 label = "u-boot";
94 reg = <0x000000 0x010000>;
95 read-only;
96 };
97
98 art: partition@10000 {
99 label = "art";
100 reg = <0x010000 0x010000>;
101 read-only;
102 };
103
104 partition@20000 {
105 compatible = "denx,uimage";
106 label = "firmware";
107 reg = <0x020000 0xfd0000>;
108 };
109
110 partition@ff0000 {
111 label = "art-backup";
112 reg = <0xff0000 0x010000>;
113 read-only;
114 };
115 };
116 };
117 };
118
119 &eth0 {
120 status = "okay";
121
122 phy-handle = <&swphy4>;
123
124 mtd-mac-address = <&art 0x0>;
125 };
126
127 &eth1 {
128 mtd-mac-address = <&art 0x6>;
129 };
130
131 &wmac {
132 status = "okay";
133
134 mtd-cal-data = <&art 0x1000>;
135 };
136
137 &pinmux {
138 led_wan_pin: pinmux_led_wan_pin {
139 pinctrl-single,bits = <0x4 0x0 0xff>;
140 };
141 };