5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "gnubee,gb-pc2", "mediatek,mt7621-soc";
13 device_type = "memory";
14 reg = <0x0 0x1c000000>, <0x20000000 0x4000000>;
18 bootargs = "console=ttyS0,57600";
22 compatible = "gpio-keys-polled";
29 gpios = <&gpio0 18 GPIO_ACTIVE_HIGH>;
30 linux,code = <KEY_RESTART>;
35 compatible = "gpio-leds";
38 label = "gb-pc2:green:system";
39 gpios = <&gpio0 6 GPIO_ACTIVE_LOW>;
43 label = "gb-pc2:green:status";
44 gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
48 label = "gb-pc2:green:lan1";
49 gpios = <&gpio0 24 GPIO_ACTIVE_LOW>;
53 label = "gb-pc2:green:lan2";
54 gpios = <&gpio0 25 GPIO_ACTIVE_LOW>;
58 label = "gb-pc2:yellow:lan3";
59 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
63 label = "gb-pc2:green:lan3";
64 gpios = <&gpio0 15 GPIO_ACTIVE_LOW>;
73 pinctrl-names = "default";
74 pinctrl-0 = <&sdhci_pins>;
83 compatible = "jedec,spi-nor";
85 spi-max-frequency = <10000000>;
86 m25p,chunked-io = <32>;
96 reg = <0x30000 0x10000>;
100 factory: partition@40000 {
102 reg = <0x40000 0x10000>;
108 reg = <0x50000 0x1fb0000>;
114 compatible = "fixed-clock";
115 clock-frequency = <900000000>;
123 mtd-mac-address = <&factory 0xe000>;
127 state_default: pinctrl0 {
129 ralink,group = "jtag", "rgmii2", "uart3", "wdt";
130 ralink,function = "gpio";