Merge branch 'work.splice' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
[sfrench/cifs-2.6.git] / arch / arm / boot / dts / bcm4709-asus-rt-ac87u.dts
1 /*
2  * Broadcom BCM470X / BCM5301X ARM platform code.
3  * DTS for Asus RT-AC87U
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 "bcm4709.dtsi"
13 #include "bcm5301x-nand-cs0-bch8.dtsi"
14
15 / {
16         compatible = "asus,rt-ac87u", "brcm,bcm4709", "brcm,bcm4708";
17         model = "Asus RT-AC87U";
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                 wps {
32                         label = "bcm53xx:blue:wps";
33                         gpios = <&chipcommon 1 GPIO_ACTIVE_LOW>;
34                         linux,default-trigger = "default-off";
35                 };
36
37                 power {
38                         label = "bcm53xx:blue:power";
39                         gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>;
40                         linux,default-trigger = "default-on";
41                 };
42
43                 wan {
44                         label = "bcm53xx:red:wan";
45                         gpios = <&chipcommon 5 GPIO_ACTIVE_LOW>;
46                         linux,default-trigger = "default-off";
47                 };
48         };
49
50         gpio-keys {
51                 compatible = "gpio-keys";
52                 #address-cells = <1>;
53                 #size-cells = <0>;
54
55                 wps {
56                         label = "WPS";
57                         linux,code = <KEY_WPS_BUTTON>;
58                         gpios = <&chipcommon 2 GPIO_ACTIVE_LOW>;
59                 };
60
61                 restart {
62                         label = "Reset";
63                         linux,code = <KEY_RESTART>;
64                         gpios = <&chipcommon 11 GPIO_ACTIVE_LOW>;
65                 };
66         };
67 };