Back to home page

OSCL-LXR

 
 

    


0001 /*
0002  *  BSD LICENSE
0003  *
0004  *  Copyright(c) 2016 Broadcom. All rights reserved.
0005  *
0006  *  Redistribution and use in source and binary forms, with or without
0007  *  modification, are permitted provided that the following conditions
0008  *  are met:
0009  *
0010  *    * Redistributions of source code must retain the above copyright
0011  *      notice, this list of conditions and the following disclaimer.
0012  *    * Redistributions in binary form must reproduce the above copyright
0013  *      notice, this list of conditions and the following disclaimer in
0014  *      the documentation and/or other materials provided with the
0015  *      distribution.
0016  *    * Neither the name of Broadcom Corporation nor the names of its
0017  *      contributors may be used to endorse or promote products derived
0018  *      from this software without specific prior written permission.
0019  *
0020  *  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
0021  *  "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
0022  *  LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
0023  *  A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
0024  *  OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
0025  *  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
0026  *  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
0027  *  DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
0028  *  THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
0029  *  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
0030  *  OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
0031  */
0032 
0033 /dts-v1/;
0034 
0035 #include "bcm4708.dtsi"
0036 #include "bcm5301x-nand-cs0-bch8.dtsi"
0037 
0038 / {
0039         model = "NorthStar Enterprise Router (BCM953012ER)";
0040         compatible = "brcm,bcm953012er", "brcm,bcm53012", "brcm,bcm4708";
0041 
0042         memory@0 {
0043                 device_type = "memory";
0044                 reg = <0x00000000 0x8000000>;
0045         };
0046 
0047         gpio-keys {
0048                 compatible = "gpio-keys";
0049 
0050                 button-wps {
0051                         label = "WPS";
0052                         linux,code = <KEY_WPS_BUTTON>;
0053                         gpios = <&chipcommon 6 GPIO_ACTIVE_LOW>;
0054                 };
0055 
0056                 button-restart {
0057                         label = "Reset";
0058                         linux,code = <KEY_RESTART>;
0059                         gpios = <&chipcommon 15 GPIO_ACTIVE_LOW>;
0060                 };
0061         };
0062 };
0063 
0064 &spi_nor {
0065         status = "okay";
0066 };
0067 
0068 &srab {
0069         status = "okay";
0070 
0071         ports {
0072                 port@0 {
0073                         reg = <0>;
0074                         label = "port0";
0075                 };
0076 
0077                 port@1 {
0078                         reg = <1>;
0079                         label = "port1";
0080                 };
0081 
0082                 port@5 {
0083                         reg = <5>;
0084                         label = "cpu";
0085                         ethernet = <&gmac0>;
0086                 };
0087         };
0088 };
0089 
0090 &usb3_phy {
0091         status = "okay";
0092 };