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";
41 gpios = <&gpio0 18 GPIO_ACTIVE_LOW>;
42 linux,code = <KEY_RESTART>;
47 compatible = "regulator-fixed";
48 regulator-name = "pcie0_vcc";
50 regulator-min-microvolt = <3300000>;
51 regulator-max-microvolt = <3300000>;
52 gpio = <&gpio0 9 GPIO_ACTIVE_HIGH>;
59 compatible = "regulator-fixed";
60 regulator-name = "pcie1_vcc";
62 regulator-min-microvolt = <3300000>;
63 regulator-max-microvolt = <3300000>;
64 gpio = <&gpio0 10 GPIO_ACTIVE_HIGH>;
71 compatible = "regulator-fixed";
72 regulator-name = "pcie2_vcc";
74 regulator-min-microvolt = <3300000>;
75 regulator-max-microvolt = <3300000>;
76 gpio = <&gpio0 11 GPIO_ACTIVE_HIGH>;
83 compatible = "regulator-fixed";
84 regulator-name = "usb_vcc";
86 regulator-min-microvolt = <5000000>;
87 regulator-max-microvolt = <5000000>;
88 gpio = <&gpio0 12 GPIO_ACTIVE_HIGH>;
101 compatible = "jedec,spi-nor";
103 spi-max-frequency = <3125000>;
106 label = "routerboot";
111 factory: partition@f000 {
113 reg = <0xf000 0x71000>;
120 #address-cells = <1>;
122 compatible = "jedec,spi-nor";
124 spi-max-frequency = <3125000>;
128 reg = <0x040000 0xFC0000>;
134 mtd-mac-address = <&factory 0x0010>;
135 mtd-mac-address-increment = <1>;
140 state_default: pinctrl0 {
142 ralink,group = "uart2", "wdt";
143 ralink,function = "gpio";