Commit 41eb0df1 authored by Ondrej Jirman's avatar Ondrej Jirman Committed by Maxime Ripard

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: default avatarOndrej Jirman <megous@megous.com>
Signed-off-by: default avatarMaxime Ripard <maxime.ripard@bootlin.com>
parent 18009b80
......@@ -98,6 +98,13 @@ panel_input: endpoint {
};
};
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 @@ bluetooth {
};
};
&uart2 {
pinctrl-names = "default";
pinctrl-0 = <&uart2_pb_pins>;
status = "okay";
gnss {
compatible = "u-blox,neo-6m";
v-bckp-supply = <&reg_rtc_ldo>;
vcc-supply = <&reg_gps>;
current-speed = <9600>;
};
};
&usb_otg {
dr_mode = "otg";
status = "okay";
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment