Commit 973a9ba5 authored by Linus Walleij's avatar Linus Walleij
Browse files

ARM: dts: ux500: Add GPS to Skomer device tree

parent 330e0165
Loading
Loading
Loading
Loading
+30 −1
Original line number Diff line number Diff line
@@ -281,12 +281,27 @@
			};
		};

		/* GPF UART */
		/* GPS UART */
		uart@80121000 {
			status = "okay";
			pinctrl-names = "default", "sleep";
			pinctrl-0 = <&u1rxtx_a_1_default &u1ctsrts_a_1_default>;
			pinctrl-1 = <&u1rxtx_a_1_sleep &u1ctsrts_a_1_sleep>;

			gnss {
				/* The CSRG05TA03-ICJE-R is a SirfStarV 5t chip */
				compatible = "csr,csrg05ta03-icje-r";
				/* GPS_RSTN on GPIO209 */
				reset-gpios = <&gpio6 17 GPIO_ACTIVE_LOW>;
				/* GPS_ON_OFF on GPIO86 */
				sirf,onoff-gpios = <&gpio2 22 GPIO_ACTIVE_HIGH>;
				/* GPS_1V8 (VSMPS2) */
				vcc-supply = <&db8500_vsmps2_reg>;
				pinctrl-names = "default";
				pinctrl-0 = <&g05ta03_skomer_default>;
				/* According to /etc/sirfgps.conf */
				current-speed = <460800>;
			};
		};

		/* Debugging console UART connected to AB8505 USB */
@@ -653,6 +668,20 @@
			};
		};
	};
	g05ta03 {
		g05ta03_skomer_default: g05ta03 {
			/* Reset line, start out de-asserted */
			skomer_cfg1 {
				pins = "GPIO209_AG15";
				ste,config = <&gpio_out_hi>;
			};
			/* GPS_ON_OFF, start out deasserted (off) */
			skomer_cfg2 {
				pins = "GPIO86_C6";
				ste,config = <&gpio_out_lo>;
			};
		};
	};
};

&ab8505_gpio {