2018-11-28 13:04:27 +00:00
|
|
|
// SPDX-License-Identifier: GPL-2.0+ OR X11
|
|
|
|
/*
|
|
|
|
* NXP LX2160ARDB device tree source
|
|
|
|
*
|
|
|
|
* Author: Priyanka Jain <priyanka.jain@nxp.com>
|
|
|
|
* Sriram Dash <sriram.dash@nxp.com>
|
|
|
|
*
|
2023-03-15 11:04:16 +00:00
|
|
|
* Copyright 2018, 2023 NXP
|
2018-11-28 13:04:27 +00:00
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
/dts-v1/;
|
|
|
|
|
|
|
|
#include "fsl-lx2160a.dtsi"
|
|
|
|
|
|
|
|
/ {
|
|
|
|
model = "NXP Layerscape LX2160ARDB Board";
|
|
|
|
compatible = "fsl,lx2160ardb", "fsl,lx2160a";
|
2019-11-06 11:08:01 +00:00
|
|
|
aliases {
|
|
|
|
spi0 = &fspi;
|
2023-03-15 11:04:16 +00:00
|
|
|
serial0 = &uart0;
|
2019-11-06 11:08:01 +00:00
|
|
|
};
|
2018-11-28 13:04:27 +00:00
|
|
|
};
|
|
|
|
|
2020-03-18 14:47:44 +00:00
|
|
|
&dpmac3 {
|
|
|
|
status = "okay";
|
|
|
|
phy-handle = <&aquantia_phy1>;
|
|
|
|
phy-connection-type = "usxgmii";
|
|
|
|
};
|
|
|
|
|
|
|
|
&dpmac4 {
|
|
|
|
status = "okay";
|
|
|
|
phy-handle = <&aquantia_phy2>;
|
|
|
|
phy-connection-type = "usxgmii";
|
|
|
|
};
|
|
|
|
|
|
|
|
&dpmac17 {
|
|
|
|
status = "okay";
|
|
|
|
phy-handle = <&rgmii_phy1>;
|
|
|
|
phy-connection-type = "rgmii-id";
|
|
|
|
};
|
|
|
|
|
|
|
|
&dpmac18 {
|
|
|
|
status = "okay";
|
|
|
|
phy-handle = <&rgmii_phy2>;
|
|
|
|
phy-connection-type = "rgmii-id";
|
|
|
|
};
|
|
|
|
|
|
|
|
&emdio1 {
|
|
|
|
status = "okay";
|
|
|
|
rgmii_phy1: ethernet-phy@1 {
|
|
|
|
/* AR8035 PHY - "compatible" property not strictly needed */
|
|
|
|
compatible = "ethernet-phy-id004d.d072";
|
|
|
|
reg = <0x1>;
|
|
|
|
/* Poll mode - no "interrupts" property defined */
|
|
|
|
};
|
|
|
|
rgmii_phy2: ethernet-phy@2 {
|
|
|
|
/* AR8035 PHY - "compatible" property not strictly needed */
|
|
|
|
compatible = "ethernet-phy-id004d.d072";
|
|
|
|
reg = <0x2>;
|
|
|
|
/* Poll mode - no "interrupts" property defined */
|
|
|
|
};
|
|
|
|
aquantia_phy1: ethernet-phy@4 {
|
|
|
|
/* AQR107 PHY - "compatible" property not strictly needed */
|
|
|
|
compatible = "ethernet-phy-ieee802.3-c45";
|
|
|
|
interrupts = <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>;
|
|
|
|
reg = <0x4>;
|
|
|
|
};
|
|
|
|
aquantia_phy2: ethernet-phy@5 {
|
|
|
|
/* AQR107 PHY - "compatible" property not strictly needed */
|
|
|
|
compatible = "ethernet-phy-ieee802.3-c45";
|
|
|
|
interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>;
|
|
|
|
reg = <0x5>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2018-11-28 13:04:27 +00:00
|
|
|
&esdhc0 {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
&esdhc1 {
|
|
|
|
status = "okay";
|
2019-07-16 07:09:09 +00:00
|
|
|
mmc-hs200-1_8v;
|
2020-09-01 08:58:08 +00:00
|
|
|
mmc-hs400-1_8v;
|
|
|
|
bus-width = <8>;
|
2018-11-28 13:04:27 +00:00
|
|
|
};
|
|
|
|
|
2019-11-06 11:08:01 +00:00
|
|
|
&fspi {
|
|
|
|
status = "okay";
|
|
|
|
|
|
|
|
mt35xu512aba0: flash@0 {
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
|
|
|
compatible = "jedec,spi-nor";
|
|
|
|
spi-max-frequency = <50000000>;
|
|
|
|
reg = <0>;
|
2020-03-14 12:53:56 +00:00
|
|
|
spi-rx-bus-width = <8>;
|
|
|
|
spi-tx-bus-width = <1>;
|
2019-11-06 11:08:01 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
mt35xu512aba1: flash@1 {
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
|
|
|
compatible = "jedec,spi-nor";
|
|
|
|
spi-max-frequency = <50000000>;
|
|
|
|
reg = <1>;
|
2020-03-14 12:53:56 +00:00
|
|
|
spi-rx-bus-width = <8>;
|
|
|
|
spi-tx-bus-width = <1>;
|
2019-11-06 11:08:01 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2019-07-10 13:00:26 +00:00
|
|
|
&i2c0 {
|
|
|
|
status = "okay";
|
2023-02-13 15:56:33 +00:00
|
|
|
bootph-all;
|
2019-07-10 13:00:26 +00:00
|
|
|
};
|
|
|
|
|
2019-07-10 13:00:25 +00:00
|
|
|
&i2c4 {
|
|
|
|
status = "okay";
|
|
|
|
|
|
|
|
rtc@51 {
|
2022-01-03 12:47:29 +00:00
|
|
|
compatible = "nxp,pcf2129";
|
2019-07-10 13:00:25 +00:00
|
|
|
reg = <0x51>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2018-11-28 13:04:27 +00:00
|
|
|
&sata0 {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
&sata1 {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
&sata2 {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
&sata3 {
|
|
|
|
status = "okay";
|
|
|
|
};
|
2023-03-15 11:04:16 +00:00
|
|
|
|
|
|
|
&uart0 {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
&uart1 {
|
|
|
|
status = "okay";
|
|
|
|
};
|