ath79/mikrotik: use routerbootpart partitions
[oweals/openwrt.git] / target / linux / layerscape / patches-5.4 / 302-dts-0042-arm64-dts-fix-the-LS104x-QDS-mdio-mux-support.patch
1 From 3c6ae8f4d45701683e671ea34bdddd0bf3e37a4d Mon Sep 17 00:00:00 2001
2 From: Camelia Groza <camelia.groza@nxp.com>
3 Date: Wed, 13 Feb 2019 17:52:00 +0200
4 Subject: [PATCH] arm64: dts: fix the LS104x QDS mdio-mux support
5
6 Set the "simple-bus" compatible and the fpga ranges in order to
7 successfully probe the mdio-mux-emi1.
8
9 Signed-off-by: Camelia Groza <camelia.groza@nxp.com>
10 ---
11  arch/arm64/boot/dts/freescale/fsl-ls1043a-qds.dts | 3 ++-
12  arch/arm64/boot/dts/freescale/fsl-ls1046a-qds.dts | 3 ++-
13  2 files changed, 4 insertions(+), 2 deletions(-)
14
15 --- a/arch/arm64/boot/dts/freescale/fsl-ls1043a-qds.dts
16 +++ b/arch/arm64/boot/dts/freescale/fsl-ls1043a-qds.dts
17 @@ -78,10 +78,11 @@
18         };
19  
20         fpga: board-control@2,0 {
21 -               compatible = "fsl,ls1043aqds-fpga", "fsl,fpga-qixis";
22 +               compatible = "fsl,ls1043aqds-fpga", "fsl,fpga-qixis", "simple-bus";
23                 reg = <0x2 0x0 0x0000100>;
24                 #address-cells = <1>;
25                 #size-cells = <1>;
26 +               ranges = <0 2 0 0x100>;
27         };
28  };
29  
30 --- a/arch/arm64/boot/dts/freescale/fsl-ls1046a-qds.dts
31 +++ b/arch/arm64/boot/dts/freescale/fsl-ls1046a-qds.dts
32 @@ -167,8 +167,9 @@
33         };
34  
35         fpga: board-control@2,0 {
36 -               compatible = "fsl,ls1046aqds-fpga", "fsl,fpga-qixis";
37 +               compatible = "fsl,ls1046aqds-fpga", "fsl,fpga-qixis", "simple-bus";
38                 reg = <0x2 0x0 0x0000100>;
39 +               ranges = <0 2 0 0x100>;
40         };
41  };
42