x86/mm/pat: Don't report PAT on CPUs that don't support it
[linux/fpc-iii.git] / arch / arm / boot / dts / rk3288-firefly-reload-core.dtsi
blob813496618d08ecaad55b250e40cf472efd10b84c
1 /*
2  * Device tree file for Firefly Rockchip RK3288 Core board
3  * Copyright (c) 2016 Randy Li <ayaka@soulik.info>
4  *
5  * This file is dual-licensed: you can use it either under the terms
6  * of the GPL or the X11 license, at your option. Note that this dual
7  * licensing only applies to this file, and not this project as a
8  * whole.
9  *
10  *  a) This file is free software; you can redistribute it and/or
11  *     modify it under the terms of the GNU General Public License as
12  *     published by the Free Software Foundation; either version 2 of the
13  *     License, or (at your option) any later version.
14  *
15  *     This file is distributed in the hope that it will be useful,
16  *     but WITHOUT ANY WARRANTY; without even the implied warranty of
17  *     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18  *     GNU General Public License for more details.
19  *
20  * Or, alternatively,
21  *
22  *  b) Permission is hereby granted, free of charge, to any person
23  *     obtaining a copy of this software and associated documentation
24  *     files (the "Software"), to deal in the Software without
25  *     restriction, including without limitation the rights to use,
26  *     copy, modify, merge, publish, distribute, sublicense, and/or
27  *     sell copies of the Software, and to permit persons to whom the
28  *     Software is furnished to do so, subject to the following
29  *     conditions:
30  *
31  *     The above copyright notice and this permission notice shall be
32  *     included in all copies or substantial portions of the Software.
33  *
34  *     THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
35  *     EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
36  *     OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
37  *     NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
38  *     HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
39  *     WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
40  *     FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
41  *     OTHER DEALINGS IN THE SOFTWARE.
42  */
44 #include <dt-bindings/input/input.h>
45 #include "rk3288.dtsi"
47 / {
48         memory@0 {
49                 device_type = "memory";
50                 reg = <0 0x80000000>;
51         };
53         ext_gmac: external-gmac-clock {
54                 compatible = "fixed-clock";
55                 #clock-cells = <0>;
56                 clock-frequency = <125000000>;
57                 clock-output-names = "ext_gmac";
58         };
61         vcc_flash: flash-regulator {
62                 compatible = "regulator-fixed";
63                 regulator-name = "vcc_flash";
64                 regulator-min-microvolt = <1800000>;
65                 regulator-max-microvolt = <1800000>;
66                 vin-supply = <&vcc_io>;
67         };
70 &cpu0 {
71         cpu0-supply = <&vdd_cpu>;
74 &emmc {
75         bus-width = <8>;
76         cap-mmc-highspeed;
77         disable-wp;
78         mmc-ddr-1_8v;
79         mmc-hs200-1_8v;
80         non-removable;
81         num-slots = <1>;
82         pinctrl-names = "default";
83         pinctrl-0 = <&emmc_clk>, <&emmc_cmd>, <&emmc_pwr>, <&emmc_bus8>;
84         vmmc-supply = <&vcc_io>;
85         vqmmc-supply = <&vcc_flash>;
86         status = "okay";
89 &gmac {
90         assigned-clocks = <&cru SCLK_MAC>;
91         assigned-clock-parents = <&ext_gmac>;
92         clock_in_out = "input";
93         pinctrl-names = "default";
94         pinctrl-0 = <&rgmii_pins>, <&phy_rst>, <&phy_pmeb>, <&phy_int>;
95         phy-supply = <&vcc_lan>;
96         phy-mode = "rgmii";
97         snps,reset-active-low;
98         snps,reset-delays-us = <0 10000 1000000>;
99         snps,reset-gpio = <&gpio4 RK_PB0 GPIO_ACTIVE_LOW>;
100         tx_delay = <0x30>;
101         rx_delay = <0x10>;
102         status = "ok";
105 &i2c0 {
106         clock-frequency = <400000>;
107         status = "okay";
109         vdd_cpu: syr827@40 {
110                 compatible = "silergy,syr827";
111                 fcs,suspend-voltage-selector = <1>;
112                 reg = <0x40>;
113                 regulator-name = "vdd_cpu";
114                 regulator-min-microvolt = <850000>;
115                 regulator-max-microvolt = <1350000>;
116                 regulator-always-on;
117                 regulator-boot-on;
118                 regulator-enable-ramp-delay = <300>;
119                 regulator-ramp-delay = <8000>;
120                 vin-supply = <&vcc_sys>;
121         };
123         vdd_gpu: syr828@41 {
124                 compatible = "silergy,syr828";
125                 fcs,suspend-voltage-selector = <1>;
126                 reg = <0x41>;
127                 regulator-name = "vdd_gpu";
128                 regulator-min-microvolt = <850000>;
129                 regulator-max-microvolt = <1350000>;
130                 regulator-always-on;
131                 vin-supply = <&vcc_sys>;
132         };
134         act8846: act8846@5a {
135                 compatible = "active-semi,act8846";
136                 reg = <0x5a>;
137                 pinctrl-names = "default";
138                 pinctrl-0 = <&pmic_vsel>, <&pwr_hold>;
139                 system-power-controller;
141                 vp1-supply = <&vcc_sys>;
142                 vp2-supply = <&vcc_sys>;
143                 vp3-supply = <&vcc_sys>;
144                 vp4-supply = <&vcc_sys>;
145                 inl1-supply = <&vcc_sys>;
146                 inl2-supply = <&vcc_sys>;
147                 inl3-supply = <&vcc_20>;
149                 regulators {
150                         vcc_ddr: REG1 {
151                                 regulator-name = "vcc_ddr";
152                                 regulator-min-microvolt = <1200000>;
153                                 regulator-max-microvolt = <1200000>;
154                                 regulator-always-on;
155                         };
157                         vcc_io: REG2 {
158                                 regulator-name = "vcc_io";
159                                 regulator-min-microvolt = <3300000>;
160                                 regulator-max-microvolt = <3300000>;
161                                 regulator-always-on;
162                         };
164                         vdd_log: REG3 {
165                                 regulator-name = "vdd_log";
166                                 regulator-min-microvolt = <1100000>;
167                                 regulator-max-microvolt = <1100000>;
168                                 regulator-always-on;
169                         };
171                         vcc_20: REG4 {
172                                 regulator-name = "vcc_20";
173                                 regulator-min-microvolt = <2000000>;
174                                 regulator-max-microvolt = <2000000>;
175                                 regulator-always-on;
176                         };
178                         vccio_sd: REG5 {
179                                 regulator-name = "vccio_sd";
180                                 regulator-min-microvolt = <3300000>;
181                                 regulator-max-microvolt = <3300000>;
182                         };
184                         vdd10_lcd: REG6 {
185                                 regulator-name = "vdd10_lcd";
186                                 regulator-min-microvolt = <1000000>;
187                                 regulator-max-microvolt = <1000000>;
188                         };
190                         vcca_18: REG7  {
191                                 regulator-name = "vcca_18";
192                                 regulator-min-microvolt = <1800000>;
193                                 regulator-max-microvolt = <1800000>;
194                                 regulator-always-on;
195                         };
197                         vcca_33: REG8 {
198                                 regulator-name = "vcca_33";
199                                 regulator-min-microvolt = <3300000>;
200                                 regulator-max-microvolt = <3300000>;
201                                 regulator-always-on;
202                         };
204                         vcc_lan: REG9 {
205                                 regulator-name = "vcca_lan";
206                                 regulator-min-microvolt = <3300000>;
207                                 regulator-max-microvolt = <3300000>;
208                         };
210                         vdd_10: REG10 {
211                                 regulator-name = "vdd_10";
212                                 regulator-min-microvolt = <1000000>;
213                                 regulator-max-microvolt = <1000000>;
214                                 regulator-always-on;
215                         };
217                         vccio_wl: vcc_18: REG11 {
218                                 regulator-name = "vcc_18";
219                                 regulator-min-microvolt = <1800000>;
220                                 regulator-max-microvolt = <1800000>;
221                         };
223                         vcc18_lcd: REG12 {
224                                 regulator-name = "vcc18_lcd";
225                                 regulator-min-microvolt = <1800000>;
226                                 regulator-max-microvolt = <1800000>;
227                         };
228                 };
229         };
232 &io_domains {
233         status = "okay";
235         audio-supply = <&vccio_wl>;
236         bb-supply = <&vcc_io>;
237         dvp-supply = <&dovdd_1v8>;
238         flash0-supply = <&vcc_flash>;
239         flash1-supply = <&vcc_lan>;
240         gpio30-supply = <&vcc_io>;
241         gpio1830-supply = <&vcc_io>;
242         lcdc-supply = <&vcc_io>;
243         sdcard-supply = <&vccio_sd>;
244         wifi-supply = <&vccio_wl>;
247 &pinctrl {
248         pcfg_output_high: pcfg-output-high {
249                 output-high;
250         };
252         pcfg_output_low: pcfg-output-low {
253                 output-low;
254         };
256         pcfg_pull_up_drv_12ma: pcfg-pull-up-drv-12ma {
257                 bias-pull-up;
258                 drive-strength = <12>;
259         };
261         act8846 {
262                 pwr_hold: pwr-hold {
263                         rockchip,pins = <0 1 RK_FUNC_GPIO &pcfg_output_high>;
264                 };
266                 pmic_vsel: pmic-vsel {
267                         rockchip,pins = <7 14 RK_FUNC_GPIO &pcfg_output_low>;
268                 };
269         };
271         gmac {
272                 phy_int: phy-int {
273                         rockchip,pins = <0 9 RK_FUNC_GPIO &pcfg_pull_up>;
274                 };
276                 phy_pmeb: phy-pmeb {
277                         rockchip,pins = <0 8 RK_FUNC_GPIO &pcfg_pull_up>;
278                 };
280                 phy_rst: phy-rst {
281                         rockchip,pins = <4 8 RK_FUNC_GPIO &pcfg_output_high>;
282                 };
283         };
286 &tsadc {
287         rockchip,hw-tshut-mode = <0>;
288         rockchip,hw-tshut-polarity = <0>;
289         status = "okay";
292 &vopb {
293         status = "okay";
296 &vopb_mmu {
297         status = "okay";
300 &vopl {
301         status = "okay";
304 &vopl_mmu {
305         status = "okay";
308 &wdt {
309         status = "okay";