ath79: wlr-7100: remove device variant indicator
[openwrt/openwrt.git] / target / linux / ath79 / dts / ar9344_ocedo_raccoon.dts
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2
3 #include "ar9344.dtsi"
4
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
7
8 / {
9 model = "OCEDO Raccoon";
10 compatible = "ocedo,raccoon", "qca,ar9344";
11
12 chosen {
13 bootargs = "console=ttyS0,115200n8";
14 };
15
16 aliases {
17 led-boot = &led_system;
18 led-failsafe = &led_system;
19 led-running = &led_system;
20 led-upgrade = &led_system;
21 };
22
23 leds {
24 compatible = "gpio-leds";
25
26 power {
27 label = "green:power";
28 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
29 default-state = "on";
30 };
31
32 wlan2g {
33 label = "yellow:wlan24";
34 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
35 linux,default-trigger = "phy0tpt";
36 };
37
38 led_system: system {
39 label = "blue:sys";
40 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
41 };
42 };
43
44 ath9k-leds {
45 compatible = "gpio-leds";
46
47 wlan5g {
48 label = "red:wlan5";
49 gpios = <&ath9k 0 GPIO_ACTIVE_LOW>;
50 linux,default-trigger = "phy1tpt";
51 };
52 };
53
54 keys {
55 compatible = "gpio-keys";
56
57 reset {
58 linux,code = <KEY_RESTART>;
59 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
60 debounce-interval = <60>;
61 };
62 };
63 };
64
65 &ref {
66 clock-frequency = <40000000>;
67 };
68
69 &uart {
70 status = "okay";
71 };
72
73 &spi {
74 status = "okay";
75
76 num-cs = <1>;
77
78 flash@0 {
79 compatible = "jedec,spi-nor";
80 reg = <0>;
81 spi-max-frequency = <25000000>;
82
83 partitions {
84 compatible = "fixed-partitions";
85 #address-cells = <1>;
86 #size-cells = <1>;
87
88 uboot: partition@0 {
89 label = "u-boot";
90 reg = <0x000000 0x040000>;
91 read-only;
92 };
93
94 partition@40000 {
95 label = "u-boot-env";
96 reg = <0x040000 0x010000>;
97 };
98
99 partition@50000 {
100 compatible = "denx,uimage";
101 label = "firmware";
102 reg = <0x050000 0x740000>;
103 };
104
105 partition@790000 {
106 label = "vendor";
107 reg = <0x790000 0x740000>;
108 read-only;
109 };
110
111 partition@ed0000 {
112 label = "data";
113 reg = <0xed0000 0x110000>;
114 read-only;
115 };
116
117 partition@fe0000 {
118 label = "id";
119 reg = <0xfe0000 0x010000>;
120 read-only;
121 };
122
123 art: partition@ff0000 {
124 label = "art";
125 reg = <0xff0000 0x010000>;
126 read-only;
127 };
128 };
129 };
130 };
131
132 &pcie {
133 status = "okay";
134
135 ath9k: wifi@0,0 {
136 compatible = "pci168c,0030";
137 reg = <0x0000 0 0 0 0>;
138 mtd-mac-address = <&art 0xc>;
139 qca,no-eeprom;
140 #gpio-cells = <2>;
141 gpio-controller;
142 };
143 };
144
145 &wmac {
146 status = "okay";
147
148 mtd-cal-data = <&art 0x1000>;
149 mtd-mac-address = <&art 0x6>;
150 };
151
152 &mdio0 {
153 status = "okay";
154
155 phy-mask = <0>;
156
157 phy0: ethernet-phy@0 {
158 reg = <0>;
159 };
160 };
161
162 &eth0 {
163 status = "okay";
164
165 pll-data = <0x06000000 0x00000101 0x00001313>;
166
167 mtd-mac-address = <&art 0x0>;
168
169 phy-mode = "rgmii-id";
170 phy-handle = <&phy0>;
171 };