diff options
author | Ondrej Jirman <megous@megous.com> | 2019-04-01 13:56:16 +0200 |
---|---|---|
committer | Maxime Ripard <maxime.ripard@bootlin.com> | 2019-04-05 17:06:31 +0200 |
commit | 41eb0df1926aa7e8cbd621e66533d8bc35e82a26 (patch) | |
tree | e6a01ffc2f4da9510d53d986ea042bcc36be873d | |
parent | ARM: dts: sunxi: Remove useless pinctrl nodes (diff) | |
download | linux-41eb0df1926aa7e8cbd621e66533d8bc35e82a26.tar.xz linux-41eb0df1926aa7e8cbd621e66533d8bc35e82a26.zip |
ARM: dts: sun8i: tbs-a711: Enable UART2 (for NEO-6M GPS module)
TBS A711 tablet contains u-blox NEO-6M module connected to UART2.
Enable UART2 to gain access to the module from userspace.
Signed-off-by: Ondrej Jirman <megous@megous.com>
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
-rw-r--r-- | arch/arm/boot/dts/sun8i-a83t-tbs-a711.dts | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/sun8i-a83t-tbs-a711.dts b/arch/arm/boot/dts/sun8i-a83t-tbs-a711.dts index 066d95a7cb78..87c04d4b6ba3 100644 --- a/arch/arm/boot/dts/sun8i-a83t-tbs-a711.dts +++ b/arch/arm/boot/dts/sun8i-a83t-tbs-a711.dts @@ -98,6 +98,13 @@ }; }; + reg_gps: reg-gps { + compatible = "regulator-fixed"; + regulator-name = "gps"; + regulator-min-microvolt = <3000000>; + regulator-max-microvolt = <3000000>; + }; + reg_vbat: reg-vbat { compatible = "regulator-fixed"; regulator-name = "vbat"; @@ -434,6 +441,20 @@ }; }; +&uart2 { + pinctrl-names = "default"; + pinctrl-0 = <&uart2_pb_pins>; + status = "okay"; + + gnss { + compatible = "u-blox,neo-6m"; + + v-bckp-supply = <®_rtc_ldo>; + vcc-supply = <®_gps>; + current-speed = <9600>; + }; +}; + &usb_otg { dr_mode = "otg"; status = "okay"; |