mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
Fix PCIe for RK35xx+Fix ROCK5A PCIe device tree
This commit is contained in:
@@ -28,7 +28,7 @@ index 1bc5b6a4e9b8..77893c3af613 100644
|
||||
|
||||
+&pcie2x1l2 {
|
||||
+ status = "okay";
|
||||
+ reset-gpios = <&gpio3 RK_PB0 GPIO_ACTIVE_HIGH>;
|
||||
+ reset-gpios = <&gpio3 RK_PD1 GPIO_ACTIVE_HIGH>;
|
||||
+};
|
||||
+
|
||||
&pinctrl {
|
||||
|
||||
@@ -0,0 +1,14 @@
|
||||
diff --git a/drivers/pci/controller/dwc/pcie-dw-rockchip.c b/drivers/pci/controller/dwc/pcie-dw-rockchip.c
|
||||
index d6842141d384..a909e42b4273 100644
|
||||
--- a/drivers/pci/controller/dwc/pcie-dw-rockchip.c
|
||||
+++ b/drivers/pci/controller/dwc/pcie-dw-rockchip.c
|
||||
@@ -240,7 +240,7 @@ static int rockchip_pcie_resource_get(struct platform_device *pdev,
|
||||
return PTR_ERR(rockchip->apb_base);
|
||||
|
||||
rockchip->rst_gpio = devm_gpiod_get_optional(&pdev->dev, "reset",
|
||||
- GPIOD_OUT_HIGH);
|
||||
+ GPIOD_OUT_LOW);
|
||||
if (IS_ERR(rockchip->rst_gpio))
|
||||
return PTR_ERR(rockchip->rst_gpio);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user