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 = "fixed-clock";
22 clock-output-names = "ref";
23 clock-frequency = <40000000>;
27 compatible = "gpio-leds";
31 gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
32 trigger-sources = <&usb_ohci_port>, <&usb_ehci_port>;
33 linux,default-trigger = "usbport";
36 led_power_orange: power_orange {
37 label = "orange:power";
38 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
42 led_power_blue: power_blue {
44 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
49 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
53 label = "orange:planet";
54 gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
58 label = "blue:planet";
59 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
64 compatible = "gpio-leds";
67 label = "blue:wlan2g";
68 gpios = <&ath9k0 5 GPIO_ACTIVE_LOW>;
69 linux,default-trigger = "phy0tpt";
73 label = "blue:wlan5g";
74 gpios = <&ath9k1 5 GPIO_ACTIVE_LOW>;
75 linux,default-trigger = "phy1tpt";
80 compatible = "gpio-keys";
84 linux,code = <KEY_RESTART>;
85 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
90 linux,code = <KEY_WPS_BUTTON>;
91 gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
96 compatible = "realtek,rtl8366s";
97 gpio-sda = <&gpio 5 GPIO_ACTIVE_HIGH>;
98 gpio-sck = <&gpio 7 GPIO_ACTIVE_HIGH>;
99 realtek,initvals = <0x06 0x0108>;
102 #address-cells = <1>;
108 phy4: ethernet-phy@4 {
117 #address-cells = <1>;
121 usb_ohci_port: port@1 {
123 #trigger-source-cells = <0>;
128 #address-cells = <1>;
132 usb_ehci_port: port@1 {
134 #trigger-source-cells = <0>;
146 compatible = "pci168c,0029";
147 reg = <0x8800 0 0 0 0>;
154 compatible = "pci168c,0029";
155 reg = <0x9000 0 0 0 0>;
174 compatible = "jedec,spi-nor";
176 spi-max-frequency = <25000000>;
179 compatible = "fixed-partitions";
180 #address-cells = <1>;
185 reg = <0x000000 0x040000>;
191 reg = <0x040000 0x010000>;
196 compatible = "denx,uimage";
198 reg = <0x050000 0x610000>;
203 reg = <0x660000 0x010000>;
209 reg = <0x670000 0x190000>;
219 pll-data = <0x11110000 0x00001099 0x00991099>;
230 pll-data = <0x11110000 0x00001099 0x00991099>;
232 phy-handle = <&phy4>;