ath79: drop num-cs for SPI controller
[openwrt/openwrt.git] / target / linux / ath79 / dts / ar9341_tplink_tl-wr841-v8.dts
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2
3 #include "ar9341_tplink.dtsi"
4
5 / {
6 model = "TP-Link TL-WR841N/ND v8";
7 compatible = "tplink,tl-wr841-v8", "qca,ar9341";
8
9 keys {
10 compatible = "gpio-keys";
11
12 rfkill {
13 label = "WiFi";
14 linux,code = <KEY_RFKILL>;
15 linux,input-type = <EV_SW>;
16 gpios = <&gpio 16 GPIO_ACTIVE_HIGH>;
17 debounce-interval = <60>;
18 };
19
20 reset {
21 label = "Reset";
22 linux,code = <KEY_RESTART>;
23 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
24 debounce-interval = <60>;
25 };
26 };
27 };
28
29 &spi {
30 status = "okay";
31
32 flash@0 {
33 compatible = "jedec,spi-nor";
34 reg = <0>;
35 spi-max-frequency = <25000000>;
36
37 partitions {
38 compatible = "fixed-partitions";
39 #address-cells = <1>;
40 #size-cells = <1>;
41
42 uboot: partition@0 {
43 label = "u-boot";
44 reg = <0x000000 0x020000>;
45 read-only;
46 };
47
48 partition@20000 {
49 compatible = "tplink,firmware";
50 label = "firmware";
51 reg = <0x020000 0x3d0000>;
52 };
53
54 art: partition@3f0000 {
55 label = "art";
56 reg = <0x3f0000 0x010000>;
57 read-only;
58 };
59 };
60 };
61 };