0001 // SPDX-License-Identifier: GPL-2.0
0002 /*
0003 * at91-wb50n.dts - Device Tree file for wb50n evaluation board
0004 *
0005 * Copyright (C) 2018 Laird
0006 *
0007 */
0008
0009 /dts-v1/;
0010 #include "at91-wb50n.dtsi"
0011
0012 / {
0013 model = "Laird Workgroup Bridge 50N - Atmel SAMA5D";
0014 compatible = "laird,wb50n", "atmel,sama5d31", "atmel,sama5d3", "atmel,sama5";
0015
0016 gpio-keys {
0017 compatible = "gpio-keys";
0018
0019 button-0 {
0020 label = "BTNESC";
0021 linux,code = <1>; /* ESC button */
0022 gpios = <&pioA 10 GPIO_ACTIVE_LOW>;
0023 wakeup-source;
0024 };
0025
0026 button-1 {
0027 label = "IRQBTN";
0028 linux,code = <99>; /* SysReq button */
0029 gpios = <&pioE 31 GPIO_ACTIVE_LOW>;
0030 wakeup-source;
0031 };
0032 };
0033
0034 leds {
0035 compatible = "gpio-leds";
0036
0037 led0 {
0038 label = "wb50n:blue:led0";
0039 gpios = <&pioA 12 GPIO_ACTIVE_LOW>;
0040 default-state = "off";
0041 };
0042
0043 led1 {
0044 label = "wb50n:green:led1";
0045 gpios = <&pioA 24 GPIO_ACTIVE_LOW>;
0046 default-state = "off";
0047 };
0048
0049 led2 {
0050 label = "wb50n:red:led2";
0051 gpios = <&pioA 26 GPIO_ACTIVE_LOW>;
0052 default-state = "off";
0053 };
0054 };
0055 };
0056
0057 &watchdog {
0058 status = "okay";
0059 };
0060
0061 &mmc0 {
0062 status = "okay";
0063 };
0064
0065 &macb1 {
0066 status = "okay";
0067 };
0068
0069 &dbgu {
0070 status = "okay";
0071 };
0072
0073 /* On BB40 this port is labeled UART1 */
0074 &usart0 {
0075 status = "okay";
0076 };
0077
0078 /* On BB40 this port is labeled UART0 */
0079 &usart1 {
0080 status = "okay";
0081 };
0082
0083 &i2c0 {
0084 status = "okay";
0085 };
0086
0087 &spi1 {
0088 status = "okay";
0089 };
0090
0091 &usb0 {
0092 status = "okay";
0093 };
0094
0095 &usb1 {
0096 status = "okay";
0097 };
0098
0099 &usb2 {
0100 status = "okay";
0101 };
0102