mm: fix exec activate_mm vs TLB shootdown and lazy tlb switching race
[linux/fpc-iii.git] / arch / arm / boot / dts / socfpga_cyclone5_sodia.dts
blob8860dd2e242c4b62683f7532c0d347bf38ee02db
1 /*
2  *  Copyright (C) 2016 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3  *
4  * This program is free software; you can redistribute it and/or modify
5  * it under the terms of the GNU General Public License as published by
6  * the Free Software Foundation; either version 2 of the License, or
7  * (at your option) any later version.
8  *
9  * This program is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12  * GNU General Public License for more details.
13  *
14  * You should have received a copy of the GNU General Public License
15  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
16  */
18 #include "socfpga_cyclone5.dtsi"
19 #include <dt-bindings/gpio/gpio.h>
20 #include <dt-bindings/input/input.h>
22 / {
23         model = "Altera SOCFPGA Cyclone V SoC Macnica Sodia board";
24         compatible = "macnica,sodia", "altr,socfpga-cyclone5", "altr,socfpga";
26         chosen {
27                 bootargs = "earlyprintk";
28                 stdout-path = "serial0:115200n8";
29         };
31         memory@0 {
32                 name = "memory";
33                 device_type = "memory";
34                 reg = <0x0 0x40000000>;
35         };
37         aliases {
38                 ethernet0 = &gmac1;
39         };
41         regulator_3_3v: 3-3-v-regulator {
42                 compatible = "regulator-fixed";
43                 regulator-name = "3.3V";
44                 regulator-min-microvolt = <3300000>;
45                 regulator-max-microvolt = <3300000>;
46         };
48         leds: gpio-leds {
49                 compatible = "gpio-leds";
51                 hps_led0 {
52                         label = "hps:green:led0";
53                         gpios = <&portb 12 GPIO_ACTIVE_LOW>;
54                 };
56                 hps_led1 {
57                         label = "hps:green:led1";
58                         gpios = <&portb 13 GPIO_ACTIVE_LOW>;
59                 };
61                 hps_led2 {
62                         label = "hps:green:led2";
63                         gpios = <&portb 14 GPIO_ACTIVE_LOW>;
64                 };
66                 hps_led3 {
67                         label = "hps:green:led3";
68                         gpios = <&portb 15 GPIO_ACTIVE_LOW>;
69                 };
70         };
73 &gmac1 {
74         status = "okay";
75         phy-mode = "rgmii";
76         phy = <&phy0>;
78         mdio0 {
79                 #address-cells = <1>;
80                 #size-cells = <0>;
81                 phy0: ethernet-phy@0 {
82                         reg = <0>;
83                         rxd0-skew-ps = <0>;
84                         rxd1-skew-ps = <0>;
85                         rxd2-skew-ps = <0>;
86                         rxd3-skew-ps = <0>;
87                         rxdv-skew-ps = <0>;
88                         rxc-skew-ps = <3000>;
89                         txen-skew-ps = <0>;
90                         txc-skew-ps = <3000>;
91                 };
92         };
95 &gpio1 {
96         status = "okay";
99 &i2c0 {
100         status = "okay";
102         eeprom@51 {
103                 compatible = "atmel,24c32";
104                 reg = <0x51>;
105                 pagesize = <32>;
106         };
108         rtc@68 {
109                 compatible = "dallas,ds1339";
110                 reg = <0x68>;
111         };
114 &mmc0 {
115         cd-gpios = <&portb 18 0>;
116         vmmc-supply = <&regulator_3_3v>;
117         vqmmc-supply = <&regulator_3_3v>;
118         status = "okay";
121 &usb1 {
122         status = "okay";
125 &qspi {
126         status = "okay";
128         flash0: n25q512a@0 {
129                 #address-cells = <1>;
130                 #size-cells = <1>;
131                 compatible = "n25q512a";
132                 reg = <0>;
133                 spi-max-frequency = <100000000>;
135                 m25p,fast-read;
136                 cdns,page-size = <256>;
137                 cdns,block-size = <16>;
138                 cdns,read-delay = <4>;
139                 cdns,tshsl-ns = <50>;
140                 cdns,tsd2d-ns = <50>;
141                 cdns,tchsh-ns = <4>;
142                 cdns,tslch-ns = <4>;
143         };