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-pc2", "mediatek,mt7621-soc";
9 model = "GnuBee GB-PC2";
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 label = "green:ethblack";
33 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
37 label = "green:ethblue";
38 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
42 label = "green:ethyellow";
43 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
47 label = "orange:ethyellow";
48 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
52 function = LED_FUNCTION_POWER;
53 color = <LED_COLOR_ID_GREEN>;
54 gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
55 linux,default-trigger = "default-on";
59 label = "green:system";
60 gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
61 linux,default-trigger = "disk-activity";
74 compatible = "jedec,spi-nor";
76 spi-max-frequency = <50000000>;
80 compatible = "fixed-partitions";
92 reg = <0x30000 0x10000>;
96 factory: partition@40000 {
98 reg = <0x40000 0x10000>;
102 compatible = "fixed-layout";
103 #address-cells = <1>;
106 macaddr_factory_e000: macaddr@e000 {
113 compatible = "denx,uimage";
115 reg = <0x50000 0x1fb0000>;
126 nvmem-cells = <&macaddr_factory_e000>;
127 nvmem-cell-names = "mac-address";
133 phy-mode = "rgmii-rxid";
134 phy-handle = <ðphy5>;
136 nvmem-cells = <&macaddr_factory_e000>;
137 nvmem-cell-names = "mac-address";
141 ethphy5: ethernet-phy@5 {
162 groups = "jtag", "uart3", "wdt";