x86/mm/pat: Don't report PAT on CPUs that don't support it
[linux/fpc-iii.git] / arch / arm / boot / dts / armada-390-db.dts
blob2afed2ce47412dce518785bdc1092c27b08766fb
1 /*
2  * Device Tree file for Marvell Armada 390 Development Board
3  * (DB-88F6920)
4  *
5  * Copyright (C) 2016 Marvell
6  *
7  * Grzegorz Jaszczyk <jaz@semihalf.com>
8  *
9  * This file is dual-licensed: you can use it either under the terms
10  * of the GPL or the X11 license, at your option. Note that this dual
11  * licensing only applies to this file, and not this project as a
12  * whole.
13  *
14  *  a) This file is free software; you can redistribute it and/or
15  *     modify it under the terms of the GNU General Public License as
16  *     published by the Free Software Foundation; either version 2 of the
17  *     License, or (at your option) any later version.
18  *
19  *     This file is distributed in the hope that it will be useful,
20  *     but WITHOUT ANY WARRANTY; without even the implied warranty of
21  *     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
22  *     GNU General Public License for more details.
23  *
24  * Or, alternatively,
25  *
26  *  b) Permission is hereby granted, free of charge, to any person
27  *     obtaining a copy of this software and associated documentation
28  *     files (the "Software"), to deal in the Software without
29  *     restriction, including without limitation the rights to use,
30  *     copy, modify, merge, publish, distribute, sublicense, and/or
31  *     sell copies of the Software, and to permit persons to whom the
32  *     Software is furnished to do so, subject to the following
33  *     conditions:
34  *
35  *     The above copyright notice and this permission notice shall be
36  *     included in all copies or substantial portions of the Software.
37  *
38  *     THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
39  *     EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
40  *     OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
41  *     NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
42  *     HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
43  *     WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
44  *     FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
45  *     OTHER DEALINGS IN THE SOFTWARE.
46  */
48 /dts-v1/;
49 #include "armada-390.dtsi"
51 / {
52         model = "Marvell Armada 390 Development Board";
53         compatible = "marvell,a390-db", "marvell,armada390";
55         chosen {
56                 stdout-path = "serial0:115200n8";
57         };
59         memory {
60                 device_type = "memory";
61                 reg = <0x00000000 0x80000000>; /* 2 GB */
62         };
64         soc {
65                 ranges = <MBUS_ID(0xf0, 0x01) 0 0xf1000000 0x100000
66                           MBUS_ID(0x01, 0x1d) 0 0xfff00000 0x100000>;
68                 internal-regs {
69                         i2c@11000 {
70                                 status = "okay";
71                                 clock-frequency = <100000>;
73                                 eeprom@50 {
74                                         compatible = "atmel,24c64";
75                                         reg = <0x50>;
76                                 };
77                         };
79                         /* CON104 */
80                         serial@12000 {
81                                 status = "okay";
82                         };
84                         /* CON97 */
85                         usb@58000 {
86                                 status = "okay";
87                         };
89                         flash@d0000 {
90                                 status = "okay";
91                                 pinctrl-0 = <&nand_pins>;
92                                 pinctrl-names = "default";
93                                 num-cs = <1>;
94                                 marvell,nand-keep-config;
95                                 marvell,nand-enable-arbiter;
96                                 nand-on-flash-bbt;
97                                 nand-ecc-strength = <8>;
98                                 nand-ecc-step-size = <512>;
100                                 partitions {
101                                         compatible = "fixed-partitions";
102                                         #address-cells = <1>;
103                                         #size-cells = <1>;
105                                         partition@0 {
106                                                 label = "U-Boot";
107                                                 reg = <0 0x800000>;
108                                         };
109                                         partition@800000 {
110                                                 label = "Linux";
111                                                 reg = <0x800000 0x800000>;
112                                         };
113                                         partition@1000000 {
114                                                 label = "Filesystem";
115                                                 reg = <0x1000000 0x3f000000>;
116                                         };
117                                 };
118                         };
120                         /* CON98 */
121                         usb3@f8000 {
122                                 status = "okay";
123                         };
124                 };
126                 pcie-controller {
127                         status = "okay";
129                         /* CON30 */
130                         pcie@1,0 {
131                                 status = "okay";
132                         };
134                         /* CON44 */
135                         pcie@2,0 {
136                                 status = "okay";
137                         };
139                         /* CON61 */
140                         pcie@3,0 {
141                                 status = "okay";
142                         };
143                 };
144         };
147 &spi1 {
148         status = "okay";
149         pinctrl-0 = <&spi1_pins>;
150         pinctrl-names = "default";
152         spi-flash@1 {
153                 #address-cells = <1>;
154                 #size-cells = <1>;
155                 compatible = "n25q128a13",
156                              "jedec,spi-nor";
157                 reg = <0>; /* Chip select 0 */
158                 spi-max-frequency = <108000000>;
160                 partitions {
161                         compatible = "fixed-partitions";
162                         #address-cells = <1>;
163                         #size-cells = <1>;
165                         partition@0 {
166                                 label = "U-Boot";
167                                 reg = <0 0x400000>;
168                         };
169                         partition@400000 {
170                                 label = "Filesystem";
171                                 reg = <0x400000 0xc00000>;
172                         };
173                 };
174         };