5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "asus,rt-n56u", "ralink,rt3883-soc";
10 model = "Asus RT-N56U";
13 led-status = &led_power;
17 compatible = "cfi-flash";
18 reg = <0x1c000000 0x800000>;
22 compatible = "fixed-partitions";
27 reg = <0x0 0x0030000>;
33 reg = <0x00030000 0x00010000>;
38 factory: partition@40000 {
39 reg = <0x00040000 0x00010000>;
45 reg = <0x00050000 0x007b0000>;
52 compatible = "realtek,rtl8367";
53 gpio-sda = <&gpio0 1 GPIO_ACTIVE_HIGH>;
54 gpio-sck = <&gpio0 2 GPIO_ACTIVE_HIGH>;
55 realtek,extif1 = <1 0 1 1 1 1 1 1 2>;
59 compatible = "gpio-keys-polled";
60 poll-interval = <100>;
64 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
65 linux,code = <KEY_RESTART>;
70 gpios = <&gpio1 2 GPIO_ACTIVE_LOW>;
71 linux,code = <KEY_WPS_BUTTON>;
76 compatible = "gpio-leds";
79 label = "rt-n56u:blue:power";
80 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
84 label = "rt-n56u:blue:lan";
85 gpios = <&gpio0 19 GPIO_ACTIVE_LOW>;
89 label = "rt-n56u:blue:wan";
90 gpios = <&gpio1 3 GPIO_ACTIVE_LOW>;
94 label = "rt-n56u:blue:usb";
95 gpios = <&gpio1 0 GPIO_ACTIVE_LOW>;
105 state_default: pinctrl0 {
107 ralink,group = "spi", "i2c", "jtag", "uartf";
108 ralink,function = "gpio";
114 mtd-mac-address = <&factory 0x4>;
117 mediatek,fixed-link = <1000 1 1 1>;
129 compatible = "pci1814,3091";
130 reg = <0x10000 0 0 0 0>;
131 ralink,mtd-eeprom = <&factory 0x8000>;
138 ralink,mtd-eeprom = <&factory 0>;