mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-30 10:46:42 +07:00
e2eaa339af
Perform a mechanical translation of rd88f6281-setup.c into DT. Since the hardware differs between the A0 and A1 stepping, two dts files are used, and a .dtsi file for the common parts. The A0 part does not have a "wan" port on the switch and uses PHY address 10 to address the switch. The A1 part does have the "wan" port and uses address 0. Signed-off-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: Jason Cooper <jason@lakedaemon.net>
31 lines
764 B
Plaintext
31 lines
764 B
Plaintext
/*
|
|
* Marvell RD88F6181 A1 Board descrition
|
|
*
|
|
* Andrew Lunn <andrew@lunn.ch>
|
|
*
|
|
* This file is licensed under the terms of the GNU General Public
|
|
* License version 2. This program is licensed "as is" without any
|
|
* warranty of any kind, whether express or implied.
|
|
*
|
|
* This file contains the definitions for the board with the A1 variant of
|
|
* the SoC. The ethernet switch has a "wan" port.
|
|
*/
|
|
|
|
/dts-v1/;
|
|
|
|
#include "kirkwood-rd88f6281.dtsi"
|
|
|
|
/ {
|
|
model = "Marvell RD88f6281 Reference design, with A1 SoC";
|
|
compatible = "marvell,rd88f6281-a1", "marvell,rd88f6281","marvell,kirkwood-88f6281", "marvell,kirkwood";
|
|
|
|
dsa@0 {
|
|
switch@0 {
|
|
reg = <0 0>; /* MDIO address 0, switch 0 in tree */
|
|
port@4 {
|
|
reg = <4>;
|
|
label = "wan";
|
|
};
|
|
};
|
|
};
|
|
}; |