summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/omap3-gta04.dtsi
diff options
context:
space:
mode:
authorAndreas Kemnade <andreas@kemnade.info>2019-01-31 19:06:40 +0100
committerTony Lindgren <tony@atomide.com>2019-02-07 09:30:20 -0800
commit1f4f84e955342ebba3295f100693073a412c8f46 (patch)
tree3fe79e40e4136123c2c69fbce73aebd27a1f6698 /arch/arm/boot/dts/omap3-gta04.dtsi
parent0db02b3bee2a8aa4a2dddff02cbbc578c53e5d2f (diff)
ARM: dts: gta04: add gps support
The GTA04 has a w2sg0004 or w2sg0084 gps chip. Not detectable which one is mounted so use the compatibility entry for w2sg0004 for all which will work for both. Signed-off-by: Andreas Kemnade <andreas@kemnade.info> Reviewed-by: Johan Hovold <johan@kernel.org> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/boot/dts/omap3-gta04.dtsi')
-rw-r--r--arch/arm/boot/dts/omap3-gta04.dtsi14
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/omap3-gta04.dtsi b/arch/arm/boot/dts/omap3-gta04.dtsi
index 666dd0288b69..843d8795118d 100644
--- a/arch/arm/boot/dts/omap3-gta04.dtsi
+++ b/arch/arm/boot/dts/omap3-gta04.dtsi
@@ -329,6 +329,12 @@
>;
};
+ gps_pins: pinmux_gps_pins {
+ pinctrl-single,pins = <
+ OMAP3_CORE1_IOPAD(0x2176, PIN_OUTPUT_PULLDOWN | MUX_MODE4) /* gpio145 */
+ >;
+ };
+
hdq_pins: hdq_pins {
pinctrl-single,pins = <
OMAP3_CORE1_IOPAD(0x21c6, PIN_INPUT_PULLUP | MUX_MODE0) /* i2c3_sda.hdq */
@@ -666,6 +672,14 @@
&uart2 {
pinctrl-names = "default";
pinctrl-0 = <&uart2_pins>;
+ gnss: gnss {
+ compatible = "wi2wi,w2sg0004";
+ pinctrl-names = "default";
+ pinctrl-0 = <&gps_pins>;
+ sirf,onoff-gpios = <&gpio5 17 GPIO_ACTIVE_HIGH>;
+ lna-supply = <&vsim>;
+ vcc-supply = <&ldo_3v3>;
+ };
};
&uart3 {