summaryrefslogtreecommitdiff
path: root/arch/arm/dts/ls1021a-twr.dts
diff options
context:
space:
mode:
authorHaikun.Wang@freescale.com <Haikun.Wang@freescale.com>2015-03-24 21:20:40 +0800
committerSimon Glass <sjg@chromium.org>2015-04-18 11:11:18 -0600
commit863b4e1b9d52a4823fda7f1ace25be6ab55e8ca2 (patch)
treeefd40c9a80b6ffc0c275c534c74c6f0cf112f48d /arch/arm/dts/ls1021a-twr.dts
parent6db79c4465b8e7c58e6d9b0950514b7ad8f4564d (diff)
dm: ls1021a: dts: Add QSPI dts node
Add QSPI controller dts node in ls1021a.dtsi. Add QSPI slave device dts node in ls1021a-twr.dts and ls1021a-qds.dts. Signed-off-by: Haikun Wang <Haikun.Wang@freescale.com> Acked-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/arm/dts/ls1021a-twr.dts')
-rw-r--r--arch/arm/dts/ls1021a-twr.dts14
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/arm/dts/ls1021a-twr.dts b/arch/arm/dts/ls1021a-twr.dts
index 3d9f23bf11..0e61c07c5a 100644
--- a/arch/arm/dts/ls1021a-twr.dts
+++ b/arch/arm/dts/ls1021a-twr.dts
@@ -16,6 +16,20 @@
enet2_rgmii_phy = &rgmii_phy1;
enet0_sgmii_phy = &sgmii_phy2;
enet1_sgmii_phy = &sgmii_phy0;
+ spi0 = &qspi;
+ };
+};
+
+&qspi {
+ bus-num = <0>;
+ status = "okay";
+
+ qflash0: n25q128a13@0 {
+ #address-cells = <1>;
+ #size-cells = <1>;
+ compatible = "spi-flash";
+ spi-max-frequency = <20000000>;
+ reg = <0>;
};
};