ARM: dts: npcm8xx: fix dts node error
authorJim Liu <jim.t90615@gmail.com>
Tue, 13 Jun 2023 07:45:55 +0000 (15:45 +0800)
committerTom Rini <trini@konsulko.com>
Fri, 14 Jul 2023 16:52:18 +0000 (12:52 -0400)
The SHA and OTP should under the ahb node

Signed-off-by: Jim Liu <JJLIU0@nuvoton.com>
arch/arm/dts/nuvoton-npcm8xx-u-boot.dtsi

index be2ad0c..e49e564 100644 (file)
                        status = "disable";
                };
 
+               aes: aes@f0858000 {
+                       compatible = "nuvoton,npcm845-aes";
+                       reg = <0x0 0xf0858000 0x0 0x1000>,
+                             <0x0 0xf0851000 0x0 0x1000>;
+                       status = "disabled";
+                       clocks = <&clk NPCM8XX_CLK_AHB>;
+                       clock-names = "clk_ahb";
+               };
+
+               sha:sha@f085a000 {
+                       compatible = "nuvoton,npcm845-sha";
+                       reg = <0x0 0xf085a000 0x0 0x1000>;
+                       status = "disabled";
+                       clocks = <&clk NPCM8XX_CLK_AHB>;
+                       clock-names = "clk_ahb";
+               };
+
                apb {
                        serial0: serial@0 {
                                compatible = "nuvoton,npcm845-uart";
                                status = "disabled";
                        };
 
-                       aes: aes@f0858000 {
-                               compatible = "nuvoton,npcm845-aes";
-                               reg = <0x0 0xf0858000 0x0 0x1000>,
-                               <0x0 0xf0851000 0x0 0x1000>;
-                               status = "disabled";
-                               clocks = <&clk NPCM8XX_CLK_AHB>;
-                               clock-names = "clk_ahb";
-                       };
-
-                       sha:sha@f085a000 {
-                               compatible = "nuvoton,npcm845-sha";
-                               reg = <0x0 0xf085a000 0x0 0x1000>;
-                               status = "disabled";
-                               clocks = <&clk NPCM8XX_CLK_AHB>;
-                               clock-names = "clk_ahb";
-                       };
                };
        };
        pinctrl: pinctrl@f0800000 {