]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm64: zynqmp: Align mini-qspi DT with dt-schema
authorMichal Simek <michal.simek@amd.com>
Fri, 13 Sep 2024 09:28:48 +0000 (11:28 +0200)
committerMichal Simek <michal.simek@amd.com>
Fri, 20 Sep 2024 13:31:41 +0000 (15:31 +0200)
fixed-clock can't be described on the bus because it is missing reg
property. Also remove additional compatible string for flash. Mini qspi
configuration is used with multiple different flashes that's why describing
only one is not correct but also not required based on DT schema.

Signed-off-by: Michal Simek <michal.simek@amd.com>
Link: https://lore.kernel.org/r/0e4721eda8d0f23a9d9f0c15cf887f0bba639cd4.1726219714.git.michal.simek@amd.com
arch/arm/dts/zynqmp-mini-qspi.dts

index a02a3d68dd52976bb60651f5ce4a48a3defa3dec..917603dec61d1d2114467c6c8f14bb7626e7c715 100644 (file)
                bootph-all;
        };
 
+       misc_clk: misc-clk {
+               compatible = "fixed-clock";
+               #clock-cells = <0>;
+               clock-frequency = <125000000>;
+       };
+
        amba: axi {
                compatible = "simple-bus";
                #address-cells = <2>;
                        #address-cells = <1>;
                        #size-cells = <0>;
                };
-
-               misc_clk: misc-clk {
-                       compatible = "fixed-clock";
-                       #clock-cells = <0>;
-                       clock-frequency = <125000000>;
-               };
        };
 };
 
 &qspi {
        status = "okay";
        flash0: flash@0 {
-               compatible = "n25q512a11", "jedec,spi-nor";
+               compatible = "jedec,spi-nor";
                #address-cells = <1>;
                #size-cells = <1>;
                reg = <0x0>;