1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
6 #include <dt-bindings/input/input.h>
7 #include <dt-bindings/gpio/gpio.h>
10 compatible = "mikrotik,routerboard-750gr3", "mediatek,mt7621-soc";
11 model = "MikroTik RouterBOARD 750Gr3";
15 led-failsafe = &led_usr;
16 led-running = &led_usr;
17 led-upgrade = &led_usr;
21 bootargs = "console=ttyS0,115200";
25 compatible = "gpio-leds";
28 label = "routerboard-750gr3:blue:pwr";
29 gpios = <&gpio 16 GPIO_ACTIVE_HIGH>;
34 label = "routerboard-750gr3:green:usr";
35 gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
40 compatible = "gpio-keys";
44 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
50 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
51 linux,code = <KEY_RESTART>;
56 compatible = "gpio-export";
60 /* Beeper requires PWM for frequency selection */
61 gpio-export,name = "buzzer";
62 gpio-export,output = <0>;
63 gpios = <&gpio 15 GPIO_ACTIVE_HIGH>;
67 gpio-export,name = "usb_power";
68 gpio-export,output = <1>;
69 gpios = <&gpio 12 GPIO_ACTIVE_HIGH>;
78 compatible = "jedec,spi-nor";
80 spi-max-frequency = <20000000>;
83 compatible = "fixed-partitions";
91 compatible = "mikrotik,routerboot-partitions";
96 label = "bootloader1";
101 hard_config: hard_config {
106 label = "bootloader2";
107 reg = <0x10000 0xf000>;
116 reg = <0x30000 0x1000>;
122 compatible = "mikrotik,minor";
124 reg = <0x040000 0xfc0000>;
161 /* via gpio7 (uart3 group) the PoE status can be read */
162 groups = "uart2", "uart3", "jtag", "wdt";