blob: 521b4155de60cc3786d4473622508be544048123 [file] [log] [blame]
Rafał Miłecki05b3c642016-08-23 08:40:32 +02001/*
2 * Copyright (C) 2016 Rafał Miłecki <rafal@milecki.pl>
3 *
4 * Licensed under the ISC license.
5 */
6
7/dts-v1/;
8
Rafał Miłecki54b902a2016-09-21 22:58:32 +02009#include "bcm47094.dtsi"
Rafał Miłecki05b3c642016-08-23 08:40:32 +020010#include "bcm5301x-nand-cs0-bch8.dtsi"
11
12/ {
13 compatible = "netgear,r8500", "brcm,bcm47094", "brcm,bcm4708";
14 model = "Netgear R8500";
15
16 chosen {
17 bootargs = "console=ttyS0,115200";
18 };
19
20 memory {
21 reg = <0x00000000 0x08000000>;
22 };
23
24 leds {
25 compatible = "gpio-leds";
26
27 power0 {
28 label = "bcm53xx:white:power";
29 gpios = <&chipcommon 2 GPIO_ACTIVE_LOW>;
30 linux,default-trigger = "default-on";
31 };
32
33 power1 {
34 label = "bcm53xx:amber:power";
35 gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>;
36 linux,default-trigger = "default-off";
37 };
38
39 5ghz-1 {
40 label = "bcm53xx:white:5ghz-1";
41 gpios = <&chipcommon 11 GPIO_ACTIVE_LOW>;
42 linux,default-trigger = "default-off";
43 };
44
45 5ghz-2 {
46 label = "bcm53xx:white:5ghz-2";
47 gpios = <&chipcommon 12 GPIO_ACTIVE_LOW>;
48 linux,default-trigger = "default-off";
49 };
50
51 2ghz {
52 label = "bcm53xx:white:2ghz";
53 gpios = <&chipcommon 13 GPIO_ACTIVE_LOW>;
54 linux,default-trigger = "default-off";
55 };
56
57 usb2 {
58 label = "bcm53xx:white:usb2";
59 gpios = <&chipcommon 17 GPIO_ACTIVE_LOW>;
60 linux,default-trigger = "default-off";
61 };
62
63 usb3 {
64 label = "bcm53xx:white:usb3";
65 gpios = <&chipcommon 18 GPIO_ACTIVE_LOW>;
66 linux,default-trigger = "default-off";
67 };
68 };
69
70 gpio-keys {
71 compatible = "gpio-keys";
72 #address-cells = <1>;
73 #size-cells = <0>;
74
75 brightness {
76 label = "Backlight";
77 linux,code = <KEY_BRIGHTNESS_ZERO>;
78 gpios = <&chipcommon 1 GPIO_ACTIVE_LOW>;
79 };
80
81 restart {
82 label = "Reset";
83 linux,code = <KEY_RESTART>;
84 gpios = <&chipcommon 10 GPIO_ACTIVE_LOW>;
85 };
86
87 wps {
88 label = "WPS";
89 linux,code = <KEY_WPS_BUTTON>;
90 gpios = <&chipcommon 14 GPIO_ACTIVE_LOW>;
91 };
92
93 rfkill {
94 label = "WiFi";
95 linux,code = <KEY_RFKILL>;
96 gpios = <&chipcommon 20 GPIO_ACTIVE_LOW>;
97 };
98 };
99};
100
101&uart0 {
102 status = "okay";
Rafał Miłecki05b3c642016-08-23 08:40:32 +0200103};