[PATCH] ARM: dts: imx7ulp: add address/size-cells to OCOTP

Krzysztof Kozlowski posted 1 patch 2 years, 9 months ago
arch/arm/boot/dts/imx7ulp.dtsi | 2 ++
1 file changed, 2 insertions(+)
[PATCH] ARM: dts: imx7ulp: add address/size-cells to OCOTP
Posted by Krzysztof Kozlowski 2 years, 9 months ago
The OCOTP node should have address/size-cells so the cells can have unit
address:

  imx7ulp-evk.dtb: efuse@410a6000: '#address-cells' is a required property
  imx7ulp-evk.dtb: efuse@410a6000: '#size-cells' is a required property

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

---

Cc: Peng Fan <peng.fan@nxp.com>
---
 arch/arm/boot/dts/imx7ulp.dtsi | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm/boot/dts/imx7ulp.dtsi b/arch/arm/boot/dts/imx7ulp.dtsi
index f91bf719d4e2..b01ddda7bd9e 100644
--- a/arch/arm/boot/dts/imx7ulp.dtsi
+++ b/arch/arm/boot/dts/imx7ulp.dtsi
@@ -459,6 +459,8 @@ ocotp: efuse@410a6000 {
 			compatible = "fsl,imx7ulp-ocotp", "syscon";
 			reg = <0x410a6000 0x4000>;
 			clocks = <&scg1 IMX7ULP_CLK_DUMMY>;
+			#address-cells = <1>;
+			#size-cells = <1>;
 		};
 	};
 };
-- 
2.34.1
Re: [PATCH] ARM: dts: imx7ulp: add address/size-cells to OCOTP
Posted by Shawn Guo 2 years, 9 months ago
On Sat, May 06, 2023 at 08:42:55AM +0200, Krzysztof Kozlowski wrote:
> The OCOTP node should have address/size-cells so the cells can have unit
> address:
> 
>   imx7ulp-evk.dtb: efuse@410a6000: '#address-cells' is a required property
>   imx7ulp-evk.dtb: efuse@410a6000: '#size-cells' is a required property
> 
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

Applied, thanks!
RE: [PATCH] ARM: dts: imx7ulp: add address/size-cells to OCOTP
Posted by Peng Fan 2 years, 9 months ago
> Subject: [PATCH] ARM: dts: imx7ulp: add address/size-cells to OCOTP
> 
> The OCOTP node should have address/size-cells so the cells can have unit
> address:
> 
>   imx7ulp-evk.dtb: efuse@410a6000: '#address-cells' is a required property
>   imx7ulp-evk.dtb: efuse@410a6000: '#size-cells' is a required property
> 
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

Reviewed-by: Peng Fan <peng.fan@nxp.com>