3 #include <dt-bindings/input/input.h>
4 #include <dt-bindings/leds/common.h>
8 bootargs = "root= console=ttyLTQ0,115200";
12 led-boot = &power_green;
13 led-failsafe = &power_red;
14 led-running = &power_green;
15 led-upgrade = &power_green;
18 led-internet = &internet;
20 led-wifi = &wifi_green;
24 device_type = "memory";
25 reg = <0x0 0x4000000>;
29 compatible = "realtek,rtl8366rb";
30 gpio-sda = <&gpio 35 GPIO_ACTIVE_HIGH>;
31 gpio-sck = <&gpio 37 GPIO_ACTIVE_HIGH>;
48 compatible = "gpio-keys-polled";
49 poll-interval = <100>;
53 gpios = <&gpio 36 GPIO_ACTIVE_LOW>;
54 linux,code = <KEY_RFKILL>;
58 gpios = <&gpio 54 GPIO_ACTIVE_LOW>;
59 linux,code = <KEY_WPS_BUTTON>;
63 gpios = <&gpio 53 GPIO_ACTIVE_LOW>;
64 linux,code = <KEY_RESTART>;
69 compatible = "gpio-leds";
71 label = "green:internet";
72 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
75 label = "red:internet";
76 gpios = <&gpio 30 GPIO_ACTIVE_LOW>;
80 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
83 function = LED_FUNCTION_USB;
84 color = <LED_COLOR_ID_GREEN>;
85 gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
88 function = LED_FUNCTION_POWER;
89 color = <LED_COLOR_ID_GREEN>;
90 gpios = <&gpio 34 GPIO_ACTIVE_LOW>;
91 default-state = "keep";
94 function = LED_FUNCTION_POWER;
95 color = <LED_COLOR_ID_RED>;
96 gpios = <&gpio 39 GPIO_ACTIVE_LOW>;
99 label = "green:wireless";
100 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
103 label = "amber:wireless";
104 gpios = <&gpio 51 GPIO_ACTIVE_LOW>;
107 function = LED_FUNCTION_WPS;
108 color = <LED_COLOR_ID_GREEN>;
109 gpios = <&gpio 52 GPIO_ACTIVE_LOW>;
115 pinctrl-names = "default";
116 pinctrl-0 = <&state_default>;
118 state_default: pinmux {
120 lantiq,groups = "exin1";
121 lantiq,function = "exin";
133 pinctrl-0 = <&pci_gnt1_pins>, <&pci_req1_pins>;
134 pinctrl-names = "default";
136 gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>;
139 compatible = "pci168c,0029";
140 reg = <0x7000 0 0 0 0>;
141 qca,no-eeprom; /* load from ath9k-eeprom-pci-0000:00:0e.0.bin */
149 compatible = "jedec,spi-nor";
151 spi-max-frequency = <20000000>;
154 compatible = "fixed-partitions";
155 #address-cells = <1>;
165 reg = <0x10000 0x10000>;
166 label = "u-boot-env";
170 ath9k_cal: partition@20000 {
171 reg = <0x20000 0x10000>;
172 label = "calibration";
177 reg = <0x50000 0xfa0000>;