2020-03-05 08:48:59 +08:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2020 Stephanos Ioannidis <root@stephanos.io>
|
2023-11-30 21:17:03 +08:00
|
|
|
* Copyright (c) 2023 Sebastian Schlupp
|
2020-03-05 08:48:59 +08:00
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include <atmel/samd5x.dtsi>
|
|
|
|
|
|
|
|
/ {
|
|
|
|
soc {
|
|
|
|
gmac: ethernet@42000800 {
|
2021-07-17 04:06:18 +08:00
|
|
|
compatible = "atmel,sam0-gmac";
|
2020-03-05 08:48:59 +08:00
|
|
|
reg = <0x42000800 0x400>;
|
|
|
|
interrupts = <84 0>;
|
|
|
|
interrupt-names = "gmac";
|
|
|
|
num-queues = <1>;
|
|
|
|
local-mac-address = [00 00 00 00 00 00];
|
|
|
|
status = "disabled";
|
2023-07-26 04:44:50 +08:00
|
|
|
};
|
2021-04-30 08:42:27 +08:00
|
|
|
|
2023-07-26 04:44:50 +08:00
|
|
|
mdio: mdio@42000800 {
|
|
|
|
compatible = "atmel,sam-mdio";
|
|
|
|
reg = <0x42000800 0x400>;
|
|
|
|
status = "disabled";
|
2023-09-26 09:19:28 +08:00
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
2020-03-05 08:48:59 +08:00
|
|
|
};
|
2023-11-30 21:17:03 +08:00
|
|
|
|
|
|
|
can0: can@42000000 {
|
|
|
|
compatible = "atmel,sam0-can";
|
|
|
|
reg = <0x42000000 0x400>;
|
|
|
|
interrupts = <78 0>, <78 0>;
|
2024-01-08 21:14:54 +08:00
|
|
|
interrupt-names = "int0", "int1";
|
2023-11-30 21:17:03 +08:00
|
|
|
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>;
|
2024-01-08 21:14:54 +08:00
|
|
|
interrupt-names = "int0", "int1";
|
2023-11-30 21:17:03 +08:00
|
|
|
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";
|
|
|
|
};
|
2020-03-05 08:48:59 +08:00
|
|
|
};
|
|
|
|
};
|