gpio-export,output = <0>;
gpios = <&tlmm 56 GPIO_ACTIVE_HIGH>; /* select external sma antennas for wwan output */
};
+
+ modem-power { /* sdx_pon_gpio for pcie */
+ gpio-export,name = "modem_power";
+ gpio-export,output = <1>;
+ gpios = <&tlmm 30 GPIO_ACTIVE_HIGH>;
+ };
};
gpio_keys {
bias-disable;
};
- modem_pins: modem-state {
- pins = "gpio29", "gpio55";
- function = "gpio";
- drive-strength = <2>;
- bias-disable;
+ modem_pins: modem-pins {
+ modem_power_on {
+ bias-pull-up;
+ drive-strength = <8>;
+ output-high;
+ pins = "gpio30";
+ function = "gpio";
+ };
+
+ modem_reset {
+ drive-strength = <8>;
+ output-high;
+ pins = "gpio29";
+ };
+
+ w_disable {
+ pins = "gpio55";
+ function = "gpio";
+ drive-strength = <2>;
+ bias-disable;
+ };
};
led_pins: led-state {
bias-pull-up;
};
};
+
+ pcie0_default_state: pcie0_wake_gpio {
+ bias-pull-up;
+ drive-strength = <8>;
+ function = "pcie0_wake";
+ pins = "gpio59";
+ };
};
&blsp1_uart5 {
status = "okay";
qcom,ath11k-calibration-variant = "tplink_deco-x80-5g";
};
+
+&pcie_qmp0 {
+ status = "okay";
+};
+
+&pcie0 {
+ status = "okay";
+ pinctrl-0 = <&pcie0_default_state>;
+ pinctrl-names = "default";
+ perst-gpio = <&tlmm 58 GPIO_ACTIVE_LOW>;
+
+ pcie@0 {
+ modem@0,0 {
+ reg = <0x00 0x00 0x00 0x00 0x00>;
+ };
+ };
+};
DEVICE_DTS_CONFIG := config@hk01.c5
SOC := ipq8074
DEVICE_PACKAGES := kmod-hwmon-gpiofan ipq-wifi-tplink_deco-x80-5g \
- kmod-usb-serial-option kmod-usb-net-qmi-wwan
+ kmod-usb-serial-option kmod-usb-net-qmi-wwan kmod-mhi-pci-generic \
+ kmod-mhi-wwan-ctrl kmod-mhi-wwan-mbim
endef
TARGET_DEVICES += tplink_deco-x80-5g