From patchwork Sat Jan 9 17:01:11 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Ford X-Patchwork-Id: 7993541 Return-Path: X-Original-To: patchwork-linux-omap@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 476EE9F54F for ; Sat, 9 Jan 2016 17:01:20 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 680C220295 for ; Sat, 9 Jan 2016 17:01:19 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 810F420256 for ; Sat, 9 Jan 2016 17:01:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754224AbcAIRBS (ORCPT ); Sat, 9 Jan 2016 12:01:18 -0500 Received: from mail-io0-f195.google.com ([209.85.223.195]:33497 "EHLO mail-io0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751420AbcAIRBR (ORCPT ); Sat, 9 Jan 2016 12:01:17 -0500 Received: by mail-io0-f195.google.com with SMTP id f81so7627301iof.0 for ; Sat, 09 Jan 2016 09:01:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=UV0v7spnlnhgLuRo24RfzcxTRQCWYTiTmtR+RAVI0zU=; b=pGsNlRRyrEjJ6yAkON3W/9K8rezitJUeyPTzAJK527h8zj0AyUM5JItqXUhqHsKvIN UNe8QePn7CpEMje7H2mRpCN8fR+U0/xVueXnDETHuvhO+dKJugtm/GZFRuookZfgLEkN IfJbOndNDM51LcokIMctj+jj1dxDNwTjSimywfnCRgjxSzaoDJn/7jVH9GMe20o3e0DR wByBZOC6iPP36LK0zYO1F1mpB4165LU0fNCwGZrgrqEWP/oBig08Kz1iuvyn9NmCpdmD exLYgJ3MCev+GZPtTwlJXoD3PzRzeJmgGW61GSVMJ3JohhJpJ3kEAisg5B2gkbDUGp0D NCWg== X-Received: by 10.107.19.160 with SMTP id 32mr107469204iot.104.1452358876900; Sat, 09 Jan 2016 09:01:16 -0800 (PST) Received: from localhost.localdomain (c-76-113-128-183.hsd1.mn.comcast.net. [76.113.128.183]) by smtp.gmail.com with ESMTPSA id e36sm34433745iod.2.2016.01.09.09.01.16 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 09 Jan 2016 09:01:16 -0800 (PST) From: Adam Ford To: linux-omap@vger.kernel.org Cc: tony@atomide.com, adam.ford@logicpd.com, Adam Ford Subject: [PATCH] ARM: OMAP2+: LogicPD Torpedo: Add AT24 EEPROM Support Date: Sat, 9 Jan 2016 11:01:11 -0600 Message-Id: <1452358871-7356-1-git-send-email-aford173@gmail.com> X-Mailer: git-send-email 1.9.1 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The Wireless version of the SOM uses an AT24 EEPROM to store product ID. The EEPROM is readonly. Signed-off-by: Adam Ford --- arch/arm/boot/dts/logicpd-torpedo-som.dtsi | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/logicpd-torpedo-som.dtsi b/arch/arm/boot/dts/logicpd-torpedo-som.dtsi index 78c5243..a1afcb9 100644 --- a/arch/arm/boot/dts/logicpd-torpedo-som.dtsi +++ b/arch/arm/boot/dts/logicpd-torpedo-som.dtsi @@ -110,6 +110,11 @@ &i2c3 { clock-frequency = <400000>; + at24@50 { + compatible = "at24,24c02"; + readonly; + reg = <0x50>; + }; }; /*