2019-04-10 08:43:35 +00:00
|
|
|
// SPDX-License-Identifier: GPL-2.0+ OR X11
|
|
|
|
/*
|
|
|
|
* NXP ls1028AQDS device tree source
|
|
|
|
*
|
|
|
|
* Copyright 2019 NXP
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
/dts-v1/;
|
|
|
|
|
|
|
|
#include "fsl-ls1028a.dtsi"
|
|
|
|
|
|
|
|
/ {
|
|
|
|
model = "NXP Layerscape 1028a QDS Board";
|
|
|
|
compatible = "fsl,ls1028a-qds", "fsl,ls1028a";
|
2019-11-06 11:08:00 +00:00
|
|
|
aliases {
|
|
|
|
spi0 = &fspi;
|
2020-07-14 05:53:36 +00:00
|
|
|
spi1 = &dspi0;
|
|
|
|
spi2 = &dspi1;
|
|
|
|
spi3 = &dspi2;
|
2019-11-06 11:08:00 +00:00
|
|
|
};
|
|
|
|
|
2019-04-10 08:43:35 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
&dspi0 {
|
2020-07-14 05:53:36 +00:00
|
|
|
bus-num = <0>;
|
2019-04-10 08:43:35 +00:00
|
|
|
status = "okay";
|
2020-07-14 05:53:36 +00:00
|
|
|
|
|
|
|
dflash0: sst25wf040b {
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
|
|
|
compatible = "spi-flash";
|
|
|
|
spi-max-frequency = <3000000>;
|
|
|
|
spi-cpol;
|
|
|
|
spi-cpha;
|
|
|
|
reg = <0>;
|
|
|
|
};
|
|
|
|
|
|
|
|
dflash1: en25s64 {
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
|
|
|
compatible = "spi-flash";
|
|
|
|
spi-max-frequency = <3000000>;
|
|
|
|
spi-cpol;
|
|
|
|
spi-cpha;
|
|
|
|
reg = <1>;
|
|
|
|
};
|
|
|
|
dflash2: n25q128a {
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
|
|
|
compatible = "spi-flash";
|
|
|
|
spi-max-frequency = <3000000>;
|
|
|
|
spi-cpol;
|
|
|
|
spi-cpha;
|
|
|
|
reg = <2>;
|
|
|
|
};
|
2019-04-10 08:43:35 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
&dspi1 {
|
2020-07-14 05:53:36 +00:00
|
|
|
bus-num = <0>;
|
2019-04-10 08:43:35 +00:00
|
|
|
status = "okay";
|
2020-07-14 05:53:36 +00:00
|
|
|
|
|
|
|
dflash3: sst25wf040b {
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
|
|
|
compatible = "spi-flash";
|
|
|
|
spi-max-frequency = <3000000>;
|
|
|
|
spi-cpol;
|
|
|
|
spi-cpha;
|
|
|
|
reg = <0>;
|
|
|
|
};
|
|
|
|
|
|
|
|
dflash4: en25s64 {
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
|
|
|
compatible = "spi-flash";
|
|
|
|
spi-max-frequency = <3000000>;
|
|
|
|
spi-cpol;
|
|
|
|
spi-cpha;
|
|
|
|
reg = <1>;
|
|
|
|
};
|
|
|
|
dflash5: n25q128a {
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
|
|
|
compatible = "spi-flash";
|
|
|
|
spi-max-frequency = <3000000>;
|
|
|
|
spi-cpol;
|
|
|
|
spi-cpha;
|
|
|
|
reg = <2>;
|
|
|
|
};
|
2019-04-10 08:43:35 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
&dspi2 {
|
2020-07-14 05:53:36 +00:00
|
|
|
bus-num = <0>;
|
2019-04-10 08:43:35 +00:00
|
|
|
status = "okay";
|
2020-07-14 05:53:36 +00:00
|
|
|
|
|
|
|
dflash8: en25s64 {
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
|
|
|
compatible = "spi-flash";
|
|
|
|
spi-max-frequency = <3000000>;
|
|
|
|
spi-cpol;
|
|
|
|
spi-cpha;
|
|
|
|
reg = <0>;
|
|
|
|
};
|
2019-04-10 08:43:35 +00:00
|
|
|
};
|
|
|
|
|
2021-10-13 16:14:15 +00:00
|
|
|
&esdhc {
|
2019-04-10 08:43:35 +00:00
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
&esdhc1 {
|
|
|
|
status = "okay";
|
2019-08-07 16:30:03 +00:00
|
|
|
|
2019-04-10 08:43:35 +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:35 +00:00
|
|
|
&i2c0 {
|
|
|
|
status = "okay";
|
2019-07-10 07:48:39 +00:00
|
|
|
|
2019-08-07 16:30:03 +00:00
|
|
|
fpga@66 {
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
compatible = "simple-mfd";
|
|
|
|
reg = <0x66>;
|
|
|
|
|
|
|
|
mux-mdio@54 {
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
compatible = "mdio-mux-i2creg";
|
|
|
|
reg = <0x54>;
|
|
|
|
#mux-control-cells = <1>;
|
|
|
|
mux-reg-masks = <0x54 0xf0>;
|
2021-10-13 16:14:15 +00:00
|
|
|
mdio-parent-bus = <&enetc_mdio_pf3>;
|
2019-08-07 16:30:03 +00:00
|
|
|
|
|
|
|
/* on-board MDIO with a single RGMII PHY */
|
|
|
|
mdio@00 {
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
reg = <0x00>;
|
|
|
|
|
|
|
|
qds_phy0: phy@5 {
|
|
|
|
reg = <5>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
/* slot 1 */
|
|
|
|
slot1: mdio@40 {
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
reg = <0x40>;
|
|
|
|
};
|
|
|
|
/* slot 2 */
|
|
|
|
slot2: mdio@50 {
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
reg = <0x50>;
|
|
|
|
};
|
|
|
|
/* slot 3 */
|
|
|
|
slot3: mdio@60 {
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
reg = <0x60>;
|
|
|
|
};
|
|
|
|
/* slot 4 */
|
|
|
|
slot4: mdio@70 {
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
reg = <0x70>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2019-07-10 07:48:39 +00:00
|
|
|
i2c-mux@77 {
|
|
|
|
compatible = "nxp,pca9547";
|
|
|
|
reg = <0x77>;
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
};
|
2019-04-10 08:43:35 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
&i2c1 {
|
|
|
|
status = "okay";
|
2019-07-10 07:48:40 +00:00
|
|
|
|
|
|
|
rtc@51 {
|
2022-01-03 12:47:27 +00:00
|
|
|
compatible = "nxp,pcf2129";
|
2019-07-10 07:48:40 +00:00
|
|
|
reg = <0x51>;
|
|
|
|
};
|
2019-04-10 08:43:35 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
&i2c2 {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
&i2c3 {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
&i2c4 {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
&i2c5 {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
&i2c6 {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
&i2c7 {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
2020-03-19 08:48:25 +00:00
|
|
|
&lpuart0 {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
2019-04-10 08:43:35 +00:00
|
|
|
&sata {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
2021-10-13 16:14:15 +00:00
|
|
|
&duart0 {
|
2019-04-10 08:43:35 +00:00
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
2021-10-13 16:14:15 +00:00
|
|
|
&duart1 {
|
2019-04-10 08:43:35 +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:35 +00:00
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
2021-10-13 16:14:15 +00:00
|
|
|
&usb1 {
|
2019-04-10 08:43:35 +00:00
|
|
|
status = "okay";
|
|
|
|
};
|
2019-07-03 09:11:43 +00:00
|
|
|
|
2021-10-13 16:14:15 +00:00
|
|
|
&enetc_port1 {
|
2019-07-03 09:11:43 +00:00
|
|
|
status = "okay";
|
2021-06-29 17:53:12 +00:00
|
|
|
phy-mode = "rgmii-id";
|
2019-07-03 09:11:43 +00:00
|
|
|
phy-handle = <&qds_phy0>;
|
|
|
|
};
|
|
|
|
|
2021-10-13 16:14:15 +00:00
|
|
|
&enetc_mdio_pf3 {
|
2019-07-03 09:11:43 +00:00
|
|
|
status = "okay";
|
|
|
|
};
|
2021-01-27 11:00:00 +00:00
|
|
|
|
|
|
|
#include "fsl-ls1028a-qds-8xxx-sch-24801.dtsi"
|
|
|
|
#include "fsl-ls1028a-qds-x5xx-sch-28021-LBRW.dtsi"
|