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;
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 gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>;
80 compatible = "ath9k,eeprom";
81 ath,eep-flash = <&ath9k_cal 0xf000>;
88 compatible = "rtl8366rb";
89 gpio-sda = <&gpio 35 GPIO_ACTIVE_HIGH>;
90 gpio-sck = <&gpio 37 GPIO_ACTIVE_HIGH>;
94 compatible = "gpio-keys-polled";
97 poll-interval = <100>;
101 gpios = <&gpio 36 GPIO_ACTIVE_LOW>;
102 linux,code = <KEY_RFKILL>;
106 gpios = <&gpio 54 GPIO_ACTIVE_LOW>;
107 linux,code = <KEY_WPS_BUTTON>;
111 gpios = <&gpio 53 GPIO_ACTIVE_LOW>;
112 linux,code = <KEY_RESTART>;
117 compatible = "gpio-leds";
119 label = "dgn3500:green:internet";
120 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
123 internet red is missing
126 label = "dgn3500:green:dsl";
127 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
130 label = "dgn3500:green:usb";
131 gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
134 label = "dgn3500:green:power";
135 gpios = <&gpio 34 GPIO_ACTIVE_LOW>;
136 default-state = "keep";
139 label = "dgn3500:red:power";
140 gpios = <&gpio 39 GPIO_ACTIVE_LOW>;
143 power amber is missing
146 label = "dgn3500:blue:wireless";
147 gpios = <&gpio 51 GPIO_ACTIVE_LOW>;
150 label = "dgn3500:green:wps";
151 gpios = <&gpio 52 GPIO_ACTIVE_LOW>;
157 pinctrl-names = "default";
158 pinctrl-0 = <&pins_spi_default>;
163 #address-cells = <1>;
165 compatible = "jedec,spi-nor";
167 spi-max-frequency = <20000000>;
170 compatible = "fixed-partitions";
171 #address-cells = <1>;
181 reg = <0x10000 0x10000>;
186 ath9k_cal: partition@20000 {
187 reg = <0x20000 0x10000>;
188 label = "calibration";
193 reg = <0x50000 0xfa0000>;