projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5ae71ce
)
ARM: dts: stm32: change CAN RAM mapping on stm32mp157c
author
Bich HEMON
<bich.hemon@st.com>
Thu, 15 Nov 2018 08:52:29 +0000
(08:52 +0000)
committer
Alexandre Torgue
<alexandre.torgue@st.com>
Mon, 3 Dec 2018 08:56:20 +0000
(09:56 +0100)
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.
Signed-off-by: Bich Hemon <bich.hemon@st.com>
Signed-off-by: Alexandre Torgue <alexandre.torgue@st.com>
arch/arm/boot/dts/stm32mp157c.dtsi
patch
|
blob
|
history
diff --git
a/arch/arm/boot/dts/stm32mp157c.dtsi
b/arch/arm/boot/dts/stm32mp157c.dtsi
index
2e9df63
..
b0961cc
100644
(file)
--- a/
arch/arm/boot/dts/stm32mp157c.dtsi
+++ b/
arch/arm/boot/dts/stm32mp157c.dtsi
@@
-742,14
+742,14
@@
m_can1: can@4400e000 {
compatible = "bosch,m_can";
- reg = <0x4400e000 0x400>, <0x44011000 0x
28
00>;
+ reg = <0x4400e000 0x400>, <0x44011000 0x
14
00>;
reg-names = "m_can", "message_ram";
interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>;
interrupt-names = "int0", "int1";
clocks = <&rcc CK_HSE>, <&rcc FDCAN_K>;
clock-names = "hclk", "cclk";
- bosch,mram-cfg = <0x0 0 0 32 0 0 2 2>;
+ bosch,mram-cfg = <0x
140
0 0 0 32 0 0 2 2>;
status = "disabled";
};