Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c90bb7b9 authored by Ralf Ramsauer's avatar Ralf Ramsauer Committed by Thierry Reding
Browse files

ARM: tegra: Add high speed UARTs to Jetson TK1 device tree



This patch enables the APB DMA high speed UARTs of the Jetson TK1. So
far, they were only enabled in NVidia's official BSP.

Those additional UARTs are exposed on the expansion connector J3A2:

 UART1:
  Pin 41: BR_UART1_TXD
  Pin 44: BR_UART1_RXD

 UART2:
  Pin 65: UART2_RXD
  Pin 68: UART2_TXD
  Pin 71: UART2_CTS_L
  Pin 74: UART2_RTS_L

Signed-off-by: default avatarRalf Ramsauer <ralf@ramses-pyramidenbau.de>
Acked-by: default avatarStephen Warren <swarren@nvidia.com>
Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
parent e1098248
Loading
Loading
Loading
Loading
+26 −0
Original line number Original line Diff line number Diff line
@@ -12,7 +12,11 @@
	aliases {
	aliases {
		rtc0 = "/i2c@0,7000d000/pmic@40";
		rtc0 = "/i2c@0,7000d000/pmic@40";
		rtc1 = "/rtc@0,7000e000";
		rtc1 = "/rtc@0,7000e000";

		/* This order keeps the mapping DB9 connector <-> ttyS0 */
		serial0 = &uartd;
		serial0 = &uartd;
		serial1 = &uarta;
		serial2 = &uartb;
	};
	};


	memory {
	memory {
@@ -1367,6 +1371,28 @@
		};
		};
	};
	};


	/*
	 * First high speed UART, exposed on the expansion connector J3A2
	 *   Pin 41: BR_UART1_TXD
	 *   Pin 44: BR_UART1_RXD
	 */
	serial@70006000 {
		compatible = "nvidia,tegra124-hsuart", "nvidia,tegra30-hsuart";
		status = "okay";
	};

	/*
	 * Second high speed UART, exposed on the expansion connector J3A2
	 *   Pin 65: UART2_RXD
	 *   Pin 68: UART2_TXD
	 *   Pin 71: UART2_CTS_L
	 *   Pin 74: UART2_RTS_L
	 */
	serial@70006040 {
		compatible = "nvidia,tegra124-hsuart", "nvidia,tegra30-hsuart";
		status = "okay";
	};

	/* DB9 serial port */
	/* DB9 serial port */
	serial@0,70006300 {
	serial@0,70006300 {
		status = "okay";
		status = "okay";