Merge remote-tracking branches 'asoc/topic/wm8960', 'asoc/topic/wm8978' and 'asoc...
[sfrench/cifs-2.6.git] / arch / arm / boot / dts / bcm4708-asus-rt-ac56u.dts
1 /*
2  * Broadcom BCM470X / BCM5301X ARM platform code.
3  * DTS for Asus RT-AC56U
4  *
5  * Copyright (C) 2015 Rafał Miłecki <zajec5@gmail.com>
6  *
7  * Licensed under the GNU/GPL. See COPYING for details.
8  */
9
10 /dts-v1/;
11
12 #include "bcm4708.dtsi"
13 #include "bcm5301x-nand-cs0-bch8.dtsi"
14
15 / {
16         compatible = "asus,rt-ac56u", "brcm,bcm4708";
17         model = "Asus RT-AC56U (BCM4708)";
18
19         chosen {
20                 bootargs = "console=ttyS0,115200";
21         };
22
23         memory {
24                 reg = <0x00000000 0x08000000
25                        0x88000000 0x08000000>;
26         };
27
28         leds {
29                 compatible = "gpio-leds";
30
31                 usb3 {
32                         label = "bcm53xx:blue:usb3";
33                         gpios = <&chipcommon 0 GPIO_ACTIVE_LOW>;
34                         linux,default-trigger = "default-off";
35                 };
36
37                 wan {
38                         label = "bcm53xx:blue:wan";
39                         gpios = <&chipcommon 1 GPIO_ACTIVE_LOW>;
40                         linux,default-trigger = "default-off";
41                 };
42
43                 lan {
44                         label = "bcm53xx:blue:lan";
45                         gpios = <&chipcommon 2 GPIO_ACTIVE_LOW>;
46                         linux,default-trigger = "default-off";
47                 };
48
49                 power {
50                         label = "bcm53xx:blue:power";
51                         gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>;
52                         linux,default-trigger = "default-on";
53                 };
54
55                 all {
56                         label = "bcm53xx:blue:all";
57                         gpios = <&chipcommon 4 GPIO_ACTIVE_LOW>;
58                         linux,default-trigger = "default-on";
59                 };
60
61                 2ghz {
62                         label = "bcm53xx:blue:2ghz";
63                         gpios = <&chipcommon 6 GPIO_ACTIVE_LOW>;
64                         linux,default-trigger = "default-off";
65                 };
66
67
68                 usb2 {
69                         label = "bcm53xx:blue:usb2";
70                         gpios = <&chipcommon 14 GPIO_ACTIVE_LOW>;
71                         linux,default-trigger = "default-off";
72                 };
73         };
74
75         gpio-keys {
76                 compatible = "gpio-keys";
77                 #address-cells = <1>;
78                 #size-cells = <0>;
79
80                 rfkill {
81                         label = "WiFi";
82                         linux,code = <KEY_RFKILL>;
83                         gpios = <&chipcommon 7 GPIO_ACTIVE_LOW>;
84                 };
85
86                 restart {
87                         label = "Reset";
88                         linux,code = <KEY_RESTART>;
89                         gpios = <&chipcommon 11 GPIO_ACTIVE_LOW>;
90                 };
91
92                 wps {
93                         label = "WPS";
94                         linux,code = <KEY_WPS_BUTTON>;
95                         gpios = <&chipcommon 15 GPIO_ACTIVE_LOW>;
96                 };
97         };
98 };