]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm: dts: k3-j721e: Enable ospi1/qspi
authorKeerthy <j-keerthy@ti.com>
Wed, 4 Mar 2020 04:39:59 +0000 (10:09 +0530)
committerLokesh Vutla <lokeshvutla@ti.com>
Fri, 6 Mar 2020 07:23:00 +0000 (12:53 +0530)
Enable the ospi1/qspi for both r5 and a72 configurations.

Signed-off-by: Keerthy <j-keerthy@ti.com>
arch/arm/dts/k3-j721e-common-proc-board-u-boot.dtsi
arch/arm/dts/k3-j721e-r5-common-proc-board.dts

index d422100d42c5bcaa35a58aa2b583347014f2750b..7b01e4204f73a5efbdf01b8b28525c1e69662d82 100644 (file)
                u-boot,dm-spl;
        };
 };
+
+&ospi1 {
+       u-boot,dm-spl;
+
+       flash@0 {
+               u-boot,dm-spl;
+       };
+};
+
+&mcu_fss0_ospi1_pins_default {
+       u-boot,dm-spl;
+};
index ebea9efa582da413dc8ccd9578aefe15f259f4b1..44da8eabc2322fb8da62987c97c04fa3e088ea3e 100644 (file)
                        J721E_WKUP_IOPAD(0x002c, PIN_OUTPUT, 0) /* MCU_OSPI0_CSn0 */
                >;
        };
+
+       mcu_fss0_ospi1_pins_default: mcu-fss0-ospi1-pins-default {
+               u-boot,dm-spl;
+               pinctrl-single,pins = <
+                       J721E_WKUP_IOPAD(0x34, PIN_OUTPUT, 0) /* (F22) MCU_OSPI1_CLK */
+                       J721E_WKUP_IOPAD(0x50, PIN_OUTPUT, 0) /* (C22) MCU_OSPI1_CSn0 */
+                       J721E_WKUP_IOPAD(0x40, PIN_INPUT, 0) /* (D22) MCU_OSPI1_D0 */
+                       J721E_WKUP_IOPAD(0x44, PIN_INPUT, 0) /* (G22) MCU_OSPI1_D1 */
+                       J721E_WKUP_IOPAD(0x48, PIN_INPUT, 0) /* (D23) MCU_OSPI1_D2 */
+                       J721E_WKUP_IOPAD(0x4c, PIN_INPUT, 0) /* (C23) MCU_OSPI1_D3 */
+                       J721E_WKUP_IOPAD(0x3c, PIN_INPUT, 0) /* (B23) MCU_OSPI1_DQS */
+                       J721E_WKUP_IOPAD(0x38, PIN_INPUT, 0) /* (A23) MCU_OSPI1_LBCLKO */
+               >;
+       };
 };
 
 &main_pmx0 {