summaryrefslogtreecommitdiff
path: root/arch/arm/dts/fsl-imx8dx.dtsi
diff options
context:
space:
mode:
authorLeonard Crestez <leonard.crestez@nxp.com>2019-02-27 21:51:26 +0200
committerYe Li <ye.li@nxp.com>2020-04-26 23:24:13 -0700
commit545d9288b79b8e609b777728c8a46d0f72694c48 (patch)
tree6fdb5be9fb70d8434bff3fe76e768b3a294452d2 /arch/arm/dts/fsl-imx8dx.dtsi
parent6fc09fa61ac0c198931bd88184717e304903e1e2 (diff)
MLK-20958-2 imx8: Replace SC_R_LAST with SC_R_NONE in DTB
We are currently using SC_R_LAST as a marker for imx8 power domain tree nodes without a resource attached. This value is compiled into dtb as part of the linux build and used by uboot. The SC_R_LAST constant changes frequently as SCFW resources are added (by design) and every time we need to update linux and uboot headers together or boot can fail. Fix this by replacing SC_R_LAST usage with a new constant SC_R_NONE defined to be 0xFFF0. Signed-off-by: Leonard Crestez <leonard.crestez@nxp.com> Reviewed-by: Peng Fan <peng.fan@nxp.com> (cherry picked from commit 93f302a6642adedfdd6336b22d08f32284539e35) (cherry picked from commit be563f60e44757afe4ef2b89d2f043b6aa2a1573)
Diffstat (limited to 'arch/arm/dts/fsl-imx8dx.dtsi')
-rw-r--r--arch/arm/dts/fsl-imx8dx.dtsi16
1 files changed, 8 insertions, 8 deletions
diff --git a/arch/arm/dts/fsl-imx8dx.dtsi b/arch/arm/dts/fsl-imx8dx.dtsi
index 6958a0e16f..a8571a12b5 100644
--- a/arch/arm/dts/fsl-imx8dx.dtsi
+++ b/arch/arm/dts/fsl-imx8dx.dtsi
@@ -243,7 +243,7 @@
pd_lsio: PD_LSIO {
compatible = "nxp,imx8-pd";
- reg = <SC_R_LAST>;
+ reg = <SC_R_NONE>;
#power-domain-cells = <0>;
#address-cells = <1>;
#size-cells = <0>;
@@ -382,7 +382,7 @@
pd_conn: PD_CONN {
compatible = "nxp,imx8-pd";
- reg = <SC_R_LAST>;
+ reg = <SC_R_NONE>;
#power-domain-cells = <0>;
#address-cells = <1>;
#size-cells = <0>;
@@ -490,7 +490,7 @@
pd_audio: PD_AUDIO {
compatible = "nxp,imx8-pd";
- reg = <SC_R_LAST>;
+ reg = <SC_R_NONE>;
#power-domain-cells = <0>;
#address-cells = <1>;
#size-cells = <0>;
@@ -863,7 +863,7 @@
pd_dma: PD_DMA {
compatible = "nxp,imx8-pd";
- reg = <SC_R_LAST>;
+ reg = <SC_R_NONE>;
#power-domain-cells = <0>;
#address-cells = <1>;
#size-cells = <0>;
@@ -1046,7 +1046,7 @@
pd_gpu: gpu-power-domain {
compatible = "nxp,imx8-pd";
- reg = <SC_R_LAST>;
+ reg = <SC_R_NONE>;
#power-domain-cells = <0>;
#address-cells = <1>;
#size-cells = <0>;
@@ -1099,7 +1099,7 @@
pd_hsio: hsio-power-domain {
compatible = "nxp,imx8-pd";
- reg = <SC_R_LAST>;
+ reg = <SC_R_NONE>;
#power-domain-cells = <0>;
#address-cells = <1>;
#size-cells = <0>;
@@ -1129,7 +1129,7 @@
pd_cm40: PD_CM40 {
compatible = "nxp,imx8-pd";
- reg = <SC_R_LAST>;
+ reg = <SC_R_NONE>;
#power-domain-cells = <0>;
#address-cells = <1>;
#size-cells = <0>;
@@ -1386,7 +1386,7 @@
};
pd_caam: PD_CAAM {
compatible = "nxp,imx8-pd";
- reg = <SC_R_LAST>;
+ reg = <SC_R_NONE>;
#power-domain-cells = <0>;
#address-cells = <1>;
#size-cells = <0>;