blob: f18c9d9b2f2c78c616e859574626fa62489e7aa1 [file] [log] [blame]
Hauke Mehrtensd27509f2014-02-04 00:01:45 +01001/*
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
14/ {
15 compatible = "netgear,r6250v1", "brcm,bcm4708";
16 model = "Netgear R6250 V1 (BCM4708)";
17
18 chosen {
19 bootargs = "console=ttyS0,115200";
20 };
21
22 memory {
23 reg = <0x00000000 0x08000000>;
24 };
25
26 chipcommonA {
27 uart0: serial@0300 {
28 status = "okay";
29 };
30
31 uart1: serial@0400 {
32 status = "okay";
33 };
34 };
Rafał Miłeckidd6d2e52014-10-01 15:45:29 +020035
36 leds {
37 compatible = "gpio-leds";
38
39 logo {
40 label = "bcm53xx:white:logo";
41 gpios = <&chipcommon 1 GPIO_ACTIVE_HIGH>;
42 linux,default-trigger = "default-on";
43 };
44
45 power0 {
46 label = "bcm53xx:green:power";
47 gpios = <&chipcommon 2 GPIO_ACTIVE_LOW>;
48 linux,default-trigger = "default-off";
49 };
50
51 power1 {
52 label = "bcm53xx:amber:power";
53 gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>;
54 linux,default-trigger = "default-on";
55 };
56
57 usb {
58 label = "bcm53xx:blue:usb";
59 gpios = <&chipcommon 8 GPIO_ACTIVE_LOW>;
60 linux,default-trigger = "default-off";
61 };
62
63 wireless {
64 label = "bcm53xx:blue:wireless";
65 gpios = <&chipcommon 11 GPIO_ACTIVE_LOW>;
66 linux,default-trigger = "default-off";
67 };
68 };
Rafał Miłeckif6f82342014-11-30 18:28:29 +010069
70 gpio-keys {
71 compatible = "gpio-keys";
72 #address-cells = <1>;
73 #size-cells = <0>;
Rafał Miłeckif6f82342014-11-30 18:28:29 +010074
75 wps {
76 label = "WPS";
77 linux,code = <KEY_WPS_BUTTON>;
78 gpios = <&chipcommon 4 GPIO_ACTIVE_LOW>;
79 };
80
81 rfkill {
82 label = "WiFi";
83 linux,code = <KEY_RFKILL>;
84 gpios = <&chipcommon 5 GPIO_ACTIVE_LOW>;
85 };
86
87 restart {
88 label = "Reset";
89 linux,code = <KEY_RESTART>;
90 gpios = <&chipcommon 6 GPIO_ACTIVE_LOW>;
91 };
92 };
Hauke Mehrtensd27509f2014-02-04 00:01:45 +010093};