arm64: zynqmp: Update tps53681 i2c address
authorMichal Simek <michal.simek@xilinx.com>
Wed, 15 Jun 2022 09:56:55 +0000 (11:56 +0200)
committerMichal Simek <michal.simek@amd.com>
Fri, 24 Jun 2022 12:14:33 +0000 (14:14 +0200)
TI manual (https://www.ti.com/lit/gpn/TPS53681) is saying that i2c address
is 7bit where c0h is 1100000 which is 0x60.

This will fix issues reported by make dtbs that 0xc0 is above 7bit regular
i2c address range.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@amd.com>
Link: https://lore.kernel.org/r/2f50c1cd258f6b05deb2a6a9af7fa92952f3f8cb.1655287013.git.michal.simek@amd.com
arch/arm/dts/zynqmp-g-a2197-00-revA.dts
arch/arm/dts/zynqmp-m-a2197-01-revA.dts
arch/arm/dts/zynqmp-m-a2197-02-revA.dts
arch/arm/dts/zynqmp-m-a2197-03-revA.dts

index ee530ba..e004283 100644 (file)
                                reg = <0x45>;
                                shunt-resistor = <5000>;
                        };
-                       tps53681@c0 { /* u53 - FIXME name - don't know what it does - also vcc_io_soc */
+                       tps53681@60 { /* u53 - 0xc0 - FIXME name - don't know what it does - also vcc_io_soc */
                                compatible = "ti,tps53681", "ti,tps53679";
-                               reg = <0xc0>;
+                               reg = <0x60>;
                        };
                };
                i2c@3 { /* fmc1 via JA2G */
index 7b3722f..1fa023f 100644 (file)
                        #address-cells = <1>;
                        #size-cells = <0>;
                        reg = <2>;
-                       reg_vccint: tps53681@c0 { /* u69 */
+                       reg_vccint: tps53681@60 { /* u69 - 0xc0 */
                                compatible = "ti,tps53681", "ti,tps53679";
-                               reg = <0xc0>;
+                               reg = <0x60>;
                        };
                        reg_vcc_pmc: tps544@7 { /* u80 */
                                compatible = "ti,tps544b25";
index 11b2a58..8579055 100644 (file)
                        #address-cells = <1>;
                        #size-cells = <0>;
                        reg = <2>;
-                       reg_vccint: tps53681@c0 { /* u69 */
+                       reg_vccint: tps53681@60 { /* u69 - 0xc0 */
                                compatible = "ti,tps53681", "ti,tps53679";
-                               reg = <0xc0>;
+                               reg = <0x60>;
                        };
                        reg_vcc_pmc: tps544@7 { /* u80 */
                                compatible = "ti,tps544b25";
index db199c4..21ef1a5 100644 (file)
                        #address-cells = <1>;
                        #size-cells = <0>;
                        reg = <2>;
-                       reg_vccint: tps53681@c0 { /* u69 */
+                       reg_vccint: tps53681@60 { /* u69 - 0xc0 */
                                compatible = "ti,tps53681", "ti,tps53679";
-                               reg = <0xc0>;
+                               reg = <0x60>;
                        };
                        reg_vcc_pmc: tps544@7 { /* u80 */
                                compatible = "ti,tps544b25";