mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-11 23:47:24 +00:00
arm64: zynqmp: Add mode-pin GPIO controller DT node
Add mode-pin GPIO controller DT node in zynqmp.dtsi and also setup default reset-gpios property for usb which is default Xilinx setup. Signed-off-by: Piyush Mehta <piyush.mehta@xilinx.com> Signed-off-by: Michal Simek <michal.simek@amd.com> Link: https://lore.kernel.org/r/f2a1f6f541c41075ea36062857031bfc28d6d303.1652262769.git.michal.simek@amd.com
This commit is contained in:
parent
6be41ea4e6
commit
a4180c3696
1 changed files with 8 additions and 0 deletions
|
@ -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>
|
||||
|
||||
|
@ -189,6 +190,12 @@
|
|||
compatible = "xlnx,zynqmp-pinctrl";
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
modepin_gpio: gpio {
|
||||
compatible = "xlnx,zynqmp-gpio-modepin";
|
||||
gpio-controller;
|
||||
#gpio-cells = <2>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
@ -874,6 +881,7 @@
|
|||
<&zynqmp_reset ZYNQMP_RESET_USB0_HIBERRESET>,
|
||||
<&zynqmp_reset ZYNQMP_RESET_USB0_APB>;
|
||||
reset-names = "usb_crst", "usb_hibrst", "usb_apbrst";
|
||||
reset-gpios = <&modepin_gpio 1 GPIO_ACTIVE_LOW>;
|
||||
ranges;
|
||||
|
||||
dwc3_0: usb@fe200000 {
|
||||
|
|
Loading…
Reference in a new issue