]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm64: zynqmp: Wire spi-flash compatible string with flashes
authorMichal Simek <michal.simek@xilinx.com>
Thu, 26 Jul 2018 10:43:42 +0000 (12:43 +0200)
committerMichal Simek <michal.simek@xilinx.com>
Thu, 29 Nov 2018 09:30:02 +0000 (10:30 +0100)
Enable reading tx and rx buswidth from DT via spi-uclass.
To get these from uclass spi-flash compatible string has to be added
to flash node.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
arch/arm/dts/zynqmp-zc1232-revA.dts
arch/arm/dts/zynqmp-zc1254-revA.dts
arch/arm/dts/zynqmp-zc1275-revA.dts
arch/arm/dts/zynqmp-zc1275-revB.dts
arch/arm/dts/zynqmp-zc1751-xm015-dc1.dts
arch/arm/dts/zynqmp-zcu104-revA.dts
arch/arm/dts/zynqmp-zcu104-revC.dts
arch/arm/dts/zynqmp-zcu106-revA.dts
arch/arm/dts/zynqmp-zcu111-revA.dts

index ea1ca561a163df501bfa86179c2740779009859d..5c212ba468e6ba3141d22e244d60c1255d24c9fb 100644 (file)
@@ -41,7 +41,7 @@
 &qspi {
        status = "okay";
        flash@0 {
-               compatible = "m25p80"; /* 32MB FIXME */
+               compatible = "m25p80", "spi-flash"; /* 32MB FIXME */
                #address-cells = <1>;
                #size-cells = <1>;
                reg = <0x0>;
index 2493883e6f3dbea80fef84fdbc5852a1ad8a8596..881aacc582536b281d6bdff4c0fc41053ce1b6ae 100644 (file)
@@ -41,7 +41,7 @@
 &qspi {
        status = "okay";
        flash@0 {
-               compatible = "m25p80"; /* 32MB */
+               compatible = "m25p80", "spi-flash"; /* 32MB */
                #address-cells = <1>;
                #size-cells = <1>;
                reg = <0x0>;
index 2543a674ca735b0cb8b80180fa3f0c0d01714ea3..7403f153e44729bfcb0462b1b3236a4e7fef0889 100644 (file)
@@ -41,7 +41,7 @@
 &qspi {
        status = "okay";
        flash@0 {
-               compatible = "m25p80"; /* 32MB */
+               compatible = "m25p80", "spi-flash"; /* 32MB */
                #address-cells = <1>;
                #size-cells = <1>;
                reg = <0x0>;
index f694faeeb5c2c2c404005b0f1c56d6b21b9e2aa8..e84b2da164cc501520dcbd9fbe1ee2f978d11d8b 100644 (file)
@@ -42,7 +42,7 @@
 &qspi {
        status = "okay";
        flash@0 {
-               compatible = "m25p80"; /* 32MB */
+               compatible = "m25p80", "spi-flash"; /* 32MB */
                #address-cells = <1>;
                #size-cells = <1>;
                reg = <0x0>;
index c794c91de18608e472033f6de246901b5f5d4d2c..9768dfe0446c45d68bd12db6ef1fff7e1ca6a4d0 100644 (file)
 &qspi {
        status = "okay";
        flash@0 {
-               compatible = "m25p80"; /* Micron MT25QU512ABB8ESF */
+               compatible = "m25p80", "spi-flash"; /* Micron MT25QU512ABB8ESF */
                #address-cells = <1>;
                #size-cells = <1>;
                reg = <0x0>;
index 6a4b701ab812cb2d20b4d636942a7c15b0fd4170..431dff52fe6434f9cd705639f8afa7846a2f982e 100644 (file)
 &qspi {
        status = "okay";
        flash@0 {
-               compatible = "m25p80"; /* n25q512a 128MiB */
+               compatible = "m25p80", "spi-flash"; /* n25q512a 128MiB */
                #address-cells = <1>;
                #size-cells = <1>;
                reg = <0x0>;
index fe742b894b8993cd58ea759737a122d572ae6f0f..becc6a0fe1ef2c843271efe9ea2949d024059216 100644 (file)
 &qspi {
        status = "okay";
        flash@0 {
-               compatible = "m25p80"; /* n25q512a 128MiB */
+               compatible = "m25p80", "spi-flash"; /* n25q512a 128MiB */
                #address-cells = <1>;
                #size-cells = <1>;
                reg = <0x0>;
index a30268b7b11cb22b68eb0fdf38b9e6b1df3542d0..6d2e76efe25c52f169e4daad5e26281fffbdd357 100644 (file)
        status = "okay";
        is-dual = <1>;
        flash@0 {
-               compatible = "m25p80"; /* 32MB */
+               compatible = "m25p80", "spi-flash"; /* 32MB */
                #address-cells = <1>;
                #size-cells = <1>;
                reg = <0x0>;
index 6c1a0f7a3b31e0f18d1884ee724f5a7631445d49..346e63107d377261686392f7d321b293ffe028cd 100644 (file)
        status = "okay";
        is-dual = <1>;
        flash@0 {
-               compatible = "m25p80"; /* 32MB */
+               compatible = "m25p80", "spi-flash"; /* 32MB */
                #address-cells = <1>;
                #size-cells = <1>;
                reg = <0x0>;