mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
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>
This commit is contained in:
parent
0db02b3bee
commit
1f4f84e955
@ -329,6 +329,12 @@ OMAP3_CORE1_IOPAD(0x210a, PIN_OUTPUT | MUX_MODE0) /* dss_data23.dss_data23 */
|
|||||||
>;
|
>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
gps_pins: pinmux_gps_pins {
|
||||||
|
pinctrl-single,pins = <
|
||||||
|
OMAP3_CORE1_IOPAD(0x2176, PIN_OUTPUT_PULLDOWN | MUX_MODE4) /* gpio145 */
|
||||||
|
>;
|
||||||
|
};
|
||||||
|
|
||||||
hdq_pins: hdq_pins {
|
hdq_pins: hdq_pins {
|
||||||
pinctrl-single,pins = <
|
pinctrl-single,pins = <
|
||||||
OMAP3_CORE1_IOPAD(0x21c6, PIN_INPUT_PULLUP | MUX_MODE0) /* i2c3_sda.hdq */
|
OMAP3_CORE1_IOPAD(0x21c6, PIN_INPUT_PULLUP | MUX_MODE0) /* i2c3_sda.hdq */
|
||||||
@ -666,6 +672,14 @@ &uart1 {
|
|||||||
&uart2 {
|
&uart2 {
|
||||||
pinctrl-names = "default";
|
pinctrl-names = "default";
|
||||||
pinctrl-0 = <&uart2_pins>;
|
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 {
|
&uart3 {
|
||||||
|
Loading…
Reference in New Issue
Block a user