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";
28 gpios = <&gpio0 18 GPIO_ACTIVE_HIGH>;
29 linux,code = <KEY_RESTART>;
34 compatible = "gpio-leds";
37 label = "gb-pc1:green:system";
38 gpios = <&gpio0 6 GPIO_ACTIVE_LOW>;
42 label = "gb-pc1:green:status";
43 gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
47 label = "gb-pc1:green:lan1";
48 gpios = <&gpio0 24 GPIO_ACTIVE_LOW>;
52 label = "gb-pc1:green:lan2";
53 gpios = <&gpio0 25 GPIO_ACTIVE_LOW>;
66 compatible = "jedec,spi-nor";
68 spi-max-frequency = <80000000>;
72 compatible = "fixed-partitions";
84 reg = <0x30000 0x10000>;
88 factory: partition@40000 {
90 reg = <0x40000 0x10000>;
95 compatible = "denx,uimage";
97 reg = <0x50000 0x1fb0000>;
108 mtd-mac-address = <&factory 0xe000>;
112 state_default: pinctrl0 {
114 ralink,group = "jtag", "rgmii2", "uart3", "wdt";
115 ralink,function = "gpio";