blob: 43daf0855f54de9bb259403f9f9e53e8ac45ac60 [file] [log] [blame]
/*
* Copyright (c) Justin Watson 2017
* SPDX-License-Identifier: Apache-2.0
*/
/dts-v1/;
#include <atmel/sam4s16c.dtsi>
/ {
model = "Atmel SAM4S Xplained Board with an Atmel SAM4S16C SoC";
compatible = "atmel,sam4s_xplained", "atmel,sam4s16c", "atmel,sam4s";
aliases {
i2c-0 = &i2c0;
i2c-1 = &i2c1;
led0 = &yellow_led_1;
led1 = &yellow_led_2;
sw0 = &user_button;
wdog = &wdog;
};
chosen {
zephyr,console = &uart0;
zephyr,shell-uart = &uart0;
zephyr,sram = &sram0;
zephyr,flash = &flash0;
};
leds {
compatible = "gpio-leds";
yellow_led_1: led_1 {
gpios = <&portc 10 0>;
label = "LED 1";
};
yellow_led_2: led_2 {
gpios = <&portc 17 0>;
label = "LED 2";
};
};
gpio_keys {
compatible = "gpio-keys";
user_button: button_1 {
label = "User Button";
gpios = <&porta 5 (GPIO_PUD_PULL_UP |
GPIO_INT_ACTIVE_LOW)>;
};
};
};
&cpu0 {
clock-frequency = <120000000>;
};
&i2c0 {
status = "okay";
};
&uart0 {
current-speed = <115200>;
status = "okay";
};
&uart1 {
current-speed = <115200>;
status = "okay";
};
&wdog {
status = "okay";
};