mm: fix exec activate_mm vs TLB shootdown and lazy tlb switching race
[linux/fpc-iii.git] / arch / arm / boot / dts / sama5d3xcm_cmp.dtsi
blob75cbf4d4ab1a08ae82b5aafa9dec978d5cde637c
1 /*
2  * sama5d3xcm_cmp.dtsi - Device Tree Include file for SAMA5D36 CMP CPU Module
3  *
4  *  Copyright (C) 2016 Atmel,
5  *
6  * This file is dual-licensed: you can use it either under the terms
7  * of the GPL or the X11 license, at your option. Note that this dual
8  * licensing only applies to this file, and not this project as a
9  * whole.
10  *
11  *  a) This file is free software; you can redistribute it and/or
12  *     modify it under the terms of the GNU General Public License as
13  *     published by the Free Software Foundation; either version 2 of the
14  *     License, or (at your option) any later version.
15  *
16  *     This file is distributed in the hope that it will be useful,
17  *     but WITHOUT ANY WARRANTY; without even the implied warranty of
18  *     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
19  *     GNU General Public License for more details.
20  *
21  * Or, alternatively,
22  *
23  *  b) Permission is hereby granted, free of charge, to any person
24  *     obtaining a copy of this software and associated documentation
25  *     files (the "Software"), to deal in the Software without
26  *     restriction, including without limitation the rights to use,
27  *     copy, modify, merge, publish, distribute, sublicense, and/or
28  *     sell copies of the Software, and to permit persons to whom the
29  *     Software is furnished to do so, subject to the following
30  *     conditions:
31  *
32  *     The above copyright notice and this permission notice shall be
33  *     included in all copies or substantial portions of the Software.
34  *
35  *     THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
36  *     EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
37  *     OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
38  *     NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
39  *     HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
40  *     WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
41  *     FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
42  *     OTHER DEALINGS IN THE SOFTWARE.
43  */
45 / {
46         compatible = "atmel,sama5d3xcm-cmp", "atmel,sama5d3", "atmel,sama5";
48         chosen {
49                 stdout-path = "serial0:115200n8";
50         };
52         memory {
53                 reg = <0x20000000 0x20000000>;
54         };
56         clocks {
57                 slow_xtal {
58                         clock-frequency = <32768>;
59                 };
61                 main_xtal {
62                         clock-frequency = <12000000>;
63                 };
64         };
66         ahb {
67                 apb {
68                         spi0: spi@f0004000 {
69                                 cs-gpios = <&pioD 13 0>, <0>, <0>, <0>;
70                         };
72                         macb0: ethernet@f0028000 {
73                                 phy-mode = "rgmii";
74                                 #address-cells = <1>;
75                                 #size-cells = <0>;
77                                 ethernet-phy@1 {
78                                         reg = <0x1>;
79                                         interrupt-parent = <&pioB>;
80                                         interrupts = <25 IRQ_TYPE_EDGE_FALLING>;
81                                         txen-skew-ps = <800>;
82                                         txc-skew-ps = <3000>;
83                                         rxdv-skew-ps = <400>;
84                                         rxc-skew-ps = <3000>;
85                                         rxd0-skew-ps = <400>;
86                                         rxd1-skew-ps = <400>;
87                                         rxd2-skew-ps = <400>;
88                                         rxd3-skew-ps = <400>;
89                                 };
91                                 ethernet-phy@7 {
92                                         reg = <0x7>;
93                                         interrupt-parent = <&pioB>;
94                                         interrupts = <25 IRQ_TYPE_EDGE_FALLING>;
95                                         txen-skew-ps = <800>;
96                                         txc-skew-ps = <3000>;
97                                         rxdv-skew-ps = <400>;
98                                         rxc-skew-ps = <3000>;
99                                         rxd0-skew-ps = <400>;
100                                         rxd1-skew-ps = <400>;
101                                         rxd2-skew-ps = <400>;
102                                         rxd3-skew-ps = <400>;
103                                 };
104                         };
106                         i2c1: i2c@f0018000 {
107                                 pmic: act8865@5b {
108                                         compatible = "active-semi,act8865";
109                                         reg = <0x5b>;
110                                         status = "disabled";
112                                         regulators {
113                                                 vcc_1v8_reg: DCDC_REG1 {
114                                                         regulator-name = "VCC_1V8";
115                                                         regulator-min-microvolt = <1800000>;
116                                                         regulator-max-microvolt = <1800000>;
117                                                         regulator-always-on;
118                                                 };
120                                                 vcc_1v2_reg: DCDC_REG2 {
121                                                         regulator-name = "VCC_1V2";
122                                                         regulator-min-microvolt = <1100000>;
123                                                         regulator-max-microvolt = <1300000>;
124                                                         regulator-always-on;
125                                                 };
127                                                 vcc_3v3_reg: DCDC_REG3 {
128                                                         regulator-name = "VCC_3V3";
129                                                         regulator-min-microvolt = <3300000>;
130                                                         regulator-max-microvolt = <3300000>;
131                                                         regulator-always-on;
132                                                 };
134                                                 vddana_reg: LDO_REG1 {
135                                                         regulator-name = "VDDANA";
136                                                         regulator-min-microvolt = <3300000>;
137                                                         regulator-max-microvolt = <3300000>;
138                                                         regulator-always-on;
139                                                 };
141                                                 vddfuse_reg: LDO_REG2 {
142                                                         regulator-name = "FUSE_2V5";
143                                                         regulator-min-microvolt = <2500000>;
144                                                         regulator-max-microvolt = <2500000>;
145                                                 };
146                                         };
147                                 };
148                         };
149                 };
151                 ebi: ebi@10000000 {
152                         pinctrl-0 = <&pinctrl_ebi_nand_addr>;
153                         pinctrl-names = "default";
154                         status = "okay";
156                         nand_controller: nand-controller {
157                                 status = "okay";
159                                 nand@3 {
160                                         reg = <0x3 0x0 0x2>;
161                                         atmel,rb = <0>;
162                                         nand-bus-width = <8>;
163                                         nand-ecc-mode = "hw";
164                                         nand-ecc-strength = <4>;
165                                         nand-ecc-step-size = <512>;
166                                         nand-on-flash-bbt;
167                                         label = "atmel_nand";
169                                         partitions {
170                                                 compatible = "fixed-partitions";
171                                                 #address-cells = <1>;
172                                                 #size-cells = <1>;
174                                                 at91bootstrap@0 {
175                                                         label = "at91bootstrap";
176                                                         reg = <0x0 0x40000>;
177                                                 };
179                                                 bootloader@40000 {
180                                                         label = "bootloader";
181                                                         reg = <0x40000 0x80000>;
182                                                 };
184                                                 bootloaderenv@c0000 {
185                                                         label = "bootloader env";
186                                                         reg = <0xc0000 0xc0000>;
187                                                 };
189                                                 dtb@180000 {
190                                                         label = "device tree";
191                                                         reg = <0x180000 0x80000>;
192                                                 };
194                                                 kernel@200000 {
195                                                         label = "kernel";
196                                                         reg = <0x200000 0x600000>;
197                                                 };
199                                                 rootfs@800000 {
200                                                         label = "rootfs";
201                                                         reg = <0x800000 0x0f800000>;
202                                                 };
203                                         };
204                                 };
205                         };
206                 };
207         };
209         leds {
210                 compatible = "gpio-leds";
212                 d2 {
213                         label = "d2";
214                         gpios = <&pioE 25 GPIO_ACTIVE_LOW>;
215                         linux,default-trigger = "heartbeat";
216                 };
217         };