1*724ba675SRob Herring/* 2*724ba675SRob Herring * BSD LICENSE 3*724ba675SRob Herring * 4*724ba675SRob Herring * Copyright(c) 2016 Broadcom. All rights reserved. 5*724ba675SRob Herring * 6*724ba675SRob Herring * Redistribution and use in source and binary forms, with or without 7*724ba675SRob Herring * modification, are permitted provided that the following conditions 8*724ba675SRob Herring * are met: 9*724ba675SRob Herring * 10*724ba675SRob Herring * * Redistributions of source code must retain the above copyright 11*724ba675SRob Herring * notice, this list of conditions and the following disclaimer. 12*724ba675SRob Herring * * Redistributions in binary form must reproduce the above copyright 13*724ba675SRob Herring * notice, this list of conditions and the following disclaimer in 14*724ba675SRob Herring * the documentation and/or other materials provided with the 15*724ba675SRob Herring * distribution. 16*724ba675SRob Herring * * Neither the name of Broadcom Corporation nor the names of its 17*724ba675SRob Herring * contributors may be used to endorse or promote products derived 18*724ba675SRob Herring * from this software without specific prior written permission. 19*724ba675SRob Herring * 20*724ba675SRob Herring * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 21*724ba675SRob Herring * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 22*724ba675SRob Herring * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 23*724ba675SRob Herring * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 24*724ba675SRob Herring * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 25*724ba675SRob Herring * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 26*724ba675SRob Herring * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 27*724ba675SRob Herring * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 28*724ba675SRob Herring * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 29*724ba675SRob Herring * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 30*724ba675SRob Herring * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 31*724ba675SRob Herring */ 32*724ba675SRob Herring 33*724ba675SRob Herring/dts-v1/; 34*724ba675SRob Herring 35*724ba675SRob Herring#include "bcm-nsp.dtsi" 36*724ba675SRob Herring#include <dt-bindings/gpio/gpio.h> 37*724ba675SRob Herring 38*724ba675SRob Herring/ { 39*724ba675SRob Herring model = "NorthStar Plus XMC (BCM958525xmc)"; 40*724ba675SRob Herring compatible = "brcm,bcm958525xmc", "brcm,bcm58525", "brcm,nsp"; 41*724ba675SRob Herring 42*724ba675SRob Herring chosen { 43*724ba675SRob Herring stdout-path = "serial0:115200n8"; 44*724ba675SRob Herring }; 45*724ba675SRob Herring 46*724ba675SRob Herring memory@60000000 { 47*724ba675SRob Herring device_type = "memory"; 48*724ba675SRob Herring reg = <0x60000000 0x40000000>; 49*724ba675SRob Herring }; 50*724ba675SRob Herring 51*724ba675SRob Herring gpio-restart { 52*724ba675SRob Herring compatible = "gpio-restart"; 53*724ba675SRob Herring gpios = <&gpioa 31 GPIO_ACTIVE_LOW>; 54*724ba675SRob Herring open-source; 55*724ba675SRob Herring priority = <200>; 56*724ba675SRob Herring }; 57*724ba675SRob Herring}; 58*724ba675SRob Herring 59*724ba675SRob Herring/* XHCI support needed to be complete */ 60*724ba675SRob Herring 61*724ba675SRob Herring&dma { 62*724ba675SRob Herring status = "okay"; 63*724ba675SRob Herring}; 64*724ba675SRob Herring 65*724ba675SRob Herring&amac0 { 66*724ba675SRob Herring status = "okay"; 67*724ba675SRob Herring}; 68*724ba675SRob Herring 69*724ba675SRob Herring&ehci0 { 70*724ba675SRob Herring status = "okay"; 71*724ba675SRob Herring}; 72*724ba675SRob Herring 73*724ba675SRob Herring&i2c0 { 74*724ba675SRob Herring status = "okay"; 75*724ba675SRob Herring 76*724ba675SRob Herring temperature-sensor@4c { 77*724ba675SRob Herring compatible = "adi,adt7461a"; 78*724ba675SRob Herring reg = <0x4c>; 79*724ba675SRob Herring }; 80*724ba675SRob Herring 81*724ba675SRob Herring eeprom@52 { 82*724ba675SRob Herring compatible = "atmel,24c02"; 83*724ba675SRob Herring reg = <0x52>; 84*724ba675SRob Herring pagesize = <16>; 85*724ba675SRob Herring }; 86*724ba675SRob Herring 87*724ba675SRob Herring rtc@68 { 88*724ba675SRob Herring compatible = "st,m41t81"; 89*724ba675SRob Herring reg = <0x68>; 90*724ba675SRob Herring }; 91*724ba675SRob Herring}; 92*724ba675SRob Herring 93*724ba675SRob Herring&nand_controller { 94*724ba675SRob Herring nand@0 { 95*724ba675SRob Herring compatible = "brcm,nandcs"; 96*724ba675SRob Herring reg = <0>; 97*724ba675SRob Herring nand-on-flash-bbt; 98*724ba675SRob Herring 99*724ba675SRob Herring #address-cells = <1>; 100*724ba675SRob Herring #size-cells = <1>; 101*724ba675SRob Herring 102*724ba675SRob Herring nand-ecc-strength = <24>; 103*724ba675SRob Herring nand-ecc-step-size = <1024>; 104*724ba675SRob Herring 105*724ba675SRob Herring brcm,nand-oob-sector-size = <27>; 106*724ba675SRob Herring 107*724ba675SRob Herring partition@0 { 108*724ba675SRob Herring label = "nboot"; 109*724ba675SRob Herring reg = <0x00000000 0x00200000>; 110*724ba675SRob Herring read-only; 111*724ba675SRob Herring }; 112*724ba675SRob Herring partition@200000 { 113*724ba675SRob Herring label = "nenv"; 114*724ba675SRob Herring reg = <0x00200000 0x00400000>; 115*724ba675SRob Herring }; 116*724ba675SRob Herring partition@600000 { 117*724ba675SRob Herring label = "nsystem"; 118*724ba675SRob Herring reg = <0x00600000 0x00a00000>; 119*724ba675SRob Herring }; 120*724ba675SRob Herring partition@1000000 { 121*724ba675SRob Herring label = "nrootfs"; 122*724ba675SRob Herring reg = <0x01000000 0x03000000>; 123*724ba675SRob Herring }; 124*724ba675SRob Herring partition@4000000 { 125*724ba675SRob Herring label = "ncustfs"; 126*724ba675SRob Herring reg = <0x04000000 0x3c000000>; 127*724ba675SRob Herring }; 128*724ba675SRob Herring }; 129*724ba675SRob Herring}; 130*724ba675SRob Herring 131*724ba675SRob Herring&ohci0 { 132*724ba675SRob Herring status = "okay"; 133*724ba675SRob Herring}; 134*724ba675SRob Herring 135*724ba675SRob Herring&pcie0 { 136*724ba675SRob Herring status = "okay"; 137*724ba675SRob Herring}; 138*724ba675SRob Herring 139*724ba675SRob Herring&pcie1 { 140*724ba675SRob Herring status = "okay"; 141*724ba675SRob Herring}; 142*724ba675SRob Herring 143*724ba675SRob Herring&pinctrl { 144*724ba675SRob Herring pinctrl-names = "default"; 145*724ba675SRob Herring pinctrl-0 = <&nand_sel>; 146*724ba675SRob Herring nand_sel: nand_sel { 147*724ba675SRob Herring function = "nand"; 148*724ba675SRob Herring groups = "nand_grp"; 149*724ba675SRob Herring }; 150*724ba675SRob Herring}; 151*724ba675SRob Herring 152*724ba675SRob Herring&qspi { 153*724ba675SRob Herring status = "okay"; 154*724ba675SRob Herring bspi-sel = <0>; 155*724ba675SRob Herring flash: flash@0 { 156*724ba675SRob Herring #address-cells = <1>; 157*724ba675SRob Herring #size-cells = <1>; 158*724ba675SRob Herring compatible = "m25p80"; 159*724ba675SRob Herring reg = <0x0>; 160*724ba675SRob Herring spi-max-frequency = <12500000>; 161*724ba675SRob Herring m25p,fast-read; 162*724ba675SRob Herring spi-cpol; 163*724ba675SRob Herring spi-cpha; 164*724ba675SRob Herring 165*724ba675SRob Herring partition@0 { 166*724ba675SRob Herring label = "boot"; 167*724ba675SRob Herring reg = <0x00000000 0x000a0000>; 168*724ba675SRob Herring }; 169*724ba675SRob Herring 170*724ba675SRob Herring partition@a0000 { 171*724ba675SRob Herring label = "env"; 172*724ba675SRob Herring reg = <0x000a0000 0x00060000>; 173*724ba675SRob Herring }; 174*724ba675SRob Herring 175*724ba675SRob Herring partition@100000 { 176*724ba675SRob Herring label = "system"; 177*724ba675SRob Herring reg = <0x00100000 0x00600000>; 178*724ba675SRob Herring }; 179*724ba675SRob Herring 180*724ba675SRob Herring partition@700000 { 181*724ba675SRob Herring label = "rootfs"; 182*724ba675SRob Herring reg = <0x00700000 0x01900000>; 183*724ba675SRob Herring }; 184*724ba675SRob Herring }; 185*724ba675SRob Herring}; 186*724ba675SRob Herring 187*724ba675SRob Herring&sata_phy0 { 188*724ba675SRob Herring status = "okay"; 189*724ba675SRob Herring}; 190*724ba675SRob Herring 191*724ba675SRob Herring&sata_phy1 { 192*724ba675SRob Herring status = "okay"; 193*724ba675SRob Herring}; 194*724ba675SRob Herring 195*724ba675SRob Herring&sata { 196*724ba675SRob Herring status = "okay"; 197*724ba675SRob Herring}; 198*724ba675SRob Herring 199*724ba675SRob Herring&sdio { 200*724ba675SRob Herring status = "okay"; 201*724ba675SRob Herring}; 202*724ba675SRob Herring 203*724ba675SRob Herring&uart0 { 204*724ba675SRob Herring status = "okay"; 205*724ba675SRob Herring}; 206*724ba675SRob Herring 207*724ba675SRob Herring&usb3_phy { 208*724ba675SRob Herring status = "okay"; 209*724ba675SRob Herring}; 210*724ba675SRob Herring 211*724ba675SRob Herring&xhci { 212*724ba675SRob Herring status = "okay"; 213*724ba675SRob Herring}; 214*724ba675SRob Herring 215*724ba675SRob Herring&srab { 216*724ba675SRob Herring compatible = "brcm,bcm58525-srab", "brcm,nsp-srab"; 217*724ba675SRob Herring}; 218