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 = <&gpio 18 GPIO_ACTIVE_HIGH>;
29 linux,code = <KEY_RESTART>;
34 compatible = "gpio-leds";
37 label = "gb-pc2:green:system";
38 gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
42 label = "gb-pc2:green:status";
43 gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
47 label = "gb-pc2:green:lan1";
48 gpios = <&gpio 24 GPIO_ACTIVE_LOW>;
52 label = "gb-pc2:green:lan2";
53 gpios = <&gpio 25 GPIO_ACTIVE_LOW>;
57 label = "gb-pc2:yellow:lan3";
58 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
62 label = "gb-pc2:green:lan3";
63 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
76 compatible = "jedec,spi-nor";
78 spi-max-frequency = <80000000>;
83 compatible = "fixed-partitions";
95 reg = <0x30000 0x10000>;
99 factory: partition@40000 {
101 reg = <0x40000 0x10000>;
106 compatible = "denx,uimage";
108 reg = <0x50000 0x1fb0000>;
119 mtd-mac-address = <&factory 0xe000>;
138 groups = "jtag", "rgmii2", "uart3", "wdt";