0001 /*
0002 * SPDX-License-Identifier: BSD-3-Clause
0003 *
0004 * Copyright(c) 2017 Broadcom
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 nor the names of its contributors
0017 * may be used to endorse or promote products derived from this
0018 * 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 "bcm4708.dtsi"
0036 #include "bcm5301x-nand-cs0-bch4.dtsi"
0037
0038 / {
0039 model = "NorthStar HR (BCM953012HR)";
0040 compatible = "brcm,bcm953012hr", "brcm,bcm53012", "brcm,bcm4708";
0041
0042 aliases {
0043 ethernet0 = &gmac0;
0044 ethernet1 = &gmac1;
0045 ethernet2 = &gmac2;
0046 };
0047
0048 memory@80000000 {
0049 device_type = "memory";
0050 reg = <0x80000000 0x10000000>;
0051 };
0052 };
0053
0054 &nandcs {
0055 partition@0 {
0056 label = "nboot";
0057 reg = <0x00000000 0x00200000>;
0058 read-only;
0059 };
0060 partition@200000 {
0061 label = "nenv";
0062 reg = <0x00200000 0x00400000>;
0063 };
0064 partition@600000 {
0065 label = "nsystem";
0066 reg = <0x00600000 0x00a00000>;
0067 };
0068 partition@1000000 {
0069 label = "nrootfs";
0070 reg = <0x01000000 0x07000000>;
0071 };
0072 };
0073
0074 &spi_nor {
0075 status = "okay";
0076 spi-max-frequency = <62500000>;
0077 m25p,default-addr-width = <3>;
0078
0079 #address-cells = <1>;
0080 #size-cells = <1>;
0081
0082 partition@0 {
0083 label = "boot";
0084 reg = <0x00000000 0x000d0000>;
0085 };
0086 partition@d000 {
0087 label = "env";
0088 reg = <0x000d0000 0x00030000>;
0089 };
0090 partition@100000 {
0091 label = "system";
0092 reg = <0x00100000 0x00600000>;
0093 };
0094 partition@700000 {
0095 label = "rootfs";
0096 reg = <0x00700000 0x00900000>;
0097 };
0098 };
0099
0100 &usb3_phy {
0101 status = "okay";
0102 };