Commit | Line | Data |
---|---|---|
2b3db67c | 1 | // SPDX-License-Identifier: GPL-2.0-or-later OR MIT |
05b3c64d RM |
2 | /* |
3 | * Copyright (C) 2016 Rafał Miłecki <rafal@milecki.pl> | |
05b3c64d RM |
4 | */ |
5 | ||
6 | /dts-v1/; | |
7 | ||
54b902a4 | 8 | #include "bcm47094.dtsi" |
05b3c64d RM |
9 | #include "bcm5301x-nand-cs0-bch8.dtsi" |
10 | ||
11 | / { | |
12 | compatible = "netgear,r8500", "brcm,bcm47094", "brcm,bcm4708"; | |
13 | model = "Netgear R8500"; | |
14 | ||
15 | chosen { | |
16 | bootargs = "console=ttyS0,115200"; | |
17 | }; | |
18 | ||
19 | memory { | |
a252ccd3 RM |
20 | reg = <0x00000000 0x08000000 |
21 | 0x88000000 0x18000000>; | |
05b3c64d RM |
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>; | |
05b3c64d RM |
36 | }; |
37 | ||
38 | 5ghz-1 { | |
39 | label = "bcm53xx:white:5ghz-1"; | |
40 | gpios = <&chipcommon 11 GPIO_ACTIVE_LOW>; | |
05b3c64d RM |
41 | }; |
42 | ||
43 | 5ghz-2 { | |
44 | label = "bcm53xx:white:5ghz-2"; | |
45 | gpios = <&chipcommon 12 GPIO_ACTIVE_LOW>; | |
05b3c64d RM |
46 | }; |
47 | ||
48 | 2ghz { | |
49 | label = "bcm53xx:white:2ghz"; | |
50 | gpios = <&chipcommon 13 GPIO_ACTIVE_LOW>; | |
05b3c64d RM |
51 | }; |
52 | ||
53 | usb2 { | |
54 | label = "bcm53xx:white:usb2"; | |
55 | gpios = <&chipcommon 17 GPIO_ACTIVE_LOW>; | |
05b3c64d RM |
56 | }; |
57 | ||
58 | usb3 { | |
59 | label = "bcm53xx:white:usb3"; | |
60 | gpios = <&chipcommon 18 GPIO_ACTIVE_LOW>; | |
05b3c64d RM |
61 | }; |
62 | }; | |
63 | ||
64 | gpio-keys { | |
65 | compatible = "gpio-keys"; | |
66 | #address-cells = <1>; | |
67 | #size-cells = <0>; | |
68 | ||
69 | brightness { | |
70 | label = "Backlight"; | |
71 | linux,code = <KEY_BRIGHTNESS_ZERO>; | |
72 | gpios = <&chipcommon 1 GPIO_ACTIVE_LOW>; | |
73 | }; | |
74 | ||
75 | restart { | |
76 | label = "Reset"; | |
77 | linux,code = <KEY_RESTART>; | |
78 | gpios = <&chipcommon 10 GPIO_ACTIVE_LOW>; | |
79 | }; | |
80 | ||
81 | wps { | |
82 | label = "WPS"; | |
83 | linux,code = <KEY_WPS_BUTTON>; | |
84 | gpios = <&chipcommon 14 GPIO_ACTIVE_LOW>; | |
85 | }; | |
86 | ||
87 | rfkill { | |
88 | label = "WiFi"; | |
89 | linux,code = <KEY_RFKILL>; | |
90 | gpios = <&chipcommon 20 GPIO_ACTIVE_LOW>; | |
91 | }; | |
92 | }; | |
93 | }; |