Back to home page

OSCL-LXR

 
 

    


0001 /*
0002  *  BSD LICENSE
0003  *
0004  *  Copyright(c) 2014 Broadcom Corporation.  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 "bcm-cygnus.dtsi"
0036 #include "dt-bindings/input/input.h"
0037 
0038 / {
0039         model = "Cygnus Enterprise Phone (BCM911360_ENTPHN)";
0040         compatible = "brcm,bcm11360", "brcm,cygnus";
0041 
0042         aliases {
0043                 serial0 = &uart3;
0044         };
0045 
0046         chosen {
0047                 stdout-path = "serial0:115200n8";
0048         };
0049 
0050         gpio-keys {
0051                 compatible = "gpio-keys";
0052 
0053                 button-hook {
0054                         label = "HOOK";
0055                         linux,code = <KEY_O>;
0056                         gpios = <&gpio_asiu 48 0>;
0057                 };
0058         };
0059 };
0060 
0061 &eth0 {
0062         status = "okay";
0063 };
0064 
0065 &mdio {
0066         status = "okay";
0067 };
0068 
0069 &switch {
0070         status = "okay";
0071 };
0072 
0073 &v3d {
0074         assigned-clocks =
0075                 <&mipipll BCM_CYGNUS_MIPIPLL>,
0076                 <&mipipll BCM_CYGNUS_MIPIPLL_CH2_V3D>;
0077         assigned-clock-rates = <525000000>, <300000000>;
0078         status = "okay";
0079 };
0080 
0081 &uart3 {
0082         status = "okay";
0083 };
0084 
0085 &nand_controller {
0086         nand@1 {
0087                 compatible = "brcm,nandcs";
0088                 reg = <0>;
0089                 nand-on-flash-bbt;
0090 
0091                 #address-cells = <1>;
0092                 #size-cells = <1>;
0093 
0094                 nand-ecc-strength = <24>;
0095                 nand-ecc-step-size = <1024>;
0096 
0097                 brcm,nand-oob-sector-size = <27>;
0098         };
0099 };