mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-26 10:45:09 +07:00
8e694cd276
Added mdio node for mdio driver. Also added phy-handle reference to the ethernet nodes. Removed unused clock node from storm sgenet1. Signed-off-by: Iyappan Subramanian <isubramanian@apm.com> Tested-by: Fushen Chen <fchen@apm.com> Tested-by: Toan Le <toanle@apm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
94 lines
1.4 KiB
Plaintext
94 lines
1.4 KiB
Plaintext
/*
|
|
* dts file for AppliedMicro (APM) Mustang Board
|
|
*
|
|
* Copyright (C) 2013, Applied Micro Circuits Corporation
|
|
*
|
|
* This program is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU General Public License as
|
|
* published by the Free Software Foundation; either version 2 of
|
|
* the License, or (at your option) any later version.
|
|
*/
|
|
|
|
/dts-v1/;
|
|
|
|
/include/ "apm-storm.dtsi"
|
|
|
|
/ {
|
|
model = "APM X-Gene Mustang board";
|
|
compatible = "apm,mustang", "apm,xgene-storm";
|
|
|
|
chosen { };
|
|
|
|
memory {
|
|
device_type = "memory";
|
|
reg = < 0x1 0x00000000 0x0 0x80000000 >; /* Updated by bootloader */
|
|
};
|
|
|
|
gpio-keys {
|
|
compatible = "gpio-keys";
|
|
button@1 {
|
|
label = "POWER";
|
|
linux,code = <116>;
|
|
linux,input-type = <0x1>;
|
|
interrupt-parent = <&sbgpio>;
|
|
interrupts = <0x5 0x1>;
|
|
};
|
|
};
|
|
|
|
poweroff_mbox: poweroff_mbox@10548000 {
|
|
compatible = "syscon";
|
|
reg = <0x0 0x10548000 0x0 0x30>;
|
|
};
|
|
|
|
poweroff: poweroff@10548010 {
|
|
compatible = "syscon-poweroff";
|
|
regmap = <&poweroff_mbox>;
|
|
offset = <0x10>;
|
|
mask = <0x1>;
|
|
};
|
|
};
|
|
|
|
&pcie0clk {
|
|
status = "ok";
|
|
};
|
|
|
|
&pcie0 {
|
|
status = "ok";
|
|
};
|
|
|
|
&serial0 {
|
|
status = "ok";
|
|
};
|
|
|
|
&menet {
|
|
status = "ok";
|
|
};
|
|
|
|
&sgenet0 {
|
|
status = "ok";
|
|
};
|
|
|
|
&sgenet1 {
|
|
status = "ok";
|
|
};
|
|
|
|
&xgenet {
|
|
status = "ok";
|
|
};
|
|
|
|
&mmc0 {
|
|
status = "ok";
|
|
};
|
|
|
|
&mdio {
|
|
menet0phy: phy@3 {
|
|
reg = <0x3>;
|
|
};
|
|
sgenet0phy: phy@4 {
|
|
reg = <0x4>;
|
|
};
|
|
sgenet1phy: phy@5 {
|
|
reg = <0x5>;
|
|
};
|
|
};
|