1/* SPDX-License-Identifier: Apache-2.0 */
2
3/dts-v1/;
4
5#include <atmel/sam3x.dtsi>
6#include "arduino_due-pinctrl.dtsi"
7
8/ {
9	model = "Arduino Due with an Atmel SAM3X8E SoC";
10	compatible = "arduino,due", "atmel,sam3x8e", "atmel,sam3x";
11
12	aliases {
13		uart-0 = &uart;
14		i2c-0 = &twi0;
15		i2c-1 = &twi1;
16		pwm-0 = &pwm0;
17		led0 = &yellow_led;
18		watchdog0 = &wdt;
19	};
20
21	chosen {
22		zephyr,sram = &sram0;
23		zephyr,flash = &flash0;
24		zephyr,console = &uart;
25		zephyr,shell-uart = &uart;
26	};
27
28	leds {
29		compatible = "gpio-leds";
30
31		yellow_led: led_0 {
32			gpios = <&piob 27 0>;
33			label = "User LED";
34		};
35	};
36};
37
38&cpu0 {
39	clock-frequency = <84000000>;
40};
41
42&wdt {
43	status = "okay";
44};
45
46&twi0 {
47	status = "okay";
48
49	pinctrl-0 = <&twi0_default>;
50	pinctrl-names = "default";
51};
52
53&twi1 {
54	status = "okay";
55
56	pinctrl-0 = <&twi1_default>;
57	pinctrl-names = "default";
58};
59
60&uart {
61	status = "okay";
62	current-speed = <115200>;
63
64	pinctrl-0 = <&uart_default>;
65	pinctrl-names = "default";
66};
67
68&pwm0 {
69	status = "okay";
70
71	pinctrl-0 = <&pwm0_default>;
72	pinctrl-names = "default";
73};
74
75arduino_i2c: &twi1 { };
76