blob: b7fb5d9295c2c4dd85bad0dad0b74137f8c19775 [file] [log] [blame]
Vinayak Kaleee877b52013-04-24 10:07:00 +01001/*
2 * dts file for AppliedMicro (APM) Mustang Board
3 *
4 * Copyright (C) 2013, Applied Micro Circuits Corporation
5 *
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License as
8 * published by the Free Software Foundation; either version 2 of
9 * the License, or (at your option) any later version.
10 */
11
12/dts-v1/;
13
14/include/ "apm-storm.dtsi"
15
16/ {
17 model = "APM X-Gene Mustang board";
18 compatible = "apm,mustang", "apm,xgene-storm";
19
20 chosen { };
21
22 memory {
23 device_type = "memory";
24 reg = < 0x1 0x00000000 0x0 0x80000000 >; /* Updated by bootloader */
25 };
Y Vo3d8cc142015-06-26 15:01:47 +070026
27 gpio-keys {
28 compatible = "gpio-keys";
29 button@1 {
30 label = "POWER";
31 linux,code = <116>;
32 linux,input-type = <0x1>;
Duc Dang310b1402016-02-25 07:56:27 -080033 interrupt-parent = <&sbgpio>;
34 interrupts = <0x5 0x1>;
Y Vo3d8cc142015-06-26 15:01:47 +070035 };
36 };
Tai Nguyen94d6ba22015-08-12 12:32:32 -070037
38 poweroff_mbox: poweroff_mbox@10548000 {
39 compatible = "syscon";
40 reg = <0x0 0x10548000 0x0 0x30>;
41 };
42
43 poweroff: poweroff@10548010 {
44 compatible = "syscon-poweroff";
45 regmap = <&poweroff_mbox>;
46 offset = <0x10>;
47 mask = <0x1>;
48 };
Vinayak Kaleee877b52013-04-24 10:07:00 +010049};
Vinayak Kale457ced82014-03-26 12:19:06 +000050
Tanmay Inamdar767ebaf2014-09-26 14:08:25 -070051&pcie0clk {
52 status = "ok";
53};
54
55&pcie0 {
56 status = "ok";
57};
58
Vinayak Kale457ced82014-03-26 12:19:06 +000059&serial0 {
60 status = "ok";
61};
Iyappan Subramanian3d390422014-08-07 15:14:27 -070062
63&menet {
64 status = "ok";
65};
Iyappan Subramanian5fb32412014-10-09 18:32:04 -070066
Iyappan Subramanian4c2e7f02014-10-13 17:05:32 -070067&sgenet0 {
68 status = "ok";
69};
70
Keyur Chudgar2d333942015-03-17 11:27:12 -070071&sgenet1 {
72 status = "ok";
73};
74
Iyappan Subramanian5fb32412014-10-09 18:32:04 -070075&xgenet {
76 status = "ok";
77};
Suman Tripathi8f74e862015-06-19 17:30:26 +053078
79&mmc0 {
80 status = "ok";
81};
Iyappan Subramanian8e694cd2016-07-25 17:12:45 -070082
83&mdio {
84 menet0phy: phy@3 {
85 reg = <0x3>;
86 };
87 sgenet0phy: phy@4 {
88 reg = <0x4>;
89 };
90 sgenet1phy: phy@5 {
91 reg = <0x5>;
92 };
93};