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";
33 gpios = <&gpio0 18 GPIO_ACTIVE_HIGH>;
34 linux,code = <KEY_RESTART>;
39 compatible = "gpio-leds";
42 label = "gb-pc2:green:system";
43 gpios = <&gpio0 6 GPIO_ACTIVE_LOW>;
47 label = "gb-pc2:green:status";
48 gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
52 label = "gb-pc2:green:lan1";
53 gpios = <&gpio0 24 GPIO_ACTIVE_LOW>;
57 label = "gb-pc2:green:lan2";
58 gpios = <&gpio0 25 GPIO_ACTIVE_LOW>;
62 label = "gb-pc2:yellow:lan3";
63 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
67 label = "gb-pc2:green:lan3";
68 gpios = <&gpio0 15 GPIO_ACTIVE_LOW>;
77 pinctrl-names = "default";
78 pinctrl-0 = <&sdhci_pins>;
87 compatible = "jedec,spi-nor";
89 spi-max-frequency = <10000000>;
90 m25p,chunked-io = <32>;
100 reg = <0x30000 0x10000>;
104 factory: partition@40000 {
106 reg = <0x40000 0x10000>;
112 reg = <0x50000 0x1fb0000>;
118 compatible = "fixed-clock";
119 clock-frequency = <900000000>;
127 mtd-mac-address = <&factory 0xe000>;
131 state_default: pinctrl0 {
133 ralink,group = "jtag", "rgmii2", "uart3", "wdt";
134 ralink,function = "gpio";