ARM: dts: STiH407-family: Add ports-implemented property in sata nodes
authorPatrice Chotard <patrice.chotard@st.com>
Mon, 15 Aug 2016 12:17:00 +0000 (14:17 +0200)
committerPatrice Chotard <patrice.chotard@st.com>
Fri, 2 Sep 2016 13:15:01 +0000 (15:15 +0200)
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: Lee Jones <lee.jones@linaro.org>
Reviewed-by: Peter Griffin <peter.griffin@linaro.org>
arch/arm/boot/dts/stih407-family.dtsi

index 59fea05b1e8a0d22af540c903015f76db6559ef6..55ecfbea905d2fb53b41a939f79b2daae4f7d26f 100644 (file)
                        clock-names = "ahci_clk";
                        clocks = <&clk_s_c0_flexgen CLK_ICN_REG>;
 
+                       ports-implemented = <0x1>;
+
                        status = "disabled";
                };
 
                        clock-names = "ahci_clk";
                        clocks = <&clk_s_c0_flexgen CLK_ICN_REG>;
 
+                       ports-implemented = <0x1>;
+
                        status = "disabled";
                };