Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>

+30 -1
+30 -1
arch/arm/boot/dts/ste-ux500-samsung-skomer.dts
··· 281 281 }; 282 282 }; 283 283 284 - /* GPF UART */ 284 + /* GPS UART */ 285 285 uart@80121000 { 286 286 status = "okay"; 287 287 pinctrl-names = "default", "sleep"; 288 288 pinctrl-0 = <&u1rxtx_a_1_default &u1ctsrts_a_1_default>; 289 289 pinctrl-1 = <&u1rxtx_a_1_sleep &u1ctsrts_a_1_sleep>; 290 + 291 + gnss { 292 + /* The CSRG05TA03-ICJE-R is a SirfStarV 5t chip */ 293 + compatible = "csr,csrg05ta03-icje-r"; 294 + /* GPS_RSTN on GPIO209 */ 295 + reset-gpios = <&gpio6 17 GPIO_ACTIVE_LOW>; 296 + /* GPS_ON_OFF on GPIO86 */ 297 + sirf,onoff-gpios = <&gpio2 22 GPIO_ACTIVE_HIGH>; 298 + /* GPS_1V8 (VSMPS2) */ 299 + vcc-supply = <&db8500_vsmps2_reg>; 300 + pinctrl-names = "default"; 301 + pinctrl-0 = <&g05ta03_skomer_default>; 302 + /* According to /etc/sirfgps.conf */ 303 + current-speed = <460800>; 304 + }; 290 305 }; 291 306 292 307 /* Debugging console UART connected to AB8505 USB */ ··· 665 650 skomer_cfg1 { 666 651 pins = "GPIO218_AH11"; 667 652 ste,config = <&gpio_in_nopull>; 653 + }; 654 + }; 655 + }; 656 + g05ta03 { 657 + g05ta03_skomer_default: g05ta03 { 658 + /* Reset line, start out de-asserted */ 659 + skomer_cfg1 { 660 + pins = "GPIO209_AG15"; 661 + ste,config = <&gpio_out_hi>; 662 + }; 663 + /* GPS_ON_OFF, start out deasserted (off) */ 664 + skomer_cfg2 { 665 + pins = "GPIO86_C6"; 666 + ste,config = <&gpio_out_lo>; 668 667 }; 669 668 }; 670 669 };