k1: pull-up gpio70/71 for SATA

Change-Id: Ieef4bc13ccd36abbcfeaf78380c05e2f21661d65
This commit is contained in:
wancong 2024-04-24 15:39:25 +08:00 committed by zhangmeng
parent 59d6c69f2f
commit 31997f6b7e

View file

@ -163,6 +163,24 @@
&gpio 92 0>; /* for usb2 hub output vbus */
status = "okay";
};
vcc_pcie2_0: vcc-pcie2-0 {
compatible = "regulator-fixed";
regulator-name = "vcc_pcie2_0";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
enable-active-high;
gpios = <&gpio 70 0>;
};
vcc_pcie2_1: vcc-pcie2-1 {
compatible = "regulator-fixed";
regulator-name = "vcc_pcie2_1";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
enable-active-high;
gpios = <&gpio 71 0>;
};
};
&pinctrl {
@ -650,6 +668,9 @@
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_pcie2_4>;
num-lanes = <1>;
pcie2_0-supply = <&vcc_pcie2_0>;
pcie2_1-supply = <&vcc_pcie2_1>;
vin-supply-names = "pcie2_0", "pcie2_1";
status = "okay";
};