blob: b7a024b7951bcada9c3eae17087048f0b2609020 [file] [log] [blame]
Rafał Miłecki2b3db672018-05-02 16:11:02 +02001// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
Rafał Miłecki302a5ef2014-12-04 10:22:02 +01002/*
3 * Broadcom BCM470X / BCM5301X ARM platform code.
4 * DTS for Netgear R6300 V2
5 *
6 * Copyright (C) 2014 Rafał Miłecki <zajec5@gmail.com>
Rafał Miłecki302a5ef2014-12-04 10:22:02 +01007 */
8
9/dts-v1/;
10
11#include "bcm4708.dtsi"
Hauke Mehrtens9faa5962015-05-29 23:39:47 +020012#include "bcm5301x-nand-cs0-bch8.dtsi"
Rafał Miłecki302a5ef2014-12-04 10:22:02 +010013
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 {
Rafał Miłeckia252ccd2016-12-07 08:56:54 +010023 reg = <0x00000000 0x08000000
24 0x88000000 0x08000000>;
Rafał Miłecki302a5ef2014-12-04 10:22:02 +010025 };
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>;
Rafał Miłecki302a5ef2014-12-04 10:22:02 +010039 };
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>;
Rafał Miłecki302a5ef2014-12-04 10:22:02 +010050 };
51
52 wireless {
53 label = "bcm53xx:blue:wireless";
54 gpios = <&chipcommon 11 GPIO_ACTIVE_LOW>;
Rafał Miłecki302a5ef2014-12-04 10:22:02 +010055 };
56 };
57
58 gpio-keys {
59 compatible = "gpio-keys";
60 #address-cells = <1>;
61 #size-cells = <0>;
Rafał Miłecki302a5ef2014-12-04 10:22:02 +010062
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};
Rafał Miłecki5f799852016-04-27 09:05:03 +020082
83&spi_nor {
84 status = "okay";
85};
Vivek Unune37f61302018-04-09 18:31:53 -040086
87&usb3_phy {
88 status = "okay";
89};