summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYe Li <ye.li@nxp.com>2019-07-22 20:52:12 -0700
committerYe Li <ye.li@nxp.com>2020-04-26 23:36:21 -0700
commitf88aa30c717e3a6f22c6f0d440c9fc770dd773c0 (patch)
treebddcbed009cb189f01a9549e5242a92194d330af
parent8004ff58bb3b7b8884ded2e81aebe3a84c2b4533 (diff)
MLK-22293-11 DTS: imx6q/qp: Add gpr property to sata node
Because u-boot does not support syscon_regmap_lookup_by_compatible, we have to add a gpr phandle property to point to iomuxc gpr node. and uses syscon_regmap_lookup_by_phandle to get gpr node in driver. This is common implementation in other nodes and better than by_compatible interface. Signed-off-by: Ye Li <ye.li@nxp.com> (cherry picked from commit 06f38476808e87ca258511567cf0cf4c9b973519)
-rw-r--r--arch/arm/dts/imx6q.dtsi1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/dts/imx6q.dtsi b/arch/arm/dts/imx6q.dtsi
index 08011fff6b6..18f00924605 100644
--- a/arch/arm/dts/imx6q.dtsi
+++ b/arch/arm/dts/imx6q.dtsi
@@ -182,6 +182,7 @@
<&clks IMX6QDL_CLK_SATA_REF_100M>,
<&clks IMX6QDL_CLK_AHB>;
clock-names = "sata", "sata_ref", "ahb";
+ gpr = <&gpr>;
status = "disabled";
};