| 1 |
// SPDX-License-Identifier: GPL-2.0 |
| 2 |
/* |
| 3 |
* at91-wb45n.dts - Device Tree file for WB45NBT board |
| 4 |
* |
| 5 |
* Copyright (C) 2018 Laird |
| 6 |
* |
| 7 |
*/ |
| 8 |
/dts-v1/; |
| 9 |
#include "at91-wb45n.dtsi" |
| 10 |
|
| 11 |
/ { |
| 12 |
model = "Laird Workgroup Bridge 45N - Atmel AT91SAM (dt)"; |
| 13 |
compatible = "laird,wb45n", "laird,wbxx", "atmel,at91sam9x5", "atmel,at91sam9"; |
| 14 |
|
| 15 |
gpio-keys { |
| 16 |
compatible = "gpio-keys"; |
| 17 |
|
| 18 |
button { |
| 19 |
label = "IRQBTN"; |
| 20 |
linux,code = <99>; |
| 21 |
gpios = <&pioB 18 GPIO_ACTIVE_LOW>; |
| 22 |
wakeup-source; |
| 23 |
}; |
| 24 |
}; |
| 25 |
}; |
| 26 |
|
| 27 |
&watchdog { |
| 28 |
status = "okay"; |
| 29 |
}; |
| 30 |
|
| 31 |
&usb0 { |
| 32 |
status = "okay"; |
| 33 |
}; |
| 34 |
|
| 35 |
&mmc0 { |
| 36 |
status = "okay"; |
| 37 |
}; |
| 38 |
|
| 39 |
&spi0 { |
| 40 |
status = "okay"; |
| 41 |
}; |
| 42 |
|
| 43 |
&macb0 { |
| 44 |
status = "okay"; |
| 45 |
}; |
| 46 |
|
| 47 |
&dbgu { |
| 48 |
status = "okay"; |
| 49 |
}; |
| 50 |
|
| 51 |
&usart0 { |
| 52 |
status = "okay"; |
| 53 |
}; |
| 54 |
|
| 55 |
&usart3 { |
| 56 |
status = "okay"; |
| 57 |
}; |
| 58 |
|
| 59 |
&i2c1 { |
| 60 |
status = "okay"; |
| 61 |
}; |