162306a36Sopenharmony_ci/* 262306a36Sopenharmony_ci * SPDX-License-Identifier: BSD-3-Clause 362306a36Sopenharmony_ci * 462306a36Sopenharmony_ci * Copyright(c) 2017 Broadcom 562306a36Sopenharmony_ci * 662306a36Sopenharmony_ci * Redistribution and use in source and binary forms, with or without 762306a36Sopenharmony_ci * modification, are permitted provided that the following conditions 862306a36Sopenharmony_ci * are met: 962306a36Sopenharmony_ci * 1062306a36Sopenharmony_ci * * Redistributions of source code must retain the above copyright 1162306a36Sopenharmony_ci * notice, this list of conditions and the following disclaimer. 1262306a36Sopenharmony_ci * * Redistributions in binary form must reproduce the above copyright 1362306a36Sopenharmony_ci * notice, this list of conditions and the following disclaimer in 1462306a36Sopenharmony_ci * the documentation and/or other materials provided with the 1562306a36Sopenharmony_ci * distribution. 1662306a36Sopenharmony_ci * * Neither the name of Broadcom nor the names of its contributors 1762306a36Sopenharmony_ci * may be used to endorse or promote products derived from this 1862306a36Sopenharmony_ci * software without specific prior written permission. 1962306a36Sopenharmony_ci * 2062306a36Sopenharmony_ci * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 2162306a36Sopenharmony_ci * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 2262306a36Sopenharmony_ci * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 2362306a36Sopenharmony_ci * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 2462306a36Sopenharmony_ci * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 2562306a36Sopenharmony_ci * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 2662306a36Sopenharmony_ci * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 2762306a36Sopenharmony_ci * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 2862306a36Sopenharmony_ci * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 2962306a36Sopenharmony_ci * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 3062306a36Sopenharmony_ci * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 3162306a36Sopenharmony_ci */ 3262306a36Sopenharmony_ci 3362306a36Sopenharmony_ci/dts-v1/; 3462306a36Sopenharmony_ci 3562306a36Sopenharmony_ci#include "bcm4708.dtsi" 3662306a36Sopenharmony_ci#include "bcm5301x-nand-cs0-bch4.dtsi" 3762306a36Sopenharmony_ci 3862306a36Sopenharmony_ci/ { 3962306a36Sopenharmony_ci model = "NorthStar HR (BCM953012HR)"; 4062306a36Sopenharmony_ci compatible = "brcm,bcm953012hr", "brcm,bcm53012", "brcm,bcm4708"; 4162306a36Sopenharmony_ci 4262306a36Sopenharmony_ci aliases { 4362306a36Sopenharmony_ci ethernet0 = &gmac0; 4462306a36Sopenharmony_ci ethernet1 = &gmac1; 4562306a36Sopenharmony_ci ethernet2 = &gmac2; 4662306a36Sopenharmony_ci }; 4762306a36Sopenharmony_ci 4862306a36Sopenharmony_ci memory@80000000 { 4962306a36Sopenharmony_ci device_type = "memory"; 5062306a36Sopenharmony_ci reg = <0x80000000 0x10000000>; 5162306a36Sopenharmony_ci }; 5262306a36Sopenharmony_ci}; 5362306a36Sopenharmony_ci 5462306a36Sopenharmony_ci&nandcs { 5562306a36Sopenharmony_ci partition@0 { 5662306a36Sopenharmony_ci label = "nboot"; 5762306a36Sopenharmony_ci reg = <0x00000000 0x00200000>; 5862306a36Sopenharmony_ci read-only; 5962306a36Sopenharmony_ci }; 6062306a36Sopenharmony_ci partition@200000 { 6162306a36Sopenharmony_ci label = "nenv"; 6262306a36Sopenharmony_ci reg = <0x00200000 0x00400000>; 6362306a36Sopenharmony_ci }; 6462306a36Sopenharmony_ci partition@600000 { 6562306a36Sopenharmony_ci label = "nsystem"; 6662306a36Sopenharmony_ci reg = <0x00600000 0x00a00000>; 6762306a36Sopenharmony_ci }; 6862306a36Sopenharmony_ci partition@1000000 { 6962306a36Sopenharmony_ci label = "nrootfs"; 7062306a36Sopenharmony_ci reg = <0x01000000 0x07000000>; 7162306a36Sopenharmony_ci }; 7262306a36Sopenharmony_ci}; 7362306a36Sopenharmony_ci 7462306a36Sopenharmony_ci&spi_nor { 7562306a36Sopenharmony_ci status = "okay"; 7662306a36Sopenharmony_ci spi-max-frequency = <62500000>; 7762306a36Sopenharmony_ci m25p,default-addr-width = <3>; 7862306a36Sopenharmony_ci 7962306a36Sopenharmony_ci #address-cells = <1>; 8062306a36Sopenharmony_ci #size-cells = <1>; 8162306a36Sopenharmony_ci 8262306a36Sopenharmony_ci partition@0 { 8362306a36Sopenharmony_ci label = "boot"; 8462306a36Sopenharmony_ci reg = <0x00000000 0x000d0000>; 8562306a36Sopenharmony_ci }; 8662306a36Sopenharmony_ci partition@d000 { 8762306a36Sopenharmony_ci label = "env"; 8862306a36Sopenharmony_ci reg = <0x000d0000 0x00030000>; 8962306a36Sopenharmony_ci }; 9062306a36Sopenharmony_ci partition@100000 { 9162306a36Sopenharmony_ci label = "system"; 9262306a36Sopenharmony_ci reg = <0x00100000 0x00600000>; 9362306a36Sopenharmony_ci }; 9462306a36Sopenharmony_ci partition@700000 { 9562306a36Sopenharmony_ci label = "rootfs"; 9662306a36Sopenharmony_ci reg = <0x00700000 0x00900000>; 9762306a36Sopenharmony_ci }; 9862306a36Sopenharmony_ci}; 9962306a36Sopenharmony_ci 10062306a36Sopenharmony_ci&usb3_phy { 10162306a36Sopenharmony_ci status = "okay"; 10262306a36Sopenharmony_ci}; 103