5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "asus,rt-n56u", "ralink,rt3662-soc", "ralink,rt3883-soc";
10 model = "Asus RT-N56U";
13 led-boot = &led_power;
14 led-failsafe = &led_power;
15 led-running = &led_power;
16 led-upgrade = &led_power;
20 compatible = "cfi-flash";
21 reg = <0x1c000000 0x800000>;
25 compatible = "fixed-partitions";
30 reg = <0x0 0x0030000>;
36 reg = <0x00030000 0x00010000>;
41 factory: partition@40000 {
42 reg = <0x00040000 0x00010000>;
48 compatible = "denx,uimage";
49 reg = <0x00050000 0x007b0000>;
56 compatible = "realtek,rtl8367";
57 gpio-sda = <&gpio0 1 GPIO_ACTIVE_HIGH>;
58 gpio-sck = <&gpio0 2 GPIO_ACTIVE_HIGH>;
59 realtek,extif1 = <1 0 1 1 1 1 1 1 2>;
63 compatible = "gpio-keys-polled";
64 poll-interval = <100>;
68 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
69 linux,code = <KEY_RESTART>;
74 gpios = <&gpio1 2 GPIO_ACTIVE_LOW>;
75 linux,code = <KEY_WPS_BUTTON>;
80 compatible = "gpio-leds";
83 label = "rt-n56u:blue:power";
84 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
88 label = "rt-n56u:blue:lan";
89 gpios = <&gpio0 19 GPIO_ACTIVE_LOW>;
93 label = "rt-n56u:blue:wan";
94 gpios = <&gpio1 3 GPIO_ACTIVE_LOW>;
98 label = "rt-n56u:blue:usb";
99 gpios = <&gpio1 0 GPIO_ACTIVE_LOW>;
109 state_default: pinctrl0 {
111 ralink,group = "spi", "i2c", "jtag", "uartf";
112 ralink,function = "gpio";
118 mtd-mac-address = <&factory 0x4>;
121 mediatek,fixed-link = <1000 1 1 1>;
133 compatible = "pci1814,3091";
134 reg = <0x10000 0 0 0 0>;
135 ralink,mtd-eeprom = <&factory 0x8000>;
142 ralink,mtd-eeprom = <&factory 0>;