5 #include <dt-bindings/input/input.h>
6 #include <dt-bindings/gpio/gpio.h>
9 compatible = "mikrotik,rbm33g", "mediatek,mt7621-soc";
10 model = "MikroTik RBM33G";
13 device_type = "memory";
14 reg = <0x0 0x10000000>;
18 bootargs = "console=ttyS0,115200";
22 compatible = "gpio-leds";
25 label = "rbm33g:green:usr";
26 gpios = <&gpio0 0 GPIO_ACTIVE_HIGH>;
32 compatible = "gpio-keys-polled";
39 gpios = <&gpio0 18 GPIO_ACTIVE_LOW>;
40 linux,code = <KEY_RESTART>;
45 compatible = "regulator-fixed";
46 regulator-name = "pcie0_vcc";
48 regulator-min-microvolt = <3300000>;
49 regulator-max-microvolt = <3300000>;
50 gpio = <&gpio0 9 GPIO_ACTIVE_HIGH>;
57 compatible = "regulator-fixed";
58 regulator-name = "pcie1_vcc";
60 regulator-min-microvolt = <3300000>;
61 regulator-max-microvolt = <3300000>;
62 gpio = <&gpio0 10 GPIO_ACTIVE_HIGH>;
69 compatible = "regulator-fixed";
70 regulator-name = "pcie2_vcc";
72 regulator-min-microvolt = <3300000>;
73 regulator-max-microvolt = <3300000>;
74 gpio = <&gpio0 11 GPIO_ACTIVE_HIGH>;
81 compatible = "regulator-fixed";
82 regulator-name = "usb_vcc";
84 regulator-min-microvolt = <5000000>;
85 regulator-max-microvolt = <5000000>;
86 gpio = <&gpio0 12 GPIO_ACTIVE_HIGH>;
99 compatible = "jedec,spi-nor";
101 spi-max-frequency = <3125000>;
104 label = "routerboot";
109 factory: partition@f000 {
111 reg = <0xf000 0x71000>;
118 #address-cells = <1>;
120 compatible = "jedec,spi-nor";
122 spi-max-frequency = <3125000>;
126 reg = <0x040000 0xFC0000>;
132 mtd-mac-address = <&factory 0x0010>;
133 mtd-mac-address-increment = <1>;
138 state_default: pinctrl0 {
140 ralink,group = "uart2", "wdt";
141 ralink,function = "gpio";