Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
0002 /*
0003  * Copyright (C) 2016 Rafał Miłecki <rafal@milecki.pl>
0004  */
0005 
0006 /dts-v1/;
0007 
0008 #include "bcm47094.dtsi"
0009 #include "bcm5301x-nand-cs0-bch8.dtsi"
0010 
0011 / {
0012         compatible = "netgear,r8500", "brcm,bcm47094", "brcm,bcm4708";
0013         model = "Netgear R8500";
0014 
0015         chosen {
0016                 bootargs = "console=ttyS0,115200";
0017         };
0018 
0019         memory@0 {
0020                 device_type = "memory";
0021                 reg = <0x00000000 0x08000000>,
0022                       <0x88000000 0x18000000>;
0023         };
0024 
0025         leds {
0026                 compatible = "gpio-leds";
0027 
0028                 power0 {
0029                         label = "bcm53xx:white:power";
0030                         gpios = <&chipcommon 2 GPIO_ACTIVE_LOW>;
0031                         linux,default-trigger = "default-on";
0032                 };
0033 
0034                 power1 {
0035                         label = "bcm53xx:amber:power";
0036                         gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>;
0037                 };
0038 
0039                 5ghz-1 {
0040                         label = "bcm53xx:white:5ghz-1";
0041                         gpios = <&chipcommon 11 GPIO_ACTIVE_LOW>;
0042                 };
0043 
0044                 5ghz-2 {
0045                         label = "bcm53xx:white:5ghz-2";
0046                         gpios = <&chipcommon 12 GPIO_ACTIVE_LOW>;
0047                 };
0048 
0049                 2ghz {
0050                         label = "bcm53xx:white:2ghz";
0051                         gpios = <&chipcommon 13 GPIO_ACTIVE_LOW>;
0052                 };
0053 
0054                 usb2 {
0055                         label = "bcm53xx:white:usb2";
0056                         gpios = <&chipcommon 17 GPIO_ACTIVE_LOW>;
0057                 };
0058 
0059                 usb3 {
0060                         label = "bcm53xx:white:usb3";
0061                         gpios = <&chipcommon 18 GPIO_ACTIVE_LOW>;
0062                 };
0063         };
0064 
0065         gpio-keys {
0066                 compatible = "gpio-keys";
0067 
0068                 button-brightness {
0069                         label = "Backlight";
0070                         linux,code = <KEY_BRIGHTNESS_ZERO>;
0071                         gpios = <&chipcommon 1 GPIO_ACTIVE_LOW>;
0072                 };
0073 
0074                 button-restart {
0075                         label = "Reset";
0076                         linux,code = <KEY_RESTART>;
0077                         gpios = <&chipcommon 10 GPIO_ACTIVE_LOW>;
0078                 };
0079 
0080                 button-wps {
0081                         label = "WPS";
0082                         linux,code = <KEY_WPS_BUTTON>;
0083                         gpios = <&chipcommon 14 GPIO_ACTIVE_LOW>;
0084                 };
0085 
0086                 button-rfkill {
0087                         label = "WiFi";
0088                         linux,code = <KEY_RFKILL>;
0089                         gpios = <&chipcommon 20 GPIO_ACTIVE_LOW>;
0090                 };
0091         };
0092 };
0093 
0094 &usb3_phy {
0095         status = "okay";
0096 };