Merge remote-tracking branches 'regulator/fix/88pm800', 'regulator/fix/max8973',...
[linux-drm-fsl-dcu.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 "bcm4708.dtsi"
13
14 / {
15         compatible = "asus,rt-ac87u", "brcm,bcm4709", "brcm,bcm4708";
16         model = "Asus RT-AC87U";
17
18         chosen {
19                 bootargs = "console=ttyS0,115200";
20         };
21
22         memory {
23                 reg = <0x00000000 0x08000000>;
24         };
25
26         leds {
27                 compatible = "gpio-leds";
28
29                 wps {
30                         label = "bcm53xx:blue:wps";
31                         gpios = <&chipcommon 1 GPIO_ACTIVE_LOW>;
32                         linux,default-trigger = "default-off";
33                 };
34
35                 power {
36                         label = "bcm53xx:blue:power";
37                         gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>;
38                         linux,default-trigger = "default-on";
39                 };
40
41                 wan {
42                         label = "bcm53xx:red:wan";
43                         gpios = <&chipcommon 5 GPIO_ACTIVE_LOW>;
44                         linux,default-trigger = "default-off";
45                 };
46         };
47
48         gpio-keys {
49                 compatible = "gpio-keys";
50                 #address-cells = <1>;
51                 #size-cells = <0>;
52
53                 wps {
54                         label = "WPS";
55                         linux,code = <KEY_WPS_BUTTON>;
56                         gpios = <&chipcommon 2 GPIO_ACTIVE_LOW>;
57                 };
58
59                 restart {
60                         label = "Reset";
61                         linux,code = <KEY_RESTART>;
62                         gpios = <&chipcommon 11 GPIO_ACTIVE_LOW>;
63                 };
64         };
65 };