]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm64: zynqmp: Fix i2c addresses for vck190 SC
authorMichal Simek <michal.simek@xilinx.com>
Wed, 15 Jun 2022 09:56:54 +0000 (11:56 +0200)
committerMichal Simek <michal.simek@amd.com>
Fri, 24 Jun 2022 12:14:33 +0000 (14:14 +0200)
si570 is normally at 0x5d address and address is not aligned with address
in node.
8T49N240 can't be at 0xd8 that's why it is shifter by one bit.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@amd.com>
Link: https://lore.kernel.org/r/4fa86fffa9cb8abe633fbc5a9c55bea249b5edfb.1655287013.git.michal.simek@amd.com
arch/arm/dts/zynqmp-e-a2197-00-revA.dts

index 726183782305b9569b627af35d5e94ba3652242c..37c56181c9cb5702cc1578b1d731ba0b411afe92 100644 (file)
                        #address-cells = <1>;
                        #size-cells = <0>;
                        reg = <2>;
-                       clock_8t49n287: clock-generator@d8 { /* u39 8T49N240 */
+                       clock_8t49n287: clock-generator@6c { /* u39 8T49N240 */
                                #clock-cells = <1>; /* author David Cater <david.cater@idt.com>*/
                                compatible = "idt,8t49n240", "idt,8t49n241"; /* FIXME no driver for 240 */
-                               reg = <0xd8>;
+                               reg = <0x6c>;
                                /* Documentation/devicetree/bindings/clock/idt,idt8t49n24x.txt */
                                /* FIXME there input via J241 Samtec CLK1 and CLK0 from U38 - selection PIN */
                        };
                        si570_user1: clock-generator@5d { /* u205 */
                                #clock-cells = <0>;
                                compatible = "silabs,si570";
-                               reg = <0x5f>;
+                               reg = <0x5d>;
                                temperature-stability = <50>;
                                factory-fout = <100000000>;
                                clock-frequency = <100000000>;