1d4b4aba6SAnup Patel/* 2d4b4aba6SAnup Patel * BSD LICENSE 3d4b4aba6SAnup Patel * 4d4b4aba6SAnup Patel * Copyright(c) 2016-2017 Broadcom. All rights reserved. 5d4b4aba6SAnup Patel * 6d4b4aba6SAnup Patel * Redistribution and use in source and binary forms, with or without 7d4b4aba6SAnup Patel * modification, are permitted provided that the following conditions 8d4b4aba6SAnup Patel * are met: 9d4b4aba6SAnup Patel * 10d4b4aba6SAnup Patel * * Redistributions of source code must retain the above copyright 11d4b4aba6SAnup Patel * notice, this list of conditions and the following disclaimer. 12d4b4aba6SAnup Patel * * Redistributions in binary form must reproduce the above copyright 13d4b4aba6SAnup Patel * notice, this list of conditions and the following disclaimer in 14d4b4aba6SAnup Patel * the documentation and/or other materials provided with the 15d4b4aba6SAnup Patel * distribution. 16d4b4aba6SAnup Patel * * Neither the name of Broadcom nor the names of its 17d4b4aba6SAnup Patel * contributors may be used to endorse or promote products derived 18d4b4aba6SAnup Patel * from this software without specific prior written permission. 19d4b4aba6SAnup Patel * 20d4b4aba6SAnup Patel * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 21d4b4aba6SAnup Patel * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 22d4b4aba6SAnup Patel * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 23d4b4aba6SAnup Patel * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 24d4b4aba6SAnup Patel * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 25d4b4aba6SAnup Patel * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 26d4b4aba6SAnup Patel * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 27d4b4aba6SAnup Patel * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 28d4b4aba6SAnup Patel * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 29d4b4aba6SAnup Patel * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 30d4b4aba6SAnup Patel * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 31d4b4aba6SAnup Patel */ 32d4b4aba6SAnup Patel 33d4b4aba6SAnup Patel#include "stingray.dtsi" 34d4b4aba6SAnup Patel 35d4b4aba6SAnup Patel/ { 36d4b4aba6SAnup Patel chosen { 37d4b4aba6SAnup Patel stdout-path = "serial0:115200n8"; 38d4b4aba6SAnup Patel }; 39d4b4aba6SAnup Patel 40d4b4aba6SAnup Patel aliases { 41d4b4aba6SAnup Patel serial0 = &uart1; 42d4b4aba6SAnup Patel serial1 = &uart0; 43d4b4aba6SAnup Patel serial2 = &uart2; 44d4b4aba6SAnup Patel serial3 = &uart3; 45d4b4aba6SAnup Patel }; 46d4b4aba6SAnup Patel}; 47d4b4aba6SAnup Patel 48d4b4aba6SAnup Patel&memory { /* Default DRAM banks */ 49d4b4aba6SAnup Patel reg = <0x00000000 0x80000000 0x0 0x80000000>, /* 2G @ 2G */ 50d4b4aba6SAnup Patel <0x00000008 0x80000000 0x1 0x80000000>; /* 6G @ 34G */ 51d4b4aba6SAnup Patel}; 52d4b4aba6SAnup Patel 53d4b4aba6SAnup Patel&uart1 { 54d4b4aba6SAnup Patel status = "okay"; 55d4b4aba6SAnup Patel}; 56*0f67ae37SPramod Kumar 57*0f67ae37SPramod Kumar&nand { 58*0f67ae37SPramod Kumar status = "ok"; 59*0f67ae37SPramod Kumar nandcs@0 { 60*0f67ae37SPramod Kumar compatible = "brcm,nandcs"; 61*0f67ae37SPramod Kumar reg = <0>; 62*0f67ae37SPramod Kumar nand-ecc-mode = "hw"; 63*0f67ae37SPramod Kumar nand-ecc-strength = <8>; 64*0f67ae37SPramod Kumar nand-ecc-step-size = <512>; 65*0f67ae37SPramod Kumar nand-bus-width = <16>; 66*0f67ae37SPramod Kumar brcm,nand-oob-sector-size = <16>; 67*0f67ae37SPramod Kumar #address-cells = <1>; 68*0f67ae37SPramod Kumar #size-cells = <1>; 69*0f67ae37SPramod Kumar }; 70*0f67ae37SPramod Kumar}; 71