dts: arm: atmel: same5x: added CAN(0 and 1) peripheral description

Added default parameters for CAN peripherals according to the datasheet.

Signed-off-by: Sebastian Schlupp <sebastian.schlupp@gmail.com>
This commit is contained in:
Sebastian Schlupp 2023-11-30 14:17:03 +01:00 committed by Henrik Brix Andersen
parent 0462cc060d
commit c2c05ff7e7

View file

@ -1,5 +1,6 @@
/*
* Copyright (c) 2020 Stephanos Ioannidis <root@stephanos.io>
* Copyright (c) 2023 Sebastian Schlupp
*
* SPDX-License-Identifier: Apache-2.0
*/
@ -25,5 +26,33 @@
#address-cells = <1>;
#size-cells = <0>;
};
can0: can@42000000 {
compatible = "atmel,sam0-can";
reg = <0x42000000 0x400>;
interrupts = <78 0>, <78 0>;
interrupt-names = "LINE_0", "LINE_1";
clocks = <&gclk 27>, <&mclk 0x10 17>;
clock-names = "GCLK", "MCLK";
bosch,mram-cfg = <0x0 128 64 64 64 64 32 32>;
divider = <12>;
sample-point = <875>;
sample-point-data = <875>;
status = "disabled";
};
can1: can@42000400 {
compatible = "atmel,sam0-can";
reg = <0x42000400 0x400>;
interrupts = <79 0>, <79 0>;
interrupt-names = "LINE_0", "LINE_1";
clocks = <&gclk 28>, <&mclk 0x10 18>;
clock-names = "GCLK", "MCLK";
bosch,mram-cfg = <0x0 128 64 64 64 64 32 32>;
divider = <12>;
sample-point = <875>;
sample-point-data = <875>;
status = "disabled";
};
};
};