From patchwork Wed Nov 2 22:35:54 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joel Stanley X-Patchwork-Id: 13029094 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 4036DC433FE for ; Wed, 2 Nov 2022 22:37:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To :From:Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=CgG07Au5fl7kkA/uqm3IUV9j2g5gtBZRM5jyqcGpZ94=; b=NaZPjxr/5zZnPY omBl6IXXYLfQj1gR7V7Lt3BdBAi2s3GZ+8kYS9Rl+qRy3kwO3yn88T+d84zZ9o79Q/WL+HkcbLZQC Wsslo6aVvrZKlaUebgFeLd2s7tCj85hi1JTxc3gF8ARC5fKBYRWdTHOFk/dwgix9W/nb53+2IE0Qn JlZT0syCpVhxMsstvbMCaOyoJO7JPc5ZQ69q499oNBUa8VV5BEDsEj45osxeU5WI9lMBhmZkuajtk /IBi+GsinDY8qRZQEotsJpQwWyiyVJlpRp2OijT2cJMEzGxco3BZNRodDEDisHQEBpxF6L40HDV8N 7ylVurdCHx35/VCr+mbw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oqMLG-00EjcF-Pm; Wed, 02 Nov 2022 22:36:14 +0000 Received: from mail-pj1-x1030.google.com ([2607:f8b0:4864:20::1030]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oqMLD-00EjaW-GG for linux-arm-kernel@lists.infradead.org; Wed, 02 Nov 2022 22:36:13 +0000 Received: by mail-pj1-x1030.google.com with SMTP id r61-20020a17090a43c300b00212f4e9cccdso3465030pjg.5 for ; Wed, 02 Nov 2022 15:36:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:sender:from:to:cc:subject:date:message-id:reply-to; bh=asm9P2XWCiMn4Vml+HfqmeJ9Equ9Ftejm36QD1NxLfk=; b=Ogx+ovNo3m6QYt25heGGrophhpPrSU/hM1qrG2ZXat8H2b1CelNLQJ++X8wfjdJWrg ykoGUchkDJuKmxDJ3RNEktphd09n1pGRqAdLFXhMiQ+Z09QdRPBJazLXLAEEhrko6A2r J7DSQXQv9YyNNJvH8krAkNUZUaWyIoNPpxHcJLggARUMbAtXFR+T6PlgNX2hWOFMvdw4 MxgaVoxTaWFDIsrYFkRCgcf/sYiK+jVlfsWD5neQtAqqbAaFE/dP/5kMFxPTdzx3L9Vm sz19h5M0gXimjJSL/XY+c8IbtSHvkHHXxAn+Yi+0PkTvwATu/69olmsjJthEDihlcrG+ 7pCw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:sender:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=asm9P2XWCiMn4Vml+HfqmeJ9Equ9Ftejm36QD1NxLfk=; b=J/PyEE2nft5fcSacv5uajaXcJtKGZqs4DW7Aw7sIr1jxLPDEN37ocgdDZS5vBgwOcC PFmsrwpYd2YX1xj0853Ywce9N/RpBZp5VNxlLlTLzzi6IJrEKFDVv0aCr0UodvtZjcWS jcrtwAby1HpTaFd0F/yQpLCvA6CxADNKSovchMK1KKXWXdW2MJT1s3Uk0c1tmVPaPNqM mBFIKmROI+DCN9f5w8DcEyaIIKdGXAHDg9tS/1CgDI8uQUe/dHsCcbejp4JnoLu7tOJE bjFCLoX46n1a56p5PeFY6grAxaZDP9clBbfStWKfK5MJ9+Voidcj7/p3Xds38xJ52MMa hK9A== X-Gm-Message-State: ACrzQf1Qsnuab3SOQVf3pUlYWVwEy9V2MCR5oCXyr3uPsAAKiqy/bF7q fxU0WHXqmcSyO/7N6mvCQBeKbINFdfw= X-Google-Smtp-Source: AMsMyM5W061wByaviVk7pjg2O41hBR/HQDAb/69JoRcj9Tuv9AKMR8HHMCypfdiVv2DeafGPv4stKA== X-Received: by 2002:a17:902:7101:b0:180:202c:ad77 with SMTP id a1-20020a170902710100b00180202cad77mr28075680pll.47.1667428569952; Wed, 02 Nov 2022 15:36:09 -0700 (PDT) Received: from localhost.localdomain ([45.124.203.18]) by smtp.gmail.com with ESMTPSA id r11-20020aa7988b000000b0056babe4fb8asm8927241pfl.49.2022.11.02.15.36.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Nov 2022 15:36:09 -0700 (PDT) From: Joel Stanley To: linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org Subject: [PATCH] ARM: dts: aspeed: rainier: Fix pca9551 nodes Date: Thu, 3 Nov 2022 09:05:54 +1030 Message-Id: <20221102223554.1738642-1-joel@jms.id.au> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221102_153611_571844_F3EA10A5 X-CRM114-Status: GOOD ( 11.83 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Santosh Puranik The pca9551 compatible LED drivers are under the pca9546 mux on Rainier pass > 1. On pass 1, they are directly connected to the aspeed i2c. Signed-off-by: Santosh Puranik Signed-off-by: Joel Stanley --- arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts | 208 +++++++++---------- 1 file changed, 104 insertions(+), 104 deletions(-) diff --git a/arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts b/arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts index 24c1f698275d..05d856856844 100644 --- a/arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts +++ b/arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts @@ -1018,32 +1018,6 @@ tmp275@4a { reg = <0x4a>; }; - pca9551@60 { - compatible = "nxp,pca9551"; - reg = <0x60>; - #address-cells = <1>; - #size-cells = <0>; - - gpio-controller; - #gpio-cells = <2>; - - led@0 { - label = "cablecard0-cxp-top"; - reg = <0>; - retain-state-shutdown; - default-state = "keep"; - type = ; - }; - - led@1 { - label = "cablecard0-cxp-bot"; - reg = <1>; - retain-state-shutdown; - default-state = "keep"; - type = ; - }; - }; - pca9546@70 { compatible = "nxp,pca9546"; reg = <0x70>; @@ -1061,6 +1035,32 @@ eeprom@50 { compatible = "atmel,24c64"; reg = <0x50>; }; + + pca9551@60 { + compatible = "nxp,pca9551"; + reg = <0x60>; + #address-cells = <1>; + #size-cells = <0>; + + gpio-controller; + #gpio-cells = <2>; + + led@0 { + label = "cablecard0-cxp-top"; + reg = <0>; + retain-state-shutdown; + default-state = "keep"; + type = ; + }; + + led@1 { + label = "cablecard0-cxp-bot"; + reg = <1>; + retain-state-shutdown; + default-state = "keep"; + type = ; + }; + }; }; i2c4mux0chn1: i2c@1 { @@ -1100,58 +1100,6 @@ tmp275@49 { reg = <0x49>; }; - pca9551@60 { - compatible = "nxp,pca9551"; - reg = <0x60>; - #address-cells = <1>; - #size-cells = <0>; - - gpio-controller; - #gpio-cells = <2>; - - led@0 { - label = "cablecard3-cxp-top"; - reg = <0>; - retain-state-shutdown; - default-state = "keep"; - type = ; - }; - - led@1 { - label = "cablecard3-cxp-bot"; - reg = <1>; - retain-state-shutdown; - default-state = "keep"; - type = ; - }; - }; - - pca9551@61 { - compatible = "nxp,pca9551"; - reg = <0x61>; - #address-cells = <1>; - #size-cells = <0>; - - gpio-controller; - #gpio-cells = <2>; - - led@0 { - label = "cablecard4-cxp-top"; - reg = <0>; - retain-state-shutdown; - default-state = "keep"; - type = ; - }; - - led@1 { - label = "cablecard4-cxp-bot"; - reg = <1>; - retain-state-shutdown; - default-state = "keep"; - type = ; - }; - }; - pca9546@70 { compatible = "nxp,pca9546"; reg = <0x70>; @@ -1169,6 +1117,32 @@ eeprom@50 { compatible = "atmel,24c64"; reg = <0x50>; }; + + pca9551@60 { + compatible = "nxp,pca9551"; + reg = <0x60>; + #address-cells = <1>; + #size-cells = <0>; + + gpio-controller; + #gpio-cells = <2>; + + led@0 { + label = "cablecard3-cxp-top"; + reg = <0>; + retain-state-shutdown; + default-state = "keep"; + type = ; + }; + + led@1 { + label = "cablecard3-cxp-bot"; + reg = <1>; + retain-state-shutdown; + default-state = "keep"; + type = ; + }; + }; }; i2c5mux0chn1: i2c@1 { @@ -1180,6 +1154,32 @@ eeprom@51 { compatible = "atmel,24c64"; reg = <0x51>; }; + + pca9551@61 { + compatible = "nxp,pca9551"; + reg = <0x61>; + #address-cells = <1>; + #size-cells = <0>; + + gpio-controller; + #gpio-cells = <2>; + + led@0 { + label = "cablecard4-cxp-top"; + reg = <0>; + retain-state-shutdown; + default-state = "keep"; + type = ; + }; + + led@1 { + label = "cablecard4-cxp-bot"; + reg = <1>; + retain-state-shutdown; + default-state = "keep"; + type = ; + }; + }; }; }; }; @@ -2032,32 +2032,6 @@ tmp275@49 { reg = <0x49>; }; - pca9551@60 { - compatible = "nxp,pca9551"; - reg = <0x60>; - #address-cells = <1>; - #size-cells = <0>; - - gpio-controller; - #gpio-cells = <2>; - - led@0 { - label = "cablecard10-cxp-top"; - reg = <0>; - retain-state-shutdown; - default-state = "keep"; - type = ; - }; - - led@1 { - label = "cablecard10-cxp-bot"; - reg = <1>; - retain-state-shutdown; - default-state = "keep"; - type = ; - }; - }; - pca9546@70 { compatible = "nxp,pca9546"; reg = <0x70>; @@ -2075,6 +2049,32 @@ eeprom@50 { compatible = "atmel,24c64"; reg = <0x50>; }; + + pca9551@60 { + compatible = "nxp,pca9551"; + reg = <0x60>; + #address-cells = <1>; + #size-cells = <0>; + + gpio-controller; + #gpio-cells = <2>; + + led@0 { + label = "cablecard10-cxp-top"; + reg = <0>; + retain-state-shutdown; + default-state = "keep"; + type = ; + }; + + led@1 { + label = "cablecard10-cxp-bot"; + reg = <1>; + retain-state-shutdown; + default-state = "keep"; + type = ; + }; + }; }; i2c11mux0chn1: i2c@1 {