3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
7 compatible = "gnubee,gb-pc2", "mediatek,mt7621-soc";
8 model = "GnuBee GB-PC2";
11 led-boot = &led_system;
12 led-failsafe = &led_system;
13 led-running = &led_system;
14 led-upgrade = &led_system;
18 compatible = "gpio-keys";
22 gpios = <&gpio 18 GPIO_ACTIVE_HIGH>;
23 linux,code = <KEY_RESTART>;
28 compatible = "gpio-leds";
31 label = "green:ethblack";
32 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
36 label = "green:ethblue";
37 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
41 label = "green:ethyellow";
42 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
46 label = "orange:ethyellow";
47 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
51 label = "green:power";
52 gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
53 linux,default-trigger = "default-on";
57 label = "green:system";
58 gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
59 linux,default-trigger = "disk-activity";
72 compatible = "jedec,spi-nor";
74 spi-max-frequency = <50000000>;
78 compatible = "fixed-partitions";
90 reg = <0x30000 0x10000>;
94 factory: partition@40000 {
96 reg = <0x40000 0x10000>;
101 compatible = "denx,uimage";
103 reg = <0x50000 0x1fb0000>;
114 nvmem-cells = <&macaddr_factory_e000>;
115 nvmem-cell-names = "mac-address";
121 phy-mode = "rgmii-rxid";
122 phy-handle = <ðphy5>;
124 nvmem-cells = <&macaddr_factory_e000>;
125 nvmem-cell-names = "mac-address";
129 ethphy5: ethernet-phy@5 {
150 groups = "jtag", "uart3", "wdt";
156 compatible = "nvmem-cells";
157 #address-cells = <1>;
160 macaddr_factory_e000: macaddr@e000 {