From patchwork Thu Jun 28 04:24:22 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrey Smirnov X-Patchwork-Id: 10493045 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 099A8603EE for ; Thu, 28 Jun 2018 04:26:02 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E6EEC29ADE for ; Thu, 28 Jun 2018 04:26:01 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D8EC929B26; Thu, 28 Jun 2018 04:26:01 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, DKIM_VALID, FREEMAIL_FROM, MAILING_LIST_MULTI autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 5ABDD29ADE for ; Thu, 28 Jun 2018 04:26:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=tSHc72YujzuKcbqnc7CDJ0kXsn/Z5zrVMFAJAvAiF0I=; b=arSI84mI9bBVSJw/LsR1z5CPox znQxxoz7YSacdJWW4SFCKmCCE9z03D4zVecMhrqqrW2dXwffJyGGYMTvqU6Ts1E6DAoidnDmSpJcr 1/IAosB1UPY/iI2ZkSK5ikOjjwNBtd/oO3gv4zjKgijw0BWQ4WE/jXVFwHsZuuPPyUqPWJMDMzOhh sk6o4dRJvSwL4WgBZD8eyq/r9JW+GQnk0gRKEbmViwBPPHHsYFrVilQHfrzmfK5rJMrKz4QA2Q/uW U3Ok23DOsEm4UB8akrGb/YS7HS1J7IIP+yfhqEuvWggVwNS/DR0vNa9SSuYV5ffFIuNEdc7JZ/AvS p+5eCbVQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fYOVG-0002Gm-Qu; Thu, 28 Jun 2018 04:25:54 +0000 Received: from mail-pf0-x244.google.com ([2607:f8b0:400e:c00::244]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fYOUP-0000M0-63 for linux-arm-kernel@lists.infradead.org; Thu, 28 Jun 2018 04:25:03 +0000 Received: by mail-pf0-x244.google.com with SMTP id j3-v6so1975252pfh.11 for ; Wed, 27 Jun 2018 21:24:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=faEWPA7M4lPYuQ6kPDsTX8oB4fK1m6atytDylz/EAt0=; b=Dyqx0rZ7KlIWBSpbyzFirPygWr3sNx3HiK1pkf7BlQTRuFJ7lj9IlzaQBDTCVCSvnA YzBryS/+W3BoQmFHvRP/W3nGy05h+FhYR4IPsrpe0eboTR2KeeU2uk/f6Y1txcGzVpiw 7c8AkABrEAW9clpB7ZYiVaKF/MH0K2PoUI/f5K9sKy5byhVd1yHW2C2+15sDV41H6qyJ tH97BzeY/4uJiphcnwUK2hoq5sLUmpKaU5L5WqPr0ebm6fgLNcO46cN/7m0HXNHFgJ4O MHT0LtRL2hL5AyhT9cwBdGFoXqQdntMlitQkysM9LOBozxFc0Jm5ORaje8TIPCkFzDRv 8EUQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=faEWPA7M4lPYuQ6kPDsTX8oB4fK1m6atytDylz/EAt0=; b=O6oVuvAqVEgIsTpz4z3HuK8ZWjF+Fh9J+cqpM8e8O8IqKYTZ5n49GpW7vOwFdKBYrd DrflCZr7jNGp0Y4+E0B0NndmI71JeK4qZ4tld8NGkpwrlwz42yhTqlL6IpTVMnetfC1p wDD2a2rIilPOm1P0Q68Uj/QoKTOBk6WySYZ+FXcGqSuFv4nG9PMefaOnpYpQl4yCRuvp 4kdLORKsScNBdGd09+YvNSe4TX1L1xIiBlnUJQmJ0FIdsUegHL9W+dHGL3Wcr0YLlRIh 99nnjF0HQ1gEThji3BYOg2a9MDwnmcTkVWkbOfvEjzkHiyocpojVP2Ms0I1EvmKrGaJd 69xw== X-Gm-Message-State: APt69E0VOI/FOgnmyTCVCv9SNHknkI7a5PYXcLzewqUp759aKGjviJIp zh1RFS8fe5gsTCTJXsuZoxk= X-Google-Smtp-Source: AAOMgpezN6a17e+aGYcfscO3gPQPx8sGhV4fnCFEHVGgPANUfHGqP7TVk/SU/FuwvQOs26qXWXrang== X-Received: by 2002:a63:b047:: with SMTP id z7-v6mr7157222pgo.335.1530159890332; Wed, 27 Jun 2018 21:24:50 -0700 (PDT) Received: from localhost.localdomain (c-24-22-235-96.hsd1.wa.comcast.net. [24.22.235.96]) by smtp.gmail.com with ESMTPSA id t19-v6sm12328577pfj.169.2018.06.27.21.24.49 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 27 Jun 2018 21:24:49 -0700 (PDT) From: Andrey Smirnov To: Shawn Guo Subject: [PATCH 2/4] ARM: dts: imx6qdl-zii-rdu2: Populate RAVE SP EEPROM nodes Date: Wed, 27 Jun 2018 21:24:22 -0700 Message-Id: <20180628042424.12664-3-andrew.smirnov@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180628042424.12664-1-andrew.smirnov@gmail.com> References: <20180628042424.12664-1-andrew.smirnov@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180627_212501_258520_22CCCC10 X-CRM114-Status: GOOD ( 11.13 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Nikita Yushchenko , Mark Rutland , devicetree@vger.kernel.org, Andrey Smirnov , linux-kernel@vger.kernel.org, Rob Herring , linux-arm-kernel@lists.infradead.org, Fabio Estevam , cphealy@gmail.com, Lucas Stach MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP ZII's RDU1s come with two EEPROMs attached to RAVE SP. Add corresponding nodes to make them availible. Cc: Fabio Estevam Cc: Nikita Yushchenko Cc: Lucas Stach Cc: cphealy@gmail.com Cc: Shawn Guo Cc: Rob Herring Cc: Mark Rutland Cc: linux-arm-kernel@lists.infradead.org Cc: devicetree@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Andrey Smirnov --- arch/arm/boot/dts/imx6qdl-zii-rdu2.dtsi | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/arch/arm/boot/dts/imx6qdl-zii-rdu2.dtsi b/arch/arm/boot/dts/imx6qdl-zii-rdu2.dtsi index 19a075aee19e..e4630481d951 100644 --- a/arch/arm/boot/dts/imx6qdl-zii-rdu2.dtsi +++ b/arch/arm/boot/dts/imx6qdl-zii-rdu2.dtsi @@ -320,10 +320,28 @@ rave-sp { compatible = "zii,rave-sp-rdu2"; current-speed = <1000000>; + #address-cells = <1>; + #size-cells = <1>; watchdog { compatible = "zii,rave-sp-watchdog"; }; + + eeprom@a3 { + compatible = "zii,rave-sp-eeprom"; + reg = <0xa3 0x4000>; + #address-cells = <1>; + #size-cells = <1>; + zii,eeprom-name = "dds-eeprom"; + }; + + eeprom@a4 { + compatible = "zii,rave-sp-eeprom"; + reg = <0xa4 0x4000>; + #address-cells = <1>; + #size-cells = <1>; + zii,eeprom-name = "main-eeprom"; + }; }; };