Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 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 | |
Tom Rini | 762f85b | 2024-07-20 11:15:10 -0600 | [diff] [blame] | 18 | memory@100000000 { |
Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 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 { |
Tom Rini | 6b642ac | 2024-10-01 12:20:28 -0600 | [diff] [blame^] | 35 | compatible = "apm,merlin-poweroff-mailbox", "syscon"; |
Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 36 | reg = <0x0 0x10548000 0x0 0x30>; |
| 37 | }; |
| 38 | |
| 39 | poweroff: poweroff@10548010 { |
| 40 | compatible = "syscon-poweroff"; |
| 41 | regmap = <&poweroff_mbox>; |
| 42 | offset = <0x10>; |
| 43 | mask = <0x1>; |
| 44 | }; |
| 45 | }; |
| 46 | |
| 47 | &serial0 { |
| 48 | status = "okay"; |
| 49 | }; |
| 50 | |
| 51 | &sata1 { |
| 52 | status = "okay"; |
| 53 | }; |
| 54 | |
| 55 | &sata2 { |
| 56 | status = "okay"; |
| 57 | }; |
| 58 | |
| 59 | &sata3 { |
| 60 | status = "okay"; |
| 61 | }; |
| 62 | |
| 63 | &sgenet0 { |
| 64 | status = "okay"; |
| 65 | }; |
| 66 | |
| 67 | &xgenet1 { |
| 68 | status = "okay"; |
| 69 | }; |
| 70 | |
| 71 | &mmc0 { |
| 72 | status = "okay"; |
| 73 | }; |
| 74 | |
| 75 | &i2c4 { |
| 76 | rtc68: rtc@68 { |
| 77 | compatible = "dallas,ds1337"; |
| 78 | reg = <0x68>; |
| 79 | status = "okay"; |
| 80 | }; |
| 81 | }; |
| 82 | |
| 83 | &mdio { |
| 84 | sgenet0phy: phy@0 { |
| 85 | reg = <0x0>; |
| 86 | }; |
| 87 | }; |