xref: /openbmc/linux/arch/arm/boot/dts/microchip/at91-wb50n.dts (revision 2612e3bbc0386368a850140a6c9b990cd496a5ec)
1*724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0
2*724ba675SRob Herring/*
3*724ba675SRob Herring * at91-wb50n.dts - Device Tree file for wb50n evaluation board
4*724ba675SRob Herring *
5*724ba675SRob Herring *  Copyright (C) 2018 Laird
6*724ba675SRob Herring *
7*724ba675SRob Herring */
8*724ba675SRob Herring
9*724ba675SRob Herring/dts-v1/;
10*724ba675SRob Herring#include "at91-wb50n.dtsi"
11*724ba675SRob Herring
12*724ba675SRob Herring/ {
13*724ba675SRob Herring	model = "Laird Workgroup Bridge 50N - Atmel SAMA5D";
14*724ba675SRob Herring	compatible = "laird,wb50n", "atmel,sama5d31", "atmel,sama5d3", "atmel,sama5";
15*724ba675SRob Herring
16*724ba675SRob Herring	gpio-keys {
17*724ba675SRob Herring		compatible = "gpio-keys";
18*724ba675SRob Herring
19*724ba675SRob Herring		button-0 {
20*724ba675SRob Herring			label = "BTNESC";
21*724ba675SRob Herring			linux,code = <1>; /* ESC button */
22*724ba675SRob Herring			gpios = <&pioA 10 GPIO_ACTIVE_LOW>;
23*724ba675SRob Herring			wakeup-source;
24*724ba675SRob Herring		};
25*724ba675SRob Herring
26*724ba675SRob Herring		button-1 {
27*724ba675SRob Herring			label = "IRQBTN";
28*724ba675SRob Herring			linux,code = <99>; /* SysReq button */
29*724ba675SRob Herring			gpios = <&pioE 31 GPIO_ACTIVE_LOW>;
30*724ba675SRob Herring			wakeup-source;
31*724ba675SRob Herring		};
32*724ba675SRob Herring	};
33*724ba675SRob Herring
34*724ba675SRob Herring	leds {
35*724ba675SRob Herring		compatible = "gpio-leds";
36*724ba675SRob Herring
37*724ba675SRob Herring		led0 {
38*724ba675SRob Herring			label = "wb50n:blue:led0";
39*724ba675SRob Herring			gpios = <&pioA 12 GPIO_ACTIVE_LOW>;
40*724ba675SRob Herring			default-state = "off";
41*724ba675SRob Herring		};
42*724ba675SRob Herring
43*724ba675SRob Herring		led1 {
44*724ba675SRob Herring			label = "wb50n:green:led1";
45*724ba675SRob Herring			gpios = <&pioA 24 GPIO_ACTIVE_LOW>;
46*724ba675SRob Herring			default-state = "off";
47*724ba675SRob Herring		};
48*724ba675SRob Herring
49*724ba675SRob Herring		led2 {
50*724ba675SRob Herring			label = "wb50n:red:led2";
51*724ba675SRob Herring			gpios = <&pioA 26 GPIO_ACTIVE_LOW>;
52*724ba675SRob Herring			default-state = "off";
53*724ba675SRob Herring		};
54*724ba675SRob Herring	};
55*724ba675SRob Herring};
56*724ba675SRob Herring
57*724ba675SRob Herring&watchdog {
58*724ba675SRob Herring	status = "okay";
59*724ba675SRob Herring};
60*724ba675SRob Herring
61*724ba675SRob Herring&mmc0 {
62*724ba675SRob Herring	status = "okay";
63*724ba675SRob Herring};
64*724ba675SRob Herring
65*724ba675SRob Herring&macb1 {
66*724ba675SRob Herring	status = "okay";
67*724ba675SRob Herring};
68*724ba675SRob Herring
69*724ba675SRob Herring&dbgu {
70*724ba675SRob Herring	status = "okay";
71*724ba675SRob Herring};
72*724ba675SRob Herring
73*724ba675SRob Herring/* On BB40 this port is labeled UART1 */
74*724ba675SRob Herring&usart0 {
75*724ba675SRob Herring	status = "okay";
76*724ba675SRob Herring};
77*724ba675SRob Herring
78*724ba675SRob Herring/* On BB40 this port is labeled UART0 */
79*724ba675SRob Herring&usart1 {
80*724ba675SRob Herring	status = "okay";
81*724ba675SRob Herring};
82*724ba675SRob Herring
83*724ba675SRob Herring&i2c0 {
84*724ba675SRob Herring	status = "okay";
85*724ba675SRob Herring};
86*724ba675SRob Herring
87*724ba675SRob Herring&spi1 {
88*724ba675SRob Herring	status = "okay";
89*724ba675SRob Herring};
90*724ba675SRob Herring
91*724ba675SRob Herring&usb0 {
92*724ba675SRob Herring	status = "okay";
93*724ba675SRob Herring};
94*724ba675SRob Herring
95*724ba675SRob Herring&usb1 {
96*724ba675SRob Herring	status = "okay";
97*724ba675SRob Herring};
98*724ba675SRob Herring
99*724ba675SRob Herring&usb2 {
100*724ba675SRob Herring	status = "okay";
101*724ba675SRob Herring};
102*724ba675SRob Herring
103