1 From 4a7dcac3fd18b182f882b65161267612713f72dc Mon Sep 17 00:00:00 2001
2 From: Laurentiu Tudor <laurentiu.tudor@nxp.com>
3 Date: Tue, 11 Dec 2018 13:32:31 +0200
4 Subject: [PATCH] arm64: dts: ls104x: constrain sata dma address size
6 Limit the dma mask size for sata to 40 bits to match the actual address
7 size generated towards the interconnect. Re-use the already existing
8 auxiliary simple bus meant for usb but drop the usb reference from the
11 Signed-off-by: Laurentiu Tudor <laurentiu.tudor@nxp.com>
13 arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi | 18 +++++++++---------
14 arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi | 18 +++++++++---------
15 2 files changed, 18 insertions(+), 18 deletions(-)
17 --- a/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi
18 +++ b/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi
23 - usb_aux_bus: usb_aux_bus {
27 compatible = "simple-bus";
29 snps,incr-burst-type-adjustment = <1>, <4>, <8>, <16>;
34 - sata: sata@3200000 {
35 - compatible = "fsl,ls1043a-ahci";
36 - reg = <0x0 0x3200000 0x0 0x10000>,
37 - <0x0 0x20140520 0x0 0x4>;
38 - reg-names = "ahci", "sata-ecc";
39 - interrupts = <0 69 0x4>;
40 - clocks = <&clockgen 4 0>;
41 + sata: sata@3200000 {
42 + compatible = "fsl,ls1043a-ahci";
43 + reg = <0x0 0x3200000 0x0 0x10000>,
44 + <0x0 0x20140520 0x0 0x4>;
45 + reg-names = "ahci", "sata-ecc";
46 + interrupts = <0 69 0x4>;
47 + clocks = <&clockgen 4 0>;
51 msi1: msi-controller1@1571000 {
52 --- a/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi
53 +++ b/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi
58 - usb_aux_bus: usb_aux_bus {
62 compatible = "simple-bus";
65 snps,dis-u1u2-when-u3-quirk;
69 - sata: sata@3200000 {
70 - compatible = "fsl,ls1046a-ahci";
71 - reg = <0x0 0x3200000 0x0 0x10000>,
72 - <0x0 0x20140520 0x0 0x4>;
73 - reg-names = "ahci", "sata-ecc";
74 - interrupts = <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>;
75 - clocks = <&clockgen 4 1>;
76 + sata: sata@3200000 {
77 + compatible = "fsl,ls1046a-ahci";
78 + reg = <0x0 0x3200000 0x0 0x10000>,
79 + <0x0 0x20140520 0x0 0x4>;
80 + reg-names = "ahci", "sata-ecc";
81 + interrupts = <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>;
82 + clocks = <&clockgen 4 1>;
86 msi1: msi-controller@1580000 {