xref: /linux/scripts/dtc/include-prefixes/arm/broadcom/bcm4709-netgear-r7000.dts (revision cdd5b5a9761fd66d17586e4f4ba6588c70e640ea)
1*724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2*724ba675SRob Herring/*
3*724ba675SRob Herring * Broadcom BCM470X / BCM5301X ARM platform code.
4*724ba675SRob Herring * DTS for Netgear R7000
5*724ba675SRob Herring *
6*724ba675SRob Herring * Copyright (C) 2015 Rafał Miłecki <zajec5@gmail.com>
7*724ba675SRob Herring */
8*724ba675SRob Herring
9*724ba675SRob Herring/dts-v1/;
10*724ba675SRob Herring
11*724ba675SRob Herring#include "bcm4709.dtsi"
12*724ba675SRob Herring#include "bcm5301x-nand-cs0-bch8.dtsi"
13*724ba675SRob Herring
14*724ba675SRob Herring/ {
15*724ba675SRob Herring	compatible = "netgear,r7000", "brcm,bcm4709", "brcm,bcm4708";
16*724ba675SRob Herring	model = "Netgear R7000";
17*724ba675SRob Herring
18*724ba675SRob Herring	chosen {
19*724ba675SRob Herring		bootargs = "console=ttyS0,115200";
20*724ba675SRob Herring	};
21*724ba675SRob Herring
22*724ba675SRob Herring	memory@0 {
23*724ba675SRob Herring		device_type = "memory";
24*724ba675SRob Herring		reg = <0x00000000 0x08000000>,
25*724ba675SRob Herring		      <0x88000000 0x08000000>;
26*724ba675SRob Herring	};
27*724ba675SRob Herring
28*724ba675SRob Herring	leds {
29*724ba675SRob Herring		compatible = "gpio-leds";
30*724ba675SRob Herring
31*724ba675SRob Herring		led-power-white {
32*724ba675SRob Herring			label = "bcm53xx:white:power";
33*724ba675SRob Herring			gpios = <&chipcommon 2 GPIO_ACTIVE_LOW>;
34*724ba675SRob Herring			linux,default-trigger = "default-on";
35*724ba675SRob Herring		};
36*724ba675SRob Herring
37*724ba675SRob Herring		led-power-amber {
38*724ba675SRob Herring			label = "bcm53xx:amber:power";
39*724ba675SRob Herring			gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>;
40*724ba675SRob Herring		};
41*724ba675SRob Herring
42*724ba675SRob Herring		led-5ghz {
43*724ba675SRob Herring			label = "bcm53xx:white:5ghz";
44*724ba675SRob Herring			gpios = <&chipcommon 12 GPIO_ACTIVE_LOW>;
45*724ba675SRob Herring		};
46*724ba675SRob Herring
47*724ba675SRob Herring		led-2ghz {
48*724ba675SRob Herring			label = "bcm53xx:white:2ghz";
49*724ba675SRob Herring			gpios = <&chipcommon 13 GPIO_ACTIVE_LOW>;
50*724ba675SRob Herring		};
51*724ba675SRob Herring
52*724ba675SRob Herring		led-wps {
53*724ba675SRob Herring			label = "bcm53xx:white:wps";
54*724ba675SRob Herring			gpios = <&chipcommon 14 GPIO_ACTIVE_HIGH>;
55*724ba675SRob Herring		};
56*724ba675SRob Herring
57*724ba675SRob Herring		led-wireless {
58*724ba675SRob Herring			label = "bcm53xx:white:wireless";
59*724ba675SRob Herring			gpios = <&chipcommon 15 GPIO_ACTIVE_HIGH>;
60*724ba675SRob Herring		};
61*724ba675SRob Herring
62*724ba675SRob Herring		led-usb3 {
63*724ba675SRob Herring			label = "bcm53xx:white:usb3";
64*724ba675SRob Herring			gpios = <&chipcommon 17 GPIO_ACTIVE_LOW>;
65*724ba675SRob Herring		};
66*724ba675SRob Herring
67*724ba675SRob Herring		led-usb2 {
68*724ba675SRob Herring			label = "bcm53xx:white:usb2";
69*724ba675SRob Herring			gpios = <&chipcommon 18 GPIO_ACTIVE_LOW>;
70*724ba675SRob Herring		};
71*724ba675SRob Herring	};
72*724ba675SRob Herring
73*724ba675SRob Herring	gpio-keys {
74*724ba675SRob Herring		compatible = "gpio-keys";
75*724ba675SRob Herring
76*724ba675SRob Herring		button-wps {
77*724ba675SRob Herring			label = "WPS";
78*724ba675SRob Herring			linux,code = <KEY_WPS_BUTTON>;
79*724ba675SRob Herring			gpios = <&chipcommon 4 GPIO_ACTIVE_LOW>;
80*724ba675SRob Herring		};
81*724ba675SRob Herring
82*724ba675SRob Herring		button-rfkill {
83*724ba675SRob Herring			label = "WiFi";
84*724ba675SRob Herring			linux,code = <KEY_RFKILL>;
85*724ba675SRob Herring			gpios = <&chipcommon 5 GPIO_ACTIVE_LOW>;
86*724ba675SRob Herring		};
87*724ba675SRob Herring
88*724ba675SRob Herring		button-restart {
89*724ba675SRob Herring			label = "Reset";
90*724ba675SRob Herring			linux,code = <KEY_RESTART>;
91*724ba675SRob Herring			gpios = <&chipcommon 6 GPIO_ACTIVE_LOW>;
92*724ba675SRob Herring		};
93*724ba675SRob Herring	};
94*724ba675SRob Herring};
95*724ba675SRob Herring
96*724ba675SRob Herring&usb2 {
97*724ba675SRob Herring	vcc-gpio = <&chipcommon 0 GPIO_ACTIVE_HIGH>;
98*724ba675SRob Herring};
99*724ba675SRob Herring
100*724ba675SRob Herring&usb3 {
101*724ba675SRob Herring	vcc-gpio = <&chipcommon 0 GPIO_ACTIVE_HIGH>;
102*724ba675SRob Herring};
103*724ba675SRob Herring
104*724ba675SRob Herring&usb3_phy {
105*724ba675SRob Herring	status = "okay";
106*724ba675SRob Herring};
107