1 // SPDX-License-Identifier: GPL-2.0
3 * at91-gatwick.dts - Device Tree file for the Gatwick board
5 * Copyright (C) 2018 Laird
9 #include "at91-wb50n.dtsi"
10 #include <dt-bindings/input/input.h>
13 model = "Laird Workgroup Bridge 50N - Project Gatwick";
14 compatible = "laird,gatwick", "laird,wb50n", "atmel,sama5d31", "atmel,sama5d3", "atmel,sama5";
17 compatible = "gpio-keys";
20 pinctrl-names = "default";
21 pinctrl-0 = <&pinctrl_key_gpio>;
24 label = "Reset Button";
25 linux,code = <KEY_SETUP>;
26 gpios = <&pioE 31 GPIO_ACTIVE_LOW>;
32 compatible = "gpio-leds";
35 label = "gatwick:yellow:ethernet";
36 gpios = <&pioA 10 GPIO_ACTIVE_LOW>;
37 default-state = "off";
41 label = "gatwick:green:wifi";
42 gpios = <&pioA 28 GPIO_ACTIVE_LOW>;
43 default-state = "off";
47 label = "gatwick:blue:ble";
48 gpios = <&pioA 22 GPIO_ACTIVE_LOW>;
49 default-state = "off";
53 label = "gatwick:orange:lora";
54 gpios = <&pioA 26 GPIO_ACTIVE_LOW>;
55 default-state = "off";
59 label = "gatwick:green:blank";
60 gpios = <&pioA 24 GPIO_ACTIVE_LOW>;
61 default-state = "off";
65 label = "gatwick:yellow:user";
66 gpios = <&pioA 12 GPIO_ACTIVE_LOW>;
67 default-state = "off";
74 pinctrl_key_gpio: key_gpio_0 {
76 <AT91_PIOE 31 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP_DEGLITCH>; /* PE31 GPIO with pullup deglitch */
100 pinctrl-0 = <&pinctrl_usart1>;
108 compatible = "semtech,sx1301";
110 spi-max-frequency = <8000000>;
116 /delete-property/atmel,oc-gpio;