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)
committerShawn Guo <shawnguo@kernel.org>
Thu, 16 Dec 2021 09:58:01 +0000 (17:58 +0800)
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>
arch/arm64/boot/dts/freescale/fsl-ls1028a-qds.dts

index 00d5b81..baa1cc9 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-mode = "rgmii-id";