bcm4708-netgear-r6300-v2.dts revision 284090
1/*
2 * Broadcom BCM470X / BCM5301X ARM platform code.
3 * DTS for Netgear R6300 V2
4 *
5 * Copyright (C) 2014 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,r6300v2", "brcm,bcm4708";
16	model = "Netgear R6300 V2 (BCM4708)";
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		logo {
30			label = "bcm53xx:white:logo";
31			gpios = <&chipcommon 1 GPIO_ACTIVE_HIGH>;
32			linux,default-trigger = "default-on";
33		};
34
35		power0 {
36			label = "bcm53xx:green:power";
37			gpios = <&chipcommon 2 GPIO_ACTIVE_LOW>;
38			linux,default-trigger = "default-off";
39		};
40
41		power1 {
42			label = "bcm53xx:amber:power";
43			gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>;
44			linux,default-trigger = "default-on";
45		};
46
47		usb {
48			label = "bcm53xx:blue:usb";
49			gpios = <&chipcommon 8 GPIO_ACTIVE_LOW>;
50			linux,default-trigger = "default-off";
51		};
52
53		wireless {
54			label = "bcm53xx:blue:wireless";
55			gpios = <&chipcommon 11 GPIO_ACTIVE_LOW>;
56			linux,default-trigger = "default-off";
57		};
58	};
59
60	gpio-keys {
61		compatible = "gpio-keys";
62		#address-cells = <1>;
63		#size-cells = <0>;
64
65		wps {
66			label = "WPS";
67			linux,code = <KEY_WPS_BUTTON>;
68			gpios = <&chipcommon 4 GPIO_ACTIVE_LOW>;
69		};
70
71		rfkill {
72			label = "WiFi";
73			linux,code = <KEY_RFKILL>;
74			gpios = <&chipcommon 5 GPIO_ACTIVE_LOW>;
75		};
76
77		restart {
78			label = "Reset";
79			linux,code = <KEY_RESTART>;
80			gpios = <&chipcommon 6 GPIO_ACTIVE_LOW>;
81		};
82	};
83};
84