1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "yuncore,fap690", "mediatek,mt7621-soc";
10 model = "YunCore FAP690";
13 led-boot = &led_status_green;
14 led-failsafe = &led_status_red;
15 led-running = &led_status_green;
16 led-upgrade = &led_status_red;
17 label-mac-device = &gmac0;
21 bootargs = "console=ttyS0,115200";
25 compatible = "gpio-leds";
27 led_status_green: status_green {
28 label = "green:status";
29 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
32 led_status_red: status_red {
34 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
37 led_status_blue: status_blue {
38 label = "blue:status";
39 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
44 compatible = "linux,wdt-gpio";
45 gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
52 compatible = "gpio-keys";
56 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
57 linux,code = <KEY_RESTART>;
66 compatible = "jedec,spi-nor";
68 spi-max-frequency = <80000000>;
72 compatible = "fixed-partitions";
84 reg = <0x30000 0x10000>;
88 /* range 0x40000 to 0x50000 is empty in vendor
89 * firmware, so we do not use it either
92 factory: partition@50000 {
94 reg = <0x50000 0x40000>;
99 compatible = "denx,uimage";
101 reg = <0x90000 0xf70000>;
113 compatible = "mediatek,mt76";
114 reg = <0x0000 0 0 0 0>;
115 mediatek,mtd-eeprom = <&factory 0x0>;
116 mediatek,disable-radar-background;
121 nvmem-cells = <&macaddr_factory_0004>;
122 nvmem-cell-names = "mac-address";
136 groups = "jtag", "wdt";
142 compatible = "nvmem-cells";
143 #address-cells = <1>;
146 macaddr_factory_0004: macaddr@0004 {