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 compatible = "realtek,rtl8366rb";
27 gpio-sda = <&gpio 35 GPIO_ACTIVE_HIGH>;
28 gpio-sck = <&gpio 37 GPIO_ACTIVE_HIGH>;
45 compatible = "gpio-keys-polled";
48 poll-interval = <100>;
52 gpios = <&gpio 36 GPIO_ACTIVE_LOW>;
53 linux,code = <KEY_RFKILL>;
57 gpios = <&gpio 54 GPIO_ACTIVE_LOW>;
58 linux,code = <KEY_WPS_BUTTON>;
62 gpios = <&gpio 53 GPIO_ACTIVE_LOW>;
63 linux,code = <KEY_RESTART>;
68 compatible = "gpio-leds";
70 label = "dgn3500:green:internet";
71 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
74 label = "dgn3500:red:internet";
75 gpios = <&gpio 30 GPIO_ACTIVE_LOW>;
78 label = "dgn3500:green:dsl";
79 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
82 label = "dgn3500:green:usb";
83 gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
86 label = "dgn3500:green:power";
87 gpios = <&gpio 34 GPIO_ACTIVE_LOW>;
88 default-state = "keep";
91 label = "dgn3500:red:power";
92 gpios = <&gpio 39 GPIO_ACTIVE_LOW>;
95 label = "dgn3500:green:wireless";
96 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
99 label = "dgn3500:amber:wireless";
100 gpios = <&gpio 51 GPIO_ACTIVE_LOW>;
103 label = "dgn3500:green:wps";
104 gpios = <&gpio 52 GPIO_ACTIVE_LOW>;
110 pinctrl-names = "default";
111 pinctrl-0 = <&state_default>;
113 state_default: pinmux {
115 lantiq,groups = "exin1";
116 lantiq,function = "exin";
119 lantiq,groups = "gnt1", "req1";
120 lantiq,function = "pci";
123 lantiq,groups = "req1";
125 lantiq,open-drain = <1>;
129 lantiq,groups = "gnt1";
134 pins_spi_default: pins_spi_default {
136 lantiq,groups = "spi_di";
137 lantiq,function = "spi";
140 lantiq,groups = "spi_do", "spi_clk",
142 lantiq,function = "spi";
154 gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>;
157 compatible = "pci168c,0029";
158 reg = <0x7000 0 0 0 0>;
159 qca,no-eeprom; /* load from ath9k-eeprom-pci-0000:00:0e.0.bin */
166 pinctrl-names = "default";
167 pinctrl-0 = <&pins_spi_default>;
170 #address-cells = <1>;
172 compatible = "jedec,spi-nor";
174 spi-max-frequency = <20000000>;
177 compatible = "fixed-partitions";
178 #address-cells = <1>;
188 reg = <0x10000 0x10000>;
193 ath9k_cal: partition@20000 {
194 reg = <0x20000 0x10000>;
195 label = "calibration";
200 reg = <0x50000 0xfa0000>;