1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "dlink,dir-825-b1", "qca,ar7161";
10 model = "D-Link DIR825B1";
13 led-boot = &led_power_orange;
14 led-failsafe = &led_power_orange;
15 led-running = &led_power_blue;
16 led-upgrade = &led_power_orange;
20 compatible = "gpio-leds";
24 gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
25 trigger-sources = <&usb_ohci_port>, <&usb_ehci_port>;
26 linux,default-trigger = "usbport";
29 led_power_orange: power_orange {
30 label = "orange:power";
31 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
35 led_power_blue: power_blue {
37 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
42 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
46 label = "orange:planet";
47 gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
51 label = "blue:planet";
52 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
57 compatible = "gpio-leds";
60 label = "blue:wlan2g";
61 gpios = <&ath9k0 5 GPIO_ACTIVE_LOW>;
62 linux,default-trigger = "phy0tpt";
66 label = "blue:wlan5g";
67 gpios = <&ath9k1 5 GPIO_ACTIVE_LOW>;
68 linux,default-trigger = "phy1tpt";
73 compatible = "gpio-keys";
77 linux,code = <KEY_RESTART>;
78 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
83 linux,code = <KEY_WPS_BUTTON>;
84 gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
89 compatible = "realtek,rtl8366s";
90 gpio-sda = <&gpio 5 GPIO_ACTIVE_HIGH>;
91 gpio-sck = <&gpio 7 GPIO_ACTIVE_HIGH>;
92 realtek,initvals = <0x06 0x0108>;
99 phy4: ethernet-phy@4 {
107 compatible = "mtd-concat";
108 devices = <&fwconcat0 &fwconcat1>;
111 compatible = "fixed-partitions";
112 #address-cells = <1>;
116 compatible = "denx,uimage";
140 compatible = "pci168c,0029";
141 reg = <0x8800 0 0 0 0>;
142 nvmem-cells = <&macaddr_lan>, <&cal_art_1000>;
143 nvmem-cell-names = "mac-address-ascii", "calibration";
149 compatible = "pci168c,0029";
150 reg = <0x9000 0 0 0 0>;
151 nvmem-cells = <&macaddr_wan>, <&cal_art_5000>;
152 nvmem-cell-names = "mac-address-ascii", "calibration";
153 mac-address-increment = <1>;
163 compatible = "jedec,spi-nor";
165 spi-max-frequency = <25000000>;
168 compatible = "fixed-partitions";
169 #address-cells = <1>;
174 reg = <0x000000 0x040000>;
180 reg = <0x040000 0x010000>;
184 fwconcat0: partition@50000 {
186 reg = <0x050000 0x610000>;
190 compatible = "nvmem-cells";
192 reg = <0x660000 0x010000>;
194 #address-cells = <1>;
197 cal_art_1000: cal@1000 {
198 reg = <0x1000 0xeb8>;
201 cal_art_5000: cal@5000 {
202 reg = <0x5000 0xeb8>;
205 macaddr_lan: macaddr@ffa0 {
209 macaddr_wan: macaddr@ffb4 {
214 fwconcat1: partition@670000 {
216 reg = <0x670000 0x190000>;
225 pll-data = <0x11110000 0x00001099 0x00991099>;
227 nvmem-cells = <&macaddr_lan>;
228 nvmem-cell-names = "mac-address-ascii";
239 pll-data = <0x11110000 0x00001099 0x00991099>;
241 nvmem-cells = <&macaddr_wan>;
242 nvmem-cell-names = "mac-address-ascii";
244 phy-handle = <&phy4>;