3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
7 compatible = "asus,rt-n56u", "ralink,rt3662-soc", "ralink,rt3883-soc";
8 model = "Asus RT-N56U";
11 led-boot = &led_power;
12 led-failsafe = &led_power;
13 led-running = &led_power;
14 led-upgrade = &led_power;
18 compatible = "cfi-flash";
19 reg = <0x1c000000 0x800000>;
23 compatible = "fixed-partitions";
28 reg = <0x0 0x0030000>;
34 reg = <0x00030000 0x00010000>;
39 factory: partition@40000 {
40 compatible = "nvmem-cells";
42 reg = <0x00040000 0x00010000>;
47 eeprom_factory_0: eeprom@0 {
51 eeprom_factory_8000: eeprom@8000 {
55 macaddr_factory_4: macaddr@4 {
61 compatible = "denx,uimage";
62 reg = <0x00050000 0x007b0000>;
69 compatible = "realtek,rtl8367";
70 gpio-sda = <&gpio0 1 GPIO_ACTIVE_HIGH>;
71 gpio-sck = <&gpio0 2 GPIO_ACTIVE_HIGH>;
72 realtek,extif1 = <1 0 1 1 1 1 1 1 2>;
76 compatible = "gpio-keys-polled";
77 poll-interval = <100>;
81 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
82 linux,code = <KEY_RESTART>;
87 gpios = <&gpio1 2 GPIO_ACTIVE_LOW>;
88 linux,code = <KEY_WPS_BUTTON>;
93 compatible = "gpio-leds";
97 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
102 gpios = <&gpio0 19 GPIO_ACTIVE_LOW>;
107 gpios = <&gpio1 3 GPIO_ACTIVE_LOW>;
112 gpios = <&gpio1 0 GPIO_ACTIVE_LOW>;
123 groups = "spi", "i2c", "jtag", "uartf";
129 nvmem-cells = <&macaddr_factory_4>;
130 nvmem-cell-names = "mac-address";
133 mediatek,fixed-link = <1000 1 1 1>;
145 compatible = "pci1814,3091";
146 reg = <0x10000 0 0 0 0>;
147 nvmem-cells = <&eeprom_factory_8000>;
148 nvmem-cell-names = "eeprom";
155 nvmem-cells = <&eeprom_factory_0>;
156 nvmem-cell-names = "eeprom";