kirkwood: set testing kernel version to 5.10
[openwrt/staging/jow.git] / target / linux / ath79 / dts / qca9531_8dev_lima.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 = "8dev,lima", "qca,qca9531";
10 model = "8devices Lima";
11
12 keys {
13 compatible = "gpio-keys";
14
15 reset {
16 label = "reset";
17 linux,code = <KEY_RESTART>;
18 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
19 };
20 };
21 };
22
23 &pcie0 {
24 status = "okay";
25 };
26
27 &uart {
28 status = "okay";
29 };
30
31 &usb0 {
32 status = "okay";
33
34 dr_mode = "host";
35 };
36
37 &usb_phy {
38 status = "okay";
39 };
40
41 &wdt {
42 status = "okay";
43 };
44
45 &spi {
46 status = "okay";
47
48 /* Winbond W25Q256 SPI flash */
49 flash@0 {
50 compatible = "jedec,spi-nor";
51 reg = <0>;
52 spi-max-frequency = <45000000>;
53
54 partitions {
55 compatible = "fixed-partitions";
56 #address-cells = <1>;
57 #size-cells = <1>;
58
59 partition@0 {
60 label = "u-boot";
61 reg = <0x000000 0x040000>;
62 read-only;
63 };
64
65 partition@40000 {
66 label = "u-boot-env";
67 reg = <0x040000 0x040000>;
68 };
69
70 art: partition@80000 {
71 label = "art";
72 reg = <0x080000 0x040000>;
73 read-only;
74 };
75
76 partition@c0000 {
77 compatible = "denx,uimage";
78 label = "firmware";
79 reg = <0x0c0000 0xf40000>;
80 };
81 };
82 };
83 };
84
85 &mdio0 {
86 status = "okay";
87 };
88
89 &eth0 {
90 status = "okay";
91
92 phy-handle = <&swphy0>;
93
94 mtd-mac-address = <&art 0x6>;
95
96 gmac-config {
97 device = <&gmac>;
98
99 switch-phy-addr-swap = <1>;
100 switch-phy-swap = <1>;
101 };
102 };
103
104 &eth1 {
105 mtd-mac-address = <&art 0x0>;
106 };
107
108 &wmac {
109 status = "okay";
110
111 mtd-cal-data = <&art 0x1000>;
112 };