#include "rt5350.dtsi" #include #include / { compatible = "asiarf,awm002-evb", "ralink,rt5350-soc"; leds { compatible = "gpio-leds"; tx { label = "awm002-evb:green:tx"; gpios = <&gpio0 15 GPIO_ACTIVE_LOW>; }; rx { label = "awm002-evb:green:rx"; gpios = <&gpio0 16 GPIO_ACTIVE_LOW>; }; wps { label = "awm002-evb:green:wps"; gpios = <&gpio0 21 GPIO_ACTIVE_LOW>; }; }; keys { compatible = "gpio-keys-polled"; poll-interval = <20>; reset_wps { label = "reset_wps"; gpios = <&gpio0 0 GPIO_ACTIVE_LOW>; linux,code = ; }; mode { label = "mode"; gpios = <&gpio0 20 GPIO_ACTIVE_LOW>; linux,code = ; }; }; }; ðernet { mtd-mac-address = <&factory 0x28>; }; &wmac { ralink,mtd-eeprom = <&factory 0x0>; }; &state_default { gpio { groups = "i2c", "jtag"; function = "gpio"; }; }; &esw { mediatek,portmap = <0x3f>; }; &ehci { status = "okay"; }; &ohci { status = "okay"; };