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