From patchwork Thu Jun 23 09:47:17 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Joel Stanley X-Patchwork-Id: 12892016 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 28CF5C433EF for ; Thu, 23 Jun 2022 09:48:38 +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:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=oEAS943htHHPN0naQCDGG4m1qD2nVSJooE/kc9PmY6A=; b=U5+BZt9s50tgC+ 4M7ieNGm1AuEvEQt7qRyuLL0i06wuOtu4CQy/4WfLY18VGErLre+wmuNaRD9AsMXt7obH0hmL3ZVY XmBPdA7l4yvq+I3WR4gY1apNc8YBtqcK74aD8rT5ftkBAg7xOYv94+QR2ABMHLZ0sL6x3T0zqkiwP VD/8jB/vN+qyn0IwApWKxVoo8sf7dU81vFObdo6yB+vIe+V/BRy2/p6C71P450rhgnBMJImVC0PPr aKjUxwwTo8nKkKoUHAAzF0z5yYWr+uHc5vsIsrRPSZ8/em4AwFkl21eP2KcRoCShBvxxJfrLsTzXa YoXiNSnk34BIamveiAhA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1o4JQy-00ENat-JH; Thu, 23 Jun 2022 09:47:32 +0000 Received: from mail-pl1-x62a.google.com ([2607:f8b0:4864:20::62a]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1o4JQv-00ENZQ-2t for linux-arm-kernel@lists.infradead.org; Thu, 23 Jun 2022 09:47:30 +0000 Received: by mail-pl1-x62a.google.com with SMTP id o18so10646333plg.2 for ; Thu, 23 Jun 2022 02:47:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=sender:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=zLej8f+63l565Dfr6TjNR8hNfK9QCTEEzKrEBYkQU5Y=; b=WKeAx8RvtEjXLFH4p/djrzpN3idIhCJws1UaFiGpTIn1nHxYhCDGmjcznI37ow2mpZ 4owRUfRFKd/DzDNaer2j7PvhNMcPioFhEysTHZ3p0qFo8azf932TgaAhEiMHigAj1U+T ir+5r7QVxOlgWXIFIAFKUi/lC59GF8jbOXKjDr5VXqJljLkYq/bcYMCVyFzCBQ8a4XVQ vS6+g9iQqSjsmUGRKvIHOi7YolkmTX46korg5ygL/RJYJ4myHeZEi1ZdLXJfLm4vy1nV DhA5uwunyOV2Odj80kdx+Kj36aFuKfBsLK1DpdTgyMt3C4kbomyCjm4io/BmBE+Figbk fxEA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :mime-version:content-transfer-encoding; bh=zLej8f+63l565Dfr6TjNR8hNfK9QCTEEzKrEBYkQU5Y=; b=egHSQJqfamjsz8kmG9O3UXd2RwOXDC4YXxn1jVDcXeg+sYMvrf0jPkRhHQmrpPBc6G T+um/EiUjZYxioDoMqcGFUMNrdNwPP0vsfovX+GH8aA4zfsGb88P3LRV6skEGbLwyXBx Oy7fCUvb8/XQkVYJO0wQt49IK5lhe0b2OzABOWxS0jwxCslhIPsELG53jH+PI/0VAIOs yRnu9ABA3DzyD7R46rFdh7F0T4sDzlnbOqY27KDTPGkzYdtliRdbnk60K2IzhicIZw3L F8AK0PaNumJybMfqpQJi8s3vY+viVdpTEjdUVh6D5VVpSCkB8mHPv07NxUhAeFxDPtyo eVNQ== X-Gm-Message-State: AJIora+3//pKcPJo2zLEBgeRNeqph3qbfedb/rBttSSnSF8Nh57wtq1X 5eJ28aeFWsCw3SlOg2wxvlA= X-Google-Smtp-Source: AGRyM1tABMRa5ofk2QWQsD4oPb2bKTEGDD2/1JJvEUemizcSXoTgFB5sJ67opoOhE4vBpuB8nw8GNg== X-Received: by 2002:a17:902:e54e:b0:16a:1009:42f with SMTP id n14-20020a170902e54e00b0016a1009042fmr27516813plf.90.1655977646732; Thu, 23 Jun 2022 02:47:26 -0700 (PDT) Received: from localhost.localdomain ([45.124.203.18]) by smtp.gmail.com with ESMTPSA id a17-20020a170902ee9100b0016797c33b6csm5530955pld.116.2022.06.23.02.47.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Jun 2022 02:47:25 -0700 (PDT) From: Joel Stanley To: Ryan Chen , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org Cc: =?utf-8?q?C=C3=A9dric_Le_Goater?= Subject: [PATCH] ARM: dts: aspeed: ast2600-evb: Update I2C devices Date: Thu, 23 Jun 2022 19:17:17 +0930 Message-Id: <20220623094717.3873328-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-20220623_024729_163421_4DEF906D X-CRM114-Status: GOOD ( 11.25 ) 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 The AST2600A3 EVB has the following I2C devices: - ADT7490 at 0x2e - EEPROM at 0xa0 - LM75 at 0x9a The bus these devices appear on can be configured by jumpers. The device tree is configured with the buses given by the default jumper settings. Signed-off-by: Joel Stanley Reviewed-by: Cédric Le Goater Reviewed-by: Ryan Chen --- arch/arm/boot/dts/aspeed-ast2600-evb.dts | 21 ++++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) diff --git a/arch/arm/boot/dts/aspeed-ast2600-evb.dts b/arch/arm/boot/dts/aspeed-ast2600-evb.dts index 5a6063bd4508..9da70b873ab6 100644 --- a/arch/arm/boot/dts/aspeed-ast2600-evb.dts +++ b/arch/arm/boot/dts/aspeed-ast2600-evb.dts @@ -207,11 +207,6 @@ &uart5 { &i2c0 { status = "okay"; - - temp@2e { - compatible = "adi,adt7490"; - reg = <0x2e>; - }; }; &i2c1 { @@ -240,10 +235,26 @@ &i2c6 { &i2c7 { status = "okay"; + + temp@2e { + compatible = "adi,adt7490"; + reg = <0x2e>; + }; + + eeprom@50 { + compatible = "atmel,24c08"; + reg = <0x50>; + pagesize = <16>; + }; }; &i2c8 { status = "okay"; + + lm75@4d { + compatible = "national,lm75"; + reg = <0x4d>; + }; }; &i2c9 {