ARM: dts: STiH407-family: Add ports-implemented property in sata nodes
authorPatrice Chotard <patrice.chotard@st.com>
Wed, 10 Aug 2016 15:37:30 +0000 (17:37 +0200)
committerTejun Heo <tj@kernel.org>
Wed, 10 Aug 2016 16:16:49 +0000 (12:16 -0400)
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>
arch/arm/boot/dts/stih407-family.dtsi

index d294e82447a292bb24e0989191494693f7ee0ac3..36d40f0516a150fdd433a1c73c9a98106bf5e32c 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";
                };