]>
Commit | Line | Data |
---|---|---|
05b3c64d RM |
1 | /* |
2 | * Copyright (C) 2016 Rafał Miłecki <rafal@milecki.pl> | |
3 | * | |
4 | * Licensed under the ISC license. | |
5 | */ | |
6 | ||
7 | /dts-v1/; | |
8 | ||
54b902a4 | 9 | #include "bcm47094.dtsi" |
05b3c64d RM |
10 | #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 { | |
a252ccd3 RM |
21 | reg = <0x00000000 0x08000000 |
22 | 0x88000000 0x18000000>; | |
05b3c64d RM |
23 | }; |
24 | ||
25 | leds { | |
26 | compatible = "gpio-leds"; | |
27 | ||
28 | power0 { | |
29 | label = "bcm53xx:white:power"; | |
30 | gpios = <&chipcommon 2 GPIO_ACTIVE_LOW>; | |
31 | linux,default-trigger = "default-on"; | |
32 | }; | |
33 | ||
34 | power1 { | |
35 | label = "bcm53xx:amber:power"; | |
36 | gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>; | |
37 | linux,default-trigger = "default-off"; | |
38 | }; | |
39 | ||
40 | 5ghz-1 { | |
41 | label = "bcm53xx:white:5ghz-1"; | |
42 | gpios = <&chipcommon 11 GPIO_ACTIVE_LOW>; | |
43 | linux,default-trigger = "default-off"; | |
44 | }; | |
45 | ||
46 | 5ghz-2 { | |
47 | label = "bcm53xx:white:5ghz-2"; | |
48 | gpios = <&chipcommon 12 GPIO_ACTIVE_LOW>; | |
49 | linux,default-trigger = "default-off"; | |
50 | }; | |
51 | ||
52 | 2ghz { | |
53 | label = "bcm53xx:white:2ghz"; | |
54 | gpios = <&chipcommon 13 GPIO_ACTIVE_LOW>; | |
55 | linux,default-trigger = "default-off"; | |
56 | }; | |
57 | ||
58 | usb2 { | |
59 | label = "bcm53xx:white:usb2"; | |
60 | gpios = <&chipcommon 17 GPIO_ACTIVE_LOW>; | |
61 | linux,default-trigger = "default-off"; | |
62 | }; | |
63 | ||
64 | usb3 { | |
65 | label = "bcm53xx:white:usb3"; | |
66 | gpios = <&chipcommon 18 GPIO_ACTIVE_LOW>; | |
67 | linux,default-trigger = "default-off"; | |
68 | }; | |
69 | }; | |
70 | ||
71 | gpio-keys { | |
72 | compatible = "gpio-keys"; | |
73 | #address-cells = <1>; | |
74 | #size-cells = <0>; | |
75 | ||
76 | brightness { | |
77 | label = "Backlight"; | |
78 | linux,code = <KEY_BRIGHTNESS_ZERO>; | |
79 | gpios = <&chipcommon 1 GPIO_ACTIVE_LOW>; | |
80 | }; | |
81 | ||
82 | restart { | |
83 | label = "Reset"; | |
84 | linux,code = <KEY_RESTART>; | |
85 | gpios = <&chipcommon 10 GPIO_ACTIVE_LOW>; | |
86 | }; | |
87 | ||
88 | wps { | |
89 | label = "WPS"; | |
90 | linux,code = <KEY_WPS_BUTTON>; | |
91 | gpios = <&chipcommon 14 GPIO_ACTIVE_LOW>; | |
92 | }; | |
93 | ||
94 | rfkill { | |
95 | label = "WiFi"; | |
96 | linux,code = <KEY_RFKILL>; | |
97 | gpios = <&chipcommon 20 GPIO_ACTIVE_LOW>; | |
98 | }; | |
99 | }; | |
100 | }; |