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";
21 palmbus: palmbus@1E000000 {
28 compatible = "gpio-keys-polled";
35 gpios = <&gpio0 18 GPIO_ACTIVE_HIGH>;
36 linux,code = <KEY_RESTART>;
41 compatible = "gpio-leds";
44 label = "gb-pc2:green:system";
45 gpios = <&gpio0 6 GPIO_ACTIVE_LOW>;
49 label = "gb-pc2:green:status";
50 gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
54 label = "gb-pc2:green:lan";
55 gpios = <&gpio0 24 GPIO_ACTIVE_LOW>;
59 label = "gb-pc2:green:wan";
60 gpios = <&gpio0 25 GPIO_ACTIVE_LOW>;
64 label = "gb-pc2:yellow:eth1-y";
65 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
69 label = "gb-pc2:green:eth1-g";
70 gpios = <&gpio0 15 GPIO_ACTIVE_LOW>;
86 compatible = "jedec,spi-nor";
88 spi-max-frequency = <10000000>;
89 m25p,chunked-io = <32>;
99 reg = <0x30000 0x10000>;
103 factory: partition@40000 {
105 reg = <0x40000 0x10000>;
111 reg = <0x50000 0x1fb0000>;
117 compatible = "fixed-clock";
118 clock-frequency = <900000000>;
126 mtd-mac-address = <&factory 0xe000>;
130 state_default: pinctrl0 {
132 ralink,group = "uart3";
133 ralink,function = "gpio";