5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "allnet,all0256n-8m", "allnet,all0256n", "ralink,rt3050-soc";
10 model = "Allnet ALL0256N (8M)";
13 compatible = "gpio-leds";
16 label = "all0256n:green:rssilow";
17 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
21 label = "all0256n:green:rssimed";
22 gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
26 label = "all0256n:green:rssihigh";
27 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
32 compatible = "gpio-keys-polled";
39 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
40 linux,code = <KEY_RESTART>;
55 compatible = "jedec,spi-nor";
57 spi-max-frequency = <10000000>;
67 reg = <0x30000 0x10000>;
71 factory: partition@40000 {
73 reg = <0x40000 0x10000>;
79 reg = <0x50000 0x7b0000>;
85 state_default: pinctrl0 {
87 ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf";
88 ralink,function = "gpio";
94 mtd-mac-address = <&factory 0x28>;
98 mediatek,portmap = <0x3f>;
102 ralink,mtd-eeprom = <&factory 0>;