xref: /openbmc/linux/arch/arm64/boot/dts/apm/apm-merlin.dts (revision 9a87ffc99ec8eb8d35eed7c4f816d75f5cc9662e)
12874c5fdSThomas Gleixner// SPDX-License-Identifier: GPL-2.0-or-later
2e144dc5bSFeng Kan/*
3e144dc5bSFeng Kan * dts file for AppliedMicro (APM) Merlin Board
4e144dc5bSFeng Kan *
5e144dc5bSFeng Kan * Copyright (C) 2015, Applied Micro Circuits Corporation
6e144dc5bSFeng Kan */
7e144dc5bSFeng Kan
8e144dc5bSFeng Kan/dts-v1/;
9e144dc5bSFeng Kan
10e144dc5bSFeng Kan/include/ "apm-shadowcat.dtsi"
11e144dc5bSFeng Kan
12e144dc5bSFeng Kan/ {
13e144dc5bSFeng Kan	model = "APM X-Gene Merlin board";
14e144dc5bSFeng Kan	compatible = "apm,merlin", "apm,xgene-shadowcat";
15e144dc5bSFeng Kan
16e144dc5bSFeng Kan	chosen { };
17e144dc5bSFeng Kan
18e144dc5bSFeng Kan	memory {
19e144dc5bSFeng Kan		device_type = "memory";
20e144dc5bSFeng Kan		reg = < 0x1 0x00000000 0x0 0x80000000 >;
21e144dc5bSFeng Kan	};
221d8d53b6SDuc Dang
231d8d53b6SDuc Dang	gpio-keys {
241d8d53b6SDuc Dang		compatible = "gpio-keys";
252453119fSKrzysztof Kozlowski		button {
261d8d53b6SDuc Dang			label = "POWER";
271d8d53b6SDuc Dang			linux,code = <116>;
281d8d53b6SDuc Dang			linux,input-type = <0x1>;
29edf21f27SDuc Dang			interrupt-parent = <&sbgpio>;
30edf21f27SDuc Dang			interrupts = <0x0 0x1>;
311d8d53b6SDuc Dang		};
321d8d53b6SDuc Dang	};
331d8d53b6SDuc Dang
341d8d53b6SDuc Dang	poweroff_mbox: poweroff_mbox@10548000 {
351d8d53b6SDuc Dang		compatible = "syscon";
361d8d53b6SDuc Dang		reg = <0x0 0x10548000 0x0 0x30>;
371d8d53b6SDuc Dang	};
381d8d53b6SDuc Dang
391d8d53b6SDuc Dang	poweroff: poweroff@10548010 {
401d8d53b6SDuc Dang		compatible = "syscon-poweroff";
411d8d53b6SDuc Dang		regmap = <&poweroff_mbox>;
421d8d53b6SDuc Dang		offset = <0x10>;
431d8d53b6SDuc Dang		mask = <0x1>;
441d8d53b6SDuc Dang	};
45e144dc5bSFeng Kan};
46e144dc5bSFeng Kan
47e144dc5bSFeng Kan&serial0 {
48*2f308657SKrzysztof Kozlowski	status = "okay";
49e144dc5bSFeng Kan};
50e144dc5bSFeng Kan
51e144dc5bSFeng Kan&sata1 {
52*2f308657SKrzysztof Kozlowski	status = "okay";
53e144dc5bSFeng Kan};
54e144dc5bSFeng Kan
55e144dc5bSFeng Kan&sata2 {
56*2f308657SKrzysztof Kozlowski	status = "okay";
57e144dc5bSFeng Kan};
58e144dc5bSFeng Kan
59e144dc5bSFeng Kan&sata3 {
60*2f308657SKrzysztof Kozlowski	status = "okay";
61e144dc5bSFeng Kan};
62e144dc5bSFeng Kan
63e144dc5bSFeng Kan&sgenet0 {
64*2f308657SKrzysztof Kozlowski	status = "okay";
65e144dc5bSFeng Kan};
66e144dc5bSFeng Kan
67e144dc5bSFeng Kan&xgenet1 {
68*2f308657SKrzysztof Kozlowski	status = "okay";
69e144dc5bSFeng Kan};
700ae8c000SDuc Dang
710ae8c000SDuc Dang&mmc0 {
72*2f308657SKrzysztof Kozlowski	status = "okay";
730ae8c000SDuc Dang};
7479402f35SDuc Dang
7579402f35SDuc Dang&i2c4 {
7679402f35SDuc Dang	rtc68: rtc@68 {
7779402f35SDuc Dang		compatible = "dallas,ds1337";
7879402f35SDuc Dang		reg = <0x68>;
79*2f308657SKrzysztof Kozlowski		status = "okay";
8079402f35SDuc Dang	};
8179402f35SDuc Dang};
828e694cd2SIyappan Subramanian
838e694cd2SIyappan Subramanian&mdio {
848e694cd2SIyappan Subramanian	sgenet0phy: phy@0 {
858e694cd2SIyappan Subramanian		reg = <0x0>;
868e694cd2SIyappan Subramanian	};
878e694cd2SIyappan Subramanian};
88