5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "gnubee,gb-pc2", "mediatek,mt7621-soc";
13 led-status = &led_status;
17 device_type = "memory";
18 reg = <0x0 0x1c000000>, <0x20000000 0x4000000>;
22 bootargs = "console=ttyS0,57600";
26 compatible = "gpio-keys-polled";
31 gpios = <&gpio0 18 GPIO_ACTIVE_HIGH>;
32 linux,code = <KEY_RESTART>;
37 compatible = "gpio-leds";
40 label = "gb-pc2:green:system";
41 gpios = <&gpio0 6 GPIO_ACTIVE_LOW>;
45 label = "gb-pc2:green:status";
46 gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
50 label = "gb-pc2:green:lan1";
51 gpios = <&gpio0 24 GPIO_ACTIVE_LOW>;
55 label = "gb-pc2:green:lan2";
56 gpios = <&gpio0 25 GPIO_ACTIVE_LOW>;
60 label = "gb-pc2:yellow:lan3";
61 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
65 label = "gb-pc2:green:lan3";
66 gpios = <&gpio0 15 GPIO_ACTIVE_LOW>;
79 compatible = "jedec,spi-nor";
81 spi-max-frequency = <10000000>;
82 m25p,chunked-io = <32>;
85 compatible = "fixed-partitions";
97 reg = <0x30000 0x10000>;
101 factory: partition@40000 {
103 reg = <0x40000 0x10000>;
109 reg = <0x50000 0x1fb0000>;
116 compatible = "fixed-clock";
117 clock-frequency = <900000000>;
125 mtd-mac-address = <&factory 0xe000>;
129 state_default: pinctrl0 {
131 ralink,group = "jtag", "rgmii2", "uart3", "wdt";
132 ralink,function = "gpio";