From 4a276d32977503467127d97986eb0b1d3093b586 Mon Sep 17 00:00:00 2001 From: Michal Simek Date: Fri, 13 Sep 2024 11:28:48 +0200 Subject: [PATCH] arm64: zynqmp: Align mini-qspi DT with dt-schema 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 Link: https://lore.kernel.org/r/0e4721eda8d0f23a9d9f0c15cf887f0bba639cd4.1726219714.git.michal.simek@amd.com --- arch/arm/dts/zynqmp-mini-qspi.dts | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/arch/arm/dts/zynqmp-mini-qspi.dts b/arch/arm/dts/zynqmp-mini-qspi.dts index a02a3d68dd..917603dec6 100644 --- a/arch/arm/dts/zynqmp-mini-qspi.dts +++ b/arch/arm/dts/zynqmp-mini-qspi.dts @@ -36,6 +36,12 @@ bootph-all; }; + misc_clk: misc-clk { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <125000000>; + }; + amba: axi { compatible = "simple-bus"; #address-cells = <2>; @@ -52,19 +58,13 @@ #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>; -- 2.39.5