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;
14 led-upgrade = &power_green;
17 led-internet = &internet;
19 led-wifi = &wifi_green;
23 device_type = "memory";
24 reg = <0x0 0x4000000>;
28 compatible = "realtek,rtl8366rb";
29 gpio-sda = <&gpio 35 GPIO_ACTIVE_HIGH>;
30 gpio-sck = <&gpio 37 GPIO_ACTIVE_HIGH>;
47 compatible = "gpio-keys-polled";
50 poll-interval = <100>;
54 gpios = <&gpio 36 GPIO_ACTIVE_LOW>;
55 linux,code = <KEY_RFKILL>;
59 gpios = <&gpio 54 GPIO_ACTIVE_LOW>;
60 linux,code = <KEY_WPS_BUTTON>;
64 gpios = <&gpio 53 GPIO_ACTIVE_LOW>;
65 linux,code = <KEY_RESTART>;
70 compatible = "gpio-leds";
72 label = "dgn3500:green:internet";
73 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
76 label = "dgn3500:red:internet";
77 gpios = <&gpio 30 GPIO_ACTIVE_LOW>;
80 label = "dgn3500:green:dsl";
81 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
84 label = "dgn3500:green:usb";
85 gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
88 label = "dgn3500:green:power";
89 gpios = <&gpio 34 GPIO_ACTIVE_LOW>;
90 default-state = "keep";
93 label = "dgn3500:red:power";
94 gpios = <&gpio 39 GPIO_ACTIVE_LOW>;
97 label = "dgn3500:green:wireless";
98 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
101 label = "dgn3500:amber:wireless";
102 gpios = <&gpio 51 GPIO_ACTIVE_LOW>;
105 label = "dgn3500:green:wps";
106 gpios = <&gpio 52 GPIO_ACTIVE_LOW>;
112 pinctrl-names = "default";
113 pinctrl-0 = <&state_default>;
115 state_default: pinmux {
117 lantiq,groups = "exin1";
118 lantiq,function = "exin";
121 lantiq,groups = "gnt1", "req1";
122 lantiq,function = "pci";
125 lantiq,groups = "req1";
127 lantiq,open-drain = <1>;
131 lantiq,groups = "gnt1";
136 pins_spi_default: pins_spi_default {
138 lantiq,groups = "spi_di";
139 lantiq,function = "spi";
142 lantiq,groups = "spi_do", "spi_clk",
144 lantiq,function = "spi";
156 gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>;
159 compatible = "pci168c,0029";
160 reg = <0x7000 0 0 0 0>;
161 qca,no-eeprom; /* load from ath9k-eeprom-pci-0000:00:0e.0.bin */
168 pinctrl-names = "default";
169 pinctrl-0 = <&pins_spi_default>;
172 #address-cells = <1>;
174 compatible = "jedec,spi-nor";
176 spi-max-frequency = <20000000>;
179 compatible = "fixed-partitions";
180 #address-cells = <1>;
190 reg = <0x10000 0x10000>;
195 ath9k_cal: partition@20000 {
196 reg = <0x20000 0x10000>;
197 label = "calibration";
202 reg = <0x50000 0xfa0000>;