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

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
This commit is contained in:
Linus Walleij 2022-03-05 00:36:03 +01:00
parent 330e01653a
commit 973a9ba5fe

View File

@ -281,12 +281,27 @@ bluetooth {
};
};
/* 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 @@ skomer_cfg1 {
};
};
};
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 {