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 SVK (BCM958625HR)"; 40*724ba675SRob Herring compatible = "brcm,bcm958625hr", "brcm,bcm58625", "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 0x20000000>; 49*724ba675SRob Herring }; 50*724ba675SRob Herring 51*724ba675SRob Herring gpio-restart { 52*724ba675SRob Herring compatible = "gpio-restart"; 53*724ba675SRob Herring gpios = <&gpioa 15 GPIO_ACTIVE_LOW>; 54*724ba675SRob Herring open-source; 55*724ba675SRob Herring priority = <200>; 56*724ba675SRob Herring }; 57*724ba675SRob Herring 58*724ba675SRob Herring sfp: sfp { 59*724ba675SRob Herring compatible = "sff,sfp"; 60*724ba675SRob Herring i2c-bus = <&i2c0>; 61*724ba675SRob Herring mod-def0-gpios = <&gpioa 28 GPIO_ACTIVE_LOW>; 62*724ba675SRob Herring los-gpios = <&gpioa 24 GPIO_ACTIVE_HIGH>; 63*724ba675SRob Herring tx-fault-gpios = <&gpioa 30 GPIO_ACTIVE_HIGH>; 64*724ba675SRob Herring tx-disable-gpios = <&gpioa 26 GPIO_ACTIVE_HIGH>; 65*724ba675SRob Herring }; 66*724ba675SRob Herring}; 67*724ba675SRob Herring 68*724ba675SRob Herring&i2c0 { 69*724ba675SRob Herring status = "okay"; 70*724ba675SRob Herring}; 71*724ba675SRob Herring 72*724ba675SRob Herring&dma { 73*724ba675SRob Herring status = "okay"; 74*724ba675SRob Herring}; 75*724ba675SRob Herring 76*724ba675SRob Herring&amac0 { 77*724ba675SRob Herring status = "okay"; 78*724ba675SRob Herring}; 79*724ba675SRob Herring 80*724ba675SRob Herring&amac1 { 81*724ba675SRob Herring status = "okay"; 82*724ba675SRob Herring}; 83*724ba675SRob Herring 84*724ba675SRob Herring&amac2 { 85*724ba675SRob Herring status = "okay"; 86*724ba675SRob Herring}; 87*724ba675SRob Herring 88*724ba675SRob Herring&ehci0 { 89*724ba675SRob Herring status = "okay"; 90*724ba675SRob Herring}; 91*724ba675SRob Herring 92*724ba675SRob Herring&nand_controller { 93*724ba675SRob Herring nand@0 { 94*724ba675SRob Herring compatible = "brcm,nandcs"; 95*724ba675SRob Herring reg = <0>; 96*724ba675SRob Herring nand-on-flash-bbt; 97*724ba675SRob Herring 98*724ba675SRob Herring #address-cells = <1>; 99*724ba675SRob Herring #size-cells = <1>; 100*724ba675SRob Herring 101*724ba675SRob Herring nand-ecc-strength = <24>; 102*724ba675SRob Herring nand-ecc-step-size = <1024>; 103*724ba675SRob Herring 104*724ba675SRob Herring brcm,nand-oob-sector-size = <27>; 105*724ba675SRob Herring 106*724ba675SRob Herring partition@0 { 107*724ba675SRob Herring label = "nboot"; 108*724ba675SRob Herring reg = <0x00000000 0x00200000>; 109*724ba675SRob Herring read-only; 110*724ba675SRob Herring }; 111*724ba675SRob Herring partition@200000 { 112*724ba675SRob Herring label = "nenv"; 113*724ba675SRob Herring reg = <0x00200000 0x00400000>; 114*724ba675SRob Herring }; 115*724ba675SRob Herring partition@600000 { 116*724ba675SRob Herring label = "nsystem"; 117*724ba675SRob Herring reg = <0x00600000 0x00a00000>; 118*724ba675SRob Herring }; 119*724ba675SRob Herring partition@1000000 { 120*724ba675SRob Herring label = "nrootfs"; 121*724ba675SRob Herring reg = <0x01000000 0x03000000>; 122*724ba675SRob Herring }; 123*724ba675SRob Herring partition@4000000 { 124*724ba675SRob Herring label = "ncustfs"; 125*724ba675SRob Herring reg = <0x04000000 0x3c000000>; 126*724ba675SRob Herring }; 127*724ba675SRob Herring }; 128*724ba675SRob Herring}; 129*724ba675SRob Herring 130*724ba675SRob Herring&ohci0 { 131*724ba675SRob Herring status = "okay"; 132*724ba675SRob Herring}; 133*724ba675SRob Herring 134*724ba675SRob Herring&pcie0 { 135*724ba675SRob Herring status = "okay"; 136*724ba675SRob Herring}; 137*724ba675SRob Herring 138*724ba675SRob Herring&pcie1 { 139*724ba675SRob Herring status = "okay"; 140*724ba675SRob Herring}; 141*724ba675SRob Herring 142*724ba675SRob Herring&pinctrl { 143*724ba675SRob Herring pinctrl-names = "default"; 144*724ba675SRob Herring pinctrl-0 = <&nand_sel>; 145*724ba675SRob Herring nand_sel: nand_sel { 146*724ba675SRob Herring function = "nand"; 147*724ba675SRob Herring groups = "nand_grp"; 148*724ba675SRob Herring }; 149*724ba675SRob Herring}; 150*724ba675SRob Herring 151*724ba675SRob Herring&qspi { 152*724ba675SRob Herring status = "okay"; 153*724ba675SRob Herring bspi-sel = <0>; 154*724ba675SRob Herring flash: flash@0 { 155*724ba675SRob Herring #address-cells = <1>; 156*724ba675SRob Herring #size-cells = <1>; 157*724ba675SRob Herring compatible = "m25p80"; 158*724ba675SRob Herring reg = <0x0>; 159*724ba675SRob Herring spi-max-frequency = <12500000>; 160*724ba675SRob Herring m25p,fast-read; 161*724ba675SRob Herring spi-cpol; 162*724ba675SRob Herring spi-cpha; 163*724ba675SRob Herring 164*724ba675SRob Herring partition@0 { 165*724ba675SRob Herring label = "boot"; 166*724ba675SRob Herring reg = <0x00000000 0x000a0000>; 167*724ba675SRob Herring }; 168*724ba675SRob Herring 169*724ba675SRob Herring partition@a0000 { 170*724ba675SRob Herring label = "env"; 171*724ba675SRob Herring reg = <0x000a0000 0x00060000>; 172*724ba675SRob Herring }; 173*724ba675SRob Herring 174*724ba675SRob Herring partition@100000 { 175*724ba675SRob Herring label = "system"; 176*724ba675SRob Herring reg = <0x00100000 0x00600000>; 177*724ba675SRob Herring }; 178*724ba675SRob Herring 179*724ba675SRob Herring partition@700000 { 180*724ba675SRob Herring label = "rootfs"; 181*724ba675SRob Herring reg = <0x00700000 0x01900000>; 182*724ba675SRob Herring }; 183*724ba675SRob Herring }; 184*724ba675SRob Herring}; 185*724ba675SRob Herring 186*724ba675SRob Herring&sata_phy0 { 187*724ba675SRob Herring status = "okay"; 188*724ba675SRob Herring}; 189*724ba675SRob Herring 190*724ba675SRob Herring&sata_phy1 { 191*724ba675SRob Herring status = "okay"; 192*724ba675SRob Herring}; 193*724ba675SRob Herring 194*724ba675SRob Herring&srab { 195*724ba675SRob Herring compatible = "brcm,bcm58625-srab", "brcm,nsp-srab"; 196*724ba675SRob Herring status = "okay"; 197*724ba675SRob Herring 198*724ba675SRob Herring ports { 199*724ba675SRob Herring port@0 { 200*724ba675SRob Herring label = "port0"; 201*724ba675SRob Herring reg = <0>; 202*724ba675SRob Herring }; 203*724ba675SRob Herring 204*724ba675SRob Herring port@1 { 205*724ba675SRob Herring label = "port1"; 206*724ba675SRob Herring reg = <1>; 207*724ba675SRob Herring }; 208*724ba675SRob Herring 209*724ba675SRob Herring port@2 { 210*724ba675SRob Herring label = "port2"; 211*724ba675SRob Herring reg = <2>; 212*724ba675SRob Herring }; 213*724ba675SRob Herring 214*724ba675SRob Herring port@3 { 215*724ba675SRob Herring label = "port3"; 216*724ba675SRob Herring reg = <3>; 217*724ba675SRob Herring }; 218*724ba675SRob Herring 219*724ba675SRob Herring port@4 { 220*724ba675SRob Herring label = "port4"; 221*724ba675SRob Herring reg = <4>; 222*724ba675SRob Herring }; 223*724ba675SRob Herring 224*724ba675SRob Herring port@5 { 225*724ba675SRob Herring label = "sfp"; 226*724ba675SRob Herring phy-mode = "sgmii"; 227*724ba675SRob Herring reg = <5>; 228*724ba675SRob Herring sfp = <&sfp>; 229*724ba675SRob Herring managed = "in-band-status"; 230*724ba675SRob Herring }; 231*724ba675SRob Herring 232*724ba675SRob Herring port@8 { 233*724ba675SRob Herring ethernet = <&amac2>; 234*724ba675SRob Herring label = "cpu"; 235*724ba675SRob Herring reg = <8>; 236*724ba675SRob Herring fixed-link { 237*724ba675SRob Herring speed = <1000>; 238*724ba675SRob Herring full-duplex; 239*724ba675SRob Herring }; 240*724ba675SRob Herring }; 241*724ba675SRob Herring }; 242*724ba675SRob Herring}; 243*724ba675SRob Herring 244*724ba675SRob Herring&uart0 { 245*724ba675SRob Herring status = "okay"; 246*724ba675SRob Herring}; 247*724ba675SRob Herring 248*724ba675SRob Herring&usb3_phy { 249*724ba675SRob Herring status = "okay"; 250*724ba675SRob Herring}; 251*724ba675SRob Herring 252*724ba675SRob Herring&xhci { 253*724ba675SRob Herring status = "okay"; 254*724ba675SRob Herring}; 255