1/*
2 * Broadcom BCM470X / BCM5301X arm platform code.
3 * DTS for Netgear R6250 V1
4 *
5 * Copyright 2013 Hauke Mehrtens <hauke@hauke-m.de>
6 *
7 * Licensed under the GNU/GPL. See COPYING for details.
8 */
9
10/dts-v1/;
11
12#include "bcm4708.dtsi"
13#include "bcm5301x-nand-cs0-bch8.dtsi"
14
15/ {
16	compatible = "netgear,r6250v1", "brcm,bcm4708";
17	model = "Netgear R6250 V1 (BCM4708)";
18
19	chosen {
20		bootargs = "console=ttyS0,115200";
21	};
22
23	memory {
24		reg = <0x00000000 0x08000000>;
25	};
26
27	axi@18000000 {
28		usb3@23000 {
29			reg = <0x00023000 0x1000>;
30
31			#address-cells = <1>;
32			#size-cells = <1>;
33
34			vcc-gpio = <&chipcommon 0 GPIO_ACTIVE_HIGH>;
35		};
36	};
37
38	leds {
39		compatible = "gpio-leds";
40
41		logo {
42			label = "bcm53xx:white:logo";
43			gpios = <&chipcommon 1 GPIO_ACTIVE_HIGH>;
44			linux,default-trigger = "default-on";
45		};
46
47		power0 {
48			label = "bcm53xx:green:power";
49			gpios = <&chipcommon 2 GPIO_ACTIVE_LOW>;
50			linux,default-trigger = "default-on";
51		};
52
53		power1 {
54			label = "bcm53xx:amber:power";
55			gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>;
56			linux,default-trigger = "default-off";
57		};
58
59		usb {
60			label = "bcm53xx:blue:usb";
61			gpios = <&chipcommon 8 GPIO_ACTIVE_LOW>;
62			linux,default-trigger = "default-off";
63		};
64
65		wireless {
66			label = "bcm53xx:blue:wireless";
67			gpios = <&chipcommon 11 GPIO_ACTIVE_LOW>;
68			linux,default-trigger = "default-off";
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&uart0 {
98	status = "okay";
99};
100