ARM: dts: imx7ulp-com: Add initial support for i.MX7UP COM board
authorFabio Estevam <festevam@gmail.com>
Mon, 2 Dec 2019 13:13:18 +0000 (10:13 -0300)
committerShawn Guo <shawnguo@kernel.org>
Wed, 11 Dec 2019 02:28:03 +0000 (10:28 +0800)
The Embedded Artists COM board is based on NXP i.MX7ULP.

It has a BD70528 PMIC from Rohm with discrete DCDC powering option and
improved current observability (compared to the existing NXP i.MX7ULP EVK).

Add the initial support for the board.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/Makefile
arch/arm/boot/dts/imx7ulp-com.dts [new file with mode: 0644]

index af63787d219865c8e9970b4db0ddefd3b46e3411..1e9e1afca53128b87429b391219ec78ade76b342 100644 (file)
@@ -613,6 +613,7 @@ dtb-$(CONFIG_SOC_IMX7D) += \
        imx7s-mba7.dtb \
        imx7s-warp.dtb
 dtb-$(CONFIG_SOC_IMX7ULP) += \
+       imx7ulp-com.dtb \
        imx7ulp-evk.dtb
 dtb-$(CONFIG_SOC_LS1021A) += \
        ls1021a-moxa-uc-8410a.dtb \
diff --git a/arch/arm/boot/dts/imx7ulp-com.dts b/arch/arm/boot/dts/imx7ulp-com.dts
new file mode 100644 (file)
index 0000000..d76fea3
--- /dev/null
@@ -0,0 +1,79 @@
+// SPDX-License-Identifier: GPL-2.0
+//
+// Copyright 2019 NXP
+
+/dts-v1/;
+
+#include "imx7ulp.dtsi"
+#include <dt-bindings/input/input.h>
+
+/ {
+       model = "Embedded Artists i.MX7ULP COM";
+       compatible = "ea,imx7ulp-com", "fsl,imx7ulp";
+
+       chosen {
+               stdout-path = &lpuart4;
+       };
+
+       memory@60000000 {
+               device_type = "memory";
+               reg = <0x60000000 0x4000000>;
+       };
+};
+
+&lpuart4 {
+       pinctrl-names = "default";
+       pinctrl-0 = <&pinctrl_lpuart4>;
+       status = "okay";
+};
+
+&usbotg1 {
+       pinctrl-names = "default";
+       pinctrl-0 = <&pinctrl_usbotg1_id>;
+       srp-disable;
+       hnp-disable;
+       adp-disable;
+       status = "okay";
+};
+
+&usdhc0 {
+       assigned-clocks = <&pcc2 IMX7ULP_CLK_USDHC0>;
+       assigned-clock-parents = <&scg1 IMX7ULP_CLK_APLL_PFD1>;
+       pinctrl-names = "default";
+       pinctrl-0 = <&pinctrl_usdhc0>;
+       non-removable;
+       bus-width = <8>;
+       no-1-8-v;
+       status = "okay";
+};
+
+&iomuxc1 {
+       pinctrl_lpuart4: lpuart4grp {
+               fsl,pins = <
+                       IMX7ULP_PAD_PTC3__LPUART4_RX    0x3
+                       IMX7ULP_PAD_PTC2__LPUART4_TX    0x3
+               >;
+       };
+
+       pinctrl_usbotg1_id: otg1idgrp {
+               fsl,pins = <
+                       IMX7ULP_PAD_PTC13__USB0_ID      0x10003
+               >;
+       };
+
+       pinctrl_usdhc0: usdhc0grp {
+               fsl,pins = <
+                       IMX7ULP_PAD_PTD1__SDHC0_CMD     0x43
+                       IMX7ULP_PAD_PTD2__SDHC0_CLK     0x10042
+                       IMX7ULP_PAD_PTD3__SDHC0_D7      0x43
+                       IMX7ULP_PAD_PTD4__SDHC0_D6      0x43
+                       IMX7ULP_PAD_PTD5__SDHC0_D5      0x43
+                       IMX7ULP_PAD_PTD6__SDHC0_D4      0x43
+                       IMX7ULP_PAD_PTD7__SDHC0_D3      0x43
+                       IMX7ULP_PAD_PTD8__SDHC0_D2      0x43
+                       IMX7ULP_PAD_PTD9__SDHC0_D1      0x43
+                       IMX7ULP_PAD_PTD10__SDHC0_D0     0x43
+                       IMX7ULP_PAD_PTD11__SDHC0_DQS    0x42
+               >;
+       };
+};