Feng Kan | e144dc5 | 2015-05-18 17:56:16 -0700 | [diff] [blame] | 1 | /* |
| 2 | * dts file for AppliedMicro (APM) Merlin Board |
| 3 | * |
| 4 | * Copyright (C) 2015, Applied Micro Circuits Corporation |
| 5 | * |
| 6 | * This program is free software; you can redistribute it and/or |
| 7 | * modify it under the terms of the GNU General Public License as |
| 8 | * published by the Free Software Foundation; either version 2 of |
| 9 | * the License, or (at your option) any later version. |
| 10 | */ |
| 11 | |
| 12 | /dts-v1/; |
| 13 | |
| 14 | /include/ "apm-shadowcat.dtsi" |
| 15 | |
| 16 | / { |
| 17 | model = "APM X-Gene Merlin board"; |
| 18 | compatible = "apm,merlin", "apm,xgene-shadowcat"; |
| 19 | |
| 20 | chosen { }; |
| 21 | |
| 22 | memory { |
| 23 | device_type = "memory"; |
| 24 | reg = < 0x1 0x00000000 0x0 0x80000000 >; |
| 25 | }; |
Duc Dang | 1d8d53b | 2015-09-01 13:42:16 -0700 | [diff] [blame] | 26 | |
| 27 | gpio-keys { |
| 28 | compatible = "gpio-keys"; |
| 29 | button@1 { |
| 30 | label = "POWER"; |
| 31 | linux,code = <116>; |
| 32 | linux,input-type = <0x1>; |
Duc Dang | edf21f2 | 2016-02-25 13:52:52 -0800 | [diff] [blame] | 33 | interrupt-parent = <&sbgpio>; |
| 34 | interrupts = <0x0 0x1>; |
Duc Dang | 1d8d53b | 2015-09-01 13:42:16 -0700 | [diff] [blame] | 35 | }; |
| 36 | }; |
| 37 | |
| 38 | poweroff_mbox: poweroff_mbox@10548000 { |
| 39 | compatible = "syscon"; |
| 40 | reg = <0x0 0x10548000 0x0 0x30>; |
| 41 | }; |
| 42 | |
| 43 | poweroff: poweroff@10548010 { |
| 44 | compatible = "syscon-poweroff"; |
| 45 | regmap = <&poweroff_mbox>; |
| 46 | offset = <0x10>; |
| 47 | mask = <0x1>; |
| 48 | }; |
Feng Kan | e144dc5 | 2015-05-18 17:56:16 -0700 | [diff] [blame] | 49 | }; |
| 50 | |
| 51 | &serial0 { |
| 52 | status = "ok"; |
| 53 | }; |
| 54 | |
| 55 | &sata1 { |
| 56 | status = "ok"; |
| 57 | }; |
| 58 | |
| 59 | &sata2 { |
| 60 | status = "ok"; |
| 61 | }; |
| 62 | |
| 63 | &sata3 { |
| 64 | status = "ok"; |
| 65 | }; |
| 66 | |
| 67 | &sgenet0 { |
| 68 | status = "ok"; |
| 69 | }; |
| 70 | |
| 71 | &xgenet1 { |
| 72 | status = "ok"; |
| 73 | }; |
Duc Dang | 0ae8c00 | 2015-09-16 17:12:57 +0530 | [diff] [blame] | 74 | |
| 75 | &mmc0 { |
| 76 | status = "ok"; |
| 77 | }; |
Duc Dang | 79402f3 | 2015-10-21 19:17:42 -0700 | [diff] [blame] | 78 | |
| 79 | &i2c4 { |
| 80 | rtc68: rtc@68 { |
| 81 | compatible = "dallas,ds1337"; |
| 82 | reg = <0x68>; |
| 83 | status = "ok"; |
| 84 | }; |
| 85 | }; |
Iyappan Subramanian | 8e694cd | 2016-07-25 17:12:45 -0700 | [diff] [blame] | 86 | |
| 87 | &mdio { |
| 88 | sgenet0phy: phy@0 { |
| 89 | reg = <0x0>; |
| 90 | }; |
| 91 | }; |