/* * Copyright (c) 2018 Bryan O'Donoghue * * SPDX-License-Identifier: Apache-2.0 */ /dts-v1/; #include / { model = "SAM D21 Xplained Pro"; compatible = "atsamd21,xpro", "atmel,samd21j18a", "atmel,samd21"; chosen { zephyr,console = &sercom3; zephyr,sram = &sram0; zephyr,flash = &flash0; }; /* These aliases are provided for compatibility with samples */ aliases { led0 = &led0; }; leds { compatible = "gpio-leds"; led0: led_0 { gpios = <&portb 30 0>; label = "Yellow LED"; }; }; }; &sercom0 { status = "ok"; compatible = "atmel,sam0-uart"; current-speed = <9600>; rxpo = <3>; txpo = <2>; }; &sercom1 { status = "ok"; compatible = "atmel,sam0-uart"; current-speed = <115200>; rxpo = <3>; txpo = <0>; }; &sercom3 { status = "ok"; compatible = "atmel,sam0-uart"; current-speed = <115200>; rxpo = <1>; txpo = <0>; }; &sercom5 { status = "ok"; compatible = "atmel,sam0-spi"; };