[PATCH v6 11/12] bestla: Enable DMA, UART3 and UART4

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Miquel Raynal <miquel.raynal@xxxxxxxxxxx>
---
 .../boot/dts/r9a06g032-rzn1d400-bestla.dts    | 35 +++++++++++++++++++
 1 file changed, 35 insertions(+)

diff --git a/arch/arm/boot/dts/r9a06g032-rzn1d400-bestla.dts b/arch/arm/boot/dts/r9a06g032-rzn1d400-bestla.dts
index f42a3ba70541..70aa026bd292 100644
--- a/arch/arm/boot/dts/r9a06g032-rzn1d400-bestla.dts
+++ b/arch/arm/boot/dts/r9a06g032-rzn1d400-bestla.dts
@@ -22,6 +22,8 @@ chosen {
 
 	aliases {
 		serial0 = &uart0;
+		serial3 = &uart3;
+
 	};
 };
 
@@ -31,6 +33,22 @@ &uart0 {
 	status = "okay";
 };
 
+&uart3 {
+	pinctrl-0 = <&pins_uart3>;
+	pinctrl-names = "default";
+	status = "okay";
+};
+
+&uart4 {
+	pinctrl-0 = <&pins_uart4>;
+	pinctrl-names = "default";
+	status = "okay";
+};
+
+&dma0 {
+	status = "okay";
+};
+
 &nand_controller {
 	pinctrl-0 = <&pins_nand>;
 	pinctrl-names = "default";
@@ -82,4 +100,21 @@ RZN1_PINMUX(104, RZN1_FUNC_UART0_I)	/* UART0_RXD */
 		>;
 		bias-disable;
 	};
+
+	pins_uart3: pins_uart3 {
+		pinmux = <
+			RZN1_PINMUX(123, RZN1_FUNC_UART3)       /* UART3_TXD */
+			RZN1_PINMUX(124, RZN1_FUNC_UART3)       /* UART3_RXD */
+			RZN1_PINMUX(125, RZN1_FUNC_UART3)       /* UART3_RTS_N */
+                >;
+		bias-disable;
+	};
+
+	pins_uart4: pins_uart4 {
+		pinmux = <
+			RZN1_PINMUX(109, RZN1_FUNC_UART4)       /* UART4_TXD */
+			RZN1_PINMUX(110, RZN1_FUNC_UART4)       /* UART4_RXD */
+                >;
+		bias-disable;
+	};
 };
-- 
2.27.0




[Index of Archives]     [Linux Samsung SOC]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux