0001 /*
0002 * BSD LICENSE
0003 *
0004 * Copyright(c) 2015 Broadcom Corporation. All rights reserved.
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 Corporation nor the names of its
0017 * contributors may be used to endorse or promote products derived
0018 * from this 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
0037 / {
0038 model = "NorthStar SVK (BCM953012K)";
0039 compatible = "brcm,bcm953012k", "brcm,bcm53012", "brcm,bcm4708";
0040
0041 aliases {
0042 serial0 = &uart0;
0043 serial1 = &uart1;
0044 };
0045
0046 memory@80000000 {
0047 device_type = "memory";
0048 reg = <0x80000000 0x10000000>;
0049 };
0050 };
0051
0052 &nand_controller {
0053 nand@0 {
0054 compatible = "brcm,nandcs";
0055 reg = <0>;
0056 nand-on-flash-bbt;
0057
0058 #address-cells = <1>;
0059 #size-cells = <1>;
0060
0061 nand-ecc-strength = <4>;
0062 nand-ecc-step-size = <512>;
0063
0064 partition@0 {
0065 label = "nboot";
0066 reg = <0x00000000 0x00200000>;
0067 read-only;
0068 };
0069 partition@200000 {
0070 label = "nenv";
0071 reg = <0x00200000 0x00400000>;
0072 };
0073 partition@600000 {
0074 label = "nsystem";
0075 reg = <0x00600000 0x00a00000>;
0076 };
0077 partition@1000000 {
0078 label = "nrootfs";
0079 reg = <0x01000000 0x07000000>;
0080 };
0081 };
0082 };
0083
0084 &spi_nor {
0085 status = "okay";
0086 spi-max-frequency = <62500000>;
0087 m25p,default-addr-width = <3>;
0088
0089 #address-cells = <1>;
0090 #size-cells = <1>;
0091
0092 partition@0 {
0093 label = "boot";
0094 reg = <0x00000000 0x000d0000>;
0095 };
0096 partition@d000 {
0097 label = "env";
0098 reg = <0x000d0000 0x00030000>;
0099 };
0100 partition@100000 {
0101 label = "system";
0102 reg = <0x00100000 0x00600000>;
0103 };
0104 partition@700000 {
0105 label = "rootfs";
0106 reg = <0x00700000 0x00900000>;
0107 };
0108 };
0109
0110 &uart0 {
0111 status = "okay";
0112 };
0113
0114 &uart1 {
0115 status = "okay";
0116 };
0117
0118 &usb3_phy {
0119 status = "okay";
0120 };