xref: /freebsd/sys/contrib/device-tree/src/arm64/broadcom/stingray/bcm958742k.dts (revision d5b0e70f7e04d971691517ce1304d86a1e367e2e)
1c66ec88fSEmmanuel Vadot/*
2c66ec88fSEmmanuel Vadot *  BSD LICENSE
3c66ec88fSEmmanuel Vadot *
4c66ec88fSEmmanuel Vadot *  Copyright(c) 2016-2017 Broadcom.  All rights reserved.
5c66ec88fSEmmanuel Vadot *
6c66ec88fSEmmanuel Vadot *  Redistribution and use in source and binary forms, with or without
7c66ec88fSEmmanuel Vadot *  modification, are permitted provided that the following conditions
8c66ec88fSEmmanuel Vadot *  are met:
9c66ec88fSEmmanuel Vadot *
10c66ec88fSEmmanuel Vadot *    * Redistributions of source code must retain the above copyright
11c66ec88fSEmmanuel Vadot *      notice, this list of conditions and the following disclaimer.
12c66ec88fSEmmanuel Vadot *    * Redistributions in binary form must reproduce the above copyright
13c66ec88fSEmmanuel Vadot *      notice, this list of conditions and the following disclaimer in
14c66ec88fSEmmanuel Vadot *      the documentation and/or other materials provided with the
15c66ec88fSEmmanuel Vadot *      distribution.
16c66ec88fSEmmanuel Vadot *    * Neither the name of Broadcom nor the names of its
17c66ec88fSEmmanuel Vadot *      contributors may be used to endorse or promote products derived
18c66ec88fSEmmanuel Vadot *      from this software without specific prior written permission.
19c66ec88fSEmmanuel Vadot *
20c66ec88fSEmmanuel Vadot *  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
21c66ec88fSEmmanuel Vadot *  "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
22c66ec88fSEmmanuel Vadot *  LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
23c66ec88fSEmmanuel Vadot *  A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
24c66ec88fSEmmanuel Vadot *  OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
25c66ec88fSEmmanuel Vadot *  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
26c66ec88fSEmmanuel Vadot *  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
27c66ec88fSEmmanuel Vadot *  DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
28c66ec88fSEmmanuel Vadot *  THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
29c66ec88fSEmmanuel Vadot *  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
30c66ec88fSEmmanuel Vadot *  OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31c66ec88fSEmmanuel Vadot */
32c66ec88fSEmmanuel Vadot
33c66ec88fSEmmanuel Vadot/dts-v1/;
34c66ec88fSEmmanuel Vadot
35c66ec88fSEmmanuel Vadot#include "bcm958742-base.dtsi"
36c66ec88fSEmmanuel Vadot
37c66ec88fSEmmanuel Vadot/ {
38c66ec88fSEmmanuel Vadot	compatible = "brcm,bcm958742k", "brcm,stingray";
39c66ec88fSEmmanuel Vadot	model = "Stingray Combo SVK (BCM958742K)";
40c66ec88fSEmmanuel Vadot};
41c66ec88fSEmmanuel Vadot
42c66ec88fSEmmanuel Vadot&gphy0 {
43c66ec88fSEmmanuel Vadot	enet-phy-lane-swap;
44c66ec88fSEmmanuel Vadot};
45c66ec88fSEmmanuel Vadot
46c66ec88fSEmmanuel Vadot&sdio0 {
47c66ec88fSEmmanuel Vadot	mmc-ddr-1_8v;
48c66ec88fSEmmanuel Vadot};
49c66ec88fSEmmanuel Vadot
50c66ec88fSEmmanuel Vadot&uart2 {
51c66ec88fSEmmanuel Vadot	status = "okay";
52c66ec88fSEmmanuel Vadot};
53c66ec88fSEmmanuel Vadot
54c66ec88fSEmmanuel Vadot&uart3 {
55c66ec88fSEmmanuel Vadot	status = "okay";
56c66ec88fSEmmanuel Vadot};
57c66ec88fSEmmanuel Vadot
58c66ec88fSEmmanuel Vadot&ssp0 {
59c66ec88fSEmmanuel Vadot	pinctrl-0 = <&spi0_pins>;
60c66ec88fSEmmanuel Vadot	pinctrl-names = "default";
61c66ec88fSEmmanuel Vadot	cs-gpios = <&gpio_hsls 34 0>;
62c66ec88fSEmmanuel Vadot	status = "okay";
63c66ec88fSEmmanuel Vadot
64*d5b0e70fSEmmanuel Vadot	flash@0 {
65c66ec88fSEmmanuel Vadot		compatible = "jedec,spi-nor";
66c66ec88fSEmmanuel Vadot		reg = <0>;
67c66ec88fSEmmanuel Vadot		spi-max-frequency = <20000000>;
68c66ec88fSEmmanuel Vadot		#address-cells = <1>;
69c66ec88fSEmmanuel Vadot		#size-cells = <1>;
70c66ec88fSEmmanuel Vadot	};
71c66ec88fSEmmanuel Vadot};
72c66ec88fSEmmanuel Vadot
73c66ec88fSEmmanuel Vadot&ssp1 {
74c66ec88fSEmmanuel Vadot	pinctrl-0 = <&spi1_pins>;
75c66ec88fSEmmanuel Vadot	pinctrl-names = "default";
76c66ec88fSEmmanuel Vadot	cs-gpios = <&gpio_hsls 96 0>;
77c66ec88fSEmmanuel Vadot	status = "okay";
78c66ec88fSEmmanuel Vadot
79*d5b0e70fSEmmanuel Vadot	flash@0 {
80c66ec88fSEmmanuel Vadot		compatible = "jedec,spi-nor";
81c66ec88fSEmmanuel Vadot		reg = <0>;
82c66ec88fSEmmanuel Vadot		spi-max-frequency = <20000000>;
83c66ec88fSEmmanuel Vadot		#address-cells = <1>;
84c66ec88fSEmmanuel Vadot		#size-cells = <1>;
85c66ec88fSEmmanuel Vadot	};
86c66ec88fSEmmanuel Vadot};
87