ARM: dts: omap3-gta04a5: add support for PPS

GPS receiver provides a 1PPS signal to a gpio.

Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
This commit is contained in:
H. Nikolaus Schaller 2018-07-31 09:11:30 +02:00 committed by Tony Lindgren
parent 3bace6a401
commit 4440f94d06
1 changed files with 18 additions and 0 deletions

View File

@ -14,4 +14,22 @@
sound {
ti,jack-det-gpio = <&twl_gpio 2 GPIO_ACTIVE_HIGH>; /* GTA04A5 only */
};
pps {
compatible = "pps-gpio";
pinctrl-names = "default";
pinctrl-0 = <&pps_pins>;
gpios = <&gpio4 18 GPIO_ACTIVE_HIGH>; /* GPIN_114 */
};
};
&omap3_pmx_core {
pps_pins: pinmux_pps_pins {
pinctrl-single,pins = <
OMAP3_CORE1_IOPAD(0x2138, PIN_INPUT | MUX_MODE4) /* gpin114 */
>;
};
};