mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Yang Chen <yangchen.openbmc@gmail.com>
To: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org,
	conor+dt@kernel.org, joel@jms.id.au, andrew@codeconstruct.com.au,
	patrick@stwcx.xyz, devicetree@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org,
	linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org
Cc: Jerry.Lin@quantatw.com, EasonChen1@quantatw.com,
	Leslie.Tong@quantatw.com, yangchen.openbmc@gmail.com
Subject: [PATCH 07/11] ARM: dts: aspeed: minerva: add bus labels and aliases
Date: Tue, 12 Dec 2023 15:51:56 +0800	[thread overview]
Message-ID: <20231212075200.983536-8-yangchen.openbmc@gmail.com> (raw)
In-Reply-To: <20231212075200.983536-1-yangchen.openbmc@gmail.com>

Add bus labels and aliases for the fan control board.

Signed-off-by: Yang Chen <yangchen.openbmc@gmail.com>
---
 .../aspeed/aspeed-bmc-facebook-minerva.dts    | 22 ++++++++++++++-----
 1 file changed, 16 insertions(+), 6 deletions(-)

diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-minerva.dts b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-minerva.dts
index f2a48033ac5c..f4cb5ef72310 100644
--- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-minerva.dts
+++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-minerva.dts
@@ -12,6 +12,16 @@ / {
 
 	aliases {
 		serial5 = &uart5;
+		/*
+		 * PCA9548 (2-0077) provides 8 channels connecting to
+		 * 6 pcs of FCB (Fan Controller Board).
+		 */
+		i2c16 = &imux16;
+		i2c17 = &imux17;
+		i2c18 = &imux18;
+		i2c19 = &imux19;
+		i2c20 = &imux20;
+		i2c21 = &imux21;
 	};
 
 	chosen {
@@ -139,7 +149,7 @@ i2c-mux@77 {
 		#size-cells = <0>;
 		i2c-mux-idle-disconnect;
 
-		i2c@0 {
+		imux16: i2c@0 {
 			#address-cells = <1>;
 			#size-cells = <0>;
 			reg = <0>;
@@ -150,7 +160,7 @@ eeprom@50 {
 			};
 		};
 
-		i2c@1 {
+		imux17: i2c@1 {
 			#address-cells = <1>;
 			#size-cells = <0>;
 			reg = <1>;
@@ -161,7 +171,7 @@ eeprom@50 {
 			};
 		};
 
-		i2c@2 {
+		imux18: i2c@2 {
 			#address-cells = <1>;
 			#size-cells = <0>;
 			reg = <2>;
@@ -172,7 +182,7 @@ eeprom@50 {
 			};
 		};
 
-		i2c@3 {
+		imux19: i2c@3 {
 			#address-cells = <1>;
 			#size-cells = <0>;
 			reg = <3>;
@@ -183,7 +193,7 @@ eeprom@50 {
 			};
 		};
 
-		i2c@4 {
+		imux20: i2c@4 {
 			#address-cells = <1>;
 			#size-cells = <0>;
 			reg = <4>;
@@ -194,7 +204,7 @@ eeprom@50 {
 			};
 		};
 
-		i2c@5 {
+		imux21: i2c@5 {
 			#address-cells = <1>;
 			#size-cells = <0>;
 			reg = <5>;
-- 
2.34.1


  parent reply	other threads:[~2023-12-12  7:54 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-12-12  7:51 [PATCH 00/11] Modify DTS of META Minerva CMM BMC(AST2600) Yang Chen
2023-12-12  7:51 ` [PATCH 01/11] ARM: dts: aspeed: minerva: Revise the name of DTS Yang Chen
2023-12-12  7:51 ` [PATCH 02/11] ARM: dts: aspeed: minerva: Modify mac3 setting Yang Chen
2023-12-12  7:51 ` [PATCH 03/11] ARM: dts: aspeed: minerva: Change sgpio use Yang Chen
2023-12-12  7:51 ` [PATCH 04/11] ARM: dts: aspeed: minerva: Enable power monitor device Yang Chen
2023-12-12  7:51 ` [PATCH 05/11] ARM: dts: aspeed: minerva: Add temperature sensor Yang Chen
2023-12-12  7:51 ` [PATCH 06/11] ARM: dts: aspeed: minerva: correct the address of eeprom Yang Chen
2023-12-12  7:51 ` Yang Chen [this message]
2023-12-12  7:51 ` [PATCH 08/11] ARM: dts: aspeed: minerva: add fan rpm controller Yang Chen
2023-12-12  7:51 ` [PATCH 09/11] ARM: dts: aspeed: minerva: Add led-fan-fault gpio Yang Chen
2023-12-12  7:51 ` [PATCH 10/11] ARM: dts: aspeed: minerva: add gpio line name Yang Chen
2023-12-12  7:52 ` [PATCH 11/11] ARM: dts: aspeed: minerva: add sgpio " Yang Chen
2023-12-14  0:43 ` [PATCH 00/11] Modify DTS of META Minerva CMM BMC(AST2600) Joel Stanley

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20231212075200.983536-8-yangchen.openbmc@gmail.com \
    --to=yangchen.openbmc@gmail.com \
    --cc=EasonChen1@quantatw.com \
    --cc=Jerry.Lin@quantatw.com \
    --cc=Leslie.Tong@quantatw.com \
    --cc=andrew@codeconstruct.com.au \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=joel@jms.id.au \
    --cc=krzysztof.kozlowski+dt@linaro.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-aspeed@lists.ozlabs.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=patrick@stwcx.xyz \
    --cc=robh+dt@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®