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 device_type = "memory";
14 reg = <0x0 0x10000000>;
18 bootargs = "console=ttyS0,115200";
22 compatible = "gpio-leds";
25 label = "rbm11g:green:usr";
26 gpios = <&gpio0 0 GPIO_ACTIVE_HIGH>;
30 label = "rbm11g:green:rssi0";
31 gpios = <&gpio0 22 GPIO_ACTIVE_LOW>;
35 label = "rbm11g:green:rssi1";
36 gpios = <&gpio0 23 GPIO_ACTIVE_LOW>;
40 label = "rbm11g:green:rssi2";
41 gpios = <&gpio0 24 GPIO_ACTIVE_LOW>;
45 label = "rbm11g:green:rssi3";
46 gpios = <&gpio0 25 GPIO_ACTIVE_LOW>;
50 label = "rbm11g:green:rssi4";
51 gpios = <&gpio0 26 GPIO_ACTIVE_LOW>;
56 compatible = "gpio-keys-polled";
62 gpios = <&gpio0 18 GPIO_ACTIVE_LOW>;
63 linux,code = <KEY_RESTART>;
68 compatible = "regulator-fixed";
69 regulator-name = "pcie0_vcc";
71 regulator-min-microvolt = <3300000>;
72 regulator-max-microvolt = <3300000>;
73 gpio = <&gpio0 9 GPIO_ACTIVE_HIGH>;
87 compatible = "jedec,spi-nor";
89 spi-max-frequency = <3125000>;
93 reg = <0x000000 0x00F000>;
97 factory: partition@f000 {
99 reg = <0x00F000 0x031000>;
105 reg = <0x040000 0xFC0000>;
111 mtd-mac-address = <&factory 0x0010>;
112 mtd-mac-address-increment = <1>;
117 state_default: pinctrl0 {
119 ralink,group = "uart2", "wdt", "rgmii2";
120 ralink,function = "gpio";