summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorYuan Yao <yao.yuan@freescale.com>2015-09-30 13:05:15 +0530
committerJagan Teki <jteki@openedev.com>2015-10-11 16:43:06 +0530
commita8ee68df49ff18f968d6160b7fe68a58d38f0b64 (patch)
tree6cade13c93ac66a7068f4cf742cd2a2ae773ac0d /arch
parent5cb1b7b395c0150e179f3b748d755cdc2f613a06 (diff)
downloadu-boot-imx-a8ee68df49ff18f968d6160b7fe68a58d38f0b64.zip
u-boot-imx-a8ee68df49ff18f968d6160b7fe68a58d38f0b64.tar.gz
u-boot-imx-a8ee68df49ff18f968d6160b7fe68a58d38f0b64.tar.bz2
dm: dts: ls1021a-twr: Enable DSPI2 on LS1021ATWR
Erratum A-008022 has been fixed on LS1021A Rev2.0. So we can use DSPI2 now, this patch enable DSPI2 in dts for LS1021ATWR. Signed-off-by: Yuan Yao <yao.yuan@freescale.com> Reviewed-by: Jagan Teki <jteki@openedev.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/dts/ls1021a-twr.dts16
1 files changed, 16 insertions, 0 deletions
diff --git a/arch/arm/dts/ls1021a-twr.dts b/arch/arm/dts/ls1021a-twr.dts
index 0e61c07..6ccd332 100644
--- a/arch/arm/dts/ls1021a-twr.dts
+++ b/arch/arm/dts/ls1021a-twr.dts
@@ -17,6 +17,7 @@
enet0_sgmii_phy = &sgmii_phy2;
enet1_sgmii_phy = &sgmii_phy0;
spi0 = &qspi;
+ spi1 = &dspi1;
};
};
@@ -33,6 +34,21 @@
};
};
+&dspi1 {
+ bus-num = <0>;
+ status = "okay";
+
+ dspiflash: at26df081a@0 {
+ #address-cells = <1>;
+ #size-cells = <1>;
+ compatible = "spi-flash";
+ spi-max-frequency = <16000000>;
+ spi-cpol;
+ spi-cpha;
+ reg = <0>;
+ };
+};
+
&i2c0 {
status = "okay";
};