diff options
author | Andrey Smirnov <andrew.smirnov@gmail.com> | 2018-07-13 13:30:04 -0400 |
---|---|---|
committer | Shawn Guo <shawnguo@kernel.org> | 2018-07-17 02:45:39 -0400 |
commit | a1a30f892894ff27b747a04d032fee72ade1bdca (patch) | |
tree | 9e2de7b8d1218e6b2293a572c6d8e24b76e92af5 | |
parent | 2da6b9ce6a634773d22f157461d1119cd69e2672 (diff) |
ARM: dts: imx51-zii-scu3-esb: Add switch IRQ line pinumx config
Instead of relying on default values, configure PAD_AUD3_BB_CK to be a
GPIO explicitly. While at, it change the pad configuration to enable
a 100K pull-down (the pin is used as IRQ_TYPE_LEVEL_HIGH).
Cc: Nikita Yushchenko <nikita.yoush@cogentembedded.com>
Cc: Lucas Stach <l.stach@pengutronix.de>
Cc: cphealy@gmail.com
Cc: Rob Herring <robh+dt@kernel.org>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: linux-arm-kernel@lists.infradead.org
Cc: devicetree@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Cc: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
-rw-r--r-- | arch/arm/boot/dts/imx51-zii-scu3-esb.dts | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/imx51-zii-scu3-esb.dts b/arch/arm/boot/dts/imx51-zii-scu3-esb.dts index 07bc5fc05076..a7ede537e12a 100644 --- a/arch/arm/boot/dts/imx51-zii-scu3-esb.dts +++ b/arch/arm/boot/dts/imx51-zii-scu3-esb.dts | |||
@@ -221,6 +221,8 @@ | |||
221 | interrupts = <20 IRQ_TYPE_LEVEL_HIGH>; | 221 | interrupts = <20 IRQ_TYPE_LEVEL_HIGH>; |
222 | interrupt-controller; | 222 | interrupt-controller; |
223 | #interrupt-cells = <2>; | 223 | #interrupt-cells = <2>; |
224 | pinctrl-names = "default"; | ||
225 | pinctrl-0 = <&pinctrl_switch>; | ||
224 | 226 | ||
225 | ports { | 227 | ports { |
226 | #address-cells = <1>; | 228 | #address-cells = <1>; |
@@ -426,6 +428,12 @@ | |||
426 | >; | 428 | >; |
427 | }; | 429 | }; |
428 | 430 | ||
431 | pinctrl_switch: switchgrp { | ||
432 | fsl,pins = < | ||
433 | MX51_PAD_AUD3_BB_CK__GPIO4_20 0xc5 | ||
434 | >; | ||
435 | }; | ||
436 | |||
429 | pinctrl_uart1: uart1grp { | 437 | pinctrl_uart1: uart1grp { |
430 | fsl,pins = < | 438 | fsl,pins = < |
431 | MX51_PAD_UART1_RXD__UART1_RXD 0x1c5 | 439 | MX51_PAD_UART1_RXD__UART1_RXD 0x1c5 |