Message ID | e4cfc36a6f4fef33727f042748caa7d83f8609a7.1631216478.git.jan.kiszka@siemens.com |
---|---|
State | Superseded |
Headers | show |
Series | arm64: dts: Update IOT2050 boards | expand |
On 21:41-20210909, Jan Kiszka wrote: > From: Jan Kiszka <jan.kiszka@siemens.com> > > Analogously to the am654-base-board, configure the mailboxes for the the s/the the/the -> could you checkpatch and dtbs_checks please? > two R5F cores, add them and the already existing memory carve-outs to > the related MCU nodes. Allows to load applications under Linux onto the > cores, e.g. the RTI watchdog firmware. > > Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> > --- > .../boot/dts/ti/k3-am65-iot2050-common.dtsi | 26 +++++++++++++++++-- > 1 file changed, 24 insertions(+), 2 deletions(-) > > 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 58c8e64d5885..b29537088289 100644 > --- a/arch/arm64/boot/dts/ti/k3-am65-iot2050-common.dtsi > +++ b/arch/arm64/boot/dts/ti/k3-am65-iot2050-common.dtsi > @@ -658,11 +658,21 @@ &pcie1_ep { > }; > > &mailbox0_cluster0 { > - status = "disabled"; > + interrupts = <436>; > + > + mbox_mcu_r5fss0_core0: mbox-mcu-r5fss0-core0 { > + ti,mbox-tx = <1 0 0>; > + ti,mbox-rx = <0 0 0>; > + }; > }; > > &mailbox0_cluster1 { > - status = "disabled"; > + interrupts = <432>; > + > + mbox_mcu_r5fss0_core1: mbox-mcu-r5fss0-core1 { > + ti,mbox-tx = <1 0 0>; > + ti,mbox-rx = <0 0 0>; > + }; > }; > > &mailbox0_cluster2 { > @@ -705,6 +715,18 @@ &mailbox0_cluster11 { > status = "disabled"; > }; > > +&mcu_r5fss0_core0 { > + memory-region = <&mcu_r5fss0_core0_dma_memory_region>, > + <&mcu_r5fss0_core0_memory_region>; > + mboxes = <&mailbox0_cluster0 &mbox_mcu_r5fss0_core0>; > +}; > + > +&mcu_r5fss0_core1 { > + memory-region = <&mcu_r5fss0_core1_dma_memory_region>, > + <&mcu_r5fss0_core1_memory_region>; > + mboxes = <&mailbox0_cluster1 &mbox_mcu_r5fss0_core1>; > +}; > + > &icssg0_mdio { > status = "disabled"; > }; > -- > 2.31.1 > -- Regards, Nishanth Menon Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5 849D 1736 249D
On 9/10/21 1:11 AM, Jan Kiszka wrote: > From: Jan Kiszka <jan.kiszka@siemens.com> > > Analogously to the am654-base-board, configure the mailboxes for the the > two R5F cores, add them and the already existing memory carve-outs to > the related MCU nodes. Allows to load applications under Linux onto the > cores, e.g. the RTI watchdog firmware. > > Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Reviewed-by: Vignesh Raghavendra <vigneshr@ti.com> > --- > .../boot/dts/ti/k3-am65-iot2050-common.dtsi | 26 +++++++++++++++++-- > 1 file changed, 24 insertions(+), 2 deletions(-) > > 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 58c8e64d5885..b29537088289 100644 > --- a/arch/arm64/boot/dts/ti/k3-am65-iot2050-common.dtsi > +++ b/arch/arm64/boot/dts/ti/k3-am65-iot2050-common.dtsi > @@ -658,11 +658,21 @@ &pcie1_ep { > }; > > &mailbox0_cluster0 { > - status = "disabled"; > + interrupts = <436>; > + > + mbox_mcu_r5fss0_core0: mbox-mcu-r5fss0-core0 { > + ti,mbox-tx = <1 0 0>; > + ti,mbox-rx = <0 0 0>; > + }; > }; > > &mailbox0_cluster1 { > - status = "disabled"; > + interrupts = <432>; > + > + mbox_mcu_r5fss0_core1: mbox-mcu-r5fss0-core1 { > + ti,mbox-tx = <1 0 0>; > + ti,mbox-rx = <0 0 0>; > + }; > }; > > &mailbox0_cluster2 { > @@ -705,6 +715,18 @@ &mailbox0_cluster11 { > status = "disabled"; > }; > > +&mcu_r5fss0_core0 { > + memory-region = <&mcu_r5fss0_core0_dma_memory_region>, > + <&mcu_r5fss0_core0_memory_region>; > + mboxes = <&mailbox0_cluster0 &mbox_mcu_r5fss0_core0>; > +}; > + > +&mcu_r5fss0_core1 { > + memory-region = <&mcu_r5fss0_core1_dma_memory_region>, > + <&mcu_r5fss0_core1_memory_region>; > + mboxes = <&mailbox0_cluster1 &mbox_mcu_r5fss0_core1>; > +}; > + > &icssg0_mdio { > status = "disabled"; > }; >
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 58c8e64d5885..b29537088289 100644 --- a/arch/arm64/boot/dts/ti/k3-am65-iot2050-common.dtsi +++ b/arch/arm64/boot/dts/ti/k3-am65-iot2050-common.dtsi @@ -658,11 +658,21 @@ &pcie1_ep { }; &mailbox0_cluster0 { - status = "disabled"; + interrupts = <436>; + + mbox_mcu_r5fss0_core0: mbox-mcu-r5fss0-core0 { + ti,mbox-tx = <1 0 0>; + ti,mbox-rx = <0 0 0>; + }; }; &mailbox0_cluster1 { - status = "disabled"; + interrupts = <432>; + + mbox_mcu_r5fss0_core1: mbox-mcu-r5fss0-core1 { + ti,mbox-tx = <1 0 0>; + ti,mbox-rx = <0 0 0>; + }; }; &mailbox0_cluster2 { @@ -705,6 +715,18 @@ &mailbox0_cluster11 { status = "disabled"; }; +&mcu_r5fss0_core0 { + memory-region = <&mcu_r5fss0_core0_dma_memory_region>, + <&mcu_r5fss0_core0_memory_region>; + mboxes = <&mailbox0_cluster0 &mbox_mcu_r5fss0_core0>; +}; + +&mcu_r5fss0_core1 { + memory-region = <&mcu_r5fss0_core1_dma_memory_region>, + <&mcu_r5fss0_core1_memory_region>; + mboxes = <&mailbox0_cluster1 &mbox_mcu_r5fss0_core1>; +}; + &icssg0_mdio { status = "disabled"; };