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,rb750gr3", "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 = "rb750gr3:blue:pwr";
29 gpios = <&gpio0 16 GPIO_ACTIVE_HIGH>;
34 label = "rb750gr3:green:usr";
35 gpios = <&gpio0 0 GPIO_ACTIVE_HIGH>;
40 compatible = "gpio-keys";
44 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
50 gpios = <&gpio0 18 GPIO_ACTIVE_LOW>;
51 linux,code = <KEY_RESTART>;
56 compatible = "gpio-beeper";
57 gpios = <&gpio0 15 GPIO_ACTIVE_HIGH>;
61 compatible = "gpio-export";
65 gpio-export,name = "usb_power";
66 gpio-export,output = <1>;
67 gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>;
76 compatible = "jedec,spi-nor";
78 spi-max-frequency = <20000000>;
81 compatible = "fixed-partitions";
89 compatible = "fixed-partitions";
94 label = "bootloader1";
99 hard_config: partition@f000 {
100 label = "hard_config";
101 reg = <0xf000 0x1000>;
106 label = "bootloader2";
107 reg = <0x10000 0xf000>;
112 label = "soft_config";
113 reg = <0x20000 0x1000>;
118 reg = <0x30000 0x1000>;
124 compatible = "mikrotik,minor";
126 reg = <0x040000 0xfc0000>;
133 mtd-mac-address = <&hard_config 0x0010>;
134 mtd-mac-address-increment = <1>;
138 state_default: pinctrl0 {
140 /* via gpio7 (uart3 group) the PoE status can be read */
141 ralink,group = "uart2", "uart3", "jtag", "wdt";
142 ralink,function = "gpio";