Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: dts: NSP: Add new DT file for bcm958625hr

Create a new device tree file for the Broadcom Northstar Plus HR SVK.
This SVK is a smaller form factor, and thus only has 2 PCI slots and 1
UART. Also, it has the ability to reboot via GPIO (instead of the
processor reset).

Signed-off-by: Jon Mason <jonmason@broadcom.com>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>

authored by

Jon Mason and committed by
Florian Fainelli
a7dd623f f7f20cba

+108
+1
arch/arm/boot/dts/Makefile
··· 97 97 bcm28155-ap.dtb \ 98 98 bcm21664-garnet.dtb 99 99 dtb-$(CONFIG_ARCH_BCM_NSP) += \ 100 + bcm958625hr.dtb \ 100 101 bcm958625k.dtb 101 102 dtb-$(CONFIG_ARCH_BERLIN) += \ 102 103 berlin2-sony-nsz-gs7.dtb \
+107
arch/arm/boot/dts/bcm958625hr.dts
··· 1 + /* 2 + * BSD LICENSE 3 + * 4 + * Copyright (c) 2016 Broadcom. All rights reserved. 5 + * 6 + * Redistribution and use in source and binary forms, with or without 7 + * modification, are permitted provided that the following conditions 8 + * are met: 9 + * 10 + * * Redistributions of source code must retain the above copyright 11 + * notice, this list of conditions and the following disclaimer. 12 + * * Redistributions in binary form must reproduce the above copyright 13 + * notice, this list of conditions and the following disclaimer in 14 + * the documentation and/or other materials provided with the 15 + * distribution. 16 + * * Neither the name of Broadcom Corporation nor the names of its 17 + * contributors may be used to endorse or promote products derived 18 + * from this software without specific prior written permission. 19 + * 20 + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 21 + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 22 + * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 23 + * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 24 + * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 25 + * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 26 + * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 27 + * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 28 + * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 29 + * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 30 + * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 31 + */ 32 + 33 + /dts-v1/; 34 + 35 + #include "bcm-nsp.dtsi" 36 + 37 + / { 38 + model = "NorthStar Plus SVK (BCM958625HR)"; 39 + compatible = "brcm,bcm58625", "brcm,nsp"; 40 + 41 + aliases { 42 + serial0 = &uart0; 43 + }; 44 + 45 + chosen { 46 + stdout-path = "serial0:115200n8"; 47 + }; 48 + }; 49 + 50 + &nand { 51 + nandcs@0 { 52 + compatible = "brcm,nandcs"; 53 + reg = <0>; 54 + nand-on-flash-bbt; 55 + 56 + #address-cells = <1>; 57 + #size-cells = <1>; 58 + 59 + nand-ecc-strength = <24>; 60 + nand-ecc-step-size = <1024>; 61 + 62 + brcm,nand-oob-sector-size = <27>; 63 + 64 + partition@0 { 65 + label = "nboot"; 66 + reg = <0x00000000 0x00200000>; 67 + read-only; 68 + }; 69 + partition@200000 { 70 + label = "nenv"; 71 + reg = <0x00200000 0x00400000>; 72 + }; 73 + partition@600000 { 74 + label = "nsystem"; 75 + reg = <0x00600000 0x00a00000>; 76 + }; 77 + partition@1000000 { 78 + label = "nrootfs"; 79 + reg = <0x01000000 0x03000000>; 80 + }; 81 + partition@4000000 { 82 + label = "ncustfs"; 83 + reg = <0x04000000 0x3c000000>; 84 + }; 85 + }; 86 + }; 87 + 88 + &uart0 { 89 + status = "okay"; 90 + }; 91 + 92 + &pcie0 { 93 + status = "okay"; 94 + }; 95 + 96 + &pcie1 { 97 + status = "okay"; 98 + }; 99 + 100 + &pinctrl { 101 + pinctrl-names = "default"; 102 + pinctrl-0 = <&nand_sel>; 103 + nand_sel: nand_sel { 104 + function = "nand"; 105 + groups = "nand_grp"; 106 + }; 107 + };