5 #include <dt-bindings/input/input.h>
6 #include <dt-bindings/gpio/gpio.h>
9 compatible = "mikrotik,rb750gr3", "mediatek,mt7621-soc";
10 model = "MikroTik RouterBOARD 750Gr3";
14 led-failsafe = &led_usr;
15 led-running = &led_usr;
16 led-upgrade = &led_usr;
20 device_type = "memory";
21 reg = <0x0 0x10000000>;
25 bootargs = "console=ttyS0,115200";
29 compatible = "gpio-leds";
32 label = "rb750gr3:blue:pwr";
33 gpios = <&gpio0 16 GPIO_ACTIVE_HIGH>;
38 label = "rb750gr3:green:usr";
39 gpios = <&gpio0 0 GPIO_ACTIVE_HIGH>;
44 compatible = "gpio-keys-polled";
49 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
55 gpios = <&gpio0 18 GPIO_ACTIVE_LOW>;
56 linux,code = <KEY_RESTART>;
61 compatible = "gpio-beeper";
62 gpios = <&gpio0 15 GPIO_ACTIVE_HIGH>;
66 compatible = "gpio-export";
70 gpio-export,name = "usb_power";
71 gpio-export,output = <1>;
72 gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>;
81 compatible = "jedec,spi-nor";
83 spi-max-frequency = <20000000>;
86 compatible = "fixed-partitions";
94 compatible = "fixed-partitions";
99 label = "bootloader1";
104 hard_config: partition@f000 {
105 label = "hard_config";
106 reg = <0xf000 0x1000>;
111 label = "bootloader2";
112 reg = <0x10000 0xf000>;
117 label = "soft_config";
118 reg = <0x20000 0x1000>;
123 reg = <0x30000 0x1000>;
129 compatible = "mikrotik,minor";
131 reg = <0x040000 0xfc0000>;
138 mtd-mac-address = <&hard_config 0x0010>;
139 mtd-mac-address-increment = <1>;
143 state_default: pinctrl0 {
145 /* via gpio7 (uart3 group) the PoE status can be read */
146 ralink,group = "uart2", "uart3", "jtag", "wdt";
147 ralink,function = "gpio";