5 #include <dt-bindings/input/input.h>
6 #include <dt-bindings/gpio/gpio.h>
9 compatible = "mikrotik,rbm11g", "mediatek,mt7621-soc";
10 model = "MikroTik RBM11G";
13 led-status = &led_usr;
17 device_type = "memory";
18 reg = <0x0 0x10000000>;
22 bootargs = "console=ttyS0,115200";
26 compatible = "gpio-leds";
29 label = "rbm11g:green:usr";
30 gpios = <&gpio0 0 GPIO_ACTIVE_HIGH>;
34 label = "rbm11g:green:rssi0";
35 gpios = <&gpio0 22 GPIO_ACTIVE_LOW>;
39 label = "rbm11g:green:rssi1";
40 gpios = <&gpio0 23 GPIO_ACTIVE_LOW>;
44 label = "rbm11g:green:rssi2";
45 gpios = <&gpio0 24 GPIO_ACTIVE_LOW>;
49 label = "rbm11g:green:rssi3";
50 gpios = <&gpio0 25 GPIO_ACTIVE_LOW>;
54 label = "rbm11g:green:rssi4";
55 gpios = <&gpio0 26 GPIO_ACTIVE_LOW>;
60 compatible = "gpio-keys-polled";
66 gpios = <&gpio0 18 GPIO_ACTIVE_LOW>;
67 linux,code = <KEY_RESTART>;
72 compatible = "regulator-fixed";
73 regulator-name = "pcie0_vcc";
75 regulator-min-microvolt = <3300000>;
76 regulator-max-microvolt = <3300000>;
77 gpio = <&gpio0 9 GPIO_ACTIVE_HIGH>;
91 compatible = "jedec,spi-nor";
93 spi-max-frequency = <3125000>;
97 reg = <0x000000 0x00F000>;
101 factory: partition@f000 {
103 reg = <0x00F000 0x031000>;
109 reg = <0x040000 0xFC0000>;
115 mtd-mac-address = <&factory 0x0010>;
116 mtd-mac-address-increment = <1>;
121 state_default: pinctrl0 {
123 ralink,group = "uart2", "wdt", "rgmii2";
124 ralink,function = "gpio";