mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-04-16 04:13:31 +00:00
ipq807x: zte mf269: repair usb not working
However, this type-c port is usb2.0. Signed-off-by: AmadeusGhost <amadeus@openjmu.xyz>
This commit is contained in:
parent
5fa050c878
commit
87f4435271
@ -88,15 +88,6 @@
|
|||||||
phy-mode = "sgmii";
|
phy-mode = "sgmii";
|
||||||
mdio-bus = <&mdio>;
|
mdio-bus = <&mdio>;
|
||||||
};
|
};
|
||||||
|
|
||||||
zte_pm {
|
|
||||||
compatible = "zte,zte_pm";
|
|
||||||
pinctrl-0 = <&zte_pm_pins>;
|
|
||||||
pinctrl-names = "default";
|
|
||||||
usb_vbus_ctrl = <&tlmm 29 1>;
|
|
||||||
usb_cc1 = <&tlmm 47 1>;
|
|
||||||
usb_cc2 = <&tlmm 48 1>;
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -559,26 +550,30 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
usb_mux_sel_pins: usb_mux_pins {
|
usb_vbus_pins: usb_vbus_pins {
|
||||||
mux {
|
mux {
|
||||||
pins = "gpio27";
|
pins = "gpio29";
|
||||||
function = "gpio";
|
|
||||||
drive-strength = <8>;
|
|
||||||
bias-pull-down;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
zte_pm_pins: zte_pm_pinmux {
|
|
||||||
mux {
|
|
||||||
pins = "gpio47", "gpio48", "gpio29";
|
|
||||||
function = "gpio";
|
function = "gpio";
|
||||||
drive-strength = <8>;
|
drive-strength = <8>;
|
||||||
bias-disable;
|
bias-disable;
|
||||||
|
output-high;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
usb_cc_pins: usb_cc_pins {
|
||||||
|
mux {
|
||||||
|
pins = "gpio47", "gpio48";
|
||||||
|
function = "gpio";
|
||||||
|
drive-strength = <8>;
|
||||||
|
bias-disable;
|
||||||
|
output-high;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
&usb_0 {
|
&usb_0 {
|
||||||
|
pinctrl-0 = <&usb_vbus_pins &usb_cc_pins>;
|
||||||
|
pinctrl-names = "default";
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user