blob: f459a98a72c671a0729cab3a061357940bff7167 [file] [log] [blame]
Rafał Miłeckibfae7372015-08-26 16:13:22 +02001/*
2 * Broadcom BCM470X / BCM5301X ARM platform code.
3 * DTS for Netgear R7000
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
Rafał Miłeckifa87b002016-09-21 22:58:33 +020012#include "bcm4709.dtsi"
Rafał Miłeckibfae7372015-08-26 16:13:22 +020013#include "bcm5301x-nand-cs0-bch8.dtsi"
14
15/ {
16 compatible = "netgear,r7000", "brcm,bcm4709", "brcm,bcm4708";
17 model = "Netgear R7000";
18
19 chosen {
20 bootargs = "console=ttyS0,115200";
21 };
22
23 memory {
Rafał Miłeckia252ccd2016-12-07 08:56:54 +010024 reg = <0x00000000 0x08000000
25 0x88000000 0x08000000>;
Rafał Miłeckibfae7372015-08-26 16:13:22 +020026 };
27
28 leds {
29 compatible = "gpio-leds";
30
31 power-white {
32 label = "bcm53xx:white:power";
33 gpios = <&chipcommon 2 GPIO_ACTIVE_LOW>;
34 linux,default-trigger = "default-on";
35 };
36
37 power-amber {
38 label = "bcm53xx:amber:power";
39 gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>;
40 linux,default-trigger = "default-off";
41 };
42
43 5ghz {
44 label = "bcm53xx:white:5ghz";
45 gpios = <&chipcommon 12 GPIO_ACTIVE_LOW>;
46 linux,default-trigger = "default-off";
47 };
48
49 2ghz {
50 label = "bcm53xx:white:2ghz";
51 gpios = <&chipcommon 13 GPIO_ACTIVE_LOW>;
52 linux,default-trigger = "default-off";
53 };
54
55 wps {
56 label = "bcm53xx:white:wps";
57 gpios = <&chipcommon 14 GPIO_ACTIVE_HIGH>;
58 linux,default-trigger = "default-off";
59 };
60
61 wireless {
62 label = "bcm53xx:white:wireless";
63 gpios = <&chipcommon 15 GPIO_ACTIVE_HIGH>;
64 linux,default-trigger = "default-off";
65 };
66
67 usb3 {
68 label = "bcm53xx:white:usb3";
69 gpios = <&chipcommon 17 GPIO_ACTIVE_LOW>;
70 linux,default-trigger = "default-off";
71 };
72
73 usb2 {
74 label = "bcm53xx:white:usb2";
75 gpios = <&chipcommon 18 GPIO_ACTIVE_LOW>;
76 linux,default-trigger = "default-off";
77 };
78 };
79
80 gpio-keys {
81 compatible = "gpio-keys";
82 #address-cells = <1>;
83 #size-cells = <0>;
84
85 wps {
86 label = "WPS";
87 linux,code = <KEY_WPS_BUTTON>;
88 gpios = <&chipcommon 4 GPIO_ACTIVE_LOW>;
89 };
90
91 rfkill {
92 label = "WiFi";
93 linux,code = <KEY_RFKILL>;
94 gpios = <&chipcommon 5 GPIO_ACTIVE_LOW>;
95 };
96
97 restart {
98 label = "Reset";
99 linux,code = <KEY_RESTART>;
100 gpios = <&chipcommon 6 GPIO_ACTIVE_LOW>;
101 };
102 };
103};
Rafał Miłecki849af7f2016-12-07 08:56:53 +0100104
105&usb2 {
106 vcc-gpio = <&chipcommon 0 GPIO_ACTIVE_HIGH>;
107};
108
109&usb3 {
110 vcc-gpio = <&chipcommon 0 GPIO_ACTIVE_HIGH>;
111};