From nobody Sun Oct 5 21:57:18 2025 Received: from mail-pf1-f170.google.com (mail-pf1-f170.google.com [209.85.210.170]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2858F287253; Tue, 29 Jul 2025 09:13:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.170 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1753780442; cv=none; b=S4EnSEkpxtypFE4EHboBiGAzR2UP4EqkSSqUSbQloWHVY6PfPvX2Z/RlDCg13S6BcAKK5tDKhs7KCT7TNAMidWHMlxbnPMrgL755lJ1Ge0upZeYc0XlyxPzkjSBx7DlxG6HdYOqi26PMcPL5RLV9CxpDILfSh3aF0pGYDwiLPiw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1753780442; c=relaxed/simple; bh=pWMmo7vTsMCtYj9PvjgESg/bmJl0vOv+aFFj65sjgBw=; h=From:To:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=Po/msIcryqvA2yjZtHiVj6kNNv0rKzkmLFWW0a31o4mnGhn7QEhMoKBmZ2YoTMEAgr3Ka+Bf/APoDKAdtspB43c/uMlQwtwYOSMbnFGDOnkbxhhq/tb7Fg8ef4Dr+Qpu+vcRpvTbhG19Gby51Hs2QGhvXjsmtgQGvkMsOHNr3Mo= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=mXz5gaM7; arc=none smtp.client-ip=209.85.210.170 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="mXz5gaM7" Received: by mail-pf1-f170.google.com with SMTP id d2e1a72fcca58-769b19eeb3fso487546b3a.2; Tue, 29 Jul 2025 02:13:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1753780439; x=1754385239; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=Ybe/vNHybbFFD9CumA+Ao11VG7Qh745VMU9T9J4X9OI=; b=mXz5gaM7cNdV0CpmzP+/+PhctEpcxKSVGIIjFYuPis6k3bVG8MqqGfwou0hlFbWweO sXGx+MgscshySuxkHrDMHRsBrqV1VW/0Wqa7mmKXCFm+Yk1FBIMnhoAX/aZv2HyQV/Xt DOHPwiprKRoL/BrTh0BMy07JYZGDAU4kEUzWtLQbLCuARhWetd8rZpcUh6Wf94IJoRDN TCi/QbCkDC6Yp7R/Ai8qSgfTF2DPxvr0iznjvD4byqrDrqDysfp6LrZ7ZcKpe5J4AB+k gn8lBLDY0pHv0Nsvgs54mmu8AmBj+p5G9v12zRkh2VSd8SrBf8Crq7k7l0g430HKcqrM fwCg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1753780439; x=1754385239; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Ybe/vNHybbFFD9CumA+Ao11VG7Qh745VMU9T9J4X9OI=; b=rNMV3xRevRCrs1N0GkrI36G2xxq00Bz5mGHeMcAD6him1w983Wfwnal2REqJlzf7lG wEWV4JXA9rNT3CWAffi7WdgNuSKIMOL80GloPzXgS4BreC8DvDwHWAMkqDvdky9lX7ju oBDqFR2+WN0TYm32rDmhzNXu0xQfjIrAQZJbN11wavYfaUc5bGI1ja52JGXisiubw4CZ ovCozb4Ad+CeubdWXJY8TXk+/OgNBO0X+GbGn+DgesqrRKFasnpCtJChXOMe+/cR/ac/ Jo3lYYKGBCDfJnONGzCWTuNUsHNguayqnG/5KwalYXtSJ1yUD6xRp+q3APRbz7Qi4TK7 F74g== X-Forwarded-Encrypted: i=1; AJvYcCUCSnUmmN4kxeRaLMhRSIyJi6ROq1a5D5yqa9cv8GvjxB5fmz7az1g30TLJ1SOazZUUal/C1axAYLaR@vger.kernel.org, AJvYcCXD813c0y0+wEaX6uqfhRSoSTI55Q+awaDLNqyR6sCKOdn+6ne+jY9YikNV+Wp/QF9sYRhsInYyrmcQYtzd@vger.kernel.org X-Gm-Message-State: AOJu0Yxd+qHrPrAh8Mp+rNdGooyzP2LszAZHU2QSyvn5FDgNYPJOWrmK DwZ3oSXdBJ/BGWG8Rx/JdPoYUFZ8lzKOwiYL3a0XdQd908ua2rOwvNi3 X-Gm-Gg: ASbGnct32ChDUd0/aBC7jfGHijPfuhlnmC0ZH8OdAhSjd11FDuo2saIjysCSDn3xRxJ 49LiwVcu+XuI0GsS3VVj8XSxPyMvmxVL/zveC199RBV/pd7CzBPUdKELO9E5w8y9/+h0EwOFiuE 5bZJ/jb7/59PpIU1VisJyrtGoNNCRIUPDJ+Q2sSSfIxhsrxmk0J0rjcCOAB2xwy5zj4RRVqc5gg LGHQ/Eo2u6sznT8u2NvU/kPyraej6mMpTVmoqGXuHYNBv16TW1HFNEpLfEXQ3D6a7bQ7L4bq7sc AQadzYUH569+HVYXsSNCivZ12owuDKwxbWBrkPp57y7tiw6YCeXRzkXTIc4VLmFkF7upkijXHyX qrmTl8KqGRKNA0V/CMMD+tAumcrW9IWrtdrMTvkl6eyDYUtb2LQpuhNh2rzUSYzkuwiOczFxKmH EtbZFCOZt7SxJBy5nCvm10ng2dKGUmu8WzM2slQGuKpE5Ks9t5EkzwQPMK7g== X-Google-Smtp-Source: AGHT+IGqVc8kW/CjjxVNzY8FasF+F5KZIuLBY5w92Xur7kp/aZMpOLaC9gys/5OjEFBRAksP1ITVVw== X-Received: by 2002:a05:6a20:548d:b0:232:93c2:8851 with SMTP id adf61e73a8af0-23d700c695bmr23759842637.18.1753780439412; Tue, 29 Jul 2025 02:13:59 -0700 (PDT) Received: from fred-System-Product-Name.. (2001-b400-e38d-c586-0429-5c72-053d-8858.emome-ip6.hinet.net. [2001:b400:e38d:c586:429:5c72:53d:8858]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-7640b8b06ddsm7528612b3a.121.2025.07.29.02.13.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 29 Jul 2025 02:13:59 -0700 (PDT) From: Fred Chen To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Joel Stanley , Andrew Jeffery , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: [PATCH v1 1/3] ARM: dts: aspeed: santabarbara: add sensor support for extension boards Date: Tue, 29 Jul 2025 17:13:43 +0800 Message-ID: <20250729091351.3964939-2-fredchen.openbmc@gmail.com> X-Mailer: git-send-email 2.49.0 In-Reply-To: <20250729091351.3964939-1-fredchen.openbmc@gmail.com> References: <20250729091351.3964939-1-fredchen.openbmc@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" add power monitor and temperature sensors for extension boards in bus 6, 8, 10 and 13. Signed-off-by: Fred Chen --- .../aspeed-bmc-facebook-santabarbara.dts | 824 ++++++++++++++++++ 1 file changed, 824 insertions(+) diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-santabarbara.dts = b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-santabarbara.dts index ee93a971c500..2f5712e9ba9f 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-santabarbara.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-santabarbara.dts @@ -39,6 +39,38 @@ aliases { i2c37 =3D &i2c12mux0ch5; i2c38 =3D &i2c12mux0ch6; i2c39 =3D &i2c12mux0ch7; + i2c48 =3D &i2c6mux0ch0; + i2c49 =3D &i2c6mux0ch1; + i2c50 =3D &i2c6mux0ch2; + i2c51 =3D &i2c6mux0ch3; + i2c52 =3D &i2c8mux0ch0; + i2c53 =3D &i2c8mux0ch1; + i2c54 =3D &i2c8mux0ch2; + i2c55 =3D &i2c8mux0ch3; + i2c56 =3D &i2c10mux0ch0; + i2c57 =3D &i2c10mux0ch1; + i2c58 =3D &i2c10mux0ch2; + i2c59 =3D &i2c10mux0ch3; + i2c60 =3D &i2c13mux0ch0; + i2c61 =3D &i2c13mux0ch1; + i2c62 =3D &i2c13mux0ch2; + i2c63 =3D &i2c13mux0ch3; + i2c64 =3D &i2c6mux1ch0; + i2c65 =3D &i2c6mux1ch1; + i2c66 =3D &i2c6mux1ch2; + i2c67 =3D &i2c6mux1ch3; + i2c68 =3D &i2c8mux1ch0; + i2c69 =3D &i2c8mux1ch1; + i2c70 =3D &i2c8mux1ch2; + i2c71 =3D &i2c8mux1ch3; + i2c72 =3D &i2c10mux1ch0; + i2c73 =3D &i2c10mux1ch1; + i2c74 =3D &i2c10mux1ch2; + i2c75 =3D &i2c10mux1ch3; + i2c76 =3D &i2c13mux1ch0; + i2c77 =3D &i2c13mux1ch1; + i2c78 =3D &i2c13mux1ch2; + i2c79 =3D &i2c13mux1ch3; }; =20 chosen { @@ -574,6 +606,204 @@ eeprom@52 { compatible =3D "atmel,24c256"; reg =3D <0x52>; }; + + i2c-mux@71 { + compatible =3D "nxp,pca9546"; + reg =3D <0x71>; + #address-cells =3D <1>; + #size-cells =3D <0>; + i2c-mux-idle-disconnect; + + i2c6mux0ch0: i2c@0 { + reg =3D <0>; + #address-cells =3D <1>; + #size-cells =3D <0>; + + temperature-sensor@64 { + compatible =3D "microchip,mcp9600"; + reg =3D <0x64>; + }; + + temperature-sensor@65 { + compatible =3D "microchip,mcp9600"; + reg =3D <0x65>; + }; + + temperature-sensor@67 { + compatible =3D "microchip,mcp9600"; + reg =3D <0x67>; + }; + + i2c-mux@72 { + compatible =3D "nxp,pca9546"; + reg =3D <0x72>; + #address-cells =3D <1>; + #size-cells =3D <0>; + i2c-mux-idle-disconnect; + + i2c6mux1ch0: i2c@0 { + reg =3D <0>; + #address-cells =3D <1>; + #size-cells =3D <0>; + }; + i2c6mux1ch1: i2c@1 { + reg =3D <1>; + #address-cells =3D <1>; + #size-cells =3D <0>; + + voltage-sensor@48 { + compatible =3D "ti,ads7830"; + reg =3D <0x48>; + }; + + voltage-sensorr@49 { + compatible =3D "ti,ads7830"; + reg =3D <0x49>; + }; + + temperature-sensor@4a { + compatible =3D "ti,tmp175"; + reg =3D <0x4a>; + }; + + temperature-sensor@4b { + compatible =3D "ti,tmp175"; + reg =3D <0x4b>; + }; + + eeprom@56 { + compatible =3D "atmel,24c256"; + reg =3D <0x56>; + }; + }; + i2c6mux1ch2: i2c@2 { + reg =3D <2>; + #address-cells =3D <1>; + #size-cells =3D <0>; + }; + i2c6mux1ch3: i2c@3 { + reg =3D <3>; + #address-cells =3D <1>; + #size-cells =3D <0>; + }; + }; + }; + i2c6mux0ch1: i2c@1 { + reg =3D <1>; + #address-cells =3D <1>; + #size-cells =3D <0>; + + potentiometer@2c { + compatible =3D "adi,ad5272-020"; + reg =3D <0x2c>; + }; + + potentiometer@2e { + compatible =3D "adi,ad5272-020"; + reg =3D <0x2e>; + }; + + potentiometer@2f { + compatible =3D "adi,ad5272-020"; + reg =3D <0x2f>; + }; + + power-monitor@40 { + compatible =3D "ti,ina238"; + reg =3D <0x40>; + shunt-resistor =3D <1000>; + }; + + power-monitor@44 { + compatible =3D "ti,ina238"; + reg =3D <0x44>; + shunt-resistor =3D <1000>; + }; + + power-monitor@45 { + compatible =3D "ti,ina238"; + reg =3D <0x45>; + shunt-resistor =3D <1000>; + }; + }; + i2c6mux0ch2: i2c@2 { + reg =3D <2>; + #address-cells =3D <1>; + #size-cells =3D <0>; + + potentiometer@2c { + compatible =3D "adi,ad5272-020"; + reg =3D <0x2c>; + }; + + potentiometer@2e { + compatible =3D "adi,ad5272-020"; + reg =3D <0x2e>; + }; + + potentiometer@2f { + compatible =3D "adi,ad5272-020"; + reg =3D <0x2f>; + }; + + power-monitor@40 { + compatible =3D "ti,ina238"; + reg =3D <0x40>; + shunt-resistor =3D <1000>; + }; + + power-monitor@44 { + compatible =3D "ti,ina238"; + reg =3D <0x44>; + shunt-resistor =3D <1000>; + }; + + power-monitor@45 { + compatible =3D "ti,ina238"; + reg =3D <0x45>; + shunt-resistor =3D <1000>; + }; + }; + i2c6mux0ch3: i2c@3 { + reg =3D <3>; + #address-cells =3D <1>; + #size-cells =3D <0>; + + voltage-sensor@1d { + compatible =3D "ti,adc128d818"; + reg =3D <0x1d>; + ti,mode =3D /bits/ 8 <1>; + }; + + voltage-sensor@37 { + compatible =3D "ti,adc128d818"; + reg =3D <0x37>; + ti,mode =3D /bits/ 8 <1>; + }; + + power-monitor@40 { + compatible =3D "ti,ina238"; + reg =3D <0x40>; + shunt-resistor =3D <1000>; + }; + + power-monitor@45 { + compatible =3D "ti,ina238"; + reg =3D <0x45>; + shunt-resistor =3D <1000>; + }; + + temperature-sensor@48 { + compatible =3D "ti,tmp175"; + reg =3D <0x48>; + }; + + temperature-sensor@49 { + compatible =3D "ti,tmp175"; + reg =3D <0x49>; + }; + }; + }; }; =20 &i2c7 { @@ -588,6 +818,204 @@ eeprom@52 { compatible =3D "atmel,24c256"; reg =3D <0x52>; }; + + i2c-mux@71 { + compatible =3D "nxp,pca9546"; + reg =3D <0x71>; + #address-cells =3D <1>; + #size-cells =3D <0>; + i2c-mux-idle-disconnect; + + i2c8mux0ch0: i2c@0 { + reg =3D <0>; + #address-cells =3D <1>; + #size-cells =3D <0>; + + temperature-sensor@64 { + compatible =3D "microchip,mcp9600"; + reg =3D <0x64>; + }; + + temperature-sensor@65 { + compatible =3D "microchip,mcp9600"; + reg =3D <0x65>; + }; + + temperature-sensor@67 { + compatible =3D "microchip,mcp9600"; + reg =3D <0x67>; + }; + + i2c-mux@72 { + compatible =3D "nxp,pca9546"; + reg =3D <0x72>; + #address-cells =3D <1>; + #size-cells =3D <0>; + i2c-mux-idle-disconnect; + + i2c8mux1ch0: i2c@0 { + reg =3D <0>; + #address-cells =3D <1>; + #size-cells =3D <0>; + }; + i2c8mux1ch1: i2c@1 { + reg =3D <1>; + #address-cells =3D <1>; + #size-cells =3D <0>; + + voltage-sensor@48 { + compatible =3D "ti,ads7830"; + reg =3D <0x48>; + }; + + voltage-sensorr@49 { + compatible =3D "ti,ads7830"; + reg =3D <0x49>; + }; + + temperature-sensor@4a { + compatible =3D "ti,tmp175"; + reg =3D <0x4a>; + }; + + temperature-sensor@4b { + compatible =3D "ti,tmp175"; + reg =3D <0x4b>; + }; + + eeprom@56 { + compatible =3D "atmel,24c256"; + reg =3D <0x56>; + }; + }; + i2c8mux1ch2: i2c@2 { + reg =3D <2>; + #address-cells =3D <1>; + #size-cells =3D <0>; + }; + i2c8mux1ch3: i2c@3 { + reg =3D <3>; + #address-cells =3D <1>; + #size-cells =3D <0>; + }; + }; + }; + i2c8mux0ch1: i2c@1 { + reg =3D <1>; + #address-cells =3D <1>; + #size-cells =3D <0>; + + potentiometer@2c { + compatible =3D "adi,ad5272-020"; + reg =3D <0x2c>; + }; + + potentiometer@2e { + compatible =3D "adi,ad5272-020"; + reg =3D <0x2e>; + }; + + potentiometer@2f { + compatible =3D "adi,ad5272-020"; + reg =3D <0x2f>; + }; + + power-monitor@40 { + compatible =3D "ti,ina238"; + reg =3D <0x40>; + shunt-resistor =3D <1000>; + }; + + power-monitor@44 { + compatible =3D "ti,ina238"; + reg =3D <0x44>; + shunt-resistor =3D <1000>; + }; + + power-monitor@45 { + compatible =3D "ti,ina238"; + reg =3D <0x45>; + shunt-resistor =3D <1000>; + }; + }; + i2c8mux0ch2: i2c@2 { + reg =3D <2>; + #address-cells =3D <1>; + #size-cells =3D <0>; + + potentiometer@2c { + compatible =3D "adi,ad5272-020"; + reg =3D <0x2c>; + }; + + potentiometer@2e { + compatible =3D "adi,ad5272-020"; + reg =3D <0x2e>; + }; + + potentiometer@2f { + compatible =3D "adi,ad5272-020"; + reg =3D <0x2f>; + }; + + power-monitor@40 { + compatible =3D "ti,ina238"; + reg =3D <0x40>; + shunt-resistor =3D <1000>; + }; + + power-monitor@44 { + compatible =3D "ti,ina238"; + reg =3D <0x44>; + shunt-resistor =3D <1000>; + }; + + power-monitor@45 { + compatible =3D "ti,ina238"; + reg =3D <0x45>; + shunt-resistor =3D <1000>; + }; + }; + i2c8mux0ch3: i2c@3 { + reg =3D <3>; + #address-cells =3D <1>; + #size-cells =3D <0>; + + voltage-sensor@1d { + compatible =3D "ti,adc128d818"; + reg =3D <0x1d>; + ti,mode =3D /bits/ 8 <1>; + }; + + voltage-sensor@37 { + compatible =3D "ti,adc128d818"; + reg =3D <0x37>; + ti,mode =3D /bits/ 8 <1>; + }; + + power-monitor@40 { + compatible =3D "ti,ina238"; + reg =3D <0x40>; + shunt-resistor =3D <1000>; + }; + + power-monitor@45 { + compatible =3D "ti,ina238"; + reg =3D <0x45>; + shunt-resistor =3D <1000>; + }; + + temperature-sensor@48 { + compatible =3D "ti,tmp175"; + reg =3D <0x48>; + }; + + temperature-sensor@49 { + compatible =3D "ti,tmp175"; + reg =3D <0x49>; + }; + }; + }; }; =20 &i2c9 { @@ -619,6 +1047,204 @@ eeprom@52 { compatible =3D "atmel,24c256"; reg =3D <0x52>; }; + + i2c-mux@71 { + compatible =3D "nxp,pca9546"; + reg =3D <0x71>; + #address-cells =3D <1>; + #size-cells =3D <0>; + i2c-mux-idle-disconnect; + + i2c10mux0ch0: i2c@0 { + reg =3D <0>; + #address-cells =3D <1>; + #size-cells =3D <0>; + + temperature-sensor@64 { + compatible =3D "microchip,mcp9600"; + reg =3D <0x64>; + }; + + temperature-sensor@65 { + compatible =3D "microchip,mcp9600"; + reg =3D <0x65>; + }; + + temperature-sensor@67 { + compatible =3D "microchip,mcp9600"; + reg =3D <0x67>; + }; + + i2c-mux@72 { + compatible =3D "nxp,pca9546"; + reg =3D <0x72>; + #address-cells =3D <1>; + #size-cells =3D <0>; + i2c-mux-idle-disconnect; + + i2c10mux1ch0: i2c@0 { + reg =3D <0>; + #address-cells =3D <1>; + #size-cells =3D <0>; + }; + i2c10mux1ch1: i2c@1 { + reg =3D <1>; + #address-cells =3D <1>; + #size-cells =3D <0>; + + voltage-sensor@48 { + compatible =3D "ti,ads7830"; + reg =3D <0x48>; + }; + + voltage-sensorr@49 { + compatible =3D "ti,ads7830"; + reg =3D <0x49>; + }; + + temperature-sensor@4a { + compatible =3D "ti,tmp175"; + reg =3D <0x4a>; + }; + + temperature-sensor@4b { + compatible =3D "ti,tmp175"; + reg =3D <0x4b>; + }; + + eeprom@56 { + compatible =3D "atmel,24c256"; + reg =3D <0x56>; + }; + }; + i2c10mux1ch2: i2c@2 { + reg =3D <2>; + #address-cells =3D <1>; + #size-cells =3D <0>; + }; + i2c10mux1ch3: i2c@3 { + reg =3D <3>; + #address-cells =3D <1>; + #size-cells =3D <0>; + }; + }; + }; + i2c10mux0ch1: i2c@1 { + reg =3D <1>; + #address-cells =3D <1>; + #size-cells =3D <0>; + + potentiometer@2c { + compatible =3D "adi,ad5272-020"; + reg =3D <0x2c>; + }; + + potentiometer@2e { + compatible =3D "adi,ad5272-020"; + reg =3D <0x2e>; + }; + + potentiometer@2f { + compatible =3D "adi,ad5272-020"; + reg =3D <0x2f>; + }; + + power-monitor@40 { + compatible =3D "ti,ina238"; + reg =3D <0x40>; + shunt-resistor =3D <1000>; + }; + + power-monitor@44 { + compatible =3D "ti,ina238"; + reg =3D <0x44>; + shunt-resistor =3D <1000>; + }; + + power-monitor@45 { + compatible =3D "ti,ina238"; + reg =3D <0x45>; + shunt-resistor =3D <1000>; + }; + }; + i2c10mux0ch2: i2c@2 { + reg =3D <2>; + #address-cells =3D <1>; + #size-cells =3D <0>; + + potentiometer@2c { + compatible =3D "adi,ad5272-020"; + reg =3D <0x2c>; + }; + + potentiometer@2e { + compatible =3D "adi,ad5272-020"; + reg =3D <0x2e>; + }; + + potentiometer@2f { + compatible =3D "adi,ad5272-020"; + reg =3D <0x2f>; + }; + + power-monitor@40 { + compatible =3D "ti,ina238"; + reg =3D <0x40>; + shunt-resistor =3D <1000>; + }; + + power-monitor@44 { + compatible =3D "ti,ina238"; + reg =3D <0x44>; + shunt-resistor =3D <1000>; + }; + + power-monitor@45 { + compatible =3D "ti,ina238"; + reg =3D <0x45>; + shunt-resistor =3D <1000>; + }; + }; + i2c10mux0ch3: i2c@3 { + reg =3D <3>; + #address-cells =3D <1>; + #size-cells =3D <0>; + + voltage-sensor@1d { + compatible =3D "ti,adc128d818"; + reg =3D <0x1d>; + ti,mode =3D /bits/ 8 <1>; + }; + + voltage-sensor@37 { + compatible =3D "ti,adc128d818"; + reg =3D <0x37>; + ti,mode =3D /bits/ 8 <1>; + }; + + power-monitor@40 { + compatible =3D "ti,ina238"; + reg =3D <0x40>; + shunt-resistor =3D <1000>; + }; + + power-monitor@45 { + compatible =3D "ti,ina238"; + reg =3D <0x45>; + shunt-resistor =3D <1000>; + }; + + temperature-sensor@48 { + compatible =3D "ti,tmp175"; + reg =3D <0x48>; + }; + + temperature-sensor@49 { + compatible =3D "ti,tmp175"; + reg =3D <0x49>; + }; + }; + }; }; =20 &i2c11 { @@ -748,6 +1374,204 @@ eeprom@52 { compatible =3D "atmel,24c256"; reg =3D <0x52>; }; + + i2c-mux@71 { + compatible =3D "nxp,pca9546"; + reg =3D <0x71>; + #address-cells =3D <1>; + #size-cells =3D <0>; + i2c-mux-idle-disconnect; + + i2c13mux0ch0: i2c@0 { + reg =3D <0>; + #address-cells =3D <1>; + #size-cells =3D <0>; + + temperature-sensor@64 { + compatible =3D "microchip,mcp9600"; + reg =3D <0x64>; + }; + + temperature-sensor@65 { + compatible =3D "microchip,mcp9600"; + reg =3D <0x65>; + }; + + temperature-sensor@67 { + compatible =3D "microchip,mcp9600"; + reg =3D <0x67>; + }; + + i2c-mux@72 { + compatible =3D "nxp,pca9546"; + reg =3D <0x72>; + #address-cells =3D <1>; + #size-cells =3D <0>; + i2c-mux-idle-disconnect; + + i2c13mux1ch0: i2c@0 { + reg =3D <0>; + #address-cells =3D <1>; + #size-cells =3D <0>; + }; + i2c13mux1ch1: i2c@1 { + reg =3D <1>; + #address-cells =3D <1>; + #size-cells =3D <0>; + + voltage-sensor@48 { + compatible =3D "ti,ads7830"; + reg =3D <0x48>; + }; + + voltage-sensorr@49 { + compatible =3D "ti,ads7830"; + reg =3D <0x49>; + }; + + temperature-sensor@4a { + compatible =3D "ti,tmp175"; + reg =3D <0x4a>; + }; + + temperature-sensor@4b { + compatible =3D "ti,tmp175"; + reg =3D <0x4b>; + }; + + eeprom@56 { + compatible =3D "atmel,24c256"; + reg =3D <0x56>; + }; + }; + i2c13mux1ch2: i2c@2 { + reg =3D <2>; + #address-cells =3D <1>; + #size-cells =3D <0>; + }; + i2c13mux1ch3: i2c@3 { + reg =3D <3>; + #address-cells =3D <1>; + #size-cells =3D <0>; + }; + }; + }; + i2c13mux0ch1: i2c@1 { + reg =3D <1>; + #address-cells =3D <1>; + #size-cells =3D <0>; + + potentiometer@2c { + compatible =3D "adi,ad5272-020"; + reg =3D <0x2c>; + }; + + potentiometer@2e { + compatible =3D "adi,ad5272-020"; + reg =3D <0x2e>; + }; + + potentiometer@2f { + compatible =3D "adi,ad5272-020"; + reg =3D <0x2f>; + }; + + power-monitor@40 { + compatible =3D "ti,ina238"; + reg =3D <0x40>; + shunt-resistor =3D <1000>; + }; + + power-monitor@44 { + compatible =3D "ti,ina238"; + reg =3D <0x44>; + shunt-resistor =3D <1000>; + }; + + power-monitor@45 { + compatible =3D "ti,ina238"; + reg =3D <0x45>; + shunt-resistor =3D <1000>; + }; + }; + i2c13mux0ch2: i2c@2 { + reg =3D <2>; + #address-cells =3D <1>; + #size-cells =3D <0>; + + potentiometer@2c { + compatible =3D "adi,ad5272-020"; + reg =3D <0x2c>; + }; + + potentiometer@2e { + compatible =3D "adi,ad5272-020"; + reg =3D <0x2e>; + }; + + potentiometer@2f { + compatible =3D "adi,ad5272-020"; + reg =3D <0x2f>; + }; + + power-monitor@40 { + compatible =3D "ti,ina238"; + reg =3D <0x40>; + shunt-resistor =3D <1000>; + }; + + power-monitor@44 { + compatible =3D "ti,ina238"; + reg =3D <0x44>; + shunt-resistor =3D <1000>; + }; + + power-monitor@45 { + compatible =3D "ti,ina238"; + reg =3D <0x45>; + shunt-resistor =3D <1000>; + }; + }; + i2c13mux0ch3: i2c@3 { + reg =3D <3>; + #address-cells =3D <1>; + #size-cells =3D <0>; + + voltage-sensor@1d { + compatible =3D "ti,adc128d818"; + reg =3D <0x1d>; + ti,mode =3D /bits/ 8 <1>; + }; + + voltage-sensor@37 { + compatible =3D "ti,adc128d818"; + reg =3D <0x37>; + ti,mode =3D /bits/ 8 <1>; + }; + + power-monitor@40 { + compatible =3D "ti,ina238"; + reg =3D <0x40>; + shunt-resistor =3D <1000>; + }; + + power-monitor@45 { + compatible =3D "ti,ina238"; + reg =3D <0x45>; + shunt-resistor =3D <1000>; + }; + + temperature-sensor@48 { + compatible =3D "ti,tmp175"; + reg =3D <0x48>; + }; + + temperature-sensor@49 { + compatible =3D "ti,tmp175"; + reg =3D <0x49>; + }; + }; + }; }; =20 &i2c14 { --=20 2.49.0 From nobody Sun Oct 5 21:57:18 2025 Received: from mail-pf1-f180.google.com (mail-pf1-f180.google.com [209.85.210.180]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8B2482874FF; Tue, 29 Jul 2025 09:14:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.180 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1753780445; cv=none; b=Mj5O4nRjOBAihrARjUi9Ul9NR4UiPeGeCT7AJx3VuvjRUrVUh+gVKD6ZRhLRCtwc49pIajRwWa+hFBpskF3kxLorwM3mevV41yfU3yltWu942nky5+HKFVcRgpc3T5Ha0eeWNZTrG7vp6ht4AjsIX3NWcg5QGwuG7T7f2PaLkxE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1753780445; c=relaxed/simple; bh=9kMuQKW4Z0YWZcFJf5QnFiW2s0f1P9Y+rOU7gLJIkZQ=; h=From:To:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=W1bMSh08getOtVRzBeTGyA7R4HFl6YeYA0DjT3LfGFxUhq5KHFrt6/JphwW0WtwmNAXH87/UEuvivsUP0xYxplCLFJx06wPSzH+L5ydvjI4zIHbyuD/2XB5jWGMxiA8UcGVfO6ZJypb+XbN6l4XFPnN3w+k/AHV7os0eo8zlg9k= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=eOegPnYg; arc=none smtp.client-ip=209.85.210.180 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="eOegPnYg" Received: by mail-pf1-f180.google.com with SMTP id d2e1a72fcca58-74b27c1481bso3610637b3a.2; Tue, 29 Jul 2025 02:14:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1753780443; x=1754385243; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=c7EPaE2bHAD0ecNNc0XMu907yYWecMKnydM+hyTx2ZA=; b=eOegPnYgACodM017KBz3g3cSDikTFczeCj1iEJ6LvflFTX6UFWDrzbT58Nbbu8OHZf iRJ3+Ckh6GcmN661GOUVJVPu3BsJpXWO0LWBYYwpwGJZ6iEBt8zQzmBMpK9z6CwPRpdW xNsLxG/2MUmkfTX7kpU1/7FDq2gwtygwUTerTHXVGf9GIXLimp2ABpD1ey+u/3PqQZgw cQDaP+24PH/pJSoLWaUa7YL1G+A3tNfSCretattxsCl2DpnjBPQ+CXJstgoHWB4SfJIB dB7rTkbE0JgndF7JrHriM+tlBGOT6mDIe5gdyYw2E9hjEZafclcC1yNBXEXbBnwfyCaL lrOg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1753780443; x=1754385243; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=c7EPaE2bHAD0ecNNc0XMu907yYWecMKnydM+hyTx2ZA=; b=t8QAnsmdpFjNQKAGoZVmQUgocDhYkmlodpiuRC33jVUZeIRi8vsJn/iuFv2PozI0WR 4OdcQk6vDglwWwDCSaXJoPMDChyX7wMz7QbnZbp3B/sZfiUEAVI29rIWyRXnN16T+k9M JBbFhNo0GAemJWZoUnFCmHVJIEVrtYjT/oel8D8aiEasRktR8DEftUXnbd37BASmVq8d EfoXkxavQT6qG4U04pXFw9woV7b5CasA6U4KJlVnTdah1Dq4eVJbFsmgHyb0xsijPiI3 fXQaaIrqhCfJwJZXqYLz01g24wmQOfRLm7iYkzk3LJ8kkRnZtik98T8tkRC97I6Q0KFS yf5g== X-Forwarded-Encrypted: i=1; AJvYcCWhx5dQ7gcJe/jBRmgnMM5cFrKAKUvDnKQhN4pGrLuqsPp8C/DogCTYDn3K2SaraE50+Mo745I1WrKA@vger.kernel.org, AJvYcCWxePTrzUWJLaax702/1JM6z0RSHeeNuSAF9YqWKyKweOJtKyaBnvXcs/mWlQfD4gku9SySKdDj/qdPngE/@vger.kernel.org X-Gm-Message-State: AOJu0YxA7vc3bSixAxbgBeq432WbcNGq+6/vWWw7Muxw2net4+d1Gmer kmJ2iyKyqjjDlMoCkmBXFU/evzas/ahYhb8wMa5yZDvrQVFWBJ6eL8Hq X-Gm-Gg: ASbGncuFWoyMXmGzxycwXdJRVqKAHGFf6QiHVH0GsA4GyQMlVTKfiEotAlJoURY5Znt A0po1+bhqfI61IOJxRc6GDg8jEL2olf78rJc+uS1mAtXr7s4w+/neavGSqvpKpBbawEwMtpCQaN AGGDXWArLWkNJDqwBuYP+bkyf4S/znZWHZvOsFFebyKkCVVFSVtKts+kwe8xigOG0eHHBDp3fXK sJYdFa5urPm7hGRpE9Q7El4syagB2AjfyqvNNyP6zWUkow8zpv5DW0klxeqV/5XeNdNRhgRNrj3 hKEp1iNgkOPggI+eqlj/K4/wN1MJ0mOAL1fQY9cIXmNhXzzUk+G8i2IH/laH1JpNzWb6kRMVf/j pfQuBkoFZRiOv9Dx44GnvEvcdbtvvf8Dp6sFgZqJIDfAWGH0SMATg6NBzcQ+61omrB3GxA8O5c7 GoRMq+Kb8StakRyXHjlTRuEx6viJ1tZs8xgqCBRe/4Hi5e32s= X-Google-Smtp-Source: AGHT+IE5de0i6/0ajEO85aIFRHzPN7aXOAjUa8N7MjCYc6cFnhkPCLV7DX4sN98WfDkKcoDvsFP22w== X-Received: by 2002:a05:6a00:a85:b0:740:b394:3ebd with SMTP id d2e1a72fcca58-7633276c2b6mr21066948b3a.7.1753780442892; Tue, 29 Jul 2025 02:14:02 -0700 (PDT) Received: from fred-System-Product-Name.. (2001-b400-e38d-c586-0429-5c72-053d-8858.emome-ip6.hinet.net. [2001:b400:e38d:c586:429:5c72:53d:8858]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-7640b8b06ddsm7528612b3a.121.2025.07.29.02.14.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 29 Jul 2025 02:14:02 -0700 (PDT) From: Fred Chen To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Joel Stanley , Andrew Jeffery , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: [PATCH v1 2/3] ARM: dts: aspeed: santabarbara: Enable MCTP for frontend NIC Date: Tue, 29 Jul 2025 17:13:44 +0800 Message-ID: <20250729091351.3964939-3-fredchen.openbmc@gmail.com> X-Mailer: git-send-email 2.49.0 In-Reply-To: <20250729091351.3964939-1-fredchen.openbmc@gmail.com> References: <20250729091351.3964939-1-fredchen.openbmc@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Add the mctp-controller property and MCTP node to enable frontend NIC management via PLDM over MCTP. Signed-off-by: Fred Chen --- .../boot/dts/aspeed/aspeed-bmc-facebook-santabarbara.dts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-santabarbara.dts = b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-santabarbara.dts index 2f5712e9ba9f..ed30f3bf61a4 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-santabarbara.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-santabarbara.dts @@ -1248,8 +1248,16 @@ temperature-sensor@49 { }; =20 &i2c11 { + multi-master; + mctp-controller; status =3D "okay"; =20 + mctp@10 { + compatible =3D "mctp-i2c-controller"; + reg =3D <(0x10 | I2C_OWN_SLAVE_ADDRESS)>; + label =3D "mb_nic0_mctp"; + }; + // OCP NIC TEMP temperature-sensor@1f { compatible =3D "ti,tmp421"; --=20 2.49.0 From nobody Sun Oct 5 21:57:18 2025 Received: from mail-pf1-f180.google.com (mail-pf1-f180.google.com [209.85.210.180]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0F8242877C6; Tue, 29 Jul 2025 09:14:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.180 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1753780448; cv=none; b=RAGXn8JsUZupjIrNvDF8ZfMmkuhGG1pX4qiEExaJPOkZancnAEpOwU3JToWxtQYH7CYQs85M5vwsYfNDjuCKocUO0KJwnS73eUtXML94mFBUaS6oK2S+6zXUrxGOrQFCGq89KcJ4Fb/RXPuRwy9oRQjpI5McSM1mKpdteSgr7LQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1753780448; c=relaxed/simple; bh=N2Dmzvg/4ZCxBDZwNT9DZo8FgkHuriddsUJnyBpeCEI=; h=From:To:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=c2TnqsdTP5DQcaVU6k6Txwm/DMLAxQYYvIdPl+8nwtflNQLF7W6ORs3kOcWuug5UQBLt/A6ibh7U2g1pwvYlE+DRN6V+epqsRO9j3u8bU7DGpTOsir9QRqOVsTHMlk48G5Vtuc8M5uoOZq9ASHM8OUy4UXzmca3nW5+9Ip5QSMw= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=du1NcOp/; arc=none smtp.client-ip=209.85.210.180 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="du1NcOp/" Received: by mail-pf1-f180.google.com with SMTP id d2e1a72fcca58-76a3374b143so186869b3a.0; Tue, 29 Jul 2025 02:14:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1753780446; x=1754385246; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=FEtF7qEvsNXTmyOD1T2fZBfkSHd2BexV1VORoI+Vnis=; b=du1NcOp/etOLJUq1TnQEkEtIyQOfxskMYaVMZtvzro96E12kIAwZev533w8do6Rowt FiNz7qnhUHazj3XKk792QhN2XVdJKQk1jaSRewTVDFY0GIrPcGXgE89AA/0fN2EVzoDO oGmJKN5TdtmiDW1NkPIOdPr3vnL7z8+Wvi/FcD4jIKCgtW1xtY+EupiXz6Fel0JxbhcE deA/l3QTKSg6Q5P0y7gTIA1zIvd4HndsOxKdURsTtoYvVPXhHuRy1onuGPj2EY7PFHiY /MbczkGizg5T2bgaog5KiucEmW4dIuOxeTXUwAwSwh431k8pw1nOA/nVMSd48J5Q+vfc ofeQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1753780446; x=1754385246; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=FEtF7qEvsNXTmyOD1T2fZBfkSHd2BexV1VORoI+Vnis=; b=f0aysy832y+SWydeYD6usjCnT+XQKCYCE4IxKUG/RrIZPE7nTI2ToQZRAHyqpf1W4w leFPYMmgobOp8k933AjPbGvecu5rqrjo5sMz/15YQRhsUlvm5Lar5floKDi/0kvwMjQa jxUEccbAPzt+zxqxxLsxGY6g52s+p6+a5dpf4cyoW0VBivpnVbxbsiI98Y3I2u8Y3yIK fdMOMBkGkvZOJ1irmafUPwn8Tt7kh7MJQ9ybGWpf2NqBF7stl0LQeNShQYr68hVVI0q9 rwXLZ3hA5IbsDE+O86mMYuNqC9kZnzs12gJUC4lLGWCpc97hgLsMeG+MHIm3/puVb8OI bhgA== X-Forwarded-Encrypted: i=1; AJvYcCURRjVZHzjCIuBIIqsSi4tcjt7QEg1yQ1iCexqGEYWNIx98nkjkhDXpUt9VD3+MfO7cdwBhl3g3tCKZFLgY@vger.kernel.org, AJvYcCVLtQJMjuSC3JVDponmSTsZtryRredeSAJu2gdvnzzv5Ee5KD8wtcTrS6ViBFoEjEoACjMM24NV584s@vger.kernel.org X-Gm-Message-State: AOJu0YwhNNwAYNDeN8hpt2kbPn/veNZhJPT4Fjugu8SZUsY5PSH7HJwe NXAOhTdOI919mUJU8Yp1JgbV4OOzfSvqGt46p6Zp513AxbukLaUigJjS X-Gm-Gg: ASbGncvm5sH6wiSpPSKje0sRMC4juYgmjJD4V0naabRNbKjRshBx1pvJY4I4EM2PjR4 hErThqM8VvDQI/gkWx3RCjeNbjV+A+o5xtopEZ4gJWAvn1VC352VLlG0rMUl8c1mtEBccOuHMVi FTxISYLM59Uf6nPAQPhb9E8iBkjccKDo9qg44vJoQ5wJEB0u68KNxvG/7m6oTZa9u5h6OLyCODp bUuejg1SK6PQuXZty/5PhfF34P4oPhk78vUuQUoamR98St5gr+edVqNxIn9lEf1lCm0NOyOETCq Yr67z1MyhPZXCegmtcWVDVm3wWmhtjegOGTYvagmVctZibT2CIvk29y8YI9DGonWQ/J6zpVpwYI b+aRFbDMogYRthDwx4BqNX3vQVkqXgojgPdf8vj/l/x/2ZlRpACU/lzpCCjbtNm5vAKtTsRbnzO 4LWnz5J2CtoiJijIVB6/JiEAri3aGLzXE+uo38LVEejXz/owc= X-Google-Smtp-Source: AGHT+IGZbRiJ4XM9/7SP0TbANTsh6WCA507Pa7WbbQuyrxdcEdrxbpHYh29JWvG1Csf/3GaK7l82Mw== X-Received: by 2002:a05:6a20:7491:b0:21c:fbf0:21bb with SMTP id adf61e73a8af0-23d70171d80mr25597800637.24.1753780446288; Tue, 29 Jul 2025 02:14:06 -0700 (PDT) Received: from fred-System-Product-Name.. (2001-b400-e38d-c586-0429-5c72-053d-8858.emome-ip6.hinet.net. [2001:b400:e38d:c586:429:5c72:53d:8858]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-7640b8b06ddsm7528612b3a.121.2025.07.29.02.14.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 29 Jul 2025 02:14:05 -0700 (PDT) From: Fred Chen To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Joel Stanley , Andrew Jeffery , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: [PATCH v1 3/3] ARM: dts: aspeed: santabarbara: Adjust LED configuration Date: Tue, 29 Jul 2025 17:13:45 +0800 Message-ID: <20250729091351.3964939-4-fredchen.openbmc@gmail.com> X-Mailer: git-send-email 2.49.0 In-Reply-To: <20250729091351.3964939-1-fredchen.openbmc@gmail.com> References: <20250729091351.3964939-1-fredchen.openbmc@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Add a new power fault LED on GPIOB5 and relocate the ID LED to GPIOQ4. The ID LED is now driven by the CPLD, allowing it to reflect multiple system states depending on CPLD logic. Signed-off-by: Fred Chen --- .../boot/dts/aspeed/aspeed-bmc-facebook-santabarbara.dts | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-santabarbara.dts = b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-santabarbara.dts index ed30f3bf61a4..c7eb30e5baad 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-santabarbara.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-santabarbara.dts @@ -94,7 +94,7 @@ led-0 { }; =20 led-1 { - label =3D "fp_id_amber"; + label =3D "power_fault"; default-state =3D "off"; gpios =3D <&gpio0 ASPEED_GPIO(B, 5) GPIO_ACTIVE_HIGH>; }; @@ -104,6 +104,12 @@ led-2 { default-state =3D "off"; gpios =3D <&gpio0 ASPEED_GPIO(P, 4) GPIO_ACTIVE_HIGH>; }; + + led-3 { + label =3D "fp_id_amber"; + default-state =3D "off"; + gpios =3D <&gpio0 ASPEED_GPIO(Q, 4) GPIO_ACTIVE_HIGH>; + }; }; =20 memory@80000000 { --=20 2.49.0