]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
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 ee530ba3e1476091d20e00ae8dac5f1b8559e667..e00428351cbfdf8011b9271c2d981621ab170ba7 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 7b3722f0808b21caa94a87394e7eeb90b2fe5051..1fa023ffb13cbc0b32161342eac1381b533fd4b0 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 11b2a58a0f060d56d18d2528c17957182a068aa4..85790551d0b50eb6d8b2f7a31331d8bc311ba1ed 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 db199c467b0d5f27407e397f711cb2da9d91cb8a..21ef1a5e82b0fb0bc2675d1eadee8f6968bee8c9 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";