From mboxrd@z Thu Jan 1 00:00:00 1970 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 88224C54F52 for ; Wed, 29 Jul 2026 11:43:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=rCnLVLhWtVLLmpN3x9fjuaEAEUhiKYtsxACEAQQZJ0o=; b=BDQcxxISuXMPrdDwEMUWRkLvkA 02c5MHVsOIK6cCH75Om0ZHto3dSUQQKeIqD9PwcYeFAPbbVia6FzW62dxRAT+H4xnmjiBMqCjGqoi NGaaJygvhP1HGuLioZTDABkY///Lh718NN26JAk6ZalIys7x6i4a7iyRhk5ho28MzZ5tQkHZFCale 3rYiEQBiX7uNlKzIROhwqD8HBMlcfrxMBhc3vL+SK1MWXW49byJlz/mxL1tRySqRpboPuTCjOLul5 b38AMQVqkpfhA6+DnpLxsStc2pFTqQs6biZb5Gy9KDxEgCS5cfnjrkIUFdTVhDY0tkMI2ALtEHQLS gaOjWJvg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.99.1 #2 (Red Hat Linux)) id 1wp2gw-00000007lM9-08Qh; Wed, 29 Jul 2026 11:43:18 +0000 Received: from mail-pf1-x42c.google.com ([2607:f8b0:4864:20::42c]) by bombadil.infradead.org with esmtps (Exim 4.99.1 #2 (Red Hat Linux)) id 1wp2go-00000007lIy-2K0z for linux-arm-kernel@lists.infradead.org; Wed, 29 Jul 2026 11:43:11 +0000 Received: by mail-pf1-x42c.google.com with SMTP id d2e1a72fcca58-84e84a6c4bfso773710b3a.1 for ; Wed, 29 Jul 2026 04:43:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1785325389; x=1785930189; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=rCnLVLhWtVLLmpN3x9fjuaEAEUhiKYtsxACEAQQZJ0o=; b=EgnfUj9MIRsaDAILqL30ZvffW67FF7Q/PFsHDciN+th7MENU73Pkwt2qYhD09zOzFQ e0ZrvQJ14AmpmAgWgUY6pcTofV+TvNQMJXHjzUet/honm1Ygrn7DJ/vqNCLNZESC+FVm UnWue9CFDMcsZb/+os5fzGkP8UM3FZrwX9pVI1SC7GAZUS4ot6wIUtlZNVVfjEHvOYhM Myy72/Je3jzBfhHake05ZXZlf2fIH5HuvlOjpU4gP92bBhQ6sUFEfx+s/uMcdWRW0MbL gsMLhul4yO/gN3nbgO7BzzySfZEkJDTRmjBUCtIOdlUWFixVk1jx06MqVZDgGOWFKD02 ETTw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1785325389; x=1785930189; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=rCnLVLhWtVLLmpN3x9fjuaEAEUhiKYtsxACEAQQZJ0o=; b=mb1ay2UCnLgpN0nnRKKYco9k0qXmaPgkAIa85BshpQ5gJeo+rT7O9ll9m0tX63grY5 VXfPO8aenbd5lZSd3g5gfKaTDPgBv4GO/JdGR3aD5Pwy+mJXyCATNhuQ20Kp68fKB3Do +hKLQXu9BDBVoWdWHL1UtzKZ/Rh0wGc7DkbA6I8EDtjgzUcWW947lop/sOnZUO7+J/IH c9iSKCdJQOkZ7gz2OSM3jh8kn9P2K1ofL4OGCgDRvDgGOTxG+VoUwAwS0SJpvimfLNQ0 CRr/WVcm+ATMAExSZfdgK45n3pJLTUvhn8yd4mWSH+wyXmjiOflraNwJr5CoukRFLGMZ GpdQ== X-Forwarded-Encrypted: i=1; AHgh+RqfAtfMuO6ANvx6DuQ8uftFfOKykJiWzdZykFpcPg3qfygUtbRq7dqQwpYPhgBueuiA5/BQ1GRc8nhRDAwklcQ+@lists.infradead.org X-Gm-Message-State: AOJu0YyimMIGZz+ysWpQ8wVCKh4E41K29Jcj9RNgKOT1YzGkV9ybdFXB 2jVeIJ68Si5MaZUah0DfoeQVSbEzh/g1IFjhbpBjTdO5tdss9lL0ZdTx X-Gm-Gg: AR+sD109kvzzgfud/wwmejO3F0AsNc4/YqhQP7TqYAHJltQh0mNGEoH+JgNdgPY3jNR /Ncowyw4baEmzbl0wM6ADFq1GW4GBpcPVMapFI+9r7R/03C/h9yCht4SiAi7h/zdKTVzpkxSRTd YvmB+yxAXyh0bokxI7X+Arg8z1hAs/PkTww7uqMz8pgsxuH9LLmHXMEHle1wp1VwE4uOSkEYbSy xbgJ6dDBTGjQhPKqj6nj5ers76UFEshGZ8TOhldhxCUiD2cEPTR5TpPNpOpbWuZqQ7n9uuHxj7E h1Aa031PCxAnrGoLSJ62KJ5nZQ8fHHFIXoneejbeMf6+NtGr/JiQr0RW7zIrLQRqqcckqqCTCmw A+3kK6L8/v294tgUhTtsTY38e8gLnwaLX4MU5tGxaBtj0WiWyKMCrzBRg1EAGU5I+QOODkzV5AN LdS+pxguFS2s4ucOqZpKzIXbCGldrZ6evHy/0h3MgsHZlp5tJDWwm2Zs7H7a6GxigbCNr6FbMxe fhNHZVymnUYSCeHW6+1zlkRggOTUV4WgBEDcVsi/rw5lw== X-Received: by 2002:a05:6a00:3d42:b0:848:420a:9ce0 with SMTP id d2e1a72fcca58-84ea79472b7mr1947737b3a.6.1785325389498; Wed, 29 Jul 2026 04:43:09 -0700 (PDT) Received: from cosmo-ubuntu-2404.. (61-220-246-151.hinet-ip.hinet.net. [61.220.246.151]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-84ea03cbd1csm1263532b3a.53.2026.07.29.04.43.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Jul 2026 04:43:09 -0700 (PDT) From: Cosmo Chou To: robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, joel@jms.id.au, andrew@codeconstruct.com.au Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org, cosmo.chou@quantatw.com, Cosmo Chou Subject: [PATCH v2 1/4] ARM: dts: aspeed: bletchley: Sort i2c device nodes by address Date: Wed, 29 Jul 2026 19:43:09 +0800 Message-ID: <20260729114312.3947300-2-chou.cosmo@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260729114312.3947300-1-chou.cosmo@gmail.com> References: <20260729114312.3947300-1-chou.cosmo@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.9.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20260729_044310_619963_CD75B07C X-CRM114-Status: GOOD ( 10.86 ) 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 Reorder child nodes in i2c0-i2c6 to follow ascending unit address ordering as required by scripts/dtc/dt-check-style. No functional changes. Signed-off-by: Cosmo Chou --- .../aspeed/aspeed-bmc-facebook-bletchley.dts | 430 +++++++++--------- 1 file changed, 218 insertions(+), 212 deletions(-) diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-bletchley.dts b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-bletchley.dts index d1a04b63df9e..b022bdd02c1e 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-bletchley.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-bletchley.dts @@ -343,10 +343,25 @@ flash@0 { &i2c0 { status = "okay"; - ina230@45 { - compatible = "ti,ina230"; - reg = <0x45>; - shunt-resistor = <2000>; + + sled1_fusb302: typec-portc@22 { + compatible = "fcs,fusb302"; + reg = <0x22>; + + interrupt-parent = <&gpio0>; + interrupts = ; + vbus-supply = <&vbus_sled1>; + + connector { + compatible = "usb-c-connector"; + label = "USB-C"; + pd-revision = /bits/ 8 <0x2 0x0 0x1 0x20>; + power-role = "dual"; + data-role = "dual"; + source-pdos = ; + sink-pdos = ; + op-sink-microwatt = <10000000>; + }; }; mp5023@40 { @@ -354,11 +369,6 @@ mp5023@40 { reg = <0x40>; }; - tmp421@4f { - compatible = "ti,tmp421"; - reg = <0x4f>; - }; - sled1_ioexp41: pca9536@41 { compatible = "nxp,pca9536"; reg = <0x41>; @@ -370,20 +380,20 @@ sled1_ioexp41: pca9536@41 { "SLED1_CLKREQ_N", "SLED1_PCIE_PWR_EN"; }; - sled1_ioexp: pca9539@76 { - compatible = "nxp,pca9539"; - reg = <0x76>; - gpio-controller; - #gpio-cells = <2>; + ina230@45 { + compatible = "ti,ina230"; + reg = <0x45>; + shunt-resistor = <2000>; + }; - interrupt-parent = <&gpio0>; - interrupts = ; + tmp421@4f { + compatible = "ti,tmp421"; + reg = <0x4f>; + }; - gpio-line-names = - "SLED1_MS_DETECT1","SLED1_VBUS_BMC_EN","SLED1_INA230_ALERT","SLED1_P12V_STBY_ALERT", - "SLED1_SSD_ALERT","SLED1_MS_DETECT0","SLED1_RST_CCG5","SLED1_FUSB302_INT", - "SLED1_MD_STBY_RESET","SLED1_MD_IOEXP_EN_FAULT","SLED1_MD_DIR","SLED1_MD_DECAY", - "SLED1_MD_MODE1","SLED1_MD_MODE2","SLED1_MD_MODE3","power-host1"; + eeprom@54 { + compatible = "atmel,24c64"; + reg = <0x54>; }; sled1_leds: pca9552@67 { @@ -401,13 +411,33 @@ sled1_leds: pca9552@67 { "","","",""; }; - sled1_fusb302: typec-portc@22 { + sled1_ioexp: pca9539@76 { + compatible = "nxp,pca9539"; + reg = <0x76>; + gpio-controller; + #gpio-cells = <2>; + + interrupt-parent = <&gpio0>; + interrupts = ; + + gpio-line-names = + "SLED1_MS_DETECT1","SLED1_VBUS_BMC_EN","SLED1_INA230_ALERT","SLED1_P12V_STBY_ALERT", + "SLED1_SSD_ALERT","SLED1_MS_DETECT0","SLED1_RST_CCG5","SLED1_FUSB302_INT", + "SLED1_MD_STBY_RESET","SLED1_MD_IOEXP_EN_FAULT","SLED1_MD_DIR","SLED1_MD_DECAY", + "SLED1_MD_MODE1","SLED1_MD_MODE2","SLED1_MD_MODE3","power-host1"; + }; +}; + +&i2c1 { + status = "okay"; + + sled2_fusb302: typec-portc@22 { compatible = "fcs,fusb302"; reg = <0x22>; interrupt-parent = <&gpio0>; - interrupts = ; - vbus-supply = <&vbus_sled1>; + interrupts = ; + vbus-supply = <&vbus_sled2>; connector { compatible = "usb-c-connector"; @@ -421,39 +451,51 @@ connector { }; }; - eeprom@54 { - compatible = "atmel,24c64"; - reg = <0x54>; + mp5023@40 { + compatible = "mps,mp5023"; + reg = <0x40>; + }; + + sled2_ioexp41: pca9536@41 { + compatible = "nxp,pca9536"; + reg = <0x41>; + gpio-controller; + #gpio-cells = <2>; + + gpio-line-names = + "SLED2_SWD_MUX", "SLED2_XRES_SWD_N", + "SLED2_CLKREQ_N", "SLED2_PCIE_PWR_EN"; }; -}; -&i2c1 { - status = "okay"; ina230@45 { compatible = "ti,ina230"; reg = <0x45>; shunt-resistor = <2000>; }; - mp5023@40 { - compatible = "mps,mp5023"; - reg = <0x40>; - }; - tmp421@4f { compatible = "ti,tmp421"; reg = <0x4f>; }; - sled2_ioexp41: pca9536@41 { - compatible = "nxp,pca9536"; - reg = <0x41>; + eeprom@54 { + compatible = "atmel,24c64"; + reg = <0x54>; + }; + + sled2_leds: pca9552@67 { + compatible = "nxp,pca9552"; + reg = <0x67>; + #address-cells = <1>; + #size-cells = <0>; gpio-controller; #gpio-cells = <2>; gpio-line-names = - "SLED2_SWD_MUX", "SLED2_XRES_SWD_N", - "SLED2_CLKREQ_N", "SLED2_PCIE_PWR_EN"; + "led-sled2-amber","led-sled2-blue","SLED2_RST_IOEXP","SLED2_MD_REF_PWM", + "","","","", + "","","","", + "","","",""; }; sled2_ioexp: pca9539@76 { @@ -471,29 +513,18 @@ sled2_ioexp: pca9539@76 { "SLED2_MD_STBY_RESET","SLED2_MD_IOEXP_EN_FAULT","SLED2_MD_DIR","SLED2_MD_DECAY", "SLED2_MD_MODE1","SLED2_MD_MODE2","SLED2_MD_MODE3","power-host2"; }; +}; - sled2_leds: pca9552@67 { - compatible = "nxp,pca9552"; - reg = <0x67>; - #address-cells = <1>; - #size-cells = <0>; - gpio-controller; - #gpio-cells = <2>; - - gpio-line-names = - "led-sled2-amber","led-sled2-blue","SLED2_RST_IOEXP","SLED2_MD_REF_PWM", - "","","","", - "","","","", - "","","",""; - }; +&i2c2 { + status = "okay"; - sled2_fusb302: typec-portc@22 { + sled3_fusb302: typec-portc@22 { compatible = "fcs,fusb302"; reg = <0x22>; interrupt-parent = <&gpio0>; - interrupts = ; - vbus-supply = <&vbus_sled2>; + interrupts = ; + vbus-supply = <&vbus_sled3>; connector { compatible = "usb-c-connector"; @@ -507,39 +538,51 @@ connector { }; }; - eeprom@54 { - compatible = "atmel,24c64"; - reg = <0x54>; + mp5023@40 { + compatible = "mps,mp5023"; + reg = <0x40>; + }; + + sled3_ioexp41: pca9536@41 { + compatible = "nxp,pca9536"; + reg = <0x41>; + gpio-controller; + #gpio-cells = <2>; + + gpio-line-names = + "SLED3_SWD_MUX", "SLED3_XRES_SWD_N", + "SLED3_CLKREQ_N", "SLED3_PCIE_PWR_EN"; }; -}; -&i2c2 { - status = "okay"; ina230@45 { compatible = "ti,ina230"; reg = <0x45>; shunt-resistor = <2000>; }; - mp5023@40 { - compatible = "mps,mp5023"; - reg = <0x40>; - }; - tmp421@4f { compatible = "ti,tmp421"; reg = <0x4f>; }; - sled3_ioexp41: pca9536@41 { - compatible = "nxp,pca9536"; - reg = <0x41>; + eeprom@54 { + compatible = "atmel,24c64"; + reg = <0x54>; + }; + + sled3_leds: pca9552@67 { + compatible = "nxp,pca9552"; + reg = <0x67>; + #address-cells = <1>; + #size-cells = <0>; gpio-controller; #gpio-cells = <2>; gpio-line-names = - "SLED3_SWD_MUX", "SLED3_XRES_SWD_N", - "SLED3_CLKREQ_N", "SLED3_PCIE_PWR_EN"; + "led-sled3-amber","led-sled3-blue","SLED3_RST_IOEXP","SLED3_MD_REF_PWM", + "","","","", + "","","","", + "","","",""; }; sled3_ioexp: pca9539@76 { @@ -557,29 +600,18 @@ sled3_ioexp: pca9539@76 { "SLED3_MD_STBY_RESET","SLED3_MD_IOEXP_EN_FAULT","SLED3_MD_DIR","SLED3_MD_DECAY", "SLED3_MD_MODE1","SLED3_MD_MODE2","SLED3_MD_MODE3","power-host3"; }; +}; - sled3_leds: pca9552@67 { - compatible = "nxp,pca9552"; - reg = <0x67>; - #address-cells = <1>; - #size-cells = <0>; - gpio-controller; - #gpio-cells = <2>; - - gpio-line-names = - "led-sled3-amber","led-sled3-blue","SLED3_RST_IOEXP","SLED3_MD_REF_PWM", - "","","","", - "","","","", - "","","",""; - }; +&i2c3 { + status = "okay"; - sled3_fusb302: typec-portc@22 { + sled4_fusb302: typec-portc@22 { compatible = "fcs,fusb302"; reg = <0x22>; interrupt-parent = <&gpio0>; - interrupts = ; - vbus-supply = <&vbus_sled3>; + interrupts = ; + vbus-supply = <&vbus_sled4>; connector { compatible = "usb-c-connector"; @@ -593,39 +625,51 @@ connector { }; }; - eeprom@54 { - compatible = "atmel,24c64"; - reg = <0x54>; + mp5023@40 { + compatible = "mps,mp5023"; + reg = <0x40>; + }; + + sled4_ioexp41: pca9536@41 { + compatible = "nxp,pca9536"; + reg = <0x41>; + gpio-controller; + #gpio-cells = <2>; + + gpio-line-names = + "SLED4_SWD_MUX", "SLED4_XRES_SWD_N", + "SLED4_CLKREQ_N", "SLED4_PCIE_PWR_EN"; }; -}; -&i2c3 { - status = "okay"; ina230@45 { compatible = "ti,ina230"; reg = <0x45>; shunt-resistor = <2000>; }; - mp5023@40 { - compatible = "mps,mp5023"; - reg = <0x40>; - }; - tmp421@4f { compatible = "ti,tmp421"; reg = <0x4f>; }; - sled4_ioexp41: pca9536@41 { - compatible = "nxp,pca9536"; - reg = <0x41>; + eeprom@54 { + compatible = "atmel,24c64"; + reg = <0x54>; + }; + + sled4_leds: pca9552@67 { + compatible = "nxp,pca9552"; + reg = <0x67>; + #address-cells = <1>; + #size-cells = <0>; gpio-controller; #gpio-cells = <2>; gpio-line-names = - "SLED4_SWD_MUX", "SLED4_XRES_SWD_N", - "SLED4_CLKREQ_N", "SLED4_PCIE_PWR_EN"; + "led-sled4-amber","led-sled4-blue","SLED4_RST_IOEXP","SLED4_MD_REF_PWM", + "","","","", + "","","","", + "","","",""; }; sled4_ioexp: pca9539@76 { @@ -643,29 +687,18 @@ sled4_ioexp: pca9539@76 { "SLED4_MD_STBY_RESET","SLED4_MD_IOEXP_EN_FAULT","SLED4_MD_DIR","SLED4_MD_DECAY", "SLED4_MD_MODE1","SLED4_MD_MODE2","SLED4_MD_MODE3","power-host4"; }; +}; - sled4_leds: pca9552@67 { - compatible = "nxp,pca9552"; - reg = <0x67>; - #address-cells = <1>; - #size-cells = <0>; - gpio-controller; - #gpio-cells = <2>; - - gpio-line-names = - "led-sled4-amber","led-sled4-blue","SLED4_RST_IOEXP","SLED4_MD_REF_PWM", - "","","","", - "","","","", - "","","",""; - }; +&i2c4 { + status = "okay"; - sled4_fusb302: typec-portc@22 { + sled5_fusb302: typec-portc@22 { compatible = "fcs,fusb302"; reg = <0x22>; interrupt-parent = <&gpio0>; - interrupts = ; - vbus-supply = <&vbus_sled4>; + interrupts = ; + vbus-supply = <&vbus_sled5>; connector { compatible = "usb-c-connector"; @@ -679,39 +712,51 @@ connector { }; }; - eeprom@54 { - compatible = "atmel,24c64"; - reg = <0x54>; + mp5023@40 { + compatible = "mps,mp5023"; + reg = <0x40>; + }; + + sled5_ioexp41: pca9536@41 { + compatible = "nxp,pca9536"; + reg = <0x41>; + gpio-controller; + #gpio-cells = <2>; + + gpio-line-names = + "SLED5_SWD_MUX", "SLED5_XRES_SWD_N", + "SLED5_CLKREQ_N", "SLED5_PCIE_PWR_EN"; }; -}; -&i2c4 { - status = "okay"; ina230@45 { compatible = "ti,ina230"; reg = <0x45>; shunt-resistor = <2000>; }; - mp5023@40 { - compatible = "mps,mp5023"; - reg = <0x40>; - }; - tmp421@4f { compatible = "ti,tmp421"; reg = <0x4f>; }; - sled5_ioexp41: pca9536@41 { - compatible = "nxp,pca9536"; - reg = <0x41>; + eeprom@54 { + compatible = "atmel,24c64"; + reg = <0x54>; + }; + + sled5_leds: pca9552@67 { + compatible = "nxp,pca9552"; + reg = <0x67>; + #address-cells = <1>; + #size-cells = <0>; gpio-controller; #gpio-cells = <2>; gpio-line-names = - "SLED5_SWD_MUX", "SLED5_XRES_SWD_N", - "SLED5_CLKREQ_N", "SLED5_PCIE_PWR_EN"; + "led-sled5-amber","led-sled5-blue","SLED5_RST_IOEXP","SLED5_MD_REF_PWM", + "","","","", + "","","","", + "","","",""; }; sled5_ioexp: pca9539@76 { @@ -729,29 +774,18 @@ sled5_ioexp: pca9539@76 { "SLED5_MD_STBY_RESET","SLED5_MD_IOEXP_EN_FAULT","SLED5_MD_DIR","SLED5_MD_DECAY", "SLED5_MD_MODE1","SLED5_MD_MODE2","SLED5_MD_MODE3","power-host5"; }; +}; - sled5_leds: pca9552@67 { - compatible = "nxp,pca9552"; - reg = <0x67>; - #address-cells = <1>; - #size-cells = <0>; - gpio-controller; - #gpio-cells = <2>; - - gpio-line-names = - "led-sled5-amber","led-sled5-blue","SLED5_RST_IOEXP","SLED5_MD_REF_PWM", - "","","","", - "","","","", - "","","",""; - }; +&i2c5 { + status = "okay"; - sled5_fusb302: typec-portc@22 { + sled6_fusb302: typec-portc@22 { compatible = "fcs,fusb302"; reg = <0x22>; interrupt-parent = <&gpio0>; - interrupts = ; - vbus-supply = <&vbus_sled5>; + interrupts = ; + vbus-supply = <&vbus_sled6>; connector { compatible = "usb-c-connector"; @@ -765,30 +799,11 @@ connector { }; }; - eeprom@54 { - compatible = "atmel,24c64"; - reg = <0x54>; - }; -}; - -&i2c5 { - status = "okay"; - ina230@45 { - compatible = "ti,ina230"; - reg = <0x45>; - shunt-resistor = <2000>; - }; - mp5023@40 { compatible = "mps,mp5023"; reg = <0x40>; }; - tmp421@4f { - compatible = "ti,tmp421"; - reg = <0x4f>; - }; - sled6_ioexp41: pca9536@41 { compatible = "nxp,pca9536"; reg = <0x41>; @@ -800,20 +815,20 @@ sled6_ioexp41: pca9536@41 { "SLED6_CLKREQ_N", "SLED6_PCIE_PWR_EN"; }; - sled6_ioexp: pca9539@76 { - compatible = "nxp,pca9539"; - reg = <0x76>; - gpio-controller; - #gpio-cells = <2>; + ina230@45 { + compatible = "ti,ina230"; + reg = <0x45>; + shunt-resistor = <2000>; + }; - interrupt-parent = <&gpio0>; - interrupts = ; + tmp421@4f { + compatible = "ti,tmp421"; + reg = <0x4f>; + }; - gpio-line-names = - "SLED6_MS_DETECT1","SLED6_VBUS_BMC_EN","SLED6_INA230_ALERT","SLED6_P12V_STBY_ALERT", - "SLED6_SSD_ALERT","SLED6_MS_DETECT0","SLED6_RST_CCG5","SLED6_FUSB302_INT", - "SLED6_MD_STBY_RESET","SLED6_MD_IOEXP_EN_FAULT","SLED6_MD_DIR","SLED6_MD_DECAY", - "SLED6_MD_MODE1","SLED6_MD_MODE2","SLED6_MD_MODE3","power-host6"; + eeprom@54 { + compatible = "atmel,24c64"; + reg = <0x54>; }; sled6_leds: pca9552@67 { @@ -831,45 +846,36 @@ sled6_leds: pca9552@67 { "","","",""; }; - sled6_fusb302: typec-portc@22 { - compatible = "fcs,fusb302"; - reg = <0x22>; + sled6_ioexp: pca9539@76 { + compatible = "nxp,pca9539"; + reg = <0x76>; + gpio-controller; + #gpio-cells = <2>; interrupt-parent = <&gpio0>; - interrupts = ; - vbus-supply = <&vbus_sled6>; - - connector { - compatible = "usb-c-connector"; - label = "USB-C"; - pd-revision = /bits/ 8 <0x2 0x0 0x1 0x20>; - power-role = "dual"; - data-role = "dual"; - source-pdos = ; - sink-pdos = ; - op-sink-microwatt = <10000000>; - }; - }; + interrupts = ; - eeprom@54 { - compatible = "atmel,24c64"; - reg = <0x54>; + gpio-line-names = + "SLED6_MS_DETECT1","SLED6_VBUS_BMC_EN","SLED6_INA230_ALERT","SLED6_P12V_STBY_ALERT", + "SLED6_SSD_ALERT","SLED6_MS_DETECT0","SLED6_RST_CCG5","SLED6_FUSB302_INT", + "SLED6_MD_STBY_RESET","SLED6_MD_IOEXP_EN_FAULT","SLED6_MD_DIR","SLED6_MD_DECAY", + "SLED6_MD_MODE1","SLED6_MD_MODE2","SLED6_MD_MODE3","power-host6"; }; }; &i2c6 { status = "okay"; - eeprom@56 { - compatible = "atmel,24c64"; - reg = <0x56>; - }; - rtc@51 { /* in-chip rtc disabled, use external rtc (battery-backed) */ compatible = "nxp,pcf85263"; reg = <0x51>; }; + + eeprom@56 { + compatible = "atmel,24c64"; + reg = <0x56>; + }; }; &i2c7 { -- 2.43.0