diff mbox series

[v4,2/6] arm64: dts: ti: am654-base-board/am65-iot2050-common: Disable mcan nodes

Message ID 20211006055344.22662-3-a-govindraju@ti.com (mailing list archive)
State New, archived
Headers show
Series CAN: Add support for CAN in AM65,J721e and AM64 | expand

Commit Message

Aswath Govindraju Oct. 6, 2021, 5:53 a.m. UTC
AM654 base board and iot platforms do not have mcan instances pinned out.
Therefore, disable all the mcan instances.

Signed-off-by: Aswath Govindraju <a-govindraju@ti.com>
---
 arch/arm64/boot/dts/ti/k3-am65-iot2050-common.dtsi | 8 ++++++++
 arch/arm64/boot/dts/ti/k3-am654-base-board.dts     | 8 ++++++++
 2 files changed, 16 insertions(+)

Comments

Jan Kiszka Oct. 7, 2021, 7:31 a.m. UTC | #1
On 06.10.21 07:53, Aswath Govindraju wrote:
> AM654 base board and iot platforms do not have mcan instances pinned out.
> Therefore, disable all the mcan instances.
> 
> Signed-off-by: Aswath Govindraju <a-govindraju@ti.com>
> ---
>  arch/arm64/boot/dts/ti/k3-am65-iot2050-common.dtsi | 8 ++++++++
>  arch/arm64/boot/dts/ti/k3-am654-base-board.dts     | 8 ++++++++
>  2 files changed, 16 insertions(+)
> 
> diff --git a/arch/arm64/boot/dts/ti/k3-am65-iot2050-common.dtsi b/arch/arm64/boot/dts/ti/k3-am65-iot2050-common.dtsi
> index 65da226847f4..1e0112b90d9f 100644
> --- a/arch/arm64/boot/dts/ti/k3-am65-iot2050-common.dtsi
> +++ b/arch/arm64/boot/dts/ti/k3-am65-iot2050-common.dtsi
> @@ -646,6 +646,14 @@
>  	reset-gpios = <&wkup_gpio0 27 GPIO_ACTIVE_HIGH>;
>  };
>  
> +&m_can0 {
> +	status = "disabled";
> +};
> +
> +&m_can1 {
> +	status = "disabled";
> +};
> +
>  &pcie1_ep {
>  	status = "disabled";
>  };
> diff --git a/arch/arm64/boot/dts/ti/k3-am654-base-board.dts b/arch/arm64/boot/dts/ti/k3-am654-base-board.dts
> index cfbcebfa37c1..9043f91c9bec 100644
> --- a/arch/arm64/boot/dts/ti/k3-am654-base-board.dts
> +++ b/arch/arm64/boot/dts/ti/k3-am654-base-board.dts
> @@ -416,6 +416,14 @@
>  	status = "disabled";
>  };
>  
> +&m_can0 {
> +	status = "disabled";
> +};
> +
> +&m_can1 {
> +	status = "disabled";
> +};
> +
>  &mailbox0_cluster0 {
>  	interrupts = <436>;
>  
> 

For the IOT2050 part:

Reviewed-by: Jan Kiszka <jan.kiszka@siemens.com>

Jan
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/ti/k3-am65-iot2050-common.dtsi b/arch/arm64/boot/dts/ti/k3-am65-iot2050-common.dtsi
index 65da226847f4..1e0112b90d9f 100644
--- a/arch/arm64/boot/dts/ti/k3-am65-iot2050-common.dtsi
+++ b/arch/arm64/boot/dts/ti/k3-am65-iot2050-common.dtsi
@@ -646,6 +646,14 @@ 
 	reset-gpios = <&wkup_gpio0 27 GPIO_ACTIVE_HIGH>;
 };
 
+&m_can0 {
+	status = "disabled";
+};
+
+&m_can1 {
+	status = "disabled";
+};
+
 &pcie1_ep {
 	status = "disabled";
 };
diff --git a/arch/arm64/boot/dts/ti/k3-am654-base-board.dts b/arch/arm64/boot/dts/ti/k3-am654-base-board.dts
index cfbcebfa37c1..9043f91c9bec 100644
--- a/arch/arm64/boot/dts/ti/k3-am654-base-board.dts
+++ b/arch/arm64/boot/dts/ti/k3-am654-base-board.dts
@@ -416,6 +416,14 @@ 
 	status = "disabled";
 };
 
+&m_can0 {
+	status = "disabled";
+};
+
+&m_can1 {
+	status = "disabled";
+};
+
 &mailbox0_cluster0 {
 	interrupts = <436>;