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

Message ID 20230506064255.34290-1-krzysztof.kozlowski@linaro.org
State New
Headers
Series ARM: dts: imx7ulp: add address/size-cells to OCOTP |

Commit Message

Krzysztof Kozlowski May 6, 2023, 6:42 a.m. UTC
  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(+)
  

Comments

Peng Fan May 6, 2023, 7:39 a.m. UTC | #1
> 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>
  
Shawn Guo May 15, 2023, 12:58 a.m. UTC | #2
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!
  

Patch

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>;
 		};
 	};
 };