/ {
model = "ZTE MF287";
compatible = "zte,mf287";
+};
- /*
- * This node is used to restart modem module to avoid anomalous
- * behaviours on initial communication.
- */
- gpio-restart {
- compatible = "gpio-restart";
- gpios = <&tlmm 5 GPIO_ACTIVE_HIGH>;
- };
+&gpio_modem_reset {
+ gpios = <&tlmm 5 GPIO_ACTIVE_HIGH>;
};
&key_reset {
};
};
+ gpio_export {
+ compatible = "gpio-export";
+ #size-cells = <0>;
+
+ gpio_modem_reset: modem {
+ gpio-export,name = "modem-reset";
+ gpio-export,output = <0>;
+ };
+ };
+
keys {
compatible = "gpio-keys";
/ {
model = "ZTE MF287Plus";
compatible = "zte,mf287plus";
+};
- /*
- * This node is used to restart modem module to avoid anomalous
- * behaviours on initial communication.
- */
- gpio-restart {
- compatible = "gpio-restart";
- gpios = <&tlmm 5 GPIO_ACTIVE_HIGH>;
- };
+&gpio_modem_reset {
+ gpios = <&tlmm 5 GPIO_ACTIVE_HIGH>;
};
&key_reset {
model = "ZTE MF287Pro";
compatible = "zte,mf287pro";
- gpio_export {
- compatible = "gpio-export";
- #size-cells = <0>;
-
- modem {
- gpio-export,name = "modem-reset";
- gpio-export,output = <0>;
- gpios = <&tlmm 8 GPIO_ACTIVE_HIGH>;
- };
- };
-
regulator-usb-vbus {
compatible = "regulator-fixed";
regulator-name = "USB_VBUS";
};
};
+&gpio_modem_reset {
+ gpios = <&tlmm 8 GPIO_ACTIVE_HIGH>;
+};
+
&key_reset {
gpios = <&tlmm 18 GPIO_ACTIVE_LOW>;
};