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 led-status = &led_pwr;
17 device_type = "memory";
18 reg = <0x0 0x10000000>;
22 bootargs = "console=ttyS0,57600";
26 compatible = "gpio-leds";
29 label = "rb750gr3:blue:pwr";
30 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>;
46 linux,code = <KEY_RFKILL>;
51 gpios = <&gpio0 18 GPIO_ACTIVE_LOW>;
52 linux,code = <KEY_RESTART>;
57 compatible = "gpio-export";
61 gpio-export,name = "buzzer";
62 gpio-export,output = <0>;
63 gpios = <&gpio0 15 GPIO_ACTIVE_HIGH>;
67 gpio-export,name = "usb";
68 gpio-export,output = <1>;
69 gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>;
78 compatible = "jedec,spi-nor";
80 spi-max-frequency = <10000000>;
81 m25p,chunked-io = <32>;
84 compatible = "fixed-partitions";
96 reg = <0x30000 0x10000>;
100 factory: partition@40000 {
102 reg = <0x40000 0x10000>;
108 reg = <0x50000 0xfb0000>;
115 mtd-mac-address = <&factory 0xe000>;
116 mtd-mac-address-increment = <1>;
120 state_default: pinctrl0 {
122 ralink,group = "i2c", "uart2", "uart3", "pcie", "rgmii2", "jtag";
123 ralink,function = "gpio";