Skip to content

Commit

Permalink
BigTreeTech CB2: fix pcie reset gpios
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnTheCoolingFan authored and rpardini committed Dec 5, 2024
1 parent e22bbab commit 84038fd
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -677,7 +677,9 @@
};

&pcie2x1 {
reset-gpios = <&gpio0 RK_PB6 GPIO_ACTIVE_HIGH>;
reset-gpios = <&gpio1 RK_PB2 GPIO_ACTIVE_HIGH>;
pinctrl-names = "default";
pinctrl-0 = <&pcie_reset_h>;
vpcie3v3-supply = <&vcc3v3_pcie>;
status = "okay";
};
Expand Down Expand Up @@ -780,6 +782,10 @@
pcie_drv: pcie-drv {
rockchip,pins = <4 RK_PB1 RK_FUNC_GPIO &pcfg_pull_none>;
};

pcie_reset_h: pcie-reset-h {
rockchip,pins = <1 RK_PB2 RK_FUNC_GPIO &pcfg_pull_none>;
};
};

edp {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -677,7 +677,9 @@
};

&pcie2x1 {
reset-gpios = <&gpio0 RK_PB6 GPIO_ACTIVE_HIGH>;
reset-gpios = <&gpio1 RK_PB2 GPIO_ACTIVE_HIGH>;
pinctrl-names = "default";
pinctrl-0 = <&pcie_reset_h>;
vpcie3v3-supply = <&vcc3v3_pcie>;
status = "okay";
};
Expand Down Expand Up @@ -780,6 +782,10 @@
pcie_drv: pcie-drv {
rockchip,pins = <4 RK_PB1 RK_FUNC_GPIO &pcfg_pull_none>;
};

pcie_reset_h: pcie-reset-h {
rockchip,pins = <1 RK_PB2 RK_FUNC_GPIO &pcfg_pull_none>;
};
};

edp {
Expand Down

0 comments on commit 84038fd

Please sign in to comment.