Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
0002 /*
0003  * Copyright (C) 2017 Rafał Miłecki <rafal@milecki.pl>
0004  * Copyright (C) 2018 Rene Kjellerup <rk.katana.steel@gmail.com>
0005  */
0006 
0007 /dts-v1/;
0008 
0009 #include "bcm4708.dtsi"
0010 #include "bcm5301x-nand-cs0-bch8.dtsi"
0011 
0012 / {
0013         compatible = "linksys,ea6500-v2", "brcm,bcm4708";
0014         model = "Linksys EA6500 V2";
0015 
0016         chosen {
0017                 bootargs = "console=ttyS0,115200";
0018         };
0019 
0020         memory@0 {
0021                 device_type = "memory";
0022                 reg = <0x00000000 0x08000000>;
0023         };
0024 
0025         gpio-keys {
0026                 compatible = "gpio-keys";
0027 
0028                 button-wps {
0029                         label = "WPS";
0030                         linux,code = <KEY_WPS_BUTTON>;
0031                         gpios = <&chipcommon 7 GPIO_ACTIVE_LOW>;
0032                 };
0033 
0034                 button-restart {
0035                         label = "Reset";
0036                         linux,code = <KEY_RESTART>;
0037                         gpios = <&chipcommon 11 GPIO_ACTIVE_LOW>;
0038                 };
0039         };
0040 };
0041 
0042 &usb3_phy {
0043         status = "okay";
0044 };