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";
32 gpios = <&gpio 18 GPIO_ACTIVE_HIGH>;
33 linux,code = <KEY_RESTART>;
38 compatible = "gpio-leds";
41 label = "gb-pc1:green:system";
42 gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
46 label = "gb-pc1:green:status";
47 gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
51 label = "gb-pc1:green:lan1";
52 gpios = <&gpio 24 GPIO_ACTIVE_LOW>;
56 label = "gb-pc1:green:lan2";
57 gpios = <&gpio 25 GPIO_ACTIVE_LOW>;
72 compatible = "jedec,spi-nor";
74 spi-max-frequency = <50000000>;
84 reg = <0x30000 0x10000>;
88 factory: partition@40000 {
90 reg = <0x40000 0x10000>;
96 reg = <0x50000 0x1FB0000>;
103 compatible = "fixed-clock";
104 /* This is normally 1/4 of cpuclock */
105 clock-frequency = <225000000>;
109 compatible = "fixed-clock";
110 clock-frequency = <900000000>;
114 pinctrl-names = "default";
115 pinctrl-0 = <&pcie_pins>;
120 //mtd-mac-address = <&factory 0xe000>;
122 compatible = "mediatek,eth-mac";
124 phy-handle = <&phy1>;
128 phy1: ethernet-phy@1 {
136 state_default: pinctrl0 {
138 ralink,group = "wdt", "rgmii2", "uart3";
139 ralink,function = "gpio";