diff options
author | Adrian Alonso <aalonso@freescale.com> | 2015-04-09 15:09:35 -0500 |
---|---|---|
committer | Frank Li <Frank.Li@freescale.com> | 2015-04-24 23:03:54 +0800 |
commit | bb4d524b24053e59ce969d7d157ada59c5794074 (patch) | |
tree | 6826f0db0c4c08884739490414fcfd6cef9136da | |
parent | 15d05ea3589cf64232358b0ed54a3523443923e1 (diff) |
MLK-10616: ARM: imx7d: enable uart2 for m4 dts
* Enable UART2 for iMX7D target boards with Cortex-M4 support
* Change UART2 clock root source parent to match MQX
uart2 settings.
Signed-off-by: Adrian Alonso <aalonso@freescale.com>
(cherry picked from commit a430047c422b95c9324355e8780fa74eee693d7a)
-rw-r--r-- | arch/arm/boot/dts/imx7d-12x12-lpddr3-arm2-m4.dts | 18 | ||||
-rw-r--r-- | arch/arm/boot/dts/imx7d-sdb-m4.dts | 18 |
2 files changed, 36 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/imx7d-12x12-lpddr3-arm2-m4.dts b/arch/arm/boot/dts/imx7d-12x12-lpddr3-arm2-m4.dts index b2cd838d78f3..afb17c4cd0af 100644 --- a/arch/arm/boot/dts/imx7d-12x12-lpddr3-arm2-m4.dts +++ b/arch/arm/boot/dts/imx7d-12x12-lpddr3-arm2-m4.dts @@ -19,3 +19,21 @@ status = "okay"; }; +&iomuxc { + uart2 { + pinctrl_uart2_1: uart2grp-1 { + fsl,pins = < + MX7D_PAD_UART2_RX_DATA__UART2_DCE_RX 0x79 + MX7D_PAD_UART2_TX_DATA__UART2_DCE_TX 0x79 + >; + }; + }; +}; + +&uart2 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_uart2_1>; + assigned-clocks = <&clks IMX7D_UART2_ROOT_SRC>; + assigned-clock-parents = <&clks IMX7D_OSC_24M_CLK>; + status = "okay"; +}; diff --git a/arch/arm/boot/dts/imx7d-sdb-m4.dts b/arch/arm/boot/dts/imx7d-sdb-m4.dts index 8f22be676b01..d1a7736179ec 100644 --- a/arch/arm/boot/dts/imx7d-sdb-m4.dts +++ b/arch/arm/boot/dts/imx7d-sdb-m4.dts @@ -35,3 +35,21 @@ status = "okay"; }; +&iomuxc { + uart2 { + pinctrl_uart2_1: uart2grp-1 { + fsl,pins = < + MX7D_PAD_UART2_RX_DATA__UART2_DCE_RX 0x79 + MX7D_PAD_UART2_TX_DATA__UART2_DCE_TX 0x79 + >; + }; + }; +}; + +&uart2 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_uart2_1>; + assigned-clocks = <&clks IMX7D_UART2_ROOT_SRC>; + assigned-clock-parents = <&clks IMX7D_OSC_24M_CLK>; + status = "okay"; +}; |