diff mbox series

ARM: dts: imx27-phytec-phycore-som: Use 'rtc' as node name

Message ID 20231215121845.177096-1-festevam@gmail.com (mailing list archive)
State New, archived
Headers show
Series ARM: dts: imx27-phytec-phycore-som: Use 'rtc' as node name | expand

Commit Message

Fabio Estevam Dec. 15, 2023, 12:18 p.m. UTC
From: Fabio Estevam <festevam@denx.de>

Node names should be generic.

Use 'rtc' for the rtc node to fix the following dt-schema warning:

imx27-phytec-phycore-rdk.dtb: pcf8563@51: $nodename:0: 'pcf8563@51' does not match '^rtc(@.*|-([0-9]|[1-9][0-9]+))?$'
	from schema $id: http://devicetree.org/schemas/rtc/nxp,pcf8563.yaml#

Signed-off-by: Fabio Estevam <festevam@denx.de>
---
 arch/arm/boot/dts/nxp/imx/imx27-phytec-phycore-som.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Shawn Guo Dec. 16, 2023, 1:47 a.m. UTC | #1
On Fri, Dec 15, 2023 at 09:18:45AM -0300, Fabio Estevam wrote:
> From: Fabio Estevam <festevam@denx.de>
> 
> Node names should be generic.
> 
> Use 'rtc' for the rtc node to fix the following dt-schema warning:
> 
> imx27-phytec-phycore-rdk.dtb: pcf8563@51: $nodename:0: 'pcf8563@51' does not match '^rtc(@.*|-([0-9]|[1-9][0-9]+))?$'
> 	from schema $id: http://devicetree.org/schemas/rtc/nxp,pcf8563.yaml#
> 
> Signed-off-by: Fabio Estevam <festevam@denx.de>

Applied, thanks!
diff mbox series

Patch

diff --git a/arch/arm/boot/dts/nxp/imx/imx27-phytec-phycore-som.dtsi b/arch/arm/boot/dts/nxp/imx/imx27-phytec-phycore-som.dtsi
index 0e527d1f9e55..e958d7286ae9 100644
--- a/arch/arm/boot/dts/nxp/imx/imx27-phytec-phycore-som.dtsi
+++ b/arch/arm/boot/dts/nxp/imx/imx27-phytec-phycore-som.dtsi
@@ -180,7 +180,7 @@  eeprom@52 {
 		reg = <0x52>;
 	};
 
-	pcf8563@51 {
+	rtc@51 {
 		compatible = "nxp,pcf8563";
 		reg = <0x51>;
 	};