summaryrefslogtreecommitdiff
path: root/arch/arm64/boot/dts/apm/apm-merlin.dts
blob: 217d7728b63aacd42898bab97124478d08368e3d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
// SPDX-License-Identifier: GPL-2.0-or-later
/*
 * dts file for AppliedMicro (APM) Merlin Board
 *
 * Copyright (C) 2015, Applied Micro Circuits Corporation
 */

/dts-v1/;

/include/ "apm-shadowcat.dtsi"

/ {
	model = "APM X-Gene Merlin board";
	compatible = "apm,merlin", "apm,xgene-shadowcat";

	chosen { };

	memory {
		device_type = "memory";
		reg = < 0x1 0x00000000 0x0 0x80000000 >;
	};

	gpio-keys {
		compatible = "gpio-keys";
		button@1 {
			label = "POWER";
			linux,code = <116>;
			linux,input-type = <0x1>;
			interrupt-parent = <&sbgpio>;
			interrupts = <0x0 0x1>;
		};
	};

	poweroff_mbox: poweroff_mbox@10548000 {
		compatible = "syscon";
		reg = <0x0 0x10548000 0x0 0x30>;
	};

	poweroff: poweroff@10548010 {
		compatible = "syscon-poweroff";
		regmap = <&poweroff_mbox>;
		offset = <0x10>;
		mask = <0x1>;
	};
};

&serial0 {
	status = "ok";
};

&sata1 {
	status = "ok";
};

&sata2 {
	status = "ok";
};

&sata3 {
	status = "ok";
};

&sgenet0 {
	status = "ok";
};

&xgenet1 {
	status = "ok";
};

&mmc0 {
	status = "ok";
};

&i2c4 {
	rtc68: rtc@68 {
		compatible = "dallas,ds1337";
		reg = <0x68>;
		status = "ok";
	};
};

&mdio {
	sgenet0phy: phy@0 {
		reg = <0x0>;
	};
};