18c2ecf20Sopenharmony_ci/*
28c2ecf20Sopenharmony_ci *  BSD LICENSE
38c2ecf20Sopenharmony_ci *
48c2ecf20Sopenharmony_ci *  Copyright(c) 2016-2017 Broadcom.  All rights reserved.
58c2ecf20Sopenharmony_ci *
68c2ecf20Sopenharmony_ci *  Redistribution and use in source and binary forms, with or without
78c2ecf20Sopenharmony_ci *  modification, are permitted provided that the following conditions
88c2ecf20Sopenharmony_ci *  are met:
98c2ecf20Sopenharmony_ci *
108c2ecf20Sopenharmony_ci *    * Redistributions of source code must retain the above copyright
118c2ecf20Sopenharmony_ci *      notice, this list of conditions and the following disclaimer.
128c2ecf20Sopenharmony_ci *    * Redistributions in binary form must reproduce the above copyright
138c2ecf20Sopenharmony_ci *      notice, this list of conditions and the following disclaimer in
148c2ecf20Sopenharmony_ci *      the documentation and/or other materials provided with the
158c2ecf20Sopenharmony_ci *      distribution.
168c2ecf20Sopenharmony_ci *    * Neither the name of Broadcom nor the names of its
178c2ecf20Sopenharmony_ci *      contributors may be used to endorse or promote products derived
188c2ecf20Sopenharmony_ci *      from this software without specific prior written permission.
198c2ecf20Sopenharmony_ci *
208c2ecf20Sopenharmony_ci *  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
218c2ecf20Sopenharmony_ci *  "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
228c2ecf20Sopenharmony_ci *  LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
238c2ecf20Sopenharmony_ci *  A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
248c2ecf20Sopenharmony_ci *  OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
258c2ecf20Sopenharmony_ci *  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
268c2ecf20Sopenharmony_ci *  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
278c2ecf20Sopenharmony_ci *  DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
288c2ecf20Sopenharmony_ci *  THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
298c2ecf20Sopenharmony_ci *  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
308c2ecf20Sopenharmony_ci *  OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
318c2ecf20Sopenharmony_ci */
328c2ecf20Sopenharmony_ci
338c2ecf20Sopenharmony_ci/dts-v1/;
348c2ecf20Sopenharmony_ci
358c2ecf20Sopenharmony_ci#include "bcm958742-base.dtsi"
368c2ecf20Sopenharmony_ci
378c2ecf20Sopenharmony_ci/ {
388c2ecf20Sopenharmony_ci	compatible = "brcm,bcm958742k", "brcm,stingray";
398c2ecf20Sopenharmony_ci	model = "Stingray Combo SVK (BCM958742K)";
408c2ecf20Sopenharmony_ci};
418c2ecf20Sopenharmony_ci
428c2ecf20Sopenharmony_ci&gphy0 {
438c2ecf20Sopenharmony_ci	enet-phy-lane-swap;
448c2ecf20Sopenharmony_ci};
458c2ecf20Sopenharmony_ci
468c2ecf20Sopenharmony_ci&sdio0 {
478c2ecf20Sopenharmony_ci	mmc-ddr-1_8v;
488c2ecf20Sopenharmony_ci};
498c2ecf20Sopenharmony_ci
508c2ecf20Sopenharmony_ci&uart2 {
518c2ecf20Sopenharmony_ci	status = "okay";
528c2ecf20Sopenharmony_ci};
538c2ecf20Sopenharmony_ci
548c2ecf20Sopenharmony_ci&uart3 {
558c2ecf20Sopenharmony_ci	status = "okay";
568c2ecf20Sopenharmony_ci};
578c2ecf20Sopenharmony_ci
588c2ecf20Sopenharmony_ci&ssp0 {
598c2ecf20Sopenharmony_ci	pinctrl-0 = <&spi0_pins>;
608c2ecf20Sopenharmony_ci	pinctrl-names = "default";
618c2ecf20Sopenharmony_ci	cs-gpios = <&gpio_hsls 34 0>;
628c2ecf20Sopenharmony_ci	status = "okay";
638c2ecf20Sopenharmony_ci
648c2ecf20Sopenharmony_ci	spi-flash@0 {
658c2ecf20Sopenharmony_ci		compatible = "jedec,spi-nor";
668c2ecf20Sopenharmony_ci		reg = <0>;
678c2ecf20Sopenharmony_ci		spi-max-frequency = <20000000>;
688c2ecf20Sopenharmony_ci		#address-cells = <1>;
698c2ecf20Sopenharmony_ci		#size-cells = <1>;
708c2ecf20Sopenharmony_ci	};
718c2ecf20Sopenharmony_ci};
728c2ecf20Sopenharmony_ci
738c2ecf20Sopenharmony_ci&ssp1 {
748c2ecf20Sopenharmony_ci	pinctrl-0 = <&spi1_pins>;
758c2ecf20Sopenharmony_ci	pinctrl-names = "default";
768c2ecf20Sopenharmony_ci	cs-gpios = <&gpio_hsls 96 0>;
778c2ecf20Sopenharmony_ci	status = "okay";
788c2ecf20Sopenharmony_ci
798c2ecf20Sopenharmony_ci	spi-flash@0 {
808c2ecf20Sopenharmony_ci		compatible = "jedec,spi-nor";
818c2ecf20Sopenharmony_ci		reg = <0>;
828c2ecf20Sopenharmony_ci		spi-max-frequency = <20000000>;
838c2ecf20Sopenharmony_ci		#address-cells = <1>;
848c2ecf20Sopenharmony_ci		#size-cells = <1>;
858c2ecf20Sopenharmony_ci	};
868c2ecf20Sopenharmony_ci};
87