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";
13 device_type = "memory";
14 reg = <0x0 0x10000000>;
18 bootargs = "console=ttyS0,57600";
22 compatible = "gpio-leds";
25 label = "rb750gr3:blue:pwr";
26 gpios = <&gpio0 16 GPIO_ACTIVE_HIGH>;
30 label = "rb750gr3:green:usr";
31 gpios = <&gpio0 0 GPIO_ACTIVE_HIGH>;
36 compatible = "gpio-keys-polled";
43 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
44 linux,code = <KEY_RFKILL>;
49 gpios = <&gpio0 18 GPIO_ACTIVE_LOW>;
50 linux,code = <KEY_RESTART>;
55 compatible = "gpio-export";
59 gpio-export,name = "buzzer";
60 gpio-export,output = <0>;
61 gpios = <&gpio0 15 GPIO_ACTIVE_HIGH>;
65 gpio-export,name = "usb";
66 gpio-export,output = <1>;
67 gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>;
78 compatible = "jedec,spi-nor";
80 spi-max-frequency = <10000000>;
81 m25p,chunked-io = <32>;
91 reg = <0x30000 0x10000>;
95 factory: partition@40000 {
97 reg = <0x40000 0x10000>;
103 reg = <0x50000 0xfb0000>;
110 mtd-mac-address = <&factory 0xe000>;
111 mtd-mac-address-increment = <1>;
115 state_default: pinctrl0 {
117 ralink,group = "i2c", "uart2", "uart3", "pcie", "rgmii2", "jtag";
118 ralink,function = "gpio";