ARM: dts: aspeed: tiogapass: Add IPMB device
diff mbox series

Message ID 20200128011728.4092945-1-vijaykhemka@fb.com
State Accepted, archived
Headers show
Series
  • ARM: dts: aspeed: tiogapass: Add IPMB device
Related show

Commit Message

Vijay Khemka Jan. 28, 2020, 1:17 a.m. UTC
Adding IPMB devices for facebook tiogapass platform.

Signed-off-by: Vijay Khemka <vijaykhemka@fb.com>
---
 arch/arm/boot/dts/aspeed-bmc-facebook-tiogapass.dts | 11 +++++++++++
 1 file changed, 11 insertions(+)

Comments

Joel Stanley Jan. 31, 2020, 3:56 a.m. UTC | #1
On Tue, 28 Jan 2020 at 01:17, Vijay Khemka <vijaykhemka@fb.com> wrote:
>
> Adding IPMB devices for facebook tiogapass platform.
>
> Signed-off-by: Vijay Khemka <vijaykhemka@fb.com>

Reviewed-by: Joel Stanley <joel@jms.id.au>

I will merge this through the aspeed tree for 5.7.

Cheers,

Joel

> ---
>  arch/arm/boot/dts/aspeed-bmc-facebook-tiogapass.dts | 11 +++++++++++
>  1 file changed, 11 insertions(+)
>
> diff --git a/arch/arm/boot/dts/aspeed-bmc-facebook-tiogapass.dts b/arch/arm/boot/dts/aspeed-bmc-facebook-tiogapass.dts
> index fb7f034d5db2..719c130a198c 100644
> --- a/arch/arm/boot/dts/aspeed-bmc-facebook-tiogapass.dts
> +++ b/arch/arm/boot/dts/aspeed-bmc-facebook-tiogapass.dts
> @@ -5,6 +5,7 @@
>
>  #include "aspeed-g5.dtsi"
>  #include <dt-bindings/gpio/aspeed-gpio.h>
> +#include <dt-bindings/i2c/i2c.h>
>
>  / {
>         model = "Facebook TiogaPass BMC";
> @@ -428,6 +429,11 @@
>  &i2c4 {
>         status = "okay";
>         // BMC Debug Header
> +       ipmb0@10 {
> +               compatible = "ipmb-dev";
> +               reg = <(0x10 | I2C_OWN_SLAVE_ADDRESS)>;
> +               i2c-protocol;
> +       };
>  };
>
>  &i2c5 {
> @@ -509,6 +515,11 @@
>  &i2c9 {
>         status = "okay";
>         //USB Debug Connector
> +       ipmb0@10 {
> +               compatible = "ipmb-dev";
> +               reg = <(0x10 | I2C_OWN_SLAVE_ADDRESS)>;
> +               i2c-protocol;
> +       };
>  };
>
>  &pwm_tacho {
> --
> 2.17.1
>
Vijay Khemka Jan. 31, 2020, 6:22 p.m. UTC | #2
´╗┐On 1/30/20, 7:56 PM, "Joel Stanley" <joel@jms.id.au> wrote:

    On Tue, 28 Jan 2020 at 01:17, Vijay Khemka <vijaykhemka@fb.com> wrote:
    >
    > Adding IPMB devices for facebook tiogapass platform.
    >
    > Signed-off-by: Vijay Khemka <vijaykhemka@fb.com>
    
    Reviewed-by: Joel Stanley <joel@jms.id.au>
    
    I will merge this through the aspeed tree for 5.7.

Thanks Joel.
    
    Cheers,
    
    Joel
    
    > ---
    >  arch/arm/boot/dts/aspeed-bmc-facebook-tiogapass.dts | 11 +++++++++++
    >  1 file changed, 11 insertions(+)
    >
    > diff --git a/arch/arm/boot/dts/aspeed-bmc-facebook-tiogapass.dts b/arch/arm/boot/dts/aspeed-bmc-facebook-tiogapass.dts
    > index fb7f034d5db2..719c130a198c 100644
    > --- a/arch/arm/boot/dts/aspeed-bmc-facebook-tiogapass.dts
    > +++ b/arch/arm/boot/dts/aspeed-bmc-facebook-tiogapass.dts
    > @@ -5,6 +5,7 @@
    >
    >  #include "aspeed-g5.dtsi"
    >  #include <dt-bindings/gpio/aspeed-gpio.h>
    > +#include <dt-bindings/i2c/i2c.h>
    >
    >  / {
    >         model = "Facebook TiogaPass BMC";
    > @@ -428,6 +429,11 @@
    >  &i2c4 {
    >         status = "okay";
    >         // BMC Debug Header
    > +       ipmb0@10 {
    > +               compatible = "ipmb-dev";
    > +               reg = <(0x10 | I2C_OWN_SLAVE_ADDRESS)>;
    > +               i2c-protocol;
    > +       };
    >  };
    >
    >  &i2c5 {
    > @@ -509,6 +515,11 @@
    >  &i2c9 {
    >         status = "okay";
    >         //USB Debug Connector
    > +       ipmb0@10 {
    > +               compatible = "ipmb-dev";
    > +               reg = <(0x10 | I2C_OWN_SLAVE_ADDRESS)>;
    > +               i2c-protocol;
    > +       };
    >  };
    >
    >  &pwm_tacho {
    > --
    > 2.17.1
    >

Patch
diff mbox series

diff --git a/arch/arm/boot/dts/aspeed-bmc-facebook-tiogapass.dts b/arch/arm/boot/dts/aspeed-bmc-facebook-tiogapass.dts
index fb7f034d5db2..719c130a198c 100644
--- a/arch/arm/boot/dts/aspeed-bmc-facebook-tiogapass.dts
+++ b/arch/arm/boot/dts/aspeed-bmc-facebook-tiogapass.dts
@@ -5,6 +5,7 @@ 
 
 #include "aspeed-g5.dtsi"
 #include <dt-bindings/gpio/aspeed-gpio.h>
+#include <dt-bindings/i2c/i2c.h>
 
 / {
 	model = "Facebook TiogaPass BMC";
@@ -428,6 +429,11 @@ 
 &i2c4 {
 	status = "okay";
 	// BMC Debug Header
+	ipmb0@10 {
+		compatible = "ipmb-dev";
+		reg = <(0x10 | I2C_OWN_SLAVE_ADDRESS)>;
+		i2c-protocol;
+	};
 };
 
 &i2c5 {
@@ -509,6 +515,11 @@ 
 &i2c9 {
 	status = "okay";
 	//USB Debug Connector
+	ipmb0@10 {
+		compatible = "ipmb-dev";
+		reg = <(0x10 | I2C_OWN_SLAVE_ADDRESS)>;
+		i2c-protocol;
+	};
 };
 
 &pwm_tacho {