set clk_ignore_unused, disable core dvfs
[firefly-linux-kernel-4.4.55.git] / arch / arm / boot / dts / armada-370-rd.dts
1 /*
2  * Device Tree file for Marvell Armada 370 Reference Design board
3  * (RD-88F6710-A1)
4  *
5  *  Copied from arch/arm/boot/dts/armada-370-db.dts
6  *
7  *  Copyright (C) 2013 Florian Fainelli <florian@openwrt.org>
8  *
9  * This file is licensed under the terms of the GNU General Public
10  * License version 2.  This program is licensed "as is" without any
11  * warranty of any kind, whether express or implied.
12  */
13
14 /dts-v1/;
15 /include/ "armada-370.dtsi"
16
17 / {
18         model = "Marvell Armada 370 Reference Design";
19         compatible = "marvell,a370-rd", "marvell,armada370", "marvell,armada-370-xp";
20
21         chosen {
22                 bootargs = "console=ttyS0,115200 earlyprintk";
23         };
24
25         memory {
26                 device_type = "memory";
27                 reg = <0x00000000 0x20000000>; /* 512 MB */
28         };
29
30         soc {
31                 internal-regs {
32                         serial@12000 {
33                                 clock-frequency = <200000000>;
34                                 status = "okay";
35                         };
36                         sata@a0000 {
37                                 nr-ports = <2>;
38                                 status = "okay";
39                         };
40
41                         mdio {
42                                 phy0: ethernet-phy@0 {
43                                         reg = <0>;
44                                 };
45
46                                 phy1: ethernet-phy@1 {
47                                         reg = <1>;
48                                 };
49                         };
50
51                         ethernet@70000 {
52                                 status = "okay";
53                                 phy = <&phy0>;
54                                 phy-mode = "sgmii";
55                         };
56                         ethernet@74000 {
57                                 status = "okay";
58                                 phy = <&phy1>;
59                                 phy-mode = "rgmii-id";
60                         };
61
62                         mvsdio@d4000 {
63                                 pinctrl-0 = <&sdio_pins1>;
64                                 pinctrl-names = "default";
65                                 status = "okay";
66                                 /* No CD or WP GPIOs */
67                         };
68
69                         usb@50000 {
70                                 status = "okay";
71                         };
72
73                         usb@51000 {
74                                 status = "okay";
75                         };
76
77                         gpio-keys {
78                                 compatible = "gpio-keys";
79                                 #address-cells = <1>;
80                                 #size-cells = <0>;
81                                 button@1 {
82                                         label = "Software Button";
83                                         linux,code = <116>;
84                                         gpios = <&gpio0 6 1>;
85                                 };
86                         };
87                 };
88         };
89  };