1 // SPDX-License-Identifier: GPL-2.0+
3 * Device Tree file for the GARDENA smart Gateway (Article No. 19000)
5 * Copyright (C) 2020 GARDENA GmbH
10 #include "at91sam9g25.dtsi"
11 #include "at91sam9x5ek.dtsi"
12 #include <dt-bindings/input/input.h>
15 model = "GARDENA smart Gateway (Article No. 19000)";
16 compatible = "gardena,smart-gateway-at91sam", "atmel,at91sam9g25", "atmel,at91sam9x5",
24 compatible = "gpio-keys";
28 gpios = <&pioA 24 GPIO_ACTIVE_LOW>;
29 linux,code = <KEY_PROG1>;
38 compatible = "gpio-leds";
41 label = "smartgw:power:blue";
42 gpios = <&pioC 21 GPIO_ACTIVE_HIGH>;
43 default-state = "off";
47 label = "smartgw:power:green";
48 gpios = <&pioC 20 GPIO_ACTIVE_HIGH>;
53 label = "smartgw:power:red";
54 gpios = <&pioC 19 GPIO_ACTIVE_HIGH>;
55 default-state = "off";
59 label = "smartgw:radio:blue";
60 gpios = <&pioC 18 GPIO_ACTIVE_HIGH>;
61 default-state = "off";
65 label = "smartgw:radio:green";
66 gpios = <&pioC 17 GPIO_ACTIVE_HIGH>;
67 default-state = "off";
71 label = "smartgw:radio:red";
72 gpios = <&pioC 16 GPIO_ACTIVE_HIGH>;
73 default-state = "off";
77 label = "smartgw:internet:blue";
78 gpios = <&pioC 15 GPIO_ACTIVE_HIGH>;
79 default-state = "off";
83 label = "smartgw:internet:green";
84 gpios = <&pioC 14 GPIO_ACTIVE_HIGH>;
85 default-state = "off";
89 label = "smartgw:internet:red";
90 gpios = <&pioC 13 GPIO_ACTIVE_HIGH>;
91 default-state = "off";
95 label = "smartgw:heartbeat";
96 gpios = <&pioB 8 GPIO_ACTIVE_HIGH>;
97 linux,default-trigger = "heartbeat";
126 pinctrl-0 = <&pinctrl_usart3