Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
1// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2/*
3 * Broadcom BCM470X / BCM5301X ARM platform code.
4 * DTS for Netgear R7000
5 *
6 * Copyright (C) 2015 Rafał Miłecki <zajec5@gmail.com>
7 */
8
9/dts-v1/;
10
11#include "bcm4709.dtsi"
12#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 {
23 reg = <0x00000000 0x08000000
24 0x88000000 0x08000000>;
25 };
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>;
39 };
40
41 5ghz {
42 label = "bcm53xx:white:5ghz";
43 gpios = <&chipcommon 12 GPIO_ACTIVE_LOW>;
44 };
45
46 2ghz {
47 label = "bcm53xx:white:2ghz";
48 gpios = <&chipcommon 13 GPIO_ACTIVE_LOW>;
49 };
50
51 wps {
52 label = "bcm53xx:white:wps";
53 gpios = <&chipcommon 14 GPIO_ACTIVE_HIGH>;
54 };
55
56 wireless {
57 label = "bcm53xx:white:wireless";
58 gpios = <&chipcommon 15 GPIO_ACTIVE_HIGH>;
59 };
60
61 usb3 {
62 label = "bcm53xx:white:usb3";
63 gpios = <&chipcommon 17 GPIO_ACTIVE_LOW>;
64 };
65
66 usb2 {
67 label = "bcm53xx:white:usb2";
68 gpios = <&chipcommon 18 GPIO_ACTIVE_LOW>;
69 };
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};
96
97&usb2 {
98 vcc-gpio = <&chipcommon 0 GPIO_ACTIVE_HIGH>;
99};
100
101&usb3 {
102 vcc-gpio = <&chipcommon 0 GPIO_ACTIVE_HIGH>;
103};
104
105&usb3_phy {
106 status = "okay";
107};