18c2ecf20Sopenharmony_ci/*
28c2ecf20Sopenharmony_ci *  BSD LICENSE
38c2ecf20Sopenharmony_ci *
48c2ecf20Sopenharmony_ci *  Copyright(c) 2016 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 Corporation 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 "bcm4708.dtsi"
368c2ecf20Sopenharmony_ci#include "bcm5301x-nand-cs0-bch8.dtsi"
378c2ecf20Sopenharmony_ci
388c2ecf20Sopenharmony_ci/ {
398c2ecf20Sopenharmony_ci	model = "NorthStar Enterprise Router (BCM953012ER)";
408c2ecf20Sopenharmony_ci	compatible = "brcm,bcm953012er", "brcm,brcm53012", "brcm,bcm4708";
418c2ecf20Sopenharmony_ci
428c2ecf20Sopenharmony_ci	memory@0 {
438c2ecf20Sopenharmony_ci		device_type = "memory";
448c2ecf20Sopenharmony_ci		reg = <0x00000000 0x8000000>;
458c2ecf20Sopenharmony_ci	};
468c2ecf20Sopenharmony_ci
478c2ecf20Sopenharmony_ci	gpio-keys {
488c2ecf20Sopenharmony_ci		compatible = "gpio-keys";
498c2ecf20Sopenharmony_ci
508c2ecf20Sopenharmony_ci		wps {
518c2ecf20Sopenharmony_ci			label = "WPS";
528c2ecf20Sopenharmony_ci			linux,code = <KEY_WPS_BUTTON>;
538c2ecf20Sopenharmony_ci			gpios = <&chipcommon 6 GPIO_ACTIVE_LOW>;
548c2ecf20Sopenharmony_ci		};
558c2ecf20Sopenharmony_ci
568c2ecf20Sopenharmony_ci		restart {
578c2ecf20Sopenharmony_ci			label = "Reset";
588c2ecf20Sopenharmony_ci			linux,code = <KEY_RESTART>;
598c2ecf20Sopenharmony_ci			gpios = <&chipcommon 15 GPIO_ACTIVE_LOW>;
608c2ecf20Sopenharmony_ci		};
618c2ecf20Sopenharmony_ci	};
628c2ecf20Sopenharmony_ci};
638c2ecf20Sopenharmony_ci
648c2ecf20Sopenharmony_ci&spi_nor {
658c2ecf20Sopenharmony_ci	status = "okay";
668c2ecf20Sopenharmony_ci};
678c2ecf20Sopenharmony_ci
688c2ecf20Sopenharmony_ci&srab {
698c2ecf20Sopenharmony_ci	status = "okay";
708c2ecf20Sopenharmony_ci
718c2ecf20Sopenharmony_ci	ports {
728c2ecf20Sopenharmony_ci		#address-cells = <1>;
738c2ecf20Sopenharmony_ci		#size-cells = <0>;
748c2ecf20Sopenharmony_ci
758c2ecf20Sopenharmony_ci		port@0 {
768c2ecf20Sopenharmony_ci			reg = <0>;
778c2ecf20Sopenharmony_ci			label = "port0";
788c2ecf20Sopenharmony_ci		};
798c2ecf20Sopenharmony_ci
808c2ecf20Sopenharmony_ci		port@1 {
818c2ecf20Sopenharmony_ci			reg = <1>;
828c2ecf20Sopenharmony_ci			label = "port1";
838c2ecf20Sopenharmony_ci		};
848c2ecf20Sopenharmony_ci
858c2ecf20Sopenharmony_ci		port@5 {
868c2ecf20Sopenharmony_ci			reg = <5>;
878c2ecf20Sopenharmony_ci			label = "cpu";
888c2ecf20Sopenharmony_ci			ethernet = <&gmac0>;
898c2ecf20Sopenharmony_ci		};
908c2ecf20Sopenharmony_ci	};
918c2ecf20Sopenharmony_ci};
928c2ecf20Sopenharmony_ci
938c2ecf20Sopenharmony_ci&usb3_phy {
948c2ecf20Sopenharmony_ci	status = "okay";
958c2ecf20Sopenharmony_ci};
96