ARM: dts: aspeed: Cleanup lpc-ctrl and snoop regs
authorAndrew Jeffery <andrew@aj.id.au>
Tue, 3 Dec 2019 12:04:11 +0000 (22:34 +1030)
committerJoel Stanley <joel@jms.id.au>
Tue, 17 Dec 2019 02:38:19 +0000 (13:38 +1100)
Fix the following warning:

    arch/arm/boot/dts/aspeed-g5.dtsi:409.27-414.8: Warning (unique_unit_address): /ahb/apb/lpc@1e789000/lpc-host@80/lpc-ctrl@0: duplicate unit-address (also used in node /ahb/apb/lpc@1e789000/lpc-host@80/lpc-snoop@0)

Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Reviewed-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: Joel Stanley <joel@jms.id.au>
arch/arm/boot/dts/aspeed-g4.dtsi
arch/arm/boot/dts/aspeed-g5.dtsi

index 46c0891aac5ab8241e92ae1f97afd32a6f06e74b..e1d4af06c2179587e5d38eec2eb17add6e34b842 100644 (file)
 
                                        lpc_ctrl: lpc-ctrl@0 {
                                                compatible = "aspeed,ast2400-lpc-ctrl";
-                                               reg = <0x0 0x80>;
+                                               reg = <0x0 0x10>;
                                                clocks = <&syscon ASPEED_CLK_GATE_LCLK>;
                                                status = "disabled";
                                        };
 
-                                       lpc_snoop: lpc-snoop@0 {
+                                       lpc_snoop: lpc-snoop@10 {
                                                compatible = "aspeed,ast2400-lpc-snoop";
-                                               reg = <0x0 0x80>;
+                                               reg = <0x10 0x8>;
                                                interrupts = <8>;
                                                status = "disabled";
                                        };
index 6d48d39a8daf2ea0ee30763cd3dbf8b6753e396b..5f0ed8d77d9c8c5cf60c125285fe51522b145809 100644 (file)
 
                                        lpc_ctrl: lpc-ctrl@0 {
                                                compatible = "aspeed,ast2500-lpc-ctrl";
-                                               reg = <0x0 0x80>;
+                                               reg = <0x0 0x10>;
                                                clocks = <&syscon ASPEED_CLK_GATE_LCLK>;
                                                status = "disabled";
                                        };
 
-                                       lpc_snoop: lpc-snoop@0 {
+                                       lpc_snoop: lpc-snoop@10 {
                                                compatible = "aspeed,ast2500-lpc-snoop";
-                                               reg = <0x0 0x80>;
+                                               reg = <0x10 0x8>;
                                                interrupts = <8>;
                                                status = "disabled";
                                        };