|
@@ -138,6 +138,17 @@
|
|
0x160 (PIN_INPUT | MUX_MODE7) /* spi0_cs1.gpio0_6 */
|
|
0x160 (PIN_INPUT | MUX_MODE7) /* spi0_cs1.gpio0_6 */
|
|
>;
|
|
>;
|
|
};
|
|
};
|
|
|
|
+
|
|
|
|
+ qspi1_default: qspi1_default {
|
|
|
|
+ pinctrl-single,pins = <
|
|
|
|
+ 0x7c (PIN_INPUT_PULLUP | MUX_MODE3)
|
|
|
|
+ 0x88 (PIN_INPUT_PULLUP | MUX_MODE2)
|
|
|
|
+ 0x90 (PIN_INPUT_PULLUP | MUX_MODE3)
|
|
|
|
+ 0x94 (PIN_INPUT_PULLUP | MUX_MODE3)
|
|
|
|
+ 0x98 (PIN_INPUT_PULLUP | MUX_MODE3)
|
|
|
|
+ 0x9c (PIN_INPUT_PULLUP | MUX_MODE3)
|
|
|
|
+ >;
|
|
|
|
+ };
|
|
};
|
|
};
|
|
|
|
|
|
matrix_keypad: matrix_keypad@0 {
|
|
matrix_keypad: matrix_keypad@0 {
|
|
@@ -385,3 +396,55 @@
|
|
dr_mode = "host";
|
|
dr_mode = "host";
|
|
status = "okay";
|
|
status = "okay";
|
|
};
|
|
};
|
|
|
|
+
|
|
|
|
+&qspi {
|
|
|
|
+ status = "okay";
|
|
|
|
+ pinctrl-names = "default";
|
|
|
|
+ pinctrl-0 = <&qspi1_default>;
|
|
|
|
+
|
|
|
|
+ spi-max-frequency = <48000000>;
|
|
|
|
+ m25p80@0 {
|
|
|
|
+ compatible = "mx66l51235l";
|
|
|
|
+ spi-max-frequency = <48000000>;
|
|
|
|
+ reg = <0>;
|
|
|
|
+ spi-cpol;
|
|
|
|
+ spi-cpha;
|
|
|
|
+ spi-tx-bus-width = <1>;
|
|
|
|
+ spi-rx-bus-width = <4>;
|
|
|
|
+ #address-cells = <1>;
|
|
|
|
+ #size-cells = <1>;
|
|
|
|
+
|
|
|
|
+ /* MTD partition table.
|
|
|
|
+ * The ROM checks the first 512KiB
|
|
|
|
+ * for a valid file to boot(XIP).
|
|
|
|
+ */
|
|
|
|
+ partition@0 {
|
|
|
|
+ label = "QSPI.U_BOOT";
|
|
|
|
+ reg = <0x00000000 0x000080000>;
|
|
|
|
+ };
|
|
|
|
+ partition@1 {
|
|
|
|
+ label = "QSPI.U_BOOT.backup";
|
|
|
|
+ reg = <0x00080000 0x00080000>;
|
|
|
|
+ };
|
|
|
|
+ partition@2 {
|
|
|
|
+ label = "QSPI.U-BOOT-SPL_OS";
|
|
|
|
+ reg = <0x00100000 0x00010000>;
|
|
|
|
+ };
|
|
|
|
+ partition@3 {
|
|
|
|
+ label = "QSPI.U_BOOT_ENV";
|
|
|
|
+ reg = <0x00110000 0x00010000>;
|
|
|
|
+ };
|
|
|
|
+ partition@4 {
|
|
|
|
+ label = "QSPI.U-BOOT-ENV.backup";
|
|
|
|
+ reg = <0x00120000 0x00010000>;
|
|
|
|
+ };
|
|
|
|
+ partition@5 {
|
|
|
|
+ label = "QSPI.KERNEL";
|
|
|
|
+ reg = <0x00130000 0x0800000>;
|
|
|
|
+ };
|
|
|
|
+ partition@6 {
|
|
|
|
+ label = "QSPI.FILESYSTEM";
|
|
|
|
+ reg = <0x00930000 0x36D0000>;
|
|
|
|
+ };
|
|
|
|
+ };
|
|
|
|
+};
|