I can confirm that this .dts does in fact enable RX on pin 21 and TX on pin 19 on /dev/ttyAML7
/*
* Copyright (c) 2017 BayLibre, SAS.
* Author: Neil Armstrong <narmstrong@baylibre.com>
*
* SPDX-License-Identifier: (GPL-2.0+ OR MIT)
*/
/*
* Overlay aimed to enable UART_C on Header 7J1 :
* Pins 21 (TX), 19 (RX)
*/
/dts-v1/;
/plugin/;
/ {
compatible = "libretech,cc", "amlogic,s905x", "amlogic,meson-gxl";
fragment@0 {
target-path = "/aliases";
__overlay__ {
serial4 = "/soc/cbus@c1100000/serial@84c0";
};
};
fragment@1 {
target = <&uart_C>;
__overlay__ {
status = "okay";
pinctrl-0 = <&uart_c_pins>;
pinctrl-names = "default";
};
};
};
I have data rolling in from a GPS module on this serial port. Please note I do NOT have any spi
overlays enabled, as these pins are shared with the SPI interface.
Jeff