5 #include <dt-bindings/input/input.h>
6 #include <dt-bindings/gpio/gpio.h>
9 compatible = "mikrotik,rbm33g", "mediatek,mt7621-soc";
10 model = "MikroTik RouterBOARD M33G";
13 led-status = &led_usr;
17 device_type = "memory";
18 reg = <0x0 0x10000000>;
22 bootargs = "console=ttyS0,115200";
26 compatible = "gpio-leds";
29 label = "rbm33g:green:usr";
30 gpios = <&gpio0 0 GPIO_ACTIVE_HIGH>;
36 compatible = "gpio-keys-polled";
43 gpios = <&gpio0 18 GPIO_ACTIVE_LOW>;
44 linux,code = <KEY_RESTART>;
49 compatible = "regulator-fixed";
50 regulator-name = "pcie0_vcc";
52 regulator-min-microvolt = <3300000>;
53 regulator-max-microvolt = <3300000>;
54 gpio = <&gpio0 9 GPIO_ACTIVE_HIGH>;
61 compatible = "regulator-fixed";
62 regulator-name = "pcie1_vcc";
64 regulator-min-microvolt = <3300000>;
65 regulator-max-microvolt = <3300000>;
66 gpio = <&gpio0 10 GPIO_ACTIVE_HIGH>;
73 compatible = "regulator-fixed";
74 regulator-name = "pcie2_vcc";
76 regulator-min-microvolt = <3300000>;
77 regulator-max-microvolt = <3300000>;
78 gpio = <&gpio0 11 GPIO_ACTIVE_HIGH>;
85 compatible = "regulator-fixed";
86 regulator-name = "usb_vcc";
88 regulator-min-microvolt = <5000000>;
89 regulator-max-microvolt = <5000000>;
90 gpio = <&gpio0 12 GPIO_ACTIVE_HIGH>;
101 #address-cells = <1>;
103 compatible = "jedec,spi-nor";
105 spi-max-frequency = <3125000>;
108 label = "routerboot";
113 factory: partition@f000 {
115 reg = <0xf000 0x71000>;
122 #address-cells = <1>;
124 compatible = "jedec,spi-nor";
126 spi-max-frequency = <3125000>;
130 reg = <0x040000 0xFC0000>;
136 mtd-mac-address = <&factory 0x0010>;
137 mtd-mac-address-increment = <1>;
142 state_default: pinctrl0 {
144 ralink,group = "uart2", "wdt";
145 ralink,function = "gpio";