Merge tag 'usb-5.11-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb
[linux/fpc-iii.git] / arch / arm / boot / dts / at91sam9g25-gardena-smart-gateway.dts
blob7da70aeeb528fed9b6e5a49579378319ca3424f7
1 // SPDX-License-Identifier: GPL-2.0+
2 /*
3  * Device Tree file for the GARDENA smart Gateway (Article No. 19000)
4  *
5  *  Copyright (C) 2020 GARDENA GmbH
6  */
8 /dts-v1/;
10 #include "at91sam9g25.dtsi"
11 #include "at91sam9x5ek.dtsi"
12 #include <dt-bindings/input/input.h>
14 / {
15         model = "GARDENA smart Gateway (Article No. 19000)";
16         compatible = "gardena,smart-gateway-at91sam", "atmel,at91sam9g25", "atmel,at91sam9x5",
17                 "atmel,at91sam9";
19         aliases {
20                 serial1 = &usart3;
21         };
23         gpio-keys {
24                 compatible = "gpio-keys";
26                 user_btn1 {
27                         label = "USER_BTN1";
28                         gpios = <&pioA 24 GPIO_ACTIVE_LOW>;
29                         linux,code = <KEY_PROG1>;
30                 };
31         };
33         1wire_cm {
34                 status = "disabled";
35         };
37         leds {
38                 compatible = "gpio-leds";
40                 power_blue {
41                         label = "smartgw:power:blue";
42                         gpios = <&pioC 21 GPIO_ACTIVE_HIGH>;
43                         default-state = "off";
44                 };
46                 power_green {
47                         label = "smartgw:power:green";
48                         gpios = <&pioC 20 GPIO_ACTIVE_HIGH>;
49                         default-state = "on";
50                 };
52                 power_red {
53                         label = "smartgw:power:red";
54                         gpios = <&pioC 19 GPIO_ACTIVE_HIGH>;
55                         default-state = "off";
56                 };
58                 radio_blue {
59                         label = "smartgw:radio:blue";
60                         gpios = <&pioC 18 GPIO_ACTIVE_HIGH>;
61                         default-state = "off";
62                 };
64                 radio_green {
65                         label = "smartgw:radio:green";
66                         gpios = <&pioC 17 GPIO_ACTIVE_HIGH>;
67                         default-state = "off";
68                 };
70                 radio_red {
71                         label = "smartgw:radio:red";
72                         gpios = <&pioC 16 GPIO_ACTIVE_HIGH>;
73                         default-state = "off";
74                 };
76                 internet_blue {
77                         label = "smartgw:internet:blue";
78                         gpios = <&pioC 15 GPIO_ACTIVE_HIGH>;
79                         default-state = "off";
80                 };
82                 internet_green {
83                         label = "smartgw:internet:green";
84                         gpios = <&pioC 14 GPIO_ACTIVE_HIGH>;
85                         default-state = "off";
86                 };
88                 internet_red {
89                         label = "smartgw:internet:red";
90                         gpios = <&pioC 13 GPIO_ACTIVE_HIGH>;
91                         default-state = "off";
92                 };
94                 heartbeat {
95                         label = "smartgw:heartbeat";
96                         gpios = <&pioB 8 GPIO_ACTIVE_HIGH>;
97                         linux,default-trigger = "heartbeat";
98                 };
100                 pb18 {
101                         status = "disabled";
102                 };
104                 pd21 {
105                         status = "disabled";
106                 };
107         };
110 &macb0 {
111         phy-mode = "rmii";
112         status = "okay";
115 &usart0 {
116         status = "disabled";
119 &usart2 {
120         status = "disabled";
123 &usart3 {
124         status = "okay";
126         pinctrl-0 = <&pinctrl_usart3
127                      &pinctrl_usart3_rts
128                      &pinctrl_usart3_cts
129                     >;
132 &watchdog {
133         status = "okay";
136 &mmc0 {
137         status = "disabled";
140 &mmc1 {
141         status = "disabled";
144 &spi0 {
145         status = "disabled";
148 &i2c0 {
149         status = "disabled";
152 &adc0 {
153         status = "disabled";
156 &ssc0 {
157         status = "disabled";