5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "mediatek,mt7621-eval-board", "mediatek,mt7621-soc";
13 device_type = "memory";
14 reg = <0x0 0x1c000000>, <0x20000000 0x4000000>;
18 bootargs = "console=ttyS0,57600";
32 compatible = "jedec,spi-nor";
34 linux,modalias = "m25p80";
35 spi-max-frequency = <10000000>;
36 m25p,chunked-io = <32>;
46 reg = <0x30000 0x10000>;
51 reg = <0x50000 0x1fb0000>;
58 compatible = "ralink,i2c-mt7621";
62 pinctrl-names = "default";
63 pinctrl-0 = <&i2c_pins>;
77 compatible = "gpio-keys-polled";
84 gpios = <&gpio0 18 GPIO_ACTIVE_HIGH>;
85 linux,code = <KEY_RESTART>;
90 compatible = "gpio-leds";
93 label = "gnubee:green:status";
94 gpios = <&gpio0 6 GPIO_ACTIVE_HIGH>;
98 label = "gnubee:green:system";
99 gpios = <&gpio0 8 GPIO_ACTIVE_HIGH>;
104 compatible = "gpio-power";
107 label = "gnubee:power:gpio26";
108 gpios = <&gpio0 26 GPIO_ACTIVE_LOW>;
112 label = "gnubee:power:gpio28";
113 gpios = <&gpio0 28 GPIO_ACTIVE_HIGH>;
117 label = "gnubee:power:gpio29";
118 gpios = <&gpio0 29 GPIO_ACTIVE_LOW>;
122 label = "gnubee:power:gpio30";
123 gpios = <&gpio0 30 GPIO_ACTIVE_HIGH>;
128 state_default: pinctrl0 {
130 ralink,group = "wdt", "rgmii2", "mdio";
131 ralink,function = "gpio";