mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-02 01:19:49 +00:00
aa0586247b
During the LS1028A-RDB sync with Linux device trees, it was observed that the same RTC is present on the two boards, and the wrong compatible string is used in both places. This change updates the RTC from the LX2160A-RDB to use the compatible string that was established in Linux. Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com> Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com> Reviewed-by: Michael Walle <michael@walle.cc>
139 lines
2.4 KiB
Text
139 lines
2.4 KiB
Text
// 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>
|
|
*
|
|
* Copyright 2018 NXP
|
|
*
|
|
*/
|
|
|
|
/dts-v1/;
|
|
|
|
#include "fsl-lx2160a.dtsi"
|
|
|
|
/ {
|
|
model = "NXP Layerscape LX2160ARDB Board";
|
|
compatible = "fsl,lx2160ardb", "fsl,lx2160a";
|
|
aliases {
|
|
spi0 = &fspi;
|
|
};
|
|
};
|
|
|
|
&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>;
|
|
};
|
|
};
|
|
|
|
&esdhc0 {
|
|
status = "okay";
|
|
};
|
|
|
|
&esdhc1 {
|
|
status = "okay";
|
|
mmc-hs200-1_8v;
|
|
mmc-hs400-1_8v;
|
|
bus-width = <8>;
|
|
};
|
|
|
|
&fspi {
|
|
status = "okay";
|
|
|
|
mt35xu512aba0: flash@0 {
|
|
#address-cells = <1>;
|
|
#size-cells = <1>;
|
|
compatible = "jedec,spi-nor";
|
|
spi-max-frequency = <50000000>;
|
|
reg = <0>;
|
|
spi-rx-bus-width = <8>;
|
|
spi-tx-bus-width = <1>;
|
|
};
|
|
|
|
mt35xu512aba1: flash@1 {
|
|
#address-cells = <1>;
|
|
#size-cells = <1>;
|
|
compatible = "jedec,spi-nor";
|
|
spi-max-frequency = <50000000>;
|
|
reg = <1>;
|
|
spi-rx-bus-width = <8>;
|
|
spi-tx-bus-width = <1>;
|
|
};
|
|
};
|
|
|
|
&i2c0 {
|
|
status = "okay";
|
|
u-boot,dm-pre-reloc;
|
|
};
|
|
|
|
&i2c4 {
|
|
status = "okay";
|
|
|
|
rtc@51 {
|
|
compatible = "nxp,pcf2129";
|
|
reg = <0x51>;
|
|
};
|
|
};
|
|
|
|
&sata0 {
|
|
status = "okay";
|
|
};
|
|
|
|
&sata1 {
|
|
status = "okay";
|
|
};
|
|
|
|
&sata2 {
|
|
status = "okay";
|
|
};
|
|
|
|
&sata3 {
|
|
status = "okay";
|
|
};
|