Merge tag 'libnvdimm-for-5.1' of git://git.kernel.org/pub/scm/linux/kernel/git/nvdimm...
[sfrench/cifs-2.6.git] / arch / arm / boot / dts / bcm953012hr.dts
1 /*
2  *  SPDX-License-Identifier: BSD-3-Clause
3  *
4  *  Copyright(c) 2017 Broadcom
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 nor the names of its contributors
17  *      may be used to endorse or promote products derived from this
18  *      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 "bcm4708.dtsi"
36 #include "bcm5301x-nand-cs0-bch4.dtsi"
37
38 / {
39         model = "NorthStar HR (BCM953012HR)";
40         compatible = "brcm,bcm953012hr", "brcm,brcm53012", "brcm,bcm4708";
41
42         aliases {
43                 ethernet0 = &gmac0;
44                 ethernet1 = &gmac1;
45                 ethernet2 = &gmac2;
46         };
47
48         memory@80000000 {
49                 device_type = "memory";
50                 reg = <0x80000000 0x10000000>;
51         };
52 };
53
54 &nandcs {
55         partition@0 {
56                 label = "nboot";
57                 reg = <0x00000000 0x00200000>;
58                 read-only;
59         };
60         partition@200000 {
61                 label = "nenv";
62                 reg = <0x00200000 0x00400000>;
63         };
64         partition@600000 {
65                 label = "nsystem";
66                 reg = <0x00600000 0x00a00000>;
67         };
68         partition@1000000 {
69                 label = "nrootfs";
70                 reg = <0x01000000 0x07000000>;
71         };
72 };
73
74 &spi_nor {
75         status = "okay";
76         spi-max-frequency = <62500000>;
77         m25p,default-addr-width = <3>;
78
79         #address-cells = <1>;
80         #size-cells = <1>;
81
82         partition@0 {
83                 label = "boot";
84                 reg = <0x00000000 0x000d0000>;
85         };
86         partition@d000 {
87                 label = "env";
88                 reg = <0x000d0000 0x00030000>;
89         };
90         partition@100000 {
91                 label = "system";
92                 reg = <0x00100000 0x00600000>;
93         };
94         partition@700000 {
95                 label = "rootfs";
96                 reg = <0x00700000 0x00900000>;
97         };
98 };
99
100 &usb3_phy {
101         status = "okay";
102 };