#include "mt7620n.dtsi" #include #include / { compatible = "nexx,wt3020", "ralink,mt7620n-soc"; gpio-keys-polled { compatible = "gpio-keys-polled"; #address-cells = <1>; #size-cells = <0>; poll-interval = <20>; reset { label = "reset"; gpios = <&gpio0 1 GPIO_ACTIVE_LOW>; linux,code = ; }; }; gpio-leds { compatible = "gpio-leds"; power { label = "wt3020:blue:power"; gpios = <&gpio3 0 GPIO_ACTIVE_HIGH>; }; }; }; &gpio2 { status = "okay"; }; &gpio3 { status = "okay"; }; ðernet { mtd-mac-address = <&factory 0x4>; mediatek,portmap = "wllll"; }; &wmac { ralink,mtd-eeprom = <&factory 0>; }; &pinctrl { state_default: pinctrl0 { default { ralink,group = "ephy", "wled", "pa", "i2c", "wdt", "uartf"; ralink,function = "gpio"; }; }; };