]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
ARM: dts: socfgpa: set bridges status to disabled
authorSteffen Trumtrar <s.trumtrar@pengutronix.de>
Thu, 26 Mar 2020 09:53:56 +0000 (10:53 +0100)
committerDinh Nguyen <dinguyen@kernel.org>
Mon, 4 May 2020 20:14:39 +0000 (15:14 -0500)
The hps-to-fpga bridges can't be used, when the FPGA is not programmed.
Set the default state to disabled and leave enabling them to the board-specific
dts files.
Although this changes behavior, there are no in-tree users of the bridges, so
this won't break anything.

Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de>
Signed-off-by: Dinh Nguyen <dinguyen@kernel.org>
arch/arm/boot/dts/socfpga.dtsi

index 4f3993cc022796c4a3946af0e1aabd984f3937d7..7f0480354ee6045fb99b4cbdcb14293edee9753b 100644 (file)
                        reg = <0xff400000 0x100000>;
                        resets = <&rst LWHPS2FPGA_RESET>;
                        clocks = <&l4_main_clk>;
+                       status = "disabled";
                };
 
                fpga_bridge1: fpga_bridge@ff500000 {
                        reg = <0xff500000 0x10000>;
                        resets = <&rst HPS2FPGA_RESET>;
                        clocks = <&l4_main_clk>;
+                       status = "disabled";
                };
 
                fpgamgr0: fpgamgr@ff706000 {