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

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>

authored by

Ondrej Jirman and committed by
Maxime Ripard
41eb0df1 18009b80

+21
+21
arch/arm/boot/dts/sun8i-a83t-tbs-a711.dts
··· 98 98 }; 99 99 }; 100 100 101 + reg_gps: reg-gps { 102 + compatible = "regulator-fixed"; 103 + regulator-name = "gps"; 104 + regulator-min-microvolt = <3000000>; 105 + regulator-max-microvolt = <3000000>; 106 + }; 107 + 101 108 reg_vbat: reg-vbat { 102 109 compatible = "regulator-fixed"; 103 110 regulator-name = "vbat"; ··· 438 431 host-wakeup-gpios = <&r_pio 0 5 GPIO_ACTIVE_HIGH>; /* PL5 */ 439 432 shutdown-gpios = <&r_pio 0 4 GPIO_ACTIVE_HIGH>; /* PL4 */ 440 433 max-speed = <1500000>; 434 + }; 435 + }; 436 + 437 + &uart2 { 438 + pinctrl-names = "default"; 439 + pinctrl-0 = <&uart2_pb_pins>; 440 + status = "okay"; 441 + 442 + gnss { 443 + compatible = "u-blox,neo-6m"; 444 + 445 + v-bckp-supply = <&reg_rtc_ldo>; 446 + vcc-supply = <&reg_gps>; 447 + current-speed = <9600>; 441 448 }; 442 449 }; 443 450