]>
Commit | Line | Data |
---|---|---|
e144dc5b FK |
1 | /* |
2 | * dts file for AppliedMicro (APM) Merlin Board | |
3 | * | |
4 | * Copyright (C) 2015, 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-shadowcat.dtsi" | |
15 | ||
16 | / { | |
17 | model = "APM X-Gene Merlin board"; | |
18 | compatible = "apm,merlin", "apm,xgene-shadowcat"; | |
19 | ||
20 | chosen { }; | |
21 | ||
22 | memory { | |
23 | device_type = "memory"; | |
24 | reg = < 0x1 0x00000000 0x0 0x80000000 >; | |
25 | }; | |
1d8d53b6 DD |
26 | |
27 | gpio-keys { | |
28 | compatible = "gpio-keys"; | |
29 | button@1 { | |
30 | label = "POWER"; | |
31 | linux,code = <116>; | |
32 | linux,input-type = <0x1>; | |
33 | interrupts = <0x0 0x28 0x1>; | |
34 | }; | |
35 | }; | |
36 | ||
37 | poweroff_mbox: poweroff_mbox@10548000 { | |
38 | compatible = "syscon"; | |
39 | reg = <0x0 0x10548000 0x0 0x30>; | |
40 | }; | |
41 | ||
42 | poweroff: poweroff@10548010 { | |
43 | compatible = "syscon-poweroff"; | |
44 | regmap = <&poweroff_mbox>; | |
45 | offset = <0x10>; | |
46 | mask = <0x1>; | |
47 | }; | |
e144dc5b FK |
48 | }; |
49 | ||
50 | &serial0 { | |
51 | status = "ok"; | |
52 | }; | |
53 | ||
54 | &sata1 { | |
55 | status = "ok"; | |
56 | }; | |
57 | ||
58 | &sata2 { | |
59 | status = "ok"; | |
60 | }; | |
61 | ||
62 | &sata3 { | |
63 | status = "ok"; | |
64 | }; | |
65 | ||
66 | &sgenet0 { | |
67 | status = "ok"; | |
68 | }; | |
69 | ||
70 | &xgenet1 { | |
71 | status = "ok"; | |
72 | }; | |
0ae8c000 DD |
73 | |
74 | &mmc0 { | |
75 | status = "ok"; | |
76 | }; | |
79402f35 DD |
77 | |
78 | &i2c4 { | |
79 | rtc68: rtc@68 { | |
80 | compatible = "dallas,ds1337"; | |
81 | reg = <0x68>; | |
82 | status = "ok"; | |
83 | }; | |
84 | }; |