3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
5 #include <dt-bindings/leds/common.h>
8 compatible = "gnubee,gb-pc1", "mediatek,mt7621-soc";
9 model = "GnuBee GB-PC1";
12 led-boot = &led_system;
13 led-failsafe = &led_system;
14 led-running = &led_system;
15 led-upgrade = &led_system;
19 compatible = "gpio-keys";
23 gpios = <&gpio 18 GPIO_ACTIVE_HIGH>;
24 linux,code = <KEY_RESTART>;
29 compatible = "gpio-leds";
32 function = LED_FUNCTION_POWER;
33 color = <LED_COLOR_ID_GREEN>;
34 gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
35 linux,default-trigger = "default-on";
39 label = "green:system";
40 gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
41 linux,default-trigger = "disk-activity";
54 compatible = "jedec,spi-nor";
56 spi-max-frequency = <50000000>;
60 compatible = "fixed-partitions";
72 reg = <0x30000 0x10000>;
76 factory: partition@40000 {
78 reg = <0x40000 0x10000>;
82 compatible = "fixed-layout";
86 macaddr_factory_e000: macaddr@e000 {
93 compatible = "denx,uimage";
95 reg = <0x50000 0x1fb0000>;
106 nvmem-cells = <&macaddr_factory_e000>;
107 nvmem-cell-names = "mac-address";
113 phy-handle = <ðphy4>;
115 nvmem-cells = <&macaddr_factory_e000>;
116 nvmem-cell-names = "mac-address";
120 ethphy4: ethernet-phy@4 {
136 groups = "jtag", "uart3", "wdt";