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 device_type = "memory";
21 reg = <0x0 0x1c000000>, <0x20000000 0x4000000>;
25 bootargs = "console=ttyS0,57600";
29 compatible = "gpio-keys-polled";
34 gpios = <&gpio0 18 GPIO_ACTIVE_HIGH>;
35 linux,code = <KEY_RESTART>;
40 compatible = "gpio-leds";
43 label = "gb-pc2:green:system";
44 gpios = <&gpio0 6 GPIO_ACTIVE_LOW>;
48 label = "gb-pc2:green:status";
49 gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
53 label = "gb-pc2:green:lan1";
54 gpios = <&gpio0 24 GPIO_ACTIVE_LOW>;
58 label = "gb-pc2:green:lan2";
59 gpios = <&gpio0 25 GPIO_ACTIVE_LOW>;
63 label = "gb-pc2:yellow:lan3";
64 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
68 label = "gb-pc2:green:lan3";
69 gpios = <&gpio0 15 GPIO_ACTIVE_LOW>;
82 compatible = "jedec,spi-nor";
84 spi-max-frequency = <80000000>;
88 compatible = "fixed-partitions";
100 reg = <0x30000 0x10000>;
104 factory: partition@40000 {
106 reg = <0x40000 0x10000>;
111 compatible = "denx,uimage";
113 reg = <0x50000 0x1fb0000>;
124 mtd-mac-address = <&factory 0xe000>;
128 state_default: pinctrl0 {
130 ralink,group = "jtag", "rgmii2", "uart3", "wdt";
131 ralink,function = "gpio";