Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1377415
| From | Guodong Xu <guodong.xu@linaro.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH v4 12/16] arm64: dts: hi6220: add pinctrl for uarts and enable them |
| Date | 2016-04-13 02:00 +0200 |
| Message-ID | <rngnU-7PD-13@gated-at.bofh.it> (permalink) |
| References | <rngnU-7PD-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Add pinctrl for uart2 uart3 and uart4. Enable uart1 uart2 and uart3.
Signed-off-by: Guodong Xu <guodong.xu@linaro.org>
---
arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts | 12 ++++++++++++
arch/arm64/boot/dts/hisilicon/hi6220.dtsi | 9 +++++++++
2 files changed, 21 insertions(+)
diff --git a/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts b/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts
index 3dbf51b..30c92bd 100644
--- a/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts
+++ b/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts
@@ -53,6 +53,18 @@
i2c1: i2c@f7101000 {
status = "ok";
};
+
+ uart1: uart@f7111000 {
+ status = "ok";
+ };
+
+ uart2: uart@f7112000 {
+ status = "ok";
+ };
+
+ uart3: uart@f7113000 {
+ status = "ok";
+ };
};
};
diff --git a/arch/arm64/boot/dts/hisilicon/hi6220.dtsi b/arch/arm64/boot/dts/hisilicon/hi6220.dtsi
index 3a665ef..e8bb81f 100644
--- a/arch/arm64/boot/dts/hisilicon/hi6220.dtsi
+++ b/arch/arm64/boot/dts/hisilicon/hi6220.dtsi
@@ -266,6 +266,8 @@
clocks = <&sys_ctrl HI6220_UART1_PCLK>,
<&sys_ctrl HI6220_UART1_PCLK>;
clock-names = "uartclk", "apb_pclk";
+ pinctrl-names = "default";
+ pinctrl-0 = <&uart1_pmx_func &uart1_cfg_func1 &uart1_cfg_func2>;
status = "disabled";
};
@@ -276,6 +278,8 @@
clocks = <&sys_ctrl HI6220_UART2_PCLK>,
<&sys_ctrl HI6220_UART2_PCLK>;
clock-names = "uartclk", "apb_pclk";
+ pinctrl-names = "default";
+ pinctrl-0 = <&uart2_pmx_func &uart2_cfg_func>;
status = "disabled";
};
@@ -286,6 +290,9 @@
clocks = <&sys_ctrl HI6220_UART3_PCLK>,
<&sys_ctrl HI6220_UART3_PCLK>;
clock-names = "uartclk", "apb_pclk";
+ pinctrl-names = "default";
+ pinctrl-0 = <&uart3_pmx_func &uart3_cfg_func>;
+ status = "disabled";
};
uart4: uart@f7114000 {
@@ -295,6 +302,8 @@
clocks = <&sys_ctrl HI6220_UART4_PCLK>,
<&sys_ctrl HI6220_UART4_PCLK>;
clock-names = "uartclk", "apb_pclk";
+ pinctrl-names = "default";
+ pinctrl-0 = <&uart4_pmx_func &uart4_cfg_func>;
status = "disabled";
};
--
1.9.1
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH v4 00/16] DTS for hi6220 and HiKey Guodong Xu <guodong.xu@linaro.org> - 2016-04-13 02:00 +0200
[PATCH v4 12/16] arm64: dts: hi6220: add pinctrl for uarts and enable them Guodong Xu <guodong.xu@linaro.org> - 2016-04-13 02:00 +0200
[PATCH v4 06/16] arm64: dts: add Hi6220 spi configuration nodes Guodong Xu <guodong.xu@linaro.org> - 2016-04-13 02:00 +0200
[PATCH v4 13/16] arm64: dts: add LED nodes for hi6220-hikey Guodong Xu <guodong.xu@linaro.org> - 2016-04-13 02:00 +0200
[PATCH v4 08/16] arm64: dts: hikey: enable i2c0 and i2c1 for working with mezzanine boards Guodong Xu <guodong.xu@linaro.org> - 2016-04-13 02:00 +0200
[PATCH v4 07/16] arm64: dts: add all hi6220 i2c nodes Guodong Xu <guodong.xu@linaro.org> - 2016-04-13 02:00 +0200
[PATCH v4 09/16] arm64: dts: Add hi6220 usb node Guodong Xu <guodong.xu@linaro.org> - 2016-04-13 02:00 +0200
[PATCH v4 04/16] arm64: dts: Add Hi6220 gpio configuration nodes Guodong Xu <guodong.xu@linaro.org> - 2016-04-13 02:00 +0200
[PATCH v4 11/16] arm64: dts: add Hi6220's stub clock node Guodong Xu <guodong.xu@linaro.org> - 2016-04-13 02:00 +0200
[PATCH v4 10/16] arm64: dts: add mailbox node for Hi6220 Guodong Xu <guodong.xu@linaro.org> - 2016-04-13 02:00 +0200
[PATCH v4 05/16] arm64: dts: add Hi6220 pinctrl configuration nodes Guodong Xu <guodong.xu@linaro.org> - 2016-04-13 02:00 +0200
[PATCH v4 03/16] arm64: dts: enable idle states for Hi6220 Guodong Xu <guodong.xu@linaro.org> - 2016-04-13 02:00 +0200
[PATCH v4 15/16] arm64: dts: add dwmmc nodes for hi6220 Guodong Xu <guodong.xu@linaro.org> - 2016-04-13 02:10 +0200
[PATCH v4 16/16] arm64: dts: add wifi nodes support for hi6220-hikey Guodong Xu <guodong.xu@linaro.org> - 2016-04-13 02:10 +0200
[PATCH v4 14/16] arm64: dts: hikey: Add hi655x pmic dts node Guodong Xu <guodong.xu@linaro.org> - 2016-04-13 02:10 +0200
Re: [PATCH v4 14/16] arm64: dts: hikey: Add hi655x pmic dts node Rob Herring <robh+dt@kernel.org> - 2016-04-13 02:20 +0200
Re: [PATCH v4 14/16] arm64: dts: hikey: Add hi655x pmic dts node Guodong Xu <guodong.xu@linaro.org> - 2016-04-13 02:20 +0200
csiph-web