blob: 0fe0d9565a0e1529618341a07d34ae0ea7c6e2a0 [file] [log] [blame]
/*
* Copyright (c) 2022 Kamil Serwus
*
* SPDX-License-Identifier: Apache-2.0
*/
#include <atmel/samc2x.dtsi>
/ {
aliases {
sercom-4 = &sercom4;
sercom-5 = &sercom5;
};
soc {
adc1: adc@42004800 {
compatible = "atmel,sam0-adc";
status = "disabled";
reg = <0x42004800 0x30>;
interrupts = <26 0>;
interrupt-names = "resrdy";
clocks = <&gclk 34>, <&mclk 0x1c 18>;
clock-names = "GCLK", "MCLK";
gclk = <0>;
prescaler = <4>;
#io-channel-cells = <1>;
};
sercom4: sercom@42001400 {
compatible = "atmel,sam0-sercom";
reg = <0x42001400 0x40>;
interrupts = <13 0>;
clocks = <&gclk 23>, <&mclk 0x1c 5>;
clock-names = "GCLK", "MCLK";
status = "disabled";
};
sercom5: sercom@42001800 {
compatible = "atmel,sam0-sercom";
reg = <0x42001800 0x40>;
interrupts = <14 0>;
clocks = <&gclk 25>, <&mclk 0x1c 6>;
clock-names = "GCLK", "MCLK";
status = "disabled";
};
can {
compatible = "bosch,m_can-base";
#address-cells = <1>;
#size-cells = <1>;
std-filter-elements = <28>;
ext-filter-elements = <8>;
rx-fifo0-elements = <3>;
rx-fifo1-elements = <3>;
rx-buffer-elements = <0>;
tx-buffer-elements = <1>;
can0: can@42001c00 {
compatible = "atmel,sam0-can";
reg = <0x42001c00 0x100>;
interrupts = <15 0>;
interrupt-names = "LINE_0";
clocks = <&gclk 26>, <&mclk 0x10 8>;
clock-names = "GCLK", "MCLK";
divider = <12>;
sjw = <1>;
sample-point = <875>;
sjw-data = <1>;
sample-point-data = <875>;
status = "disabled";
};
can1: can@42002000 {
compatible = "atmel,sam0-can";
reg = <0x42002000 0x100>;
interrupts = <16 0>;
interrupt-names = "LINE_0";
clocks = <&gclk 27>, <&mclk 0x10 9>;
clock-names = "GCLK", "MCLK";
divider = <12>;
sjw = <1>;
sample-point = <875>;
sjw-data = <1>;
sample-point-data = <875>;
status = "disabled";
};
};
};
};