1/*
2 * Copyright (c) 2020 Stephanos Ioannidis <root@stephanos.io>
3 * Copyright (c) 2023 Sebastian Schlupp
4 *
5 * SPDX-License-Identifier: Apache-2.0
6 */
7
8#include <atmel/samd5x.dtsi>
9
10/ {
11	soc {
12		gmac: ethernet@42000800 {
13			compatible = "atmel,sam0-gmac";
14			reg = <0x42000800 0x400>;
15			interrupts = <84 0>;
16			interrupt-names = "gmac";
17			status = "disabled";
18
19			num-queues = <1>;
20			local-mac-address = [00 00 00 00 00 00];
21		};
22
23		mdio: mdio@42000800 {
24			compatible = "atmel,sam-mdio";
25			reg = <0x42000800 0x400>;
26			status = "disabled";
27
28			#address-cells = <1>;
29			#size-cells = <0>;
30		};
31
32		can0: can@42000000 {
33			compatible = "atmel,sam0-can";
34			reg = <0x42000000 0x400>;
35			interrupts = <78 0>, <78 0>;
36			interrupt-names = "int0", "int1";
37			clocks = <&gclk 27>, <&mclk 0x10 17>;
38			clock-names = "GCLK", "MCLK";
39			status = "disabled";
40
41			bosch,mram-cfg = <0x0 128 64 64 64 64 32 32>;
42			divider = <12>;
43		};
44
45		can1: can@42000400 {
46			compatible = "atmel,sam0-can";
47			reg = <0x42000400 0x400>;
48			interrupts = <79 0>, <79 0>;
49			interrupt-names = "int0", "int1";
50			clocks = <&gclk 28>, <&mclk 0x10 18>;
51			clock-names = "GCLK", "MCLK";
52			status = "disabled";
53
54			bosch,mram-cfg = <0x0 128 64 64 64 64 32 32>;
55			divider = <12>;
56		};
57	};
58};
59