ARM: dts: aspeed: rainier: Add IBM Operation Panel I2C device
authorEddie James <eajames@linux.ibm.com>
Tue, 8 Sep 2020 20:01:01 +0000 (15:01 -0500)
committerJoel Stanley <joel@jms.id.au>
Wed, 9 Sep 2020 06:59:33 +0000 (16:29 +0930)
Set I2C bus 7 to multi-master mode and add the panel device that will
register as a slave.

Signed-off-by: Eddie James <eajames@linux.ibm.com>
Reviewed-by: Joel Stanley <joel@jms.id.au>
Link: https://lore.kernel.org/r/20200908200101.64974-6-eajames@linux.ibm.com
Signed-off-by: Joel Stanley <joel@jms.id.au>
arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts

index d64ff64..1fa233d 100644 (file)
@@ -4,6 +4,7 @@
 
 #include "aspeed-g6.dtsi"
 #include <dt-bindings/gpio/aspeed-gpio.h>
+#include <dt-bindings/i2c/i2c.h>
 #include <dt-bindings/leds/leds-pca955x.h>
 
 / {
 };
 
 &i2c7 {
+       multi-master;
        status = "okay";
 
        si7021-a20@20 {
                };
        };
 
+       ibm-panel@62 {
+               compatible = "ibm,op-panel";
+               reg = <(0x62 | I2C_OWN_SLAVE_ADDRESS)>;
+       };
+
        dps: dps310@76 {
                compatible = "infineon,dps310";
                reg = <0x76>;