5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "gnubee,gb-pc1", "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-pc1:green:system";
45 gpios = <&gpio0 6 GPIO_ACTIVE_LOW>;
49 label = "gb-pc1:green:status";
50 gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
54 label = "gb-pc1:green:lan1";
55 gpios = <&gpio0 24 GPIO_ACTIVE_LOW>;
59 label = "gb-pc1:green:lan2";
60 gpios = <&gpio0 25 GPIO_ACTIVE_LOW>;
75 compatible = "jedec,spi-nor";
77 spi-max-frequency = <10000000>;
78 m25p,chunked-io = <32>;
88 reg = <0x30000 0x10000>;
92 factory: partition@40000 {
94 reg = <0x40000 0x10000>;
100 reg = <0x50000 0x1fb0000>;
106 compatible = "fixed-clock";
107 clock-frequency = <90000000>;
115 mtd-mac-address = <&factory 0xe000>;
119 state_default: pinctrl0 {
121 ralink,group = "wdt", "rgmii2", "uart3";
122 ralink,function = "gpio";