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-polled";
45 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
51 gpios = <&gpio0 18 GPIO_ACTIVE_LOW>;
52 linux,code = <KEY_RESTART>;
57 compatible = "gpio-beeper";
58 gpios = <&gpio0 15 GPIO_ACTIVE_HIGH>;
62 compatible = "gpio-export";
66 gpio-export,name = "usb_power";
67 gpio-export,output = <1>;
68 gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>;
77 compatible = "jedec,spi-nor";
79 spi-max-frequency = <20000000>;
82 compatible = "fixed-partitions";
90 compatible = "fixed-partitions";
95 label = "bootloader1";
100 hard_config: partition@f000 {
101 label = "hard_config";
102 reg = <0xf000 0x1000>;
107 label = "bootloader2";
108 reg = <0x10000 0xf000>;
113 label = "soft_config";
114 reg = <0x20000 0x1000>;
119 reg = <0x30000 0x1000>;
125 compatible = "mikrotik,minor";
127 reg = <0x040000 0xfc0000>;
134 mtd-mac-address = <&hard_config 0x0010>;
135 mtd-mac-address-increment = <1>;
139 state_default: pinctrl0 {
141 /* via gpio7 (uart3 group) the PoE status can be read */
142 ralink,group = "uart2", "uart3", "jtag", "wdt";
143 ralink,function = "gpio";