Commit | Line | Data |
---|---|---|
ee877b53 VK |
1 | /* |
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 | }; | |
3d8cc141 V |
26 | |
27 | gpio-keys { | |
28 | compatible = "gpio-keys"; | |
29 | button@1 { | |
30 | label = "POWER"; | |
31 | linux,code = <116>; | |
32 | linux,input-type = <0x1>; | |
310b1406 DD |
33 | interrupt-parent = <&sbgpio>; |
34 | interrupts = <0x5 0x1>; | |
3d8cc141 V |
35 | }; |
36 | }; | |
94d6ba28 TN |
37 | |
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 | }; | |
ee877b53 | 49 | }; |
457ced84 | 50 | |
767ebaff TI |
51 | &pcie0clk { |
52 | status = "ok"; | |
53 | }; | |
54 | ||
55 | &pcie0 { | |
56 | status = "ok"; | |
57 | }; | |
58 | ||
457ced84 VK |
59 | &serial0 { |
60 | status = "ok"; | |
61 | }; | |
3d390425 IS |
62 | |
63 | &menet { | |
64 | status = "ok"; | |
65 | }; | |
5fb32417 | 66 | |
4c2e7f09 IS |
67 | &sgenet0 { |
68 | status = "ok"; | |
69 | }; | |
70 | ||
2d33394e KC |
71 | &sgenet1 { |
72 | status = "ok"; | |
73 | }; | |
74 | ||
5fb32417 IS |
75 | &xgenet { |
76 | status = "ok"; | |
72d25643 | 77 | rxlos-gpios = <&sbgpio 12 1>; |
5fb32417 | 78 | }; |
8f74e861 ST |
79 | |
80 | &mmc0 { | |
81 | status = "ok"; | |
82 | }; | |
8e694cd2 IS |
83 | |
84 | &mdio { | |
85 | menet0phy: phy@3 { | |
86 | reg = <0x3>; | |
87 | }; | |
88 | sgenet0phy: phy@4 { | |
89 | reg = <0x4>; | |
90 | }; | |
91 | sgenet1phy: phy@5 { | |
92 | reg = <0x5>; | |
93 | }; | |
94 | }; |