Skip to content

Commit

Permalink
ARM: dts: medix-tqx: add devicetree
Browse files Browse the repository at this point in the history
Signed-off-by: Peter Fink <pfink@christ-es.de>
  • Loading branch information
pfink-christ committed Mar 20, 2023
1 parent b4e98e3 commit aa0ad2d
Show file tree
Hide file tree
Showing 3 changed files with 55 additions and 0 deletions.
1 change: 1 addition & 0 deletions arch/arm/boot/dts/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -495,6 +495,7 @@ dtb-$(CONFIG_SOC_IMX6Q) += \
imx6q-marsboard.dtb \
imx6q-mccmon6.dtb \
imx6q-medix-rqx00.dtb \
imx6q-medix-tqx00.dtb \
imx6q-nitrogen6x.dtb \
imx6q-nitrogen6_max.dtb \
imx6q-nitrogen6_som2.dtb \
Expand Down
40 changes: 40 additions & 0 deletions arch/arm/boot/dts/imx6q-medix-tqx00.dts
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
// SPDX-License-Identifier: GPL-2.0
/*
* Copyright (C) 2018-2023 Christ Electronic Systems GmbH
* Peter Fink <pfink@christ-es.de>
* Copyright 2012-2015 Freescale Semiconductor, Inc.
* Copyright 2011 Linaro Ltd.
*
* The code contained herein is licensed under the GNU General Public
* License. You may obtain a copy of the GNU General Public License
* Version 2 or later at the following locations:
*
* http://www.opensource.org/licenses/gpl-license.html
* http://www.gnu.org/copyleft/gpl.html
*/

/dts-v1/;

#include "imx6q.dtsi"
#include "imx6qdl-medix-x.dtsi"

/ {
model = "Christ i.MX6 Quad MEDIX-TQX00";
compatible = "ces,imx6q-medix-tqx", "fsl,imx6q";
};

&can1 {
status = "okay";
};

&hdmi {
status = "disabled";
};

&i2c2 {
status = "disabled";
};

&uart4 {
status = "disabled";
};
14 changes: 14 additions & 0 deletions arch/arm/boot/dts/imx6qdl-medix-x.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -467,6 +467,13 @@
>;
};

pinctrl_flexcan1: can1grp {
fsl,pins = <
MX6QDL_PAD_KEY_COL2__FLEXCAN1_TX 0x1b0b0
MX6QDL_PAD_KEY_ROW2__FLEXCAN1_RX 0x1b0b0
>;
};

pinctrl_flexcan2: can2grp {
fsl,pins = <
MX6QDL_PAD_SD3_DAT0__FLEXCAN2_TX 0x1b0b0
Expand Down Expand Up @@ -521,6 +528,13 @@
status = "okay";
};

&can1 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_flexcan1>;
status = "disabled";
};


&can2 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_flexcan2>;
Expand Down

0 comments on commit aa0ad2d

Please sign in to comment.