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 device_type = "memory";
22 reg = <0x0 0x10000000>;
26 bootargs = "console=ttyS0,115200";
30 compatible = "gpio-leds";
33 label = "rb750gr3:blue:pwr";
34 gpios = <&gpio0 16 GPIO_ACTIVE_HIGH>;
39 label = "rb750gr3:green:usr";
40 gpios = <&gpio0 0 GPIO_ACTIVE_HIGH>;
45 compatible = "gpio-keys-polled";
50 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
56 gpios = <&gpio0 18 GPIO_ACTIVE_LOW>;
57 linux,code = <KEY_RESTART>;
62 compatible = "gpio-beeper";
63 gpios = <&gpio0 15 GPIO_ACTIVE_HIGH>;
67 compatible = "gpio-export";
71 gpio-export,name = "usb_power";
72 gpio-export,output = <1>;
73 gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>;
82 compatible = "jedec,spi-nor";
84 spi-max-frequency = <20000000>;
87 compatible = "fixed-partitions";
95 compatible = "fixed-partitions";
100 label = "bootloader1";
105 hard_config: partition@f000 {
106 label = "hard_config";
107 reg = <0xf000 0x1000>;
112 label = "bootloader2";
113 reg = <0x10000 0xf000>;
118 label = "soft_config";
119 reg = <0x20000 0x1000>;
124 reg = <0x30000 0x1000>;
130 compatible = "mikrotik,minor";
132 reg = <0x040000 0xfc0000>;
139 mtd-mac-address = <&hard_config 0x0010>;
140 mtd-mac-address-increment = <1>;
144 state_default: pinctrl0 {
146 /* via gpio7 (uart3 group) the PoE status can be read */
147 ralink,group = "uart2", "uart3", "jtag", "wdt";
148 ralink,function = "gpio";