Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp674625pxv; Wed, 14 Jul 2021 12:44:56 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxLDm5CMvp/HF9MQBRs+30f1E0+7zY9NON3VVT86wTbfakhWh5ImhhyJxEkXX9KdA6JSevH X-Received: by 2002:a05:6402:502:: with SMTP id m2mr16091857edv.57.1626291896076; Wed, 14 Jul 2021 12:44:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626291896; cv=none; d=google.com; s=arc-20160816; b=V2lFaPr5MtbFzqJ8lypnxnigsX1RRtuXQXQiK/HpOFllJYrSlPHaQ6jCNS5z/issGa /1ozaaA6TQo8FXDGkXTbSX+sEeX8ojknkQxNAb/+t8Ko2Jrr0KeoOsKai6rNUuiT5ti0 trhXXmSgE+2ptUAYlPPY8ToqJRuEd/YoKIh/7QJVbr5gCw3fxxNyJWIBofFZ4n+BbBvV 8U0KnXijgbGRFyODr53CLpwAJnbZ2/JJYgZL/42pMGBuE7IxVzFSvCqhvLjwcGXBa+TK 5BS9U2HAMCPhKx8mvx6RBLOgt76Cvs2WjwLyNPOsUipPYVy1F2XBrvoq9gg2rYMDOq52 AA9w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=c89ELc5stnV59fpiwVbtL09UYljaneewPi4y2/Hg3Jc=; b=PxVcyURlE9hynNXZLw1kHiV6/GmunfV50CjoH3g/NlsmuV7fmOpWeD+HPui6jyO0Fc Qt1F8g3x5Zdkl4KyLKAUDVQmgyk/c52yVzQ31VU10LAXC2wI2zhO4RtsN1kwna7H/eqA 2F8+McdnSmayizBr/kxPtDXRuodama3TeVT5kGKyarxipGZltOjSW40f6Rcnc9z71VWa TiXpPMsvBlPtKwyFTo3Ly8KF5MeldEPr+fsA3qNplpsDViQ1k+eLQnj4pSUumfEQJE4j bB2W1pw0NwBI2tr6sg2eEogQEpzAR8bcdB1kzARnVcbPfMw3v+YjtmeHdr9QBNhcufGw qOcw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=izee9JHd; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id zo9si4019294ejb.628.2021.07.14.12.44.30; Wed, 14 Jul 2021 12:44:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=izee9JHd; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235716AbhGNTnm (ORCPT + 99 others); Wed, 14 Jul 2021 15:43:42 -0400 Received: from mail.kernel.org ([198.145.29.99]:37098 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229779AbhGNTma (ORCPT ); Wed, 14 Jul 2021 15:42:30 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 8C258613CF; Wed, 14 Jul 2021 19:39:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1626291576; bh=lrWpKwP8nOxGEVR6JMOZyNEM335MQz25AnAVPJiYWSc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=izee9JHdmy1AQHb9EXeCdHmwHVAMAvNHZngaxN0lHXsxTnT6w//4FM8GHZZSr3wAk beYMDvyuzmdE4xj7m1+q9b/eojczJ0BtMdc4pEPAgYJkCKVawqvZnhf+r5JE8Mr4B2 mSaCPtwEqFUzQ0kPjbxczAQoRCL2NKnLvxjxBPtYV/+B00lpn5DSlA5j3GUIQnsDEg Y2NASC5HjAQF1sr+IlOZMnIMw0d3L+o1aioE5vMNmnUO619LWKpiEtvsYqoAZssWac m4he3KeR2kV5k6i/At5mNbo/+Ld+CFe/H6l9jszCr7VQt5wOzLLJ1LhibcU0+LC65B epjq8f470ab8Q== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Santosh Puranik , Eddie James , Joel Stanley , Sasha Levin , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org Subject: [PATCH AUTOSEL 5.13 066/108] ARM: dts: aspeed: Everest: Fix cable card PCA chips Date: Wed, 14 Jul 2021 15:37:18 -0400 Message-Id: <20210714193800.52097-66-sashal@kernel.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210714193800.52097-1-sashal@kernel.org> References: <20210714193800.52097-1-sashal@kernel.org> MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Santosh Puranik [ Upstream commit 010da3daf9278ed03d38b7dcb0422f1a7df1bdd3 ] Correct two PCA chips which were placed on the wrong I2C bus and address. Signed-off-by: Eddie James Signed-off-by: Santosh Puranik Signed-off-by: Joel Stanley Signed-off-by: Sasha Levin --- arch/arm/boot/dts/aspeed-bmc-ibm-everest.dts | 168 +++++++++---------- 1 file changed, 83 insertions(+), 85 deletions(-) diff --git a/arch/arm/boot/dts/aspeed-bmc-ibm-everest.dts b/arch/arm/boot/dts/aspeed-bmc-ibm-everest.dts index 3295c8c7c05c..27af28c8847d 100644 --- a/arch/arm/boot/dts/aspeed-bmc-ibm-everest.dts +++ b/arch/arm/boot/dts/aspeed-bmc-ibm-everest.dts @@ -353,10 +353,47 @@ gpio@15 { &i2c1 { status = "okay"; +}; + +&i2c2 { + status = "okay"; +}; - pca2: pca9552@61 { +&i2c3 { + status = "okay"; + + eeprom@54 { + compatible = "atmel,24c128"; + reg = <0x54>; + }; + + power-supply@68 { + compatible = "ibm,cffps"; + reg = <0x68>; + }; + + power-supply@69 { + compatible = "ibm,cffps"; + reg = <0x69>; + }; + + power-supply@6a { + compatible = "ibm,cffps"; + reg = <0x6a>; + }; + + power-supply@6b { + compatible = "ibm,cffps"; + reg = <0x6b>; + }; +}; + +&i2c4 { + status = "okay"; + + pca2: pca9552@65 { compatible = "nxp,pca9552"; - reg = <0x61>; + reg = <0x65>; #address-cells = <1>; #size-cells = <0>; @@ -424,12 +461,54 @@ gpio@9 { reg = <9>; type = ; }; + }; + i2c-switch@70 { + compatible = "nxp,pca9546"; + reg = <0x70>; + #address-cells = <1>; + #size-cells = <0>; + status = "okay"; + i2c-mux-idle-disconnect; + + i2c4mux0chn0: i2c@0 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0>; + eeprom@52 { + compatible = "atmel,24c64"; + reg = <0x52>; + }; + }; + + i2c4mux0chn1: i2c@1 { + #address-cells = <1>; + #size-cells = <0>; + reg = <1>; + eeprom@50 { + compatible = "atmel,24c64"; + reg = <0x50>; + }; + }; + + i2c4mux0chn2: i2c@2 { + #address-cells = <1>; + #size-cells = <0>; + reg = <2>; + eeprom@51 { + compatible = "atmel,24c64"; + reg = <0x51>; + }; + }; }; +}; - pca3: pca9552@62 { +&i2c5 { + status = "okay"; + + pca3: pca9552@66 { compatible = "nxp,pca9552"; - reg = <0x62>; + reg = <0x66>; #address-cells = <1>; #size-cells = <0>; @@ -512,87 +591,6 @@ gpio@11 { }; -}; - -&i2c2 { - status = "okay"; -}; - -&i2c3 { - status = "okay"; - - eeprom@54 { - compatible = "atmel,24c128"; - reg = <0x54>; - }; - - power-supply@68 { - compatible = "ibm,cffps"; - reg = <0x68>; - }; - - power-supply@69 { - compatible = "ibm,cffps"; - reg = <0x69>; - }; - - power-supply@6a { - compatible = "ibm,cffps"; - reg = <0x6a>; - }; - - power-supply@6b { - compatible = "ibm,cffps"; - reg = <0x6b>; - }; -}; - -&i2c4 { - status = "okay"; - - i2c-switch@70 { - compatible = "nxp,pca9546"; - reg = <0x70>; - #address-cells = <1>; - #size-cells = <0>; - status = "okay"; - i2c-mux-idle-disconnect; - - i2c4mux0chn0: i2c@0 { - #address-cells = <1>; - #size-cells = <0>; - reg = <0>; - eeprom@52 { - compatible = "atmel,24c64"; - reg = <0x52>; - }; - }; - - i2c4mux0chn1: i2c@1 { - #address-cells = <1>; - #size-cells = <0>; - reg = <1>; - eeprom@50 { - compatible = "atmel,24c64"; - reg = <0x50>; - }; - }; - - i2c4mux0chn2: i2c@2 { - #address-cells = <1>; - #size-cells = <0>; - reg = <2>; - eeprom@51 { - compatible = "atmel,24c64"; - reg = <0x51>; - }; - }; - }; -}; - -&i2c5 { - status = "okay"; - i2c-switch@70 { compatible = "nxp,pca9546"; reg = <0x70>; -- 2.30.2