1/*
2 * Broadcom BCM470X / BCM5301X ARM platform code.
3 * DTS for Netgear R8000
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 = "netgear,r8000", "brcm,bcm4709", "brcm,bcm4708";
16	model = "Netgear R8000 (BCM4709)";
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		power0 {
30			label = "bcm53xx:white:power";
31			gpios = <&chipcommon 2 GPIO_ACTIVE_LOW>;
32			linux,default-trigger = "default-on";
33		};
34
35		power1 {
36			label = "bcm53xx:amber:power";
37			gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>;
38			linux,default-trigger = "default-off";
39		};
40
41		5ghz-1 {
42			label = "bcm53xx:white:5ghz-1";
43			gpios = <&chipcommon 12 GPIO_ACTIVE_LOW>;
44			linux,default-trigger = "default-off";
45		};
46
47		2ghz {
48			label = "bcm53xx:white:2ghz";
49			gpios = <&chipcommon 13 GPIO_ACTIVE_LOW>;
50			linux,default-trigger = "default-off";
51		};
52	};
53
54	gpio-keys {
55		compatible = "gpio-keys";
56		#address-cells = <1>;
57		#size-cells = <0>;
58
59		rfkill {
60			label = "WiFi";
61			linux,code = <KEY_RFKILL>;
62			gpios = <&chipcommon 4 GPIO_ACTIVE_LOW>;
63		};
64
65		wps {
66			label = "WPS";
67			linux,code = <KEY_WPS_BUTTON>;
68			gpios = <&chipcommon 5 GPIO_ACTIVE_LOW>;
69		};
70
71		restart {
72			label = "Reset";
73			linux,code = <KEY_RESTART>;
74			gpios = <&chipcommon 6 GPIO_ACTIVE_LOW>;
75		};
76	};
77};
78