Merge git://git.kernel.org/pub/scm/linux/kernel/git/pablo/nf
[sfrench/cifs-2.6.git] / arch / arm / boot / dts / bcm47189-tenda-ac9.dts
1 /*
2  * Copyright (C) 2016 Rafał Miłecki <rafal@milecki.pl>
3  *
4  * Licensed under the ISC license.
5  */
6
7 /dts-v1/;
8
9 #include "bcm53573.dtsi"
10
11 / {
12         compatible = "tenda,ac9", "brcm,bcm47189", "brcm,bcm53573";
13         model = "Tenda AC9";
14
15         chosen {
16                 bootargs = "console=ttyS0,115200 earlycon";
17         };
18
19         memory {
20                 reg = <0x00000000 0x08000000>;
21         };
22
23         leds {
24                 compatible = "gpio-leds";
25
26                 usb {
27                         label = "bcm53xx:blue:usb";
28                         gpios = <&chipcommon 1 GPIO_ACTIVE_HIGH>;
29                         linux,default-trigger = "default-off";
30                 };
31
32                 wps {
33                         label = "bcm53xx:blue:wps";
34                         gpios = <&chipcommon 10 GPIO_ACTIVE_HIGH>;
35                         linux,default-trigger = "default-off";
36                 };
37
38                 5ghz {
39                         label = "bcm53xx:blue:5ghz";
40                         gpios = <&chipcommon 11 GPIO_ACTIVE_HIGH>;
41                         linux,default-trigger = "default-off";
42                 };
43
44                 system {
45                         label = "bcm53xx:blue:system";
46                         gpios = <&chipcommon 15 GPIO_ACTIVE_HIGH>;
47                         linux,default-trigger = "timer";
48                 };
49         };
50
51         gpio-keys {
52                 compatible = "gpio-keys";
53                 #address-cells = <1>;
54                 #size-cells = <0>;
55
56                 rfkill {
57                         label = "WiFi";
58                         linux,code = <KEY_RFKILL>;
59                         gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>;
60                 };
61
62                 restart {
63                         label = "Reset";
64                         linux,code = <KEY_RESTART>;
65                         gpios = <&chipcommon 7 GPIO_ACTIVE_LOW>;
66                 };
67
68                 wps {
69                         label = "WPS";
70                         linux,code = <KEY_WPS_BUTTON>;
71                         gpios = <&chipcommon 9 GPIO_ACTIVE_LOW>;
72                 };
73         };
74 };