* [PATCH] ARM: dts: aspeed: amd-ethanolx: Enable all used I2C busses
@ 2021-04-15 15:52 Konstantin Aladyshev
2021-04-16 2:55 ` Joel Stanley
0 siblings, 1 reply; 2+ messages in thread
From: Konstantin Aladyshev @ 2021-04-15 15:52 UTC (permalink / raw)
Cc: supreeth.venkatesh, aladyshev22, Rob Herring, Joel Stanley,
Andrew Jeffery, devicetree, linux-arm-kernel, linux-aspeed,
linux-kernel
Enable all I2C busses that are used in AMD EthanolX CRB:
i2c0 - APML P0
i2c1 - APML P1
i2c2 - FPGA
i2c3 - 24LC128 EEPROM
i2c4 - P0 Power regulators
i2c5 - P1 Power regulators
i2c6 - P0/P1 Thermal diode
i2c7 - Thermal Sensors
i2c8 - BMC I2C
Signed-off-by: Konstantin Aladyshev <aladyshev22@gmail.com>
---
arch/arm/boot/dts/aspeed-bmc-amd-ethanolx.dts | 30 +++++++++++++++++++
1 file changed, 30 insertions(+)
diff --git a/arch/arm/boot/dts/aspeed-bmc-amd-ethanolx.dts b/arch/arm/boot/dts/aspeed-bmc-amd-ethanolx.dts
index ac2d04cfaf2f..6aeb47c44eba 100644
--- a/arch/arm/boot/dts/aspeed-bmc-amd-ethanolx.dts
+++ b/arch/arm/boot/dts/aspeed-bmc-amd-ethanolx.dts
@@ -151,6 +151,31 @@ &i2c1 {
status = "okay";
};
+//FPGA
+&i2c2 {
+ status = "okay";
+};
+
+//24LC128 EEPROM
+&i2c3 {
+ status = "okay";
+};
+
+//P0 Power regulators
+&i2c4 {
+ status = "okay";
+};
+
+//P1 Power regulators
+&i2c5 {
+ status = "okay";
+};
+
+//P0/P1 Thermal diode
+&i2c6 {
+ status = "okay";
+};
+
// Thermal Sensors
&i2c7 {
status = "okay";
@@ -196,6 +221,11 @@ lm75a@4f {
};
};
+//BMC I2C
+&i2c8 {
+ status = "okay";
+};
+
&kcs1 {
status = "okay";
aspeed,lpc-io-reg = <0x60>;
--
2.25.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] ARM: dts: aspeed: amd-ethanolx: Enable all used I2C busses
2021-04-15 15:52 [PATCH] ARM: dts: aspeed: amd-ethanolx: Enable all used I2C busses Konstantin Aladyshev
@ 2021-04-16 2:55 ` Joel Stanley
0 siblings, 0 replies; 2+ messages in thread
From: Joel Stanley @ 2021-04-16 2:55 UTC (permalink / raw)
To: Konstantin Aladyshev
Cc: Supreeth Venkatesh, Rob Herring, Andrew Jeffery, devicetree,
Linux ARM, linux-aspeed, Linux Kernel Mailing List
On Thu, 15 Apr 2021 at 15:53, Konstantin Aladyshev
<aladyshev22@gmail.com> wrote:
>
> Enable all I2C busses that are used in AMD EthanolX CRB:
> i2c0 - APML P0
> i2c1 - APML P1
> i2c2 - FPGA
> i2c3 - 24LC128 EEPROM
> i2c4 - P0 Power regulators
> i2c5 - P1 Power regulators
> i2c6 - P0/P1 Thermal diode
> i2c7 - Thermal Sensors
> i2c8 - BMC I2C
>
> Signed-off-by: Konstantin Aladyshev <aladyshev22@gmail.com>
Thanks, applied.
> ---
> arch/arm/boot/dts/aspeed-bmc-amd-ethanolx.dts | 30 +++++++++++++++++++
> 1 file changed, 30 insertions(+)
>
> diff --git a/arch/arm/boot/dts/aspeed-bmc-amd-ethanolx.dts b/arch/arm/boot/dts/aspeed-bmc-amd-ethanolx.dts
> index ac2d04cfaf2f..6aeb47c44eba 100644
> --- a/arch/arm/boot/dts/aspeed-bmc-amd-ethanolx.dts
> +++ b/arch/arm/boot/dts/aspeed-bmc-amd-ethanolx.dts
> @@ -151,6 +151,31 @@ &i2c1 {
> status = "okay";
> };
>
> +//FPGA
> +&i2c2 {
> + status = "okay";
> +};
> +
> +//24LC128 EEPROM
> +&i2c3 {
> + status = "okay";
> +};
> +
> +//P0 Power regulators
> +&i2c4 {
> + status = "okay";
> +};
> +
> +//P1 Power regulators
> +&i2c5 {
> + status = "okay";
> +};
> +
> +//P0/P1 Thermal diode
> +&i2c6 {
> + status = "okay";
> +};
> +
> // Thermal Sensors
> &i2c7 {
> status = "okay";
> @@ -196,6 +221,11 @@ lm75a@4f {
> };
> };
>
> +//BMC I2C
> +&i2c8 {
> + status = "okay";
> +};
> +
> &kcs1 {
> status = "okay";
> aspeed,lpc-io-reg = <0x60>;
> --
> 2.25.1
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-04-16 2:55 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-15 15:52 [PATCH] ARM: dts: aspeed: amd-ethanolx: Enable all used I2C busses Konstantin Aladyshev
2021-04-16 2:55 ` Joel Stanley
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).