0001 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
0002 /*
0003 * Broadcom BCM470X / BCM5301X ARM platform code.
0004 * DTS for Netgear R6300 V2
0005 *
0006 * Copyright (C) 2014 Rafał Miłecki <zajec5@gmail.com>
0007 */
0008
0009 /dts-v1/;
0010
0011 #include "bcm4708.dtsi"
0012 #include "bcm5301x-nand-cs0-bch8.dtsi"
0013
0014 / {
0015 compatible = "netgear,r6300v2", "brcm,bcm4708";
0016 model = "Netgear R6300 V2 (BCM4708)";
0017
0018 chosen {
0019 bootargs = "console=ttyS0,115200";
0020 };
0021
0022 memory@0 {
0023 device_type = "memory";
0024 reg = <0x00000000 0x08000000>,
0025 <0x88000000 0x08000000>;
0026 };
0027
0028 leds {
0029 compatible = "gpio-leds";
0030
0031 logo {
0032 label = "bcm53xx:white:logo";
0033 gpios = <&chipcommon 1 GPIO_ACTIVE_HIGH>;
0034 linux,default-trigger = "default-on";
0035 };
0036
0037 power0 {
0038 label = "bcm53xx:green:power";
0039 gpios = <&chipcommon 2 GPIO_ACTIVE_LOW>;
0040 };
0041
0042 power1 {
0043 label = "bcm53xx:amber:power";
0044 gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>;
0045 linux,default-trigger = "default-on";
0046 };
0047
0048 usb {
0049 label = "bcm53xx:blue:usb";
0050 gpios = <&chipcommon 8 GPIO_ACTIVE_LOW>;
0051 };
0052
0053 wireless {
0054 label = "bcm53xx:blue:wireless";
0055 gpios = <&chipcommon 11 GPIO_ACTIVE_LOW>;
0056 };
0057 };
0058
0059 gpio-keys {
0060 compatible = "gpio-keys";
0061
0062 button-wps {
0063 label = "WPS";
0064 linux,code = <KEY_WPS_BUTTON>;
0065 gpios = <&chipcommon 4 GPIO_ACTIVE_LOW>;
0066 };
0067
0068 button-rfkill {
0069 label = "WiFi";
0070 linux,code = <KEY_RFKILL>;
0071 gpios = <&chipcommon 5 GPIO_ACTIVE_LOW>;
0072 };
0073
0074 button-restart {
0075 label = "Reset";
0076 linux,code = <KEY_RESTART>;
0077 gpios = <&chipcommon 6 GPIO_ACTIVE_LOW>;
0078 };
0079 };
0080 };
0081
0082 &spi_nor {
0083 status = "okay";
0084 };
0085
0086 &usb3_phy {
0087 status = "okay";
0088 };