5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "gnubee,gb-pc1", "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-polled";
29 gpios = <&gpio0 18 GPIO_ACTIVE_HIGH>;
30 linux,code = <KEY_RESTART>;
35 compatible = "gpio-leds";
38 label = "gb-pc1:green:system";
39 gpios = <&gpio0 6 GPIO_ACTIVE_LOW>;
43 label = "gb-pc1:green:status";
44 gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
48 label = "gb-pc1:green:lan1";
49 gpios = <&gpio0 24 GPIO_ACTIVE_LOW>;
53 label = "gb-pc1:green:lan2";
54 gpios = <&gpio0 25 GPIO_ACTIVE_LOW>;
67 compatible = "jedec,spi-nor";
69 spi-max-frequency = <80000000>;
73 compatible = "fixed-partitions";
85 reg = <0x30000 0x10000>;
89 factory: partition@40000 {
91 reg = <0x40000 0x10000>;
96 compatible = "denx,uimage";
98 reg = <0x50000 0x1fb0000>;
109 mtd-mac-address = <&factory 0xe000>;
113 state_default: pinctrl0 {
115 ralink,group = "jtag", "rgmii2", "uart3", "wdt";
116 ralink,function = "gpio";