From nobody Mon Feb 9 19:42:23 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) client-ip=208.118.235.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) by mx.zohomail.com with SMTPS id 1530599140280397.0645507769282; Mon, 2 Jul 2018 23:25:40 -0700 (PDT) Received: from localhost ([::1]:38091 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1faEkl-00088v-CU for importer@patchew.org; Tue, 03 Jul 2018 02:25:31 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40029) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1faEKb-0002ww-H7 for qemu-devel@nongnu.org; Tue, 03 Jul 2018 01:58:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1faEKZ-00078o-MD for qemu-devel@nongnu.org; Tue, 03 Jul 2018 01:58:29 -0400 Received: from ozlabs.org ([2401:3900:2:1::2]:52689) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1faEKZ-00073N-7e; Tue, 03 Jul 2018 01:58:27 -0400 Received: by ozlabs.org (Postfix, from userid 1007) id 41KYMD5X3fz9sCF; Tue, 3 Jul 2018 15:58:14 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gibson.dropbear.id.au; s=201602; t=1530597496; bh=zvZc5rKax/YD/ZnOnmUUUb0vWzCpITpkT6c0MXXFQBM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=i8x2KGfcmE0CE3z/Yp46cjCYzJTCKZDdXY/zBik+1gc2yaTAwv7ORwRfrog7qdsbf AJFIa1NVi0I3htb6mLz1Q4QFE3rjc+50mCUmtKmuNl5Fq77SGbn/l9Z3A6oxaLxEEj HEifU5n4iYuQKzN9Ov29mFiMQRUzrETLavsuSnLk= From: David Gibson To: peter.maydell@linaro.org Date: Tue, 3 Jul 2018 15:57:57 +1000 Message-Id: <20180703055804.13449-29-david@gibson.dropbear.id.au> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180703055804.13449-1-david@gibson.dropbear.id.au> References: <20180703055804.13449-1-david@gibson.dropbear.id.au> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2401:3900:2:1::2 Subject: [Qemu-devel] [PULL 28/35] sam460ex: Add RTC device X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: qemu-devel@nongnu.org, mdroth@linux.vnet.ibm.com, agraf@suse.de, aik@ozlabs.ru, groug@kaod.org, qemu-ppc@nongnu.org, clg@kaod.org, David Gibson Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDKM_2 RSF_0 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" From: BALATON Zoltan The Sam460ex has an M41T80 serial RTC chip on I2C bus 0 at address 0x68. Signed-off-by: BALATON Zoltan Reviewed-by: C=C3=A9dric Le Goater Signed-off-by: David Gibson --- hw/ppc/sam460ex.c | 1 + 1 file changed, 1 insertion(+) diff --git a/hw/ppc/sam460ex.c b/hw/ppc/sam460ex.c index 33ea51816c..a03d12d1dc 100644 --- a/hw/ppc/sam460ex.c +++ b/hw/ppc/sam460ex.c @@ -485,6 +485,7 @@ static void sam460ex_init(MachineState *machine) object_property_set_bool(OBJECT(dev), true, "realized", NULL); smbus_eeprom_init(i2c[0]->bus, 8, smbus_eeprom_buf, smbus_eeprom_size); g_free(smbus_eeprom_buf); + i2c_create_slave(i2c[0]->bus, "m41t80", 0x68); =20 dev =3D sysbus_create_simple(TYPE_PPC4xx_I2C, 0x4ef600800, uic[0][3]); i2c[1] =3D PPC4xx_I2C(dev); --=20 2.17.1