mirror of
https://github.com/Dasharo/linux.git
synced 2026-03-06 15:25:10 -08:00
ARM: dts: Add support for emtrion emCON-MX6 series
This patch adds support for the emtrion GmbH emCON-MX6 modules. They are available with imx.6 Solo, Dual-Lite, Dual and Quad equipped with Memory from 512MB to 2GB (configured by U-Boot). Our default developer-Kit ships with the Avari baseboard and the EDT ETM0700G0BDH6 Display (imx6[q|dl]-emcon-avari). The devicetree is split into the common part providing all module components and the basic support for all SoC versions (imx6qdl-emcon.dtsi) and parts which are i.mx6 S|DL and D|Q relevant. Finally the support for the avari baseboard in the developer-kit configuration is provided by the emcon-avari dts files. Signed-off-by: Jan Tuerk <jan.tuerk@emtrion.com> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
This commit is contained in:
@@ -396,6 +396,7 @@ dtb-$(CONFIG_SOC_IMX6Q) += \
|
||||
imx6dl-cubox-i-emmc-som-v15.dtb \
|
||||
imx6dl-cubox-i-som-v15.dtb \
|
||||
imx6dl-dfi-fs700-m60.dtb \
|
||||
imx6dl-emcon-avari.dtb \
|
||||
imx6dl-gw51xx.dtb \
|
||||
imx6dl-gw52xx.dtb \
|
||||
imx6dl-gw53xx.dtb \
|
||||
@@ -460,6 +461,7 @@ dtb-$(CONFIG_SOC_IMX6Q) += \
|
||||
imx6q-display5-tianma-tm070-1280x768.dtb \
|
||||
imx6q-dmo-edmqmx6.dtb \
|
||||
imx6q-dms-ba16.dtb \
|
||||
imx6q-emcon-avari.dtb \
|
||||
imx6q-evi.dtb \
|
||||
imx6q-gk802.dtb \
|
||||
imx6q-gw51xx.dtb \
|
||||
|
||||
14
arch/arm/boot/dts/imx6dl-emcon-avari.dts
Normal file
14
arch/arm/boot/dts/imx6dl-emcon-avari.dts
Normal file
@@ -0,0 +1,14 @@
|
||||
// SPDX-License-Identifier: (GPL-2.0 or MIT)
|
||||
//
|
||||
// Copyright (C) 2018 emtrion GmbH
|
||||
//
|
||||
|
||||
/dts-v1/;
|
||||
#include "imx6dl.dtsi"
|
||||
#include "imx6qdl-emcon.dtsi"
|
||||
#include "imx6qdl-emcon-avari.dtsi"
|
||||
|
||||
/ {
|
||||
model = "emtrion SoM emCON-MX6 Solo/Dual-Lite Avari";
|
||||
compatible = "emtrion,emcon-mx6-avari", "fsl,imx6dl";
|
||||
};
|
||||
14
arch/arm/boot/dts/imx6q-emcon-avari.dts
Normal file
14
arch/arm/boot/dts/imx6q-emcon-avari.dts
Normal file
@@ -0,0 +1,14 @@
|
||||
// SPDX-License-Identifier: (GPL-2.0 or MIT)
|
||||
//
|
||||
// Copyright (C) 2018 emtrion GmbH
|
||||
//
|
||||
|
||||
/dts-v1/;
|
||||
#include "imx6q.dtsi"
|
||||
#include "imx6qdl-emcon.dtsi"
|
||||
#include "imx6qdl-emcon-avari.dtsi"
|
||||
|
||||
/ {
|
||||
model = "emtrion SoM emCON-MX6 Dual/Quad on Avari";
|
||||
compatible = "emtrion,emcon-mx6-avari", "fsl,imx6q";
|
||||
};
|
||||
177
arch/arm/boot/dts/imx6qdl-emcon-avari.dtsi
Normal file
177
arch/arm/boot/dts/imx6qdl-emcon-avari.dtsi
Normal file
@@ -0,0 +1,177 @@
|
||||
// SPDX-License-Identifier: (GPL-2.0 or MIT)
|
||||
//
|
||||
// Copyright (C) 2018 emtrion GmbH
|
||||
//
|
||||
|
||||
/ {
|
||||
aliases {
|
||||
boardid = &boardid;
|
||||
mmc0 = &usdhc3;
|
||||
mmc1 = &usdhc2;
|
||||
mmc2 = &usdhc1;
|
||||
mmc3 = &usdhc4;
|
||||
};
|
||||
|
||||
reg_wall_5p0: reg-wall5p0 {
|
||||
compatible = "regulator-fixed";
|
||||
regulator-name = "Main-Supply";
|
||||
regulator-min-microvolt = <5000000>;
|
||||
regulator-max-microvolt = <5000000>;
|
||||
regulator-always-on;
|
||||
regulator-boot-on;
|
||||
};
|
||||
|
||||
reg_base3p3: reg-base3p3 {
|
||||
compatible = "regulator-fixed";
|
||||
vin-supply = <®_wall_5p0>;
|
||||
regulator-name = "3V3-avari";
|
||||
regulator-min-microvolt = <3300000>;
|
||||
regulator-max-microvolt = <3300000>;
|
||||
regulator-always-on;
|
||||
regulator-boot-on;
|
||||
};
|
||||
|
||||
reg_base1p5: reg-base1p5 {
|
||||
compatible = "regulator-fixed";
|
||||
vin-supply = <®_base3p3>;
|
||||
regulator-name = "1V5-avari";
|
||||
regulator-min-microvolt = <1500000>;
|
||||
regulator-max-microvolt = <1500000>;
|
||||
regulator-always-on;
|
||||
regulator-boot-on;
|
||||
};
|
||||
|
||||
reg_usb_otg: reg-otgvbus {
|
||||
compatible = "regulator-fixed";
|
||||
vin-supply = <®_wall_5p0>;
|
||||
regulator-name = "OTG_VBUS";
|
||||
regulator-min-microvolt = <5000000>;
|
||||
regulator-max-microvolt = <5000000>;
|
||||
gpio = <&gpio1 8 GPIO_ACTIVE_LOW>;
|
||||
regulator-always-on;
|
||||
};
|
||||
|
||||
clk_codec: clock-codec {
|
||||
compatible = "fixed-clock";
|
||||
#clock-cells = <0>;
|
||||
clock-frequency = <12000000>;
|
||||
};
|
||||
|
||||
sound {
|
||||
compatible = "fsl,imx-audio-sgtl5000";
|
||||
model = "emCON-avari-sgtl5000";
|
||||
ssi-controller = <&ssi2>;
|
||||
audio-codec = <&sgtl5000>;
|
||||
audio-routing =
|
||||
"Headphone Jack", "HP_OUT";
|
||||
mux-int-port = <2>;
|
||||
mux-ext-port = <3>;
|
||||
};
|
||||
};
|
||||
|
||||
&audmux {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pinctrl_audmux>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&can1 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&can2 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&ecspi2 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&hdmi {
|
||||
ddc-i2c-bus = <&i2c2>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&i2c2 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&i2c3 {
|
||||
clock-frequency = <100000>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pinctrl_i2c3>;
|
||||
status = "okay";
|
||||
|
||||
sgtl5000: audio-codec@a {
|
||||
compatible = "fsl,sgtl5000";
|
||||
reg = <0x0a>;
|
||||
#sound-dai-cells = <0>;
|
||||
clocks = <&clk_codec>;
|
||||
VDDA-supply = <®_base3p3>;
|
||||
VDDIO-supply = <®_base3p3>;
|
||||
};
|
||||
|
||||
captouch: touchscreen@38 {
|
||||
compatible = "edt,edt-ft5406";
|
||||
reg = <0x38>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pinctrl_irq_touch2 &pinctrl_emcon_gpio4>;
|
||||
interrupt-parent = <&gpio6>;
|
||||
interrupts = <31 IRQ_TYPE_EDGE_FALLING>;
|
||||
wake-gpios = <&gpio2 3 GPIO_ACTIVE_HIGH>;
|
||||
wakeup-source;
|
||||
};
|
||||
|
||||
boardid: gpio@3a {
|
||||
compatible = "nxp,pca8574";
|
||||
reg = <0x3a>;
|
||||
gpio-controller;
|
||||
#gpio-cells = <1>;
|
||||
};
|
||||
};
|
||||
|
||||
&pcie {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&rgb_encoder {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&rgb_panel {
|
||||
compatible = "edt,etm0700g0bdh6";
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&ssi2 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&uart2 {
|
||||
status = "okay";
|
||||
uart-has-rtscts;
|
||||
};
|
||||
|
||||
&uart3 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&uart4 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&uart5 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&usbh1 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&usbotg {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&usdhc1 {
|
||||
status = "okay";
|
||||
};
|
||||
832
arch/arm/boot/dts/imx6qdl-emcon.dtsi
Normal file
832
arch/arm/boot/dts/imx6qdl-emcon.dtsi
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user