blob: ca41481b44bd1ff296b0de84dec67868a053225e [file] [log] [blame]
Rafał Miłecki2b3db672018-05-02 16:11:02 +02001// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
Rafał Miłeckibfae7372015-08-26 16:13:22 +02002/*
3 * Broadcom BCM470X / BCM5301X ARM platform code.
4 * DTS for Netgear R7000
5 *
6 * Copyright (C) 2015 Rafał Miłecki <zajec5@gmail.com>
Rafał Miłeckibfae7372015-08-26 16:13:22 +02007 */
8
9/dts-v1/;
10
Rafał Miłeckifa87b002016-09-21 22:58:33 +020011#include "bcm4709.dtsi"
Rafał Miłeckibfae7372015-08-26 16:13:22 +020012#include "bcm5301x-nand-cs0-bch8.dtsi"
13
14/ {
15 compatible = "netgear,r7000", "brcm,bcm4709", "brcm,bcm4708";
16 model = "Netgear R7000";
17
18 chosen {
19 bootargs = "console=ttyS0,115200";
20 };
21
22 memory {
Rafał Miłeckia252ccd32016-12-07 08:56:54 +010023 reg = <0x00000000 0x08000000
24 0x88000000 0x08000000>;
Rafał Miłeckibfae7372015-08-26 16:13:22 +020025 };
26
27 leds {
28 compatible = "gpio-leds";
29
30 power-white {
31 label = "bcm53xx:white:power";
32 gpios = <&chipcommon 2 GPIO_ACTIVE_LOW>;
33 linux,default-trigger = "default-on";
34 };
35
36 power-amber {
37 label = "bcm53xx:amber:power";
38 gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>;
Rafał Miłeckibfae7372015-08-26 16:13:22 +020039 };
40
41 5ghz {
42 label = "bcm53xx:white:5ghz";
43 gpios = <&chipcommon 12 GPIO_ACTIVE_LOW>;
Rafał Miłeckibfae7372015-08-26 16:13:22 +020044 };
45
46 2ghz {
47 label = "bcm53xx:white:2ghz";
48 gpios = <&chipcommon 13 GPIO_ACTIVE_LOW>;
Rafał Miłeckibfae7372015-08-26 16:13:22 +020049 };
50
51 wps {
52 label = "bcm53xx:white:wps";
53 gpios = <&chipcommon 14 GPIO_ACTIVE_HIGH>;
Rafał Miłeckibfae7372015-08-26 16:13:22 +020054 };
55
56 wireless {
57 label = "bcm53xx:white:wireless";
58 gpios = <&chipcommon 15 GPIO_ACTIVE_HIGH>;
Rafał Miłeckibfae7372015-08-26 16:13:22 +020059 };
60
61 usb3 {
62 label = "bcm53xx:white:usb3";
63 gpios = <&chipcommon 17 GPIO_ACTIVE_LOW>;
Rafał Miłeckibfae7372015-08-26 16:13:22 +020064 };
65
66 usb2 {
67 label = "bcm53xx:white:usb2";
68 gpios = <&chipcommon 18 GPIO_ACTIVE_LOW>;
Rafał Miłeckibfae7372015-08-26 16:13:22 +020069 };
70 };
71
72 gpio-keys {
73 compatible = "gpio-keys";
74 #address-cells = <1>;
75 #size-cells = <0>;
76
77 wps {
78 label = "WPS";
79 linux,code = <KEY_WPS_BUTTON>;
80 gpios = <&chipcommon 4 GPIO_ACTIVE_LOW>;
81 };
82
83 rfkill {
84 label = "WiFi";
85 linux,code = <KEY_RFKILL>;
86 gpios = <&chipcommon 5 GPIO_ACTIVE_LOW>;
87 };
88
89 restart {
90 label = "Reset";
91 linux,code = <KEY_RESTART>;
92 gpios = <&chipcommon 6 GPIO_ACTIVE_LOW>;
93 };
94 };
95};
Rafał Miłecki849af7f2016-12-07 08:56:53 +010096
97&usb2 {
98 vcc-gpio = <&chipcommon 0 GPIO_ACTIVE_HIGH>;
99};
100
101&usb3 {
102 vcc-gpio = <&chipcommon 0 GPIO_ACTIVE_HIGH>;
103};
Vivek Unune37f6130e2018-04-09 18:31:53 -0400104
105&usb3_phy {
106 status = "okay";
107};