]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ARM: dts: aspeed: zaius: update 12V brick I2C address
authorRobert Lippert <rlippert@google.com>
Tue, 16 Apr 2019 16:21:50 +0000 (09:21 -0700)
committerJoel Stanley <joel@jms.id.au>
Fri, 24 May 2019 04:25:16 +0000 (13:55 +0930)
The I2C address of the brick is different depending on the board SKU.

Update the values to instantiate addresses which work for most boards.

Signed-off-by: Robert Lippert <rlippert@google.com>
Signed-off-by: Patrick Venture <venture@google.com>
Signed-off-by: Joel Stanley <joel@jms.id.au>
arch/arm/boot/dts/aspeed-bmc-opp-zaius.dts

index 6e47531fec67d0534d6bf52b563bfa591f5f22d1..666925c7fba4d03f8f6e22815b4ef313ba2061c2 100644 (file)
@@ -328,10 +328,21 @@ vrm@41 {
         *   LM5066I PMBUS @10h
         */
 
-       /* 12V Quarter Brick DC/DC Converter Q54SJ12050 @61h */
-       power-brick@61 {
+       /*
+        * Brick will be one of these types/addresses.  Depending
+        * on the board SKU only one is actually present and will successfully
+        * instantiate while the others will fail the probe operation.
+        * These are the PVT (and presumably beyond) addresses:
+        *    12V Quarter Brick DC/DC Converter Q54SJ12050 @6Ah
+        *    12V Quarter Brick DC/DC Converter Q54SH12050 @30h
+        */
+       power-brick@6a {
+               compatible = "delta,dps800";
+               reg = <0x6a>;
+       };
+       power-brick@30 {
                compatible = "delta,dps800";
-               reg = <0x61>;
+               reg = <0x30>;
        };
 
        /* CPU0 VR ISL68137 0.7V, 0.96V PMBUS @64h */
@@ -342,7 +353,6 @@ power-brick@61 {
        /* Master selector PCA9541A @70h (other master: CPU0)
         *   LM5066I PMBUS @10h
         */
-       /* 12V SMPS Q54SH12050NNDH @61h */
 };
 
 &i2c8 {