xref: /linux/scripts/dtc/include-prefixes/arm/broadcom/bcm911360_entphn.dts (revision cdd5b5a9761fd66d17586e4f4ba6588c70e640ea)
1*724ba675SRob Herring/*
2*724ba675SRob Herring *  BSD LICENSE
3*724ba675SRob Herring *
4*724ba675SRob Herring *  Copyright(c) 2014 Broadcom Corporation.  All rights reserved.
5*724ba675SRob Herring *
6*724ba675SRob Herring *  Redistribution and use in source and binary forms, with or without
7*724ba675SRob Herring *  modification, are permitted provided that the following conditions
8*724ba675SRob Herring *  are met:
9*724ba675SRob Herring *
10*724ba675SRob Herring *    * Redistributions of source code must retain the above copyright
11*724ba675SRob Herring *      notice, this list of conditions and the following disclaimer.
12*724ba675SRob Herring *    * Redistributions in binary form must reproduce the above copyright
13*724ba675SRob Herring *      notice, this list of conditions and the following disclaimer in
14*724ba675SRob Herring *      the documentation and/or other materials provided with the
15*724ba675SRob Herring *      distribution.
16*724ba675SRob Herring *    * Neither the name of Broadcom Corporation nor the names of its
17*724ba675SRob Herring *      contributors may be used to endorse or promote products derived
18*724ba675SRob Herring *      from this software without specific prior written permission.
19*724ba675SRob Herring *
20*724ba675SRob Herring *  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
21*724ba675SRob Herring *  "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
22*724ba675SRob Herring *  LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
23*724ba675SRob Herring *  A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
24*724ba675SRob Herring *  OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
25*724ba675SRob Herring *  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
26*724ba675SRob Herring *  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
27*724ba675SRob Herring *  DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
28*724ba675SRob Herring *  THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
29*724ba675SRob Herring *  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
30*724ba675SRob Herring * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31*724ba675SRob Herring */
32*724ba675SRob Herring
33*724ba675SRob Herring/dts-v1/;
34*724ba675SRob Herring
35*724ba675SRob Herring#include "bcm-cygnus.dtsi"
36*724ba675SRob Herring#include "dt-bindings/input/input.h"
37*724ba675SRob Herring
38*724ba675SRob Herring/ {
39*724ba675SRob Herring	model = "Cygnus Enterprise Phone (BCM911360_ENTPHN)";
40*724ba675SRob Herring	compatible = "brcm,bcm11360", "brcm,cygnus";
41*724ba675SRob Herring
42*724ba675SRob Herring	aliases {
43*724ba675SRob Herring		serial0 = &uart3;
44*724ba675SRob Herring	};
45*724ba675SRob Herring
46*724ba675SRob Herring	chosen {
47*724ba675SRob Herring		stdout-path = "serial0:115200n8";
48*724ba675SRob Herring	};
49*724ba675SRob Herring
50*724ba675SRob Herring	gpio-keys {
51*724ba675SRob Herring		compatible = "gpio-keys";
52*724ba675SRob Herring
53*724ba675SRob Herring		button-hook {
54*724ba675SRob Herring			label = "HOOK";
55*724ba675SRob Herring			linux,code = <KEY_O>;
56*724ba675SRob Herring			gpios = <&gpio_asiu 48 0>;
57*724ba675SRob Herring		};
58*724ba675SRob Herring	};
59*724ba675SRob Herring};
60*724ba675SRob Herring
61*724ba675SRob Herring&eth0 {
62*724ba675SRob Herring	status = "okay";
63*724ba675SRob Herring};
64*724ba675SRob Herring
65*724ba675SRob Herring&mdio {
66*724ba675SRob Herring	status = "okay";
67*724ba675SRob Herring};
68*724ba675SRob Herring
69*724ba675SRob Herring&switch {
70*724ba675SRob Herring	status = "okay";
71*724ba675SRob Herring};
72*724ba675SRob Herring
73*724ba675SRob Herring&v3d {
74*724ba675SRob Herring	assigned-clocks =
75*724ba675SRob Herring		<&mipipll BCM_CYGNUS_MIPIPLL>,
76*724ba675SRob Herring		<&mipipll BCM_CYGNUS_MIPIPLL_CH2_V3D>;
77*724ba675SRob Herring	assigned-clock-rates = <525000000>, <300000000>;
78*724ba675SRob Herring	status = "okay";
79*724ba675SRob Herring};
80*724ba675SRob Herring
81*724ba675SRob Herring&uart3 {
82*724ba675SRob Herring	status = "okay";
83*724ba675SRob Herring};
84*724ba675SRob Herring
85*724ba675SRob Herring&nand_controller {
86*724ba675SRob Herring	nand@1 {
87*724ba675SRob Herring		compatible = "brcm,nandcs";
88*724ba675SRob Herring		reg = <0>;
89*724ba675SRob Herring		nand-on-flash-bbt;
90*724ba675SRob Herring
91*724ba675SRob Herring		#address-cells = <1>;
92*724ba675SRob Herring		#size-cells = <1>;
93*724ba675SRob Herring
94*724ba675SRob Herring		nand-ecc-strength = <24>;
95*724ba675SRob Herring		nand-ecc-step-size = <1024>;
96*724ba675SRob Herring
97*724ba675SRob Herring		brcm,nand-oob-sector-size = <27>;
98*724ba675SRob Herring	};
99*724ba675SRob Herring};
100