arm64: dts: ls1028a-qds: move rtc node to the correct i2c bus
authorBiwen Li <biwen.li@nxp.com>
Tue, 14 Dec 2021 09:32:38 +0000 (03:32 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 27 Jan 2022 10:04:43 +0000 (11:04 +0100)
[ Upstream commit cbe9d948eadfe352ad45495a7cc5bf20a1b29d90 ]

The i2c rtc is on i2c2 bus not i2c1 bus, so fix it in dts.

Signed-off-by: Biwen Li <biwen.li@nxp.com>
Signed-off-by: Li Yang <leoyang.lil@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm64/boot/dts/freescale/fsl-ls1028a-qds.dts

index bfd14b6..2f92e62 100644 (file)
                                vcc-supply = <&sb_3v3>;
                        };
 
-                       rtc@51 {
-                               compatible = "nxp,pcf2129";
-                               reg = <0x51>;
-                       };
-
                        eeprom@56 {
                                compatible = "atmel,24c512";
                                reg = <0x56>;
 
 };
 
+&i2c1 {
+       status = "okay";
+
+       rtc@51 {
+               compatible = "nxp,pcf2129";
+               reg = <0x51>;
+       };
+};
+
 &enetc_port1 {
        phy-handle = <&qds_phy1>;
        phy-connection-type = "rgmii-id";