2019-04-10 08:43:34 +00:00
|
|
|
// SPDX-License-Identifier: GPL-2.0+ OR X11
|
|
|
|
/*
|
|
|
|
* NXP ls1028ARDB device tree source
|
|
|
|
*
|
|
|
|
* Copyright 2019 NXP
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
/dts-v1/;
|
|
|
|
|
|
|
|
#include "fsl-ls1028a.dtsi"
|
|
|
|
|
|
|
|
/ {
|
|
|
|
model = "NXP Layerscape 1028a RDB Board";
|
|
|
|
compatible = "fsl,ls1028a-rdb", "fsl,ls1028a";
|
2019-11-06 11:08:00 +00:00
|
|
|
aliases {
|
|
|
|
spi0 = &fspi;
|
2021-10-13 16:14:15 +00:00
|
|
|
ethernet0 = &enetc_port0;
|
|
|
|
ethernet1 = &enetc_port2;
|
2021-02-25 15:51:11 +00:00
|
|
|
ethernet2 = &mscc_felix_port0;
|
|
|
|
ethernet3 = &mscc_felix_port1;
|
|
|
|
ethernet4 = &mscc_felix_port2;
|
|
|
|
ethernet5 = &mscc_felix_port3;
|
2019-11-06 11:08:00 +00:00
|
|
|
};
|
2019-04-10 08:43:34 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
&dspi0 {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
&dspi1 {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
&dspi2 {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
2021-10-13 16:14:15 +00:00
|
|
|
&esdhc {
|
2019-04-10 08:43:34 +00:00
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
&esdhc1 {
|
|
|
|
status = "okay";
|
2019-07-16 07:09:10 +00:00
|
|
|
mmc-hs200-1_8v;
|
2019-04-10 08:43:34 +00:00
|
|
|
};
|
|
|
|
|
2019-11-06 11:08:00 +00:00
|
|
|
&fspi {
|
|
|
|
status = "okay";
|
|
|
|
|
|
|
|
mt35xu02g0: flash@0 {
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
|
|
|
compatible = "jedec,spi-nor";
|
|
|
|
spi-max-frequency = <50000000>;
|
|
|
|
reg = <0>;
|
2020-03-14 12:53:55 +00:00
|
|
|
spi-rx-bus-width = <8>;
|
|
|
|
spi-tx-bus-width = <1>;
|
2019-11-06 11:08:00 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2019-04-10 08:43:34 +00:00
|
|
|
&i2c0 {
|
|
|
|
status = "okay";
|
2019-07-10 13:16:52 +00:00
|
|
|
|
|
|
|
i2c-mux@77 {
|
|
|
|
|
|
|
|
compatible = "nxp,pca9547";
|
|
|
|
reg = <0x77>;
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
|
|
|
|
i2c@3 {
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
reg = <0x3>;
|
|
|
|
|
|
|
|
rtc@51 {
|
|
|
|
compatible = "pcf2127-rtc";
|
|
|
|
reg = <0x51>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2019-04-10 08:43:34 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
&i2c1 {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
&i2c2 {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
&i2c3 {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
&i2c4 {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
&i2c5 {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
&i2c6 {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
&i2c7 {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
&sata {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
2021-10-13 16:14:15 +00:00
|
|
|
&duart0 {
|
2019-04-10 08:43:34 +00:00
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
2021-10-13 16:14:15 +00:00
|
|
|
&duart1 {
|
2019-04-10 08:43:34 +00:00
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
2021-10-13 16:14:25 +00:00
|
|
|
&pcie1 {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
&pcie2 {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
2021-10-13 16:14:15 +00:00
|
|
|
&usb0 {
|
2019-04-10 08:43:34 +00:00
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
2021-10-13 16:14:15 +00:00
|
|
|
&usb1 {
|
2019-04-10 08:43:34 +00:00
|
|
|
status = "okay";
|
|
|
|
};
|
2019-07-03 09:11:43 +00:00
|
|
|
|
2021-10-13 16:14:15 +00:00
|
|
|
&enetc_port0 {
|
2019-07-03 09:11:43 +00:00
|
|
|
status = "okay";
|
|
|
|
phy-mode = "sgmii";
|
|
|
|
phy-handle = <&rdb_phy0>;
|
|
|
|
};
|
|
|
|
|
2021-10-13 16:14:15 +00:00
|
|
|
&enetc_port2 {
|
2021-01-25 12:23:56 +00:00
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
&mscc_felix {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
&mscc_felix_port0 {
|
|
|
|
label = "swp0";
|
|
|
|
phy-handle = <&sw_phy0>;
|
|
|
|
phy-mode = "qsgmii";
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
&mscc_felix_port1 {
|
|
|
|
label = "swp1";
|
|
|
|
phy-handle = <&sw_phy1>;
|
|
|
|
phy-mode = "qsgmii";
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
&mscc_felix_port2 {
|
|
|
|
label = "swp2";
|
|
|
|
phy-handle = <&sw_phy2>;
|
|
|
|
phy-mode = "qsgmii";
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
&mscc_felix_port3 {
|
|
|
|
label = "swp3";
|
|
|
|
phy-handle = <&sw_phy3>;
|
|
|
|
phy-mode = "qsgmii";
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
&mscc_felix_port4 {
|
2021-10-13 16:14:15 +00:00
|
|
|
ethernet = <&enetc_port2>;
|
2021-01-25 12:23:56 +00:00
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
2021-10-13 16:14:15 +00:00
|
|
|
&enetc_mdio_pf3 {
|
2019-07-03 09:11:43 +00:00
|
|
|
status = "okay";
|
|
|
|
rdb_phy0: phy@2 {
|
|
|
|
reg = <2>;
|
|
|
|
};
|
2021-01-25 12:23:56 +00:00
|
|
|
|
|
|
|
/* VSC8514 QSGMII PHY */
|
|
|
|
sw_phy0: phy@10 {
|
|
|
|
reg = <0x10>;
|
|
|
|
};
|
|
|
|
|
|
|
|
sw_phy1: phy@11 {
|
|
|
|
reg = <0x11>;
|
|
|
|
};
|
|
|
|
|
|
|
|
sw_phy2: phy@12 {
|
|
|
|
reg = <0x12>;
|
|
|
|
};
|
|
|
|
|
|
|
|
sw_phy3: phy@13 {
|
|
|
|
reg = <0x13>;
|
|
|
|
};
|
2019-07-03 09:11:43 +00:00
|
|
|
};
|