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;
18 label-mac-device = &gmac0;
22 bootargs = "console=ttyS0,115200";
26 compatible = "gpio-leds";
29 label = "routerboard-750gr3:blue:pwr";
30 gpios = <&gpio 16 GPIO_ACTIVE_HIGH>;
35 label = "routerboard-750gr3:green:usr";
36 gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
41 compatible = "gpio-keys";
45 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
51 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
52 linux,code = <KEY_RESTART>;
57 compatible = "gpio-beeper";
58 gpios = <&gpio 15 GPIO_ACTIVE_HIGH>;
62 compatible = "gpio-export";
66 gpio-export,name = "usb_power";
67 gpio-export,output = <1>;
68 gpios = <&gpio 12 GPIO_ACTIVE_HIGH>;
77 compatible = "jedec,spi-nor";
79 spi-max-frequency = <20000000>;
82 compatible = "fixed-partitions";
90 compatible = "mikrotik,routerboot-partitions";
95 label = "bootloader1";
100 hard_config: hard_config {
105 label = "bootloader2";
106 reg = <0x10000 0xf000>;
115 reg = <0x30000 0x1000>;
121 compatible = "mikrotik,minor";
123 reg = <0x040000 0xfc0000>;
130 mtd-mac-address = <&hard_config 0x0010>;
143 mtd-mac-address = <&hard_config 0x0010>;
144 mtd-mac-address-increment = <1>;
150 mtd-mac-address = <&hard_config 0x0010>;
151 mtd-mac-address-increment = <2>;
157 mtd-mac-address = <&hard_config 0x0010>;
158 mtd-mac-address-increment = <3>;
164 mtd-mac-address = <&hard_config 0x0010>;
165 mtd-mac-address-increment = <4>;
172 /* via gpio7 (uart3 group) the PoE status can be read */
173 groups = "uart2", "uart3", "jtag", "wdt";