MLK-13441-3 ARM: dts: imx7ulp: add evk board support
authorAnson Huang <Anson.Huang@nxp.com>
Mon, 7 Nov 2016 14:39:06 +0000 (22:39 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 19:52:34 +0000 (14:52 -0500)
Add i.MX7ULP EVK board support.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Signed-off-by: Shenwei Wang <shenwei.wang@nxp.com>
Signed-off-by: Fancy Fang <chen.fang@nxp.com>
Signed-off-by: ye li <ye.li@nxp.com>
arch/arm/boot/dts/Makefile
arch/arm/boot/dts/imx7ulp-evk.dts [new file with mode: 0644]

index b58a98a..f91c8fb 100644 (file)
@@ -566,6 +566,8 @@ dtb-$(CONFIG_SOC_IMX7D) += \
        imx7d-sdb-reva-qspi.dtb \
        imx7d-sdb-reva-touch.dtb \
        imx7d-sdb-reva-wm8960.dtb
+dtb-$(CONFIG_SOC_IMX7ULP) += \
+       imx7ulp-evk.dtb
 dtb-$(CONFIG_SOC_LS1021A) += \
        ls1021a-qds.dtb \
        ls1021a-twr.dtb
diff --git a/arch/arm/boot/dts/imx7ulp-evk.dts b/arch/arm/boot/dts/imx7ulp-evk.dts
new file mode 100644 (file)
index 0000000..8ea9767
--- /dev/null
@@ -0,0 +1,94 @@
+/*
+ * Copyright 2016 Freescale Semiconductor, Inc.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+/dts-v1/;
+
+#include "imx7ulp.dtsi"
+
+/ {
+       model = "NXP i.MX7ULP EVK";
+       compatible = "fsl,imx7ulp-evk", "fsl,imx7ulp", "Generic DT based system";
+
+       chosen {
+               bootargs = "console=ttyLP0,115200 earlycon=lpuart32,0x402D0010,115200";
+               stdout-path = &lpuart4;
+       };
+
+       memory {
+               device_type = "memory";
+               reg = <0x60000000 0x40000000>;
+       };
+};
+
+&iomuxc1 {
+       pinctrl-names = "default";
+       pinctrl-0 = <&pinctrl_hog_1>;
+
+       imx7ulp-evk {
+               pinctrl_hog_1: hoggrp-1 {
+                       fsl,pins = <
+                               ULP1_PAD_PTC10__PTC10           0x30100
+                       >;
+               };
+
+               pinctrl_usdhc1: usdhc1grp {
+                       fsl,pins = <
+                               ULP1_PAD_PTD1__SDHC0_CMD        0x843
+                               ULP1_PAD_PTD2__SDHC0_CLK        0x843
+                               ULP1_PAD_PTD7__SDHC0_D3         0x843
+                               ULP1_PAD_PTD8__SDHC0_D2         0x843
+                               ULP1_PAD_PTD9__SDHC0_D1         0x843
+                               ULP1_PAD_PTD10__SDHC0_D0        0x843
+                       >;
+               };
+       };
+};
+
+&lpuart6 {
+       pinctrl-names = "default";
+       pinctrl-0 = < >;
+       status = "okay";
+};
+
+&lcdif {
+       status = "okay";
+       display = <&display0>;
+
+       display0: display {
+               bits-per-pixel = <16>;
+               bus-width = <24>;
+
+               display-timings {
+                       native-mode = <&timing0>;
+                       timing0: timing0 {
+                       clock-frequency = <9200000>;
+                       hactive = <480>;
+                       vactive = <272>;
+                       hfront-porch = <8>;
+                       hback-porch = <4>;
+                       hsync-len = <41>;
+                       vback-porch = <2>;
+                       vfront-porch = <4>;
+                       vsync-len = <10>;
+
+                       hsync-active = <0>;
+                       vsync-active = <0>;
+                       de-active = <1>;
+                       pixelclk-active = <0>;
+                       };
+               };
+       };
+};
+
+&usdhc1 {
+       pinctrl-names = "default", "sleep";
+       pinctrl-0 = <&pinctrl_usdhc1>;
+       pinctrl-1 = <&pinctrl_usdhc1>;
+       non-removable;
+       status = "okay";
+};