5 #include <dt-bindings/input/input.h>
6 #include <dt-bindings/gpio/gpio.h>
9 compatible = "mikrotik,routerboard-m11g", "mediatek,mt7621-soc";
10 model = "MikroTik RouterBOARD M11G";
14 led-failsafe = &led_usr;
15 led-running = &led_usr;
16 led-upgrade = &led_usr;
20 bootargs = "console=ttyS0,115200";
24 compatible = "gpio-leds";
27 label = "routerboard-m11g:green:usr";
28 gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
32 label = "routerboard-m11g:green:rssi0";
33 gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
37 label = "routerboard-m11g:green:rssi1";
38 gpios = <&gpio 23 GPIO_ACTIVE_LOW>;
42 label = "routerboard-m11g:green:rssi2";
43 gpios = <&gpio 24 GPIO_ACTIVE_LOW>;
47 label = "routerboard-m11g:green:rssi3";
48 gpios = <&gpio 25 GPIO_ACTIVE_LOW>;
52 label = "routerboard-m11g:green:rssi4";
53 gpios = <&gpio 26 GPIO_ACTIVE_LOW>;
58 compatible = "gpio-keys";
62 gpios = <&gpio 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 = <&gpio 9 GPIO_ACTIVE_HIGH>;
84 compatible = "jedec,spi-nor";
86 spi-max-frequency = <33000000>;
89 compatible = "fixed-partitions";
97 compatible = "mikrotik,routerboot-partitions";
102 label = "bootloader1";
107 hard_config: hard_config {
112 label = "bootloader2";
113 reg = <0x10000 0xf000>;
122 reg = <0x30000 0x1000>;
128 compatible = "mikrotik,minor";
130 reg = <0x040000 0xFC0000>;
147 groups = "uart2", "wdt", "rgmii2";