Debian Codegraph @

scripts/dtc/include-prefixes/arm64/apm/apm-merlin.dts

raw
1 // SPDX-License-Identifier: GPL-2.0-or-later
2 /*
3 * dts file for AppliedMicro (APM) Merlin Board
4 *
5 * Copyright (C) 2015, Applied Micro Circuits Corporation
6 */
7
8 /dts-v1/;
9
10 /include/ "apm-shadowcat.dtsi"
11
12 / {
13 model = "APM X-Gene Merlin board";
14 compatible = "apm,merlin", "apm,xgene-shadowcat";
15
16 chosen { };
17
18 memory@100000000 {
19 device_type = "memory";
20 reg = < 0x1 0x00000000 0x0 0x80000000 >;
21 };
22
23 gpio-keys {
24 compatible = "gpio-keys";
25 button {
26 label = "POWER";
27 linux,code = <116>;
28 linux,input-type = <0x1>;
29 interrupt-parent = <&sbgpio>;
30 interrupts = <0x0 0x1>;
31 };
32 };
33
34 poweroff_mbox: poweroff_mbox@10548000 {
35 compatible = "apm,merlin-poweroff-mailbox", "syscon";
36 reg = <0x0 0x10548000 0x0 0x30>;
37 };
38
39 poweroff: poweroff@10548010 {
40 compatible = "syscon-poweroff";
41 reg = <0x0 0x10548010 0x0 0x4>;
42 regmap = <&poweroff_mbox>;
43 offset = <0x10>;
44 mask = <0x1>;
45 };
46 };
47
48 &serial0 {
49 status = "okay";
50 };
51
52 &sata1 {
53 status = "okay";
54 };
55
56 &sata2 {
57 status = "okay";
58 };
59
60 &sata3 {
61 status = "okay";
62 };
63
64 &sgenet0 {
65 status = "okay";
66 };
67
68 &xgenet1 {
69 status = "okay";
70 };
71
72 &mmc0 {
73 status = "okay";
74 };
75
76 &i2c4 {
77 rtc68: rtc@68 {
78 compatible = "dallas,ds1337";
79 reg = <0x68>;
80 status = "okay";
81 };
82 };
83
84 &mdio {
85 sgenet0phy: phy@0 {
86 reg = <0x0>;
87 };
88 };