]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: dts: stm32: Fix CAN RAM mapping on stm32mp157c
authorChristophe Roullier <christophe.roullier@st.com>
Mon, 4 Nov 2019 14:31:45 +0000 (15:31 +0100)
committerAlexandre Torgue <alexandre.torgue@st.com>
Wed, 6 Nov 2019 09:54:34 +0000 (10:54 +0100)
commitbf9cca79f2ce7c3deb88968e7c16c9096e3ef2af
tree47ad1986427e7199a3ccfebf1e52c959d8fb37bf
parentcaa87443fb58a8e03f29e43d4f1fd33726c459b4
ARM: dts: stm32: Fix CAN RAM mapping on stm32mp157c

Split the 10Kbytes CAN message RAM to be able to use simultaneously
FDCAN1 and FDCAN2 instances.
First 5Kbytes are allocated to FDCAN1 and last 5Kbytes are used for
FDCAN2. To do so, set the offset to 0x1400 in mram-cfg for FDCAN2.

Fixes: 7406de365246 ("ARM: dts: stm32: change CAN RAM mapping on stm32mp157c")
Signed-off-by: Christophe Roullier <christophe.roullier@st.com>
Signed-off-by: Alexandre Torgue <alexandre.torgue@st.com>
arch/arm/boot/dts/stm32mp157c.dtsi