aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorPatrice Chotard <patrice.chotard@st.com>2016-08-10 17:37:30 +0200
committerTejun Heo <tj@kernel.org>2016-08-10 12:16:49 -0400
commitb55d2c847454d197a7cf5ce2e1c175b080012184 (patch)
treee5d2a061276c82b7c32586d02a836abc3fc35f95
parentahci: st: Add ports-implemented property in support (diff)
downloadwireguard-linux-b55d2c847454d197a7cf5ce2e1c175b080012184.tar.xz
wireguard-linux-b55d2c847454d197a7cf5ce2e1c175b080012184.zip
ARM: dts: STiH407-family: Add ports-implemented property in sata nodes
Despite ST AHCI version = 1.3, reading HOST_PORTS_IMPL returns 0. So force HOST_PORTS_IMPL to 1 by using ports-implemented DT property. Signed-off-by: Patrice Chotard <patrice.chotard@st.com> Signed-off-by: Tejun Heo <tj@kernel.org>
-rw-r--r--arch/arm/boot/dts/stih407-family.dtsi4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/stih407-family.dtsi b/arch/arm/boot/dts/stih407-family.dtsi
index d294e82447a2..36d40f0516a1 100644
--- a/arch/arm/boot/dts/stih407-family.dtsi
+++ b/arch/arm/boot/dts/stih407-family.dtsi
@@ -608,6 +608,8 @@
clock-names = "ahci_clk";
clocks = <&clk_s_c0_flexgen CLK_ICN_REG>;
+ ports-implemented = <0x1>;
+
status = "disabled";
};
@@ -631,6 +633,8 @@
clock-names = "ahci_clk";
clocks = <&clk_s_c0_flexgen CLK_ICN_REG>;
+ ports-implemented = <0x1>;
+
status = "disabled";
};