Skip to content

Commit 7764e31

Browse files
committed
ARM: dts: at91: sama5d2: fix CAN1 message ram offset
CAN0 and CAN1 instances share the same message ram configured at 0x210000 on sama5d2 Linux systems. According to current configuration of CAN0, we need 0x1c00 bytes so that the CAN1 don't overlap its message ram: 64 x RX FIFO0 elements => 64 x 72 bytes 32 x TXE (TX Event FIFO) elements => 32 x 8 bytes 32 x TXB (TX Buffer) elements => 32 x 72 bytes So a total of 7168 bytes (0x1C00). Fix offset to match this needed size. Signed-off-by: Nicolas Ferre <nicolas.ferre@microchip.com> Reported-by: Dan Sneddon <dan.sneddon@microchip.com>
1 parent 352d98f commit 7764e31

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

arch/arm/boot/dts/sama5d2.dtsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -956,7 +956,7 @@
956956
assigned-clocks = <&pmc PMC_TYPE_GCK 57>;
957957
assigned-clock-parents = <&pmc PMC_TYPE_CORE PMC_UTMI>;
958958
assigned-clock-rates = <40000000>;
959-
bosch,mram-cfg = <0x1100 0 0 64 0 0 32 32>;
959+
bosch,mram-cfg = <0x1c00 0 0 64 0 0 32 32>;
960960
status = "disabled";
961961
};
962962

0 commit comments

Comments
 (0)