2
1

0002-ARM-dts-imx7d-pico-Add-watchdog-support.patch 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. From d1ceec2a8f6ab1b35c296c3339127adca1ace30b Mon Sep 17 00:00:00 2001
  2. From: Fabio Estevam <fabio.estevam@nxp.com>
  3. Date: Tue, 23 May 2017 12:16:08 -0300
  4. Subject: [PATCH] ARM: dts: imx7d-pico: Add watchdog support
  5. imx7d-pico has the WDOG1_B pin connected to the PMIC, so add the
  6. wdog1 node and use the 'fsl,ext-reset-output' property to
  7. properly describe it.
  8. Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
  9. Signed-off-by: Shawn Guo <shawnguo@kernel.org>
  10. Upstream: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=d1ceec2a8f6ab1b35c296c3339127adca1ace30b
  11. ---
  12. arch/arm/boot/dts/imx7d-pico.dts | 15 +++++++++++++++
  13. 1 file changed, 15 insertions(+)
  14. diff --git a/arch/arm/boot/dts/imx7d-pico.dts b/arch/arm/boot/dts/imx7d-pico.dts
  15. index ebda3df..f874352 100644
  16. --- a/arch/arm/boot/dts/imx7d-pico.dts
  17. +++ b/arch/arm/boot/dts/imx7d-pico.dts
  18. @@ -284,6 +284,13 @@
  19. status = "okay";
  20. };
  21. +&wdog1 {
  22. + pinctrl-names = "default";
  23. + pinctrl-0 = <&pinctrl_wdog>;
  24. + fsl,ext-reset-output;
  25. + status = "okay";
  26. +};
  27. +
  28. &iomuxc {
  29. pinctrl_enet1: enet1grp {
  30. fsl,pins = <
  31. @@ -385,3 +392,11 @@
  32. >;
  33. };
  34. };
  35. +
  36. +&iomuxc_lpsr {
  37. + pinctrl_wdog: wdoggrp {
  38. + fsl,pins = <
  39. + MX7D_PAD_LPSR_GPIO1_IO00__WDOD1_WDOG_B 0x74
  40. + >;
  41. + };
  42. +};
  43. --
  44. 2.7.4