]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
arm64: zynqmp: fix polarity of reset-gpio in zynqmp.dtsi
authorPiyush Mehta <piyush.mehta@xilinx.com>
Thu, 28 Oct 2021 09:52:32 +0000 (15:22 +0530)
committerMichal Simek <michal.simek@xilinx.com>
Fri, 29 Oct 2021 07:47:05 +0000 (09:47 +0200)
This patch updates the polarity of the reset-gpio pin in usb0, and gpio
header file added.

Signed-off-by: Piyush Mehta <piyush.mehta@xilinx.com>
arch/arm/dts/zynqmp.dtsi

index 6dcdbd8622b91b98aeafe9e9293513c998d4ba94..b2a5a3001f8060ab2f2f0b1d138d3aa66cb49937 100644 (file)
@@ -13,6 +13,7 @@
  */
 
 #include <dt-bindings/dma/xlnx-zynqmp-dpdma.h>
+#include <dt-bindings/gpio/gpio.h>
 #include <dt-bindings/power/xlnx-zynqmp-power.h>
 #include <dt-bindings/reset/xlnx-zynqmp-resets.h>
 
                                 <&zynqmp_reset ZYNQMP_RESET_USB0_HIBERRESET>,
                                 <&zynqmp_reset ZYNQMP_RESET_USB0_APB>;
                        reset-names = "usb_crst", "usb_hibrst", "usb_apbrst";
-                       reset-gpio = <&modepin_gpio 1 0>;
+                       reset-gpio = <&modepin_gpio 1 GPIO_ACTIVE_LOW>;
                        ranges;
 
                        dwc3_0: dwc3@fe200000 {