forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-01-31 f9004dbfff8a3fbbd7e2a88c8a4327c7f2f8e5b2
kernel/arch/arm/boot/dts/ls1021a-twr.dts
....@@ -1,5 +1,6 @@
11 /*
22 * Copyright 2013-2014 Freescale Semiconductor, Inc.
3
+ * Copyright 2018 NXP
34 *
45 * This file is dual-licensed: you can use it either under the terms
56 * of the GPL or the X11 license, at your option. Note that this dual
....@@ -50,6 +51,7 @@
5051
5152 / {
5253 model = "LS1021A TWR Board";
54
+ compatible = "fsl,ls1021a-twr", "fsl,ls1021a";
5355
5456 aliases {
5557 enet2_rgmii_phy = &rgmii_phy1;
....@@ -203,6 +205,7 @@
203205 #size-cells = <1>;
204206 compatible = "cfi-flash";
205207 reg = <0x0 0x0 0x8000000>;
208
+ big-endian;
206209 bank-width = <2>;
207210 device-width = <1>;
208211 };
....@@ -239,6 +242,20 @@
239242 status = "okay";
240243 };
241244
245
+&qspi {
246
+ status = "okay";
247
+
248
+ n25q128a130: flash@0 {
249
+ compatible = "jedec,spi-nor";
250
+ #address-cells = <1>;
251
+ #size-cells = <1>;
252
+ spi-max-frequency = <50000000>;
253
+ reg = <0>;
254
+ spi-rx-bus-width = <4>;
255
+ spi-tx-bus-width = <4>;
256
+ };
257
+};
258
+
242259 &sai1 {
243260 status = "okay";
244261 };