mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-25 12:33:41 +00:00
78 lines
1.1 KiB
Text
78 lines
1.1 KiB
Text
|
// SPDX-License-Identifier: GPL-2.0
|
||
|
/* Copyright 2016-2018 NXP Semiconductors
|
||
|
* Copyright 2019 Vladimir Oltean <olteanv@gmail.com>
|
||
|
*/
|
||
|
|
||
|
/dts-v1/;
|
||
|
#include "ls1021a.dtsi"
|
||
|
|
||
|
/ {
|
||
|
model = "NXP LS1021A-TSN Board";
|
||
|
|
||
|
aliases {
|
||
|
enet0-sgmii-phy = &sgmii_phy2;
|
||
|
enet1-sgmii-phy = &sgmii_phy1;
|
||
|
spi0 = &qspi;
|
||
|
spi1 = &dspi1;
|
||
|
};
|
||
|
};
|
||
|
|
||
|
&enet0 {
|
||
|
tbi-handle = <&tbi0>;
|
||
|
phy-handle = <&sgmii_phy2>;
|
||
|
phy-mode = "sgmii";
|
||
|
status = "okay";
|
||
|
};
|
||
|
|
||
|
&enet1 {
|
||
|
tbi-handle = <&tbi1>;
|
||
|
phy-handle = <&sgmii_phy1>;
|
||
|
phy-mode = "sgmii";
|
||
|
status = "okay";
|
||
|
};
|
||
|
|
||
|
&i2c0 {
|
||
|
status = "okay";
|
||
|
};
|
||
|
|
||
|
&mdio0 {
|
||
|
/* AR8031 */
|
||
|
sgmii_phy1: ethernet-phy@1 {
|
||
|
reg = <0x1>;
|
||
|
};
|
||
|
|
||
|
/* AR8031 */
|
||
|
sgmii_phy2: ethernet-phy@2 {
|
||
|
reg = <0x2>;
|
||
|
};
|
||
|
|
||
|
/* SGMII PCS for enet0 */
|
||
|
tbi0: tbi-phy@1f {
|
||
|
reg = <0x1f>;
|
||
|
device_type = "tbi-phy";
|
||
|
};
|
||
|
};
|
||
|
|
||
|
&mdio1 {
|
||
|
/* SGMII PCS for enet1 */
|
||
|
tbi1: tbi-phy@1f {
|
||
|
reg = <0x1f>;
|
||
|
device_type = "tbi-phy";
|
||
|
};
|
||
|
};
|
||
|
|
||
|
&qspi {
|
||
|
bus-num = <0>;
|
||
|
status = "okay";
|
||
|
|
||
|
flash@0 {
|
||
|
compatible = "spi-flash";
|
||
|
spi-max-frequency = <20000000>;
|
||
|
reg = <0>;
|
||
|
};
|
||
|
};
|
||
|
|
||
|
&uart0 {
|
||
|
status = "okay";
|
||
|
};
|