5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
11 compatible = "asus,rt-n15", "ralink,rt2880-soc";
12 model = "Asus RT-N15";
15 led-status = &led_power;
19 compatible = "cfi-flash";
20 reg = <0x1f000000 0x800000>;
34 reg = <0x30000 0x10000>;
38 factory: partition@40000 {
40 reg = <0x40000 0x10000>;
46 reg = <0x50000 0x3b0000>;
51 compatible = "realtek,rtl8366s";
52 gpio-sda = <&gpio0 1 GPIO_ACTIVE_HIGH>;
53 gpio-sck = <&gpio0 2 GPIO_ACTIVE_HIGH>;
57 compatible = "gpio-keys-polled";
58 poll-interval = <100>;
62 gpios = <&gpio0 0 GPIO_ACTIVE_HIGH>;
63 linux,code = <KEY_WPS_BUTTON>;
68 gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>;
69 linux,code = <KEY_RESTART>;
74 compatible = "gpio-leds";
77 label = "rt-n15:blue:power";
78 gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
88 state_default: pinctrl0 {
90 ralink,group = "i2c", "uartlite", "mdio";
91 ralink,function = "gpio";
98 mtd-mac-address = <&factory 0x4>;
101 mediatek,fixed-link = <1000 1 1 1>;
107 phy0: ethernet-phy@0 {
115 ralink,mtd-eeprom = <&factory 0>;