mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-26 11:58:52 +09:00
![Kuldeep Singh](/assets/img/avatar_default.png)
According to new qspi driver, some properties like "bus-num, num-cs, big-endian" are no longer used. Device endiannes can be determined from device-type data in driver. Now use board specific compatibles, generic node names and specific labels to align with linux device-tree properties. Also consolidate spi-max-frequency to 50Mhz treewide. Signed-off-by: Kuldeep Singh <kuldeep.singh@nxp.com> Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
168 lines
2.5 KiB
Plaintext
168 lines
2.5 KiB
Plaintext
// SPDX-License-Identifier: GPL-2.0+ OR X11
|
|
/*
|
|
* NXP ls1088a RDB board device tree source
|
|
*
|
|
* Copyright 2017 NXP
|
|
*/
|
|
|
|
/dts-v1/;
|
|
|
|
#include "fsl-ls1088a.dtsi"
|
|
|
|
/ {
|
|
model = "NXP Layerscape 1088a RDB Board";
|
|
compatible = "fsl,ls1088a-rdb", "fsl,ls1088a";
|
|
aliases {
|
|
spi0 = &qspi;
|
|
};
|
|
};
|
|
|
|
&dpmac1 {
|
|
status = "okay";
|
|
phy-connection-type = "xgmii";
|
|
};
|
|
|
|
&dpmac2 {
|
|
status = "okay";
|
|
phy-handle = <&mdio2_phy1>;
|
|
phy-connection-type = "xgmii";
|
|
};
|
|
|
|
&dpmac3 {
|
|
status = "okay";
|
|
phy-handle = <&mdio1_phy5>;
|
|
phy-connection-type = "qsgmii";
|
|
};
|
|
|
|
&dpmac4 {
|
|
status = "okay";
|
|
phy-handle = <&mdio1_phy6>;
|
|
phy-connection-type = "qsgmii";
|
|
};
|
|
|
|
&dpmac5 {
|
|
status = "okay";
|
|
phy-handle = <&mdio1_phy7>;
|
|
phy-connection-type = "qsgmii";
|
|
};
|
|
|
|
&dpmac6 {
|
|
status = "okay";
|
|
phy-handle = <&mdio1_phy8>;
|
|
phy-connection-type = "qsgmii";
|
|
};
|
|
|
|
&dpmac7 {
|
|
status = "okay";
|
|
phy-handle = <&mdio1_phy1>;
|
|
phy-connection-type = "qsgmii";
|
|
};
|
|
|
|
&dpmac8 {
|
|
status = "okay";
|
|
phy-handle = <&mdio1_phy2>;
|
|
phy-connection-type = "qsgmii";
|
|
};
|
|
|
|
&dpmac9 {
|
|
status = "okay";
|
|
phy-handle = <&mdio1_phy3>;
|
|
phy-connection-type = "qsgmii";
|
|
};
|
|
|
|
&dpmac10 {
|
|
status = "okay";
|
|
phy-handle = <&mdio1_phy4>;
|
|
phy-connection-type = "qsgmii";
|
|
};
|
|
|
|
&emdio1 {
|
|
status = "okay";
|
|
|
|
/* Freescale F104 PHY1 */
|
|
mdio1_phy1: emdio1_phy@1 {
|
|
reg = <0x1c>;
|
|
};
|
|
mdio1_phy2: emdio1_phy@2 {
|
|
reg = <0x1d>;
|
|
};
|
|
mdio1_phy3: emdio1_phy@3 {
|
|
reg = <0x1e>;
|
|
};
|
|
mdio1_phy4: emdio1_phy@4 {
|
|
reg = <0x1f>;
|
|
};
|
|
|
|
/* F104 PHY2 */
|
|
mdio1_phy5: emdio1_phy@5 {
|
|
reg = <0x0c>;
|
|
};
|
|
mdio1_phy6: emdio1_phy@6 {
|
|
reg = <0x0d>;
|
|
};
|
|
mdio1_phy7: emdio1_phy@7 {
|
|
reg = <0x0e>;
|
|
};
|
|
mdio1_phy8: emdio1_phy@8 {
|
|
reg = <0x0f>;
|
|
};
|
|
};
|
|
|
|
&emdio2 {
|
|
status = "okay";
|
|
|
|
/* Aquantia AQR105 10G PHY */
|
|
mdio2_phy1: emdio2_phy@1 {
|
|
compatible = "ethernet-phy-ieee802.3-c45";
|
|
interrupts = <0 2 0x4>;
|
|
reg = <0x0>;
|
|
};
|
|
};
|
|
|
|
&i2c0 {
|
|
status = "okay";
|
|
u-boot,dm-pre-reloc;
|
|
|
|
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>;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
|
|
&qspi {
|
|
status = "okay";
|
|
|
|
s25fs512s0: flash@0 {
|
|
#address-cells = <1>;
|
|
#size-cells = <1>;
|
|
compatible = "jedec,spi-nor";
|
|
spi-max-frequency = <50000000>;
|
|
reg = <0>;
|
|
};
|
|
|
|
s25fs512s1: flash@1 {
|
|
#address-cells = <1>;
|
|
#size-cells = <1>;
|
|
compatible = "jedec,spi-nor";
|
|
spi-max-frequency = <50000000>;
|
|
reg = <1>;
|
|
};
|
|
};
|
|
|
|
&sata {
|
|
status = "okay";
|
|
};
|