3 #include <dt-bindings/input/input.h>
7 bootargs = "root= console=ttyLTQ0,115200";
11 led-boot = &power_green;
12 led-failsafe = &power_red;
13 led-running = &power_green;
16 led-internet = &internet;
18 led-wifi = &wifi_green;
22 reg = <0x0 0x4000000>;
26 gpio: pinmux@E100B10 {
27 pinctrl-names = "default";
28 pinctrl-0 = <&state_default>;
30 state_default: pinmux {
32 lantiq,groups = "exin1";
33 lantiq,function = "exin";
36 lantiq,groups = "gnt1", "req1";
37 lantiq,function = "pci";
40 lantiq,groups = "req1";
42 lantiq,open-drain = <1>;
46 lantiq,groups = "gnt1";
51 pins_spi_default: pins_spi_default {
53 lantiq,groups = "spi_di";
54 lantiq,function = "spi";
57 lantiq,groups = "spi_do", "spi_clk",
59 lantiq,function = "spi";
75 compatible = "realtek,rtl8366rb";
76 gpio-sda = <&gpio 35 GPIO_ACTIVE_HIGH>;
77 gpio-sck = <&gpio 37 GPIO_ACTIVE_HIGH>;
96 compatible = "gpio-keys-polled";
99 poll-interval = <100>;
103 gpios = <&gpio 36 GPIO_ACTIVE_LOW>;
104 linux,code = <KEY_RFKILL>;
108 gpios = <&gpio 54 GPIO_ACTIVE_LOW>;
109 linux,code = <KEY_WPS_BUTTON>;
113 gpios = <&gpio 53 GPIO_ACTIVE_LOW>;
114 linux,code = <KEY_RESTART>;
119 compatible = "gpio-leds";
121 label = "dgn3500:green:internet";
122 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
125 label = "dgn3500:red:internet";
126 gpios = <&gpio 30 GPIO_ACTIVE_LOW>;
129 label = "dgn3500:green:dsl";
130 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
133 label = "dgn3500:green:usb";
134 gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
137 label = "dgn3500:green:power";
138 gpios = <&gpio 34 GPIO_ACTIVE_LOW>;
139 default-state = "keep";
142 label = "dgn3500:red:power";
143 gpios = <&gpio 39 GPIO_ACTIVE_LOW>;
146 label = "dgn3500:green:wireless";
147 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
150 label = "dgn3500:amber:wireless";
151 gpios = <&gpio 51 GPIO_ACTIVE_LOW>;
154 label = "dgn3500:green:wps";
155 gpios = <&gpio 52 GPIO_ACTIVE_LOW>;
162 gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>;
165 compatible = "pci168c,0029";
166 reg = <0x7000 0 0 0 0>;
167 qca,no-eeprom; /* load from ath9k-eeprom-pci-0000:00:0e.0.bin */
172 pinctrl-names = "default";
173 pinctrl-0 = <&pins_spi_default>;
178 #address-cells = <1>;
180 compatible = "jedec,spi-nor";
182 spi-max-frequency = <20000000>;
185 compatible = "fixed-partitions";
186 #address-cells = <1>;
196 reg = <0x10000 0x10000>;
201 ath9k_cal: partition@20000 {
202 reg = <0x20000 0x10000>;
203 label = "calibration";
208 reg = <0x50000 0xfa0000>;