From 6738f1d9e18b5f3a0fed9b6d4f53abf17fdc2880 Mon Sep 17 00:00:00 2001 From: Joakim Zhang Date: Tue, 29 Oct 2019 13:01:08 +0800 Subject: [PATCH] arch: arm: dts: add dts file to enable can1 Add dts file to enbale can1 which is pin conflict with fec on i.MX6Q/QP/DL sabreauto board. Signed-off-by: Joakim Zhang --- arch/arm/boot/dts/Makefile | 3 +++ .../arm/boot/dts/imx6dl-sabreauto-flexcan1.dts | 18 ++++++++++++++++++ arch/arm/boot/dts/imx6q-sabreauto-flexcan1.dts | 18 ++++++++++++++++++ .../arm/boot/dts/imx6qp-sabreauto-flexcan1.dts | 18 ++++++++++++++++++ 4 files changed, 57 insertions(+) create mode 100644 arch/arm/boot/dts/imx6dl-sabreauto-flexcan1.dts create mode 100644 arch/arm/boot/dts/imx6q-sabreauto-flexcan1.dts create mode 100644 arch/arm/boot/dts/imx6qp-sabreauto-flexcan1.dts diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index ce100dfa6946..f95125730c19 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile @@ -436,6 +436,7 @@ dtb-$(CONFIG_SOC_IMX6Q) += \ imx6dl-riotboard.dtb \ imx6dl-sabreauto.dtb \ imx6dl-sabreauto-enetirq.dtb \ + imx6dl-sabreauto-flexcan1.dtb \ imx6dl-sabrelite.dtb \ imx6dl-sabresd.dtb \ imx6dl-sabresd-hdcp.dtb \ @@ -517,6 +518,7 @@ dtb-$(CONFIG_SOC_IMX6Q) += \ imx6q-rex-pro.dtb \ imx6q-sabreauto.dtb \ imx6q-sabreauto-enetirq.dtb \ + imx6q-sabreauto-flexcan1.dtb \ imx6q-sabrelite.dtb \ imx6q-sabresd.dtb \ imx6q-sabresd-hdcp.dtb \ @@ -546,6 +548,7 @@ dtb-$(CONFIG_SOC_IMX6Q) += \ imx6qp-nitrogen6_som2.dtb \ imx6qp-phytec-mira-rdk-nand.dtb \ imx6qp-sabreauto.dtb \ + imx6qp-sabreauto-flexcan1.dtb \ imx6qp-sabresd.dtb \ imx6qp-sabresd-hdcp.dtb \ imx6qp-tx6qp-8037.dtb \ diff --git a/arch/arm/boot/dts/imx6dl-sabreauto-flexcan1.dts b/arch/arm/boot/dts/imx6dl-sabreauto-flexcan1.dts new file mode 100644 index 000000000000..f101f7c7b7b0 --- /dev/null +++ b/arch/arm/boot/dts/imx6dl-sabreauto-flexcan1.dts @@ -0,0 +1,18 @@ +/* + * Copyright (C) 2013 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. + */ + +#include "imx6dl-sabreauto.dts" + +&can1{ + status = "okay"; +}; + +&fec { + /* pin conflict with flexcan1 */ + status = "disabled"; +}; diff --git a/arch/arm/boot/dts/imx6q-sabreauto-flexcan1.dts b/arch/arm/boot/dts/imx6q-sabreauto-flexcan1.dts new file mode 100644 index 000000000000..71dd58944801 --- /dev/null +++ b/arch/arm/boot/dts/imx6q-sabreauto-flexcan1.dts @@ -0,0 +1,18 @@ +/* + * Copyright (C) 2013 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. + */ + +#include "imx6q-sabreauto.dts" + +&can1{ + status = "okay"; +}; + +&fec { + /* pin conflict with flexcan1 */ + status = "disabled"; +}; diff --git a/arch/arm/boot/dts/imx6qp-sabreauto-flexcan1.dts b/arch/arm/boot/dts/imx6qp-sabreauto-flexcan1.dts new file mode 100644 index 000000000000..b57607b0c222 --- /dev/null +++ b/arch/arm/boot/dts/imx6qp-sabreauto-flexcan1.dts @@ -0,0 +1,18 @@ +/* + * Copyright (C) 2015 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. + */ + +#include "imx6qp-sabreauto.dts" + +&can1{ + status = "okay"; +}; + +&fec { + /* pin conflict with flexcan1 */ + status = "disabled"; +};