Merge branch 'x86-boot-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git...
[sfrench/cifs-2.6.git] / arch / arm / boot / dts / bcm47094-netgear-r8500.dts
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2 /*
3  * Copyright (C) 2016 Rafał Miłecki <rafal@milecki.pl>
4  */
5
6 /dts-v1/;
7
8 #include "bcm47094.dtsi"
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 {
20                 device_type = "memory";
21                 reg = <0x00000000 0x08000000
22                        0x88000000 0x18000000>;
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                 };
38
39                 5ghz-1 {
40                         label = "bcm53xx:white:5ghz-1";
41                         gpios = <&chipcommon 11 GPIO_ACTIVE_LOW>;
42                 };
43
44                 5ghz-2 {
45                         label = "bcm53xx:white:5ghz-2";
46                         gpios = <&chipcommon 12 GPIO_ACTIVE_LOW>;
47                 };
48
49                 2ghz {
50                         label = "bcm53xx:white:2ghz";
51                         gpios = <&chipcommon 13 GPIO_ACTIVE_LOW>;
52                 };
53
54                 usb2 {
55                         label = "bcm53xx:white:usb2";
56                         gpios = <&chipcommon 17 GPIO_ACTIVE_LOW>;
57                 };
58
59                 usb3 {
60                         label = "bcm53xx:white:usb3";
61                         gpios = <&chipcommon 18 GPIO_ACTIVE_LOW>;
62                 };
63         };
64
65         gpio-keys {
66                 compatible = "gpio-keys";
67                 #address-cells = <1>;
68                 #size-cells = <0>;
69
70                 brightness {
71                         label = "Backlight";
72                         linux,code = <KEY_BRIGHTNESS_ZERO>;
73                         gpios = <&chipcommon 1 GPIO_ACTIVE_LOW>;
74                 };
75
76                 restart {
77                         label = "Reset";
78                         linux,code = <KEY_RESTART>;
79                         gpios = <&chipcommon 10 GPIO_ACTIVE_LOW>;
80                 };
81
82                 wps {
83                         label = "WPS";
84                         linux,code = <KEY_WPS_BUTTON>;
85                         gpios = <&chipcommon 14 GPIO_ACTIVE_LOW>;
86                 };
87
88                 rfkill {
89                         label = "WiFi";
90                         linux,code = <KEY_RFKILL>;
91                         gpios = <&chipcommon 20 GPIO_ACTIVE_LOW>;
92                 };
93         };
94 };
95
96 &usb3_phy {
97         status = "okay";
98 };