Skip to content

Commit 61c1c77

Browse files
glneonmenon
authored andcommitted
arm64: dts: ti: k3-am62p: Enable Mailbox nodes at the board level
Mailbox nodes defined in the top-level J722s/AM62p SoC dtsi files are incomplete and may not be functional unless they are extended with a chosen interrupt and connection to a remote processor. Disable the Mailbox nodes in the dtsi files and only enable the ones that are actually used on a given board. Signed-off-by: Andrew Davis <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Nishanth Menon <[email protected]>
1 parent 17d0723 commit 61c1c77

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

arch/arm64/boot/dts/ti/k3-am62p-j722s-common-main.dtsi

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -768,6 +768,7 @@
768768
#mbox-cells = <1>;
769769
ti,mbox-num-users = <4>;
770770
ti,mbox-num-fifos = <16>;
771+
status = "disabled";
771772
};
772773

773774
mailbox0_cluster1: mailbox@29010000 {
@@ -777,6 +778,7 @@
777778
#mbox-cells = <1>;
778779
ti,mbox-num-users = <4>;
779780
ti,mbox-num-fifos = <16>;
781+
status = "disabled";
780782
};
781783

782784
mailbox0_cluster2: mailbox@29020000 {
@@ -786,6 +788,7 @@
786788
#mbox-cells = <1>;
787789
ti,mbox-num-users = <4>;
788790
ti,mbox-num-fifos = <16>;
791+
status = "disabled";
789792
};
790793

791794
mailbox0_cluster3: mailbox@29030000 {
@@ -795,6 +798,7 @@
795798
#mbox-cells = <1>;
796799
ti,mbox-num-users = <4>;
797800
ti,mbox-num-fifos = <16>;
801+
status = "disabled";
798802
};
799803

800804
ecap0: pwm@23100000 {

arch/arm64/boot/dts/ti/k3-am62p5-sk.dts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -621,13 +621,17 @@
621621
};
622622

623623
&mailbox0_cluster0 {
624+
status = "okay";
625+
624626
mbox_r5_0: mbox-r5-0 {
625627
ti,mbox-rx = <0 0 0>;
626628
ti,mbox-tx = <1 0 0>;
627629
};
628630
};
629631

630632
&mailbox0_cluster1 {
633+
status = "okay";
634+
631635
mbox_mcu_r5_0: mbox-mcu-r5-0 {
632636
ti,mbox-rx = <0 0 0>;
633637
ti,mbox-tx = <1 0 0>;

0 commit comments

Comments
 (0)