5 #include <dt-bindings/input/input.h>
6 #include <dt-bindings/gpio/gpio.h>
9 compatible = "mikrotik,rb750gr3", "mediatek,mt7621-soc";
10 model = "MikroTik RB750Gr3";
14 led-failsafe = &led_pwr;
15 led-running = &led_pwr;
16 led-upgrade = &led_pwr;
20 device_type = "memory";
21 reg = <0x0 0x10000000>;
25 bootargs = "console=ttyS0,57600";
29 compatible = "gpio-leds";
32 label = "rb750gr3:blue:pwr";
33 gpios = <&gpio0 16 GPIO_ACTIVE_HIGH>;
37 label = "rb750gr3:green:usr";
38 gpios = <&gpio0 0 GPIO_ACTIVE_HIGH>;
43 compatible = "gpio-keys-polled";
48 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
49 linux,code = <KEY_RFKILL>;
54 gpios = <&gpio0 18 GPIO_ACTIVE_LOW>;
55 linux,code = <KEY_RESTART>;
60 compatible = "gpio-export";
64 gpio-export,name = "buzzer";
65 gpio-export,output = <0>;
66 gpios = <&gpio0 15 GPIO_ACTIVE_HIGH>;
70 gpio-export,name = "usb";
71 gpio-export,output = <1>;
72 gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>;
81 compatible = "jedec,spi-nor";
83 spi-max-frequency = <10000000>;
84 m25p,chunked-io = <32>;
87 compatible = "fixed-partitions";
99 reg = <0x30000 0x10000>;
103 factory: partition@40000 {
105 reg = <0x40000 0x10000>;
110 compatible = "denx,uimage";
112 reg = <0x50000 0xfb0000>;
119 mtd-mac-address = <&factory 0xe000>;
120 mtd-mac-address-increment = <1>;
124 state_default: pinctrl0 {
126 ralink,group = "i2c", "uart2", "uart3", "pcie", "rgmii2", "jtag";
127 ralink,function = "gpio";