Ben Whitten | 0445655 | 2018-06-15 14:40:52 +0100 | [diff] [blame] | 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 | #address-cells = <1>; |
| 18 | #size-cells = <0>; |
| 19 | |
| 20 | irqbtn@18 { |
| 21 | reg = <18>; |
| 22 | label = "IRQBTN"; |
| 23 | linux,code = <99>; |
| 24 | gpios = <&pioB 18 GPIO_ACTIVE_LOW>; |
Sudeep Holla | 31f031f | 2018-12-21 18:11:49 +0000 | [diff] [blame] | 25 | wakeup-source; |
Ben Whitten | 0445655 | 2018-06-15 14:40:52 +0100 | [diff] [blame] | 26 | }; |
| 27 | }; |
| 28 | }; |
| 29 | |
| 30 | &watchdog { |
| 31 | status = "okay"; |
| 32 | }; |
| 33 | |
| 34 | &usb0 { |
| 35 | status = "okay"; |
| 36 | }; |
| 37 | |
| 38 | &mmc0 { |
| 39 | status = "okay"; |
| 40 | }; |
| 41 | |
| 42 | &spi0 { |
| 43 | status = "okay"; |
| 44 | }; |
| 45 | |
| 46 | &macb0 { |
| 47 | status = "okay"; |
| 48 | }; |
| 49 | |
| 50 | &dbgu { |
| 51 | status = "okay"; |
| 52 | }; |
| 53 | |
| 54 | &usart0 { |
| 55 | status = "okay"; |
| 56 | }; |
| 57 | |
| 58 | &usart3 { |
| 59 | status = "okay"; |
| 60 | }; |
| 61 | |
| 62 | &i2c1 { |
| 63 | status = "okay"; |
| 64 | }; |