Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
arm64: versal: Add resets property in ospi DT node
Add "resets" property to reset the ospi controller using reset driver
for versal platform.

Add "reset-names" property to the ospi controller node as Linux ospi
driver will use reset-names to read the reset specifiers.

Signed-off-by: T Karthik Reddy <t.karthik.reddy@amd.com>
Signed-off-by: Sai Krishna Potthuri <sai.krishna.potthuri@amd.com>
Signed-off-by: Michal Simek <michal.simek@amd.com>
  • Loading branch information
T Karthik Reddy authored and michalsimek committed Aug 9, 2022
1 parent b2531f9 commit c67f35d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
Expand Up @@ -30,6 +30,8 @@
#address-cells = <1>;
#size-cells = <0>;
reset-gpios = <&gpio1 0xc GPIO_ACTIVE_HIGH>;
reset-names = "qspi";
resets = <&versal_reset VERSAL_RST_OSPI>;

flash@0 {
compatible = "mt35xu02g", "micron,m25p80", "jedec,spi-nor";
Expand Down
3 changes: 3 additions & 0 deletions arch/arm64/boot/dts/xilinx/versal-x-ebm-03-revA.dtsi
Expand Up @@ -8,6 +8,7 @@
*/

#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/reset/xlnx-versal-resets.h>

/* U97 MT35XU02G */
status = "okay";
Expand All @@ -17,6 +18,8 @@ num-cs = <1>;
#address-cells = <1>;
#size-cells = <0>;
reset-gpios = <&gpio1 0xc GPIO_ACTIVE_HIGH>;
reset-names = "qspi";
resets = <&versal_reset VERSAL_RST_OSPI>;

flash@0 {
compatible = "mt35xu02g", "micron,m25p80", "jedec,spi-nor";
Expand Down

0 comments on commit c67f35d

Please sign in to comment.