5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "gnubee,gb-pc2", "mediatek,mt7621-soc";
13 led-boot = &led_status;
14 led-failsafe = &led_status;
15 led-running = &led_status;
16 led-upgrade = &led_status;
20 bootargs = "console=ttyS0,57600";
24 compatible = "gpio-keys";
28 gpios = <&gpio0 18 GPIO_ACTIVE_HIGH>;
29 linux,code = <KEY_RESTART>;
34 compatible = "gpio-leds";
37 label = "gb-pc2:green:system";
38 gpios = <&gpio0 6 GPIO_ACTIVE_LOW>;
42 label = "gb-pc2:green:status";
43 gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
47 label = "gb-pc2:green:lan1";
48 gpios = <&gpio0 24 GPIO_ACTIVE_LOW>;
52 label = "gb-pc2:green:lan2";
53 gpios = <&gpio0 25 GPIO_ACTIVE_LOW>;
57 label = "gb-pc2:yellow:lan3";
58 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
62 label = "gb-pc2:green:lan3";
63 gpios = <&gpio0 15 GPIO_ACTIVE_LOW>;
76 compatible = "jedec,spi-nor";
78 spi-max-frequency = <80000000>;
82 compatible = "fixed-partitions";
94 reg = <0x30000 0x10000>;
98 factory: partition@40000 {
100 reg = <0x40000 0x10000>;
105 compatible = "denx,uimage";
107 reg = <0x50000 0x1fb0000>;
118 mtd-mac-address = <&factory 0xe000>;
122 state_default: pinctrl0 {
124 ralink,group = "jtag", "rgmii2", "uart3", "wdt";
125 ralink,function = "gpio";