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>;
98 compatible = "fixed-layout";
102 eeprom_factory_0: eeprom@0 {
106 macaddr_factory_4: macaddr@4 {
110 precal_factory_e10: precal@e10 {
111 reg = <0xe10 0x19c10>;
117 compatible = "denx,uimage";
119 reg = <0x90000 0xf70000>;
131 compatible = "mediatek,mt76";
132 reg = <0x0000 0 0 0 0>;
133 nvmem-cells = <&eeprom_factory_0>, <&precal_factory_e10>;
134 nvmem-cell-names = "eeprom", "precal";
135 mediatek,disable-radar-background;
140 nvmem-cells = <&macaddr_factory_4>;
141 nvmem-cell-names = "mac-address";
155 groups = "jtag", "wdt";