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 compatible = "cfi-flash";
14 reg = <0x1c000000 0x800000>;
20 reg = <0x0 0x0030000>;
26 reg = <0x00030000 0x00010000>;
31 factory: partition@40000 {
32 reg = <0x00040000 0x00010000>;
38 reg = <0x00050000 0x007b0000>;
44 compatible = "realtek,rtl8367";
45 gpio-sda = <&gpio0 1 GPIO_ACTIVE_HIGH>;
46 gpio-sck = <&gpio0 2 GPIO_ACTIVE_HIGH>;
47 realtek,extif1 = <1 0 1 1 1 1 1 1 2>;
51 compatible = "gpio-keys-polled";
54 poll-interval = <100>;
58 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
59 linux,code = <KEY_RESTART>;
64 gpios = <&gpio1 2 GPIO_ACTIVE_LOW>;
65 linux,code = <KEY_WPS_BUTTON>;
70 compatible = "gpio-leds";
73 label = "rt-n56u:blue:power";
74 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
78 label = "rt-n56u:blue:lan";
79 gpios = <&gpio0 19 GPIO_ACTIVE_LOW>;
83 label = "rt-n56u:blue:wan";
84 gpios = <&gpio1 3 GPIO_ACTIVE_LOW>;
88 label = "rt-n56u:blue:usb";
89 gpios = <&gpio1 0 GPIO_ACTIVE_LOW>;
99 state_default: pinctrl0 {
101 ralink,group = "spi", "i2c", "jtag", "uartf";
102 ralink,function = "gpio";
108 mtd-mac-address = <&factory 0x4>;
111 mediatek,fixed-link = <1000 1 1 1>;
117 pinctrl-names = "default";
118 pinctrl-0 = <&pci_pins>;
122 ralink,group = "pci";
123 ralink,function = "pci-fnc";
132 compatible = "pci1814,3091";
133 reg = <0x10000 0 0 0 0>;
134 ralink,mtd-eeprom = <&factory 0x8000>;
143 ralink,mtd-eeprom = <&factory 0>;