From patchwork Thu Oct 1 20:54:50 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joachim Eastwood X-Patchwork-Id: 7311601 Return-Path: X-Original-To: patchwork-linux-arm@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 1F3059F1D5 for ; Thu, 1 Oct 2015 20:59:58 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 3560C2080B for ; Thu, 1 Oct 2015 20:59:54 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 01EDD207F1 for ; Thu, 1 Oct 2015 20:59:50 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1Zhkuw-0005ZM-9c; Thu, 01 Oct 2015 20:57:30 +0000 Received: from mail-la0-x232.google.com ([2a00:1450:4010:c03::232]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZhktR-0004MP-30 for linux-arm-kernel@lists.infradead.org; Thu, 01 Oct 2015 20:56:01 +0000 Received: by labzv5 with SMTP id zv5so82484283lab.1 for ; Thu, 01 Oct 2015 13:55:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=gign7J8v9vTDpZN7sb52NRKI1sZslCnTbps+CeCTWyE=; b=vf9hyfLhO5/QaGvST0kecOiyNdx+NaRbX3nVy50erQorqxL7pKIhPUB+zvil0lLj7o m0tOwYgXZt7tgrSiHL1Oxfym9HX8b4j0ni4aAJh0VEtFnvoZ49CbMjzZRa2KH95MrUY+ +SbxP8Hv1hqbrckcGImeq9c/PIiIS1TYXj1G3QuqUvEn9sdSGgShtzKSWaN+nN6zyq1u R6lSgY8w/tDIt02Fasyc1hEEzMBX2/13yL9u/UpMAi1PemXjGUspZb7Ls9/wK/MeSMeh 6qNikDHr53AzNW4zDYc2K3blM8KklwgUq2flou187OPLYLCfVr1PIv7Z/y9m69zJLcS9 O6Dw== X-Received: by 10.112.200.202 with SMTP id ju10mr3836243lbc.97.1443732940606; Thu, 01 Oct 2015 13:55:40 -0700 (PDT) Received: from localhost.localdomain (141.89-11-213.nextgentel.com. [89.11.213.141]) by smtp.gmail.com with ESMTPSA id c193sm937147lfc.41.2015.10.01.13.55.39 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 01 Oct 2015 13:55:40 -0700 (PDT) From: Joachim Eastwood To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 13/16] ARM: dts: lpc4357-ea4357: add i2c0 and devices Date: Thu, 1 Oct 2015 22:54:50 +0200 Message-Id: <1443732893-17145-14-git-send-email-manabian@gmail.com> X-Mailer: git-send-email 1.8.0 In-Reply-To: <1443732893-17145-1-git-send-email-manabian@gmail.com> References: <1443732893-17145-1-git-send-email-manabian@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20151001_135557_460596_B482D5E7 X-CRM114-Status: GOOD ( 10.77 ) X-Spam-Score: -2.7 (--) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Joachim Eastwood , ezequiel@vanguardiasur.com.ar, ariel@vanguardiasur.com.ar MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, T_DKIM_INVALID, T_RP_MATCHES_RCVD, 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 Add I2C0 and some of the I2C devices on the EA4357 dev kit. Signed-off-by: Joachim Eastwood --- arch/arm/boot/dts/lpc4357-ea4357-devkit.dts | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/arch/arm/boot/dts/lpc4357-ea4357-devkit.dts b/arch/arm/boot/dts/lpc4357-ea4357-devkit.dts index 4d2d74a064c4..391121d24daa 100644 --- a/arch/arm/boot/dts/lpc4357-ea4357-devkit.dts +++ b/arch/arm/boot/dts/lpc4357-ea4357-devkit.dts @@ -332,6 +332,14 @@ }; }; + i2c0_pins: i2c0-pins { + i2c0_pins_cfg { + pins = "i2c0_scl", "i2c0_sda"; + function = "i2c0"; + input-enable; + }; + }; + sdmmc_pins: sdmmc-pins { sdmmc_clk_cfg { pins = "pc_0"; @@ -453,6 +461,23 @@ }; }; +&i2c0 { + status = "okay"; + pinctrl-names = "default"; + pinctrl-0 = <&i2c0_pins>; + clock-frequency = <400000>; + + lm75@48 { + compatible = "nxp,lm75"; + reg = <0x48>; + }; + + eeprom@57 { + compatible = "microchip,24c64"; + reg = <0x57>; + }; +}; + &emc { status = "okay"; pinctrl-names = "default";