ath79/mikrotik: use routerbootpart partitions
[oweals/openwrt.git] / target / linux / layerscape / patches-5.4 / 302-dts-0083-arm64-ls1028a-qds-correct-bus-of-rtc.patch
1 From d4c7270a63b1d78b89d91f74d782cce2a2bd9690 Mon Sep 17 00:00:00 2001
2 From: Biwen Li <biwen.li@nxp.com>
3 Date: Wed, 4 Sep 2019 11:39:30 +0800
4 Subject: [PATCH] arm64: ls1028a-qds: correct bus of rtc
5
6 The rtc is on i2c2 bus(hardware), not on i2c1 channel 3,
7 so correct it
8
9 Signed-off-by: Biwen Li <biwen.li@nxp.com>
10 ---
11  arch/arm64/boot/dts/freescale/fsl-ls1028a-qds.dts | 13 ++++++++-----
12  1 file changed, 8 insertions(+), 5 deletions(-)
13
14 --- a/arch/arm64/boot/dts/freescale/fsl-ls1028a-qds.dts
15 +++ b/arch/arm64/boot/dts/freescale/fsl-ls1028a-qds.dts
16 @@ -169,11 +169,6 @@
17                                 vcc-supply = <&sb_3v3>;
18                         };
19  
20 -                       rtc@51 {
21 -                               compatible = "nxp,pcf2129";
22 -                               reg = <0x51>;
23 -                       };
24 -
25                         eeprom@56 {
26                                 compatible = "atmel,24c512";
27                                 reg = <0x56>;
28 @@ -217,6 +212,14 @@
29  
30  };
31  
32 +&i2c1 {
33 +       status = "okay";
34 +       rtc@51 {
35 +               compatible = "nxp,pcf2129";
36 +               reg = <0x51>;
37 +       };
38 +};
39 +
40  &enetc_port1 {
41         phy-handle = <&qds_phy1>;
42         phy-connection-type = "rgmii-id";