3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
7 compatible = "allnet,all0256n", "ralink,rt3050-soc";
10 compatible = "gpio-leds";
13 label = "all0256n:green:rssilow";
14 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
18 label = "all0256n:green:rssimed";
19 gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
23 label = "all0256n:green:rssihigh";
24 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
29 compatible = "gpio-keys-polled";
34 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
35 linux,code = <KEY_RESTART>;
45 state_default: pinctrl0 {
47 ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf";
48 ralink,function = "gpio";
54 mtd-mac-address = <&factory 0x28>;
58 mediatek,portmap = <0x3f>;
62 ralink,mtd-eeprom = <&factory 0>;