b7a024b7951bcada9c3eae17087048f0b2609020
[sfrench/cifs-2.6.git] / arch / arm / boot / dts / bcm4708-netgear-r6300-v2.dts
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2 /*
3  * Broadcom BCM470X / BCM5301X ARM platform code.
4  * DTS for Netgear R6300 V2
5  *
6  * Copyright (C) 2014 Rafał Miłecki <zajec5@gmail.com>
7  */
8
9 /dts-v1/;
10
11 #include "bcm4708.dtsi"
12 #include "bcm5301x-nand-cs0-bch8.dtsi"
13
14 / {
15         compatible = "netgear,r6300v2", "brcm,bcm4708";
16         model = "Netgear R6300 V2 (BCM4708)";
17
18         chosen {
19                 bootargs = "console=ttyS0,115200";
20         };
21
22         memory {
23                 reg = <0x00000000 0x08000000
24                        0x88000000 0x08000000>;
25         };
26
27         leds {
28                 compatible = "gpio-leds";
29
30                 logo {
31                         label = "bcm53xx:white:logo";
32                         gpios = <&chipcommon 1 GPIO_ACTIVE_HIGH>;
33                         linux,default-trigger = "default-on";
34                 };
35
36                 power0 {
37                         label = "bcm53xx:green:power";
38                         gpios = <&chipcommon 2 GPIO_ACTIVE_LOW>;
39                 };
40
41                 power1 {
42                         label = "bcm53xx:amber:power";
43                         gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>;
44                         linux,default-trigger = "default-on";
45                 };
46
47                 usb {
48                         label = "bcm53xx:blue:usb";
49                         gpios = <&chipcommon 8 GPIO_ACTIVE_LOW>;
50                 };
51
52                 wireless {
53                         label = "bcm53xx:blue:wireless";
54                         gpios = <&chipcommon 11 GPIO_ACTIVE_LOW>;
55                 };
56         };
57
58         gpio-keys {
59                 compatible = "gpio-keys";
60                 #address-cells = <1>;
61                 #size-cells = <0>;
62
63                 wps {
64                         label = "WPS";
65                         linux,code = <KEY_WPS_BUTTON>;
66                         gpios = <&chipcommon 4 GPIO_ACTIVE_LOW>;
67                 };
68
69                 rfkill {
70                         label = "WiFi";
71                         linux,code = <KEY_RFKILL>;
72                         gpios = <&chipcommon 5 GPIO_ACTIVE_LOW>;
73                 };
74
75                 restart {
76                         label = "Reset";
77                         linux,code = <KEY_RESTART>;
78                         gpios = <&chipcommon 6 GPIO_ACTIVE_LOW>;
79                 };
80         };
81 };
82
83 &spi_nor {
84         status = "okay";
85 };
86
87 &usb3_phy {
88         status = "okay";
89 };