0001 // SPDX-License-Identifier: GPL-2.0-or-later
0002 /*
0003 * dts file for AppliedMicro (APM) Merlin Board
0004 *
0005 * Copyright (C) 2015, Applied Micro Circuits Corporation
0006 */
0007
0008 /dts-v1/;
0009
0010 /include/ "apm-shadowcat.dtsi"
0011
0012 / {
0013 model = "APM X-Gene Merlin board";
0014 compatible = "apm,merlin", "apm,xgene-shadowcat";
0015
0016 chosen { };
0017
0018 memory {
0019 device_type = "memory";
0020 reg = < 0x1 0x00000000 0x0 0x80000000 >;
0021 };
0022
0023 gpio-keys {
0024 compatible = "gpio-keys";
0025 button {
0026 label = "POWER";
0027 linux,code = <116>;
0028 linux,input-type = <0x1>;
0029 interrupt-parent = <&sbgpio>;
0030 interrupts = <0x0 0x1>;
0031 };
0032 };
0033
0034 poweroff_mbox: poweroff_mbox@10548000 {
0035 compatible = "syscon";
0036 reg = <0x0 0x10548000 0x0 0x30>;
0037 };
0038
0039 poweroff: poweroff@10548010 {
0040 compatible = "syscon-poweroff";
0041 regmap = <&poweroff_mbox>;
0042 offset = <0x10>;
0043 mask = <0x1>;
0044 };
0045 };
0046
0047 &serial0 {
0048 status = "ok";
0049 };
0050
0051 &sata1 {
0052 status = "ok";
0053 };
0054
0055 &sata2 {
0056 status = "ok";
0057 };
0058
0059 &sata3 {
0060 status = "ok";
0061 };
0062
0063 &sgenet0 {
0064 status = "ok";
0065 };
0066
0067 &xgenet1 {
0068 status = "ok";
0069 };
0070
0071 &mmc0 {
0072 status = "ok";
0073 };
0074
0075 &i2c4 {
0076 rtc68: rtc@68 {
0077 compatible = "dallas,ds1337";
0078 reg = <0x68>;
0079 status = "ok";
0080 };
0081 };
0082
0083 &mdio {
0084 sgenet0phy: phy@0 {
0085 reg = <0x0>;
0086 };
0087 };