From patchwork Sun Jun 19 12:39:04 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Carlo Caione X-Patchwork-Id: 9186143 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 E747A60465 for ; Sun, 19 Jun 2016 12:42:17 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D463125404 for ; Sun, 19 Jun 2016 12:42:17 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C8D882821F; Sun, 19 Jun 2016 12:42:17 +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=-4.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,T_DKIM_INVALID autolearn=ham version=3.3.1 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.wl.linuxfoundation.org (Postfix) with ESMTPS id 62BA225404 for ; Sun, 19 Jun 2016 12:42:17 +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 1bEc2B-000509-K9; Sun, 19 Jun 2016 12:41:03 +0000 Received: from mail-wm0-x243.google.com ([2a00:1450:400c:c09::243]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1bEc0r-0002sg-LG; Sun, 19 Jun 2016 12:39:45 +0000 Received: by mail-wm0-x243.google.com with SMTP id 187so7907800wmz.1; Sun, 19 Jun 2016 05:39:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=cJPKVAr/bF2bIVZS9izZzvhtFF1tfGySAZRjyVpiJ4Y=; b=ww0VeYs/+ND0rPb+uc5d3Kg7QQzPXlPBwUDxhjsJdPVI8EumshH+5R4wJlbRzSiKhL Mjkc3XB2XYM8/kKcJHhRI04Ry4rPkeUuanD6l6NIm5Xi5B+fxDznBbLvgs9GvtL7Fjda 9/IA3n4EwIE0iDEGkNXGl8xAWN7dS/nx2l0TK6cYqvMwCaMEPBmz1nC4EmRB6s7b11G4 mHPi7tPo+YXQ43PC1NZNdIuIkr6NcmYie2wxGtUhSSM6ME4bMPdkalLg2SNnFCjinA6s IXxPV+6jBsFp5SUi1ds63WVtSuf8SJpEeWQKBkkul2YlWJ13c8h6NV7xtFlQJYm/EePH W7/A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=cJPKVAr/bF2bIVZS9izZzvhtFF1tfGySAZRjyVpiJ4Y=; b=ZDZs0e+oqqObaYfnnUd57zTISt7yOVfgZyLB3xaCu4GD+4W8Zg/pYLYjEUcJiQpKHZ scY3tDeCAEK4cFOZ3T6MK+RvJCFr649NDGrhTt+w3RD7NZm0qEqNsCeV+6XnAc8TK3DV E7VmHUQV/EbOb5hmMTx7mTVDLgS5jgv0pnYdEV4FfFshrJN114sJlQD7H5Xr73RZw54t o0kqhqSR82Xslw66j4KwUrf80leCTtSm3a2BiCt5HnZ3B9ZI16eW+A+zYfmdJ/opb81r nulnKiLi4xvDq7SqWFWp5B7AvqlbWX4pvWVwfDv2l0qgaPT37gB8U5xp7dB0TVM+sS6Y nw6A== X-Gm-Message-State: ALyK8tKW7cBlH9nBrvQ8gOm2xIJGfZv7hy4TwVcd2zLLlaNg6FnzmUpmoptfhHh9qKgyqw== X-Received: by 10.194.81.166 with SMTP id b6mr11207158wjy.81.1466339962672; Sun, 19 Jun 2016 05:39:22 -0700 (PDT) Received: from localhost.localdomain (2-238-57-164.ip242.fastwebnet.it. [2.238.57.164]) by smtp.gmail.com with ESMTPSA id b187sm6683639wmg.15.2016.06.19.05.39.21 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 19 Jun 2016 05:39:21 -0700 (PDT) From: Carlo Caione To: linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, linux@endlessm.com, devicetree@vger.kernel.org, khilman@baylibre.com, mark.rutland@arm.com, robh+dt@kernel.org, matthias.bgg@gmail.com, narmstrong@baylibre.com, bjdooks@googlemail.com, srinivas.kandagatla@linaro.org, maxime.ripard@free-electrons.com Subject: [PATCH 6/6] ARM64: dts: amlogic: gxbb: Enable NVMEM Date: Sun, 19 Jun 2016 14:39:04 +0200 Message-Id: <1466339944-602-7-git-send-email-carlo@caione.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1466339944-602-1-git-send-email-carlo@caione.org> References: <1466339944-602-1-git-send-email-carlo@caione.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160619_053942_044758_534D1FE5 X-CRM114-Status: UNSURE ( 7.92 ) X-CRM114-Notice: Please train this message. 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: Carlo Caione 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 From: Carlo Caione Add the NVMEM device node in the DTSI. Signed-off-by: Carlo Caione --- arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi b/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi index 407f24c..0e0f7c0 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi @@ -104,6 +104,24 @@ }; }; + efuse: efuse { + compatible = "amlogic,meson-gxbb-efuse"; + #address-cells = <1>; + #size-cells = <1>; + + sn: sn@14 { + reg = <0x14 0x10>; + }; + + eth_mac: eth_mac@34 { + reg = <0x34 0x10>; + }; + + bid: bid@46 { + reg = <0x46 0x30>; + }; + }; + timer { compatible = "arm,armv8-timer"; interrupts =