arm64: dts: Add poweroff button device node for APM X-Gene platform
[linux-2.6-block.git] / arch / arm64 / boot / dts / apm / apm-mustang.dts
CommitLineData
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>;
33 interrupts = <0x0 0x2d 0x1>;
34 };
35 };
ee877b53 36};
457ced84 37
767ebaff
TI
38&pcie0clk {
39 status = "ok";
40};
41
42&pcie0 {
43 status = "ok";
44};
45
457ced84
VK
46&serial0 {
47 status = "ok";
48};
3d390425
IS
49
50&menet {
51 status = "ok";
52};
5fb32417 53
4c2e7f09
IS
54&sgenet0 {
55 status = "ok";
56};
57
2d33394e
KC
58&sgenet1 {
59 status = "ok";
60};
61
5fb32417
IS
62&xgenet {
63 status = "ok";
64};