Commit | Line | Data |
---|---|---|
2874c5fd | 1 | // SPDX-License-Identifier: GPL-2.0-or-later |
ee877b53 VK |
2 | /* |
3 | * dts file for AppliedMicro (APM) Mustang Board | |
4 | * | |
5 | * Copyright (C) 2013, Applied Micro Circuits Corporation | |
ee877b53 VK |
6 | */ |
7 | ||
8 | /dts-v1/; | |
9 | ||
10 | /include/ "apm-storm.dtsi" | |
11 | ||
12 | / { | |
13 | model = "APM X-Gene Mustang board"; | |
14 | compatible = "apm,mustang", "apm,xgene-storm"; | |
15 | ||
16 | chosen { }; | |
17 | ||
5c04a5b0 | 18 | memory@100000000 { |
ee877b53 VK |
19 | device_type = "memory"; |
20 | reg = < 0x1 0x00000000 0x0 0x80000000 >; /* Updated by bootloader */ | |
21 | }; | |
3d8cc141 V |
22 | |
23 | gpio-keys { | |
24 | compatible = "gpio-keys"; | |
2453119f | 25 | button { |
3d8cc141 V |
26 | label = "POWER"; |
27 | linux,code = <116>; | |
28 | linux,input-type = <0x1>; | |
310b1406 DD |
29 | interrupt-parent = <&sbgpio>; |
30 | interrupts = <0x5 0x1>; | |
3d8cc141 V |
31 | }; |
32 | }; | |
94d6ba28 TN |
33 | |
34 | poweroff_mbox: poweroff_mbox@10548000 { | |
c0304446 | 35 | compatible = "apm,mustang-poweroff-mailbox", "syscon"; |
94d6ba28 TN |
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 | }; | |
ee877b53 | 45 | }; |
457ced84 | 46 | |
767ebaff | 47 | &pcie0clk { |
2f308657 | 48 | status = "okay"; |
767ebaff TI |
49 | }; |
50 | ||
51 | &pcie0 { | |
2f308657 | 52 | status = "okay"; |
767ebaff TI |
53 | }; |
54 | ||
457ced84 | 55 | &serial0 { |
2f308657 | 56 | status = "okay"; |
457ced84 | 57 | }; |
3d390425 IS |
58 | |
59 | &menet { | |
2f308657 | 60 | status = "okay"; |
3d390425 | 61 | }; |
5fb32417 | 62 | |
4c2e7f09 | 63 | &sgenet0 { |
2f308657 | 64 | status = "okay"; |
4c2e7f09 IS |
65 | }; |
66 | ||
2d33394e | 67 | &sgenet1 { |
2f308657 | 68 | status = "okay"; |
2d33394e KC |
69 | }; |
70 | ||
5fb32417 | 71 | &xgenet { |
2f308657 | 72 | status = "okay"; |
72d25643 | 73 | rxlos-gpios = <&sbgpio 12 1>; |
5fb32417 | 74 | }; |
8f74e861 ST |
75 | |
76 | &mmc0 { | |
2f308657 | 77 | status = "okay"; |
8f74e861 | 78 | }; |
8e694cd2 IS |
79 | |
80 | &mdio { | |
81 | menet0phy: phy@3 { | |
82 | reg = <0x3>; | |
83 | }; | |
84 | sgenet0phy: phy@4 { | |
85 | reg = <0x4>; | |
86 | }; | |
87 | sgenet1phy: phy@5 { | |
88 | reg = <0x5>; | |
89 | }; | |
90 | }; |