1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
6 #include <dt-bindings/gpio/gpio.h>
7 #include <dt-bindings/input/input.h>
10 compatible = "gnubee,gb-pc2", "mediatek,mt7621-soc";
14 device_type = "memory";
15 reg = <0x00000000 0x1c000000>,
16 <0x20000000 0x04000000>;
20 bootargs = "console=ttyS0,57600";
24 compatible = "gpio-keys";
28 gpios = <&gpio 18 GPIO_ACTIVE_HIGH>;
29 linux,code = <KEY_RESTART>;
34 compatible = "gpio-leds";
37 label = "green:ethblack";
38 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
42 label = "green:ethblue";
43 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
47 label = "green:ethyellow";
48 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
51 led-ethyellow-orange {
52 label = "orange:ethyellow";
53 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
57 label = "green:power";
58 gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
59 linux,default-trigger = "default-on";
63 label = "green:system";
64 gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
65 linux,default-trigger = "disk-activity";
80 compatible = "jedec,spi-nor";
82 spi-max-frequency = <50000000>;
93 reg = <0x30000 0x10000>;
97 factory: partition@40000 {
99 reg = <0x40000 0x10000>;
105 reg = <0x50000 0x1fb0000>;
115 phy-mode = "rgmii-rxid";
116 phy-handle = <ðphy5>;
124 ethphy5: ethernet-phy@5 {