arm64: tegra: Fix unit-addresses on Norrin
authorThierry Reding <treding@nvidia.com>
Tue, 7 Dec 2021 13:10:00 +0000 (14:10 +0100)
committerThierry Reding <treding@nvidia.com>
Thu, 16 Dec 2021 15:51:01 +0000 (16:51 +0100)
The AS3722 pinmux device tree node doesn't have a "reg" property and
therefore must not have a unit-address, so drop it.

While at it, add missing unit-addresses for the charger and smart
battery IC's on the ChromeOS embedded controller's I2C tunnel bus.

Signed-off-by: Thierry Reding <treding@nvidia.com>
arch/arm64/boot/dts/nvidia/tegra132-norrin.dts

index c84ed1cb9a8c48d0828ee8f3499c1ad1ecda74fd..f9604968c01f04232d5394fbbcec9c335923965c 100644 (file)
                        pinctrl-names = "default";
                        pinctrl-0 = <&as3722_default>;
 
-                       as3722_default: pinmux@0 {
+                       as3722_default: pinmux {
                                gpio0 {
                                        pins = "gpio0";
                                        function = "gpio";
 
                                google,remote-bus = <0>;
 
-                               charger: bq24735 {
+                               charger: bq24735@9 {
                                        compatible = "ti,bq24735";
                                        reg = <0x9>;
                                        interrupt-parent = <&gpio>;
                                                        GPIO_ACTIVE_HIGH>;
                                };
 
-                               battery: smart-battery {
+                               battery: smart-battery@b {
                                        compatible = "sbs,sbs-battery";
                                        reg = <0xb>;
                                        sbs,i2c-retry-count = <2>;