From patchwork Fri Mar 9 13:32:08 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Wahren X-Patchwork-Id: 10270609 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 BE5A06016D for ; Fri, 9 Mar 2018 13:34:55 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A337629D56 for ; Fri, 9 Mar 2018 13:34:55 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 973D629D5C; Fri, 9 Mar 2018 13:34:55 +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=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID 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 0D0C829D56 for ; Fri, 9 Mar 2018 13:34:55 +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=IDo4VFWjauQs2PWzA5L7S8Ch2/AVKv0BbFQe5luG96c=; b=Tv6z47B2qMgUMOkGcZqM9vSoGf kUi+JVZCv4JZMtAitvqZh+m6Z2GedkiKVdESocXEMdNQ4OdsgJHQ5XNUSdU+tS+tu65ajA0ReJd45 Fm7b2x19RtDB7iqh9cBb3Cw8rp+NJfc8jsYEiJAhhAYoflpzJL3G8kHEZRLAw5ns4qN0/sGgI9XCm Ox9Rctetn5ZOHKjp0pnL2vXph/GvgwklqWozrZjtn5/CUbJW6uNHyx3jUbSt5ElUBWFJ7gxQ0qzQP bOpSgqDyC2dkX6SHfoC8kKzBzSs+xswPYq+ybJw4PGwbXOt8zENWP6StLJtC5jleK8cNdQy5uptNa 7yDBOgiw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.89 #1 (Red Hat Linux)) id 1euIAW-0003wb-43; Fri, 09 Mar 2018 13:34:44 +0000 Received: from mout.kundenserver.de ([217.72.192.73]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1euI8w-00030t-F1; Fri, 09 Mar 2018 13:33:13 +0000 Received: from localhost.localdomain ([95.90.209.156]) by mrelayeu.kundenserver.de (mreue103 [212.227.15.183]) with ESMTPSA (Nemesis) id 0MZ776-1fFFIY2vAC-00Kysm; Fri, 09 Mar 2018 14:32:46 +0100 From: Stefan Wahren To: Srinivas Kandagatla , Rob Herring , Mark Rutland , Eric Anholt , Phil Elwell Subject: [PATCH RFC 3/3] ARM: dts: bcm2835-rpi: Enable OTP access for Raspberry Pi Date: Fri, 9 Mar 2018 14:32:08 +0100 Message-Id: <1520602328-28972-4-git-send-email-stefan.wahren@i2se.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1520602328-28972-1-git-send-email-stefan.wahren@i2se.com> References: <1520602328-28972-1-git-send-email-stefan.wahren@i2se.com> X-Provags-ID: V03:K0:7CRgXzfCFra/uup7X05neMMSCP781bdHbdXJDnECR6K2h+/xcDO yAM4pBoFG+VeexPuJDCJrDI9jwM5gaV6eawcC+wASPTWhFbKkrfzpt2q9C5yum9rqcG85lG iaieUAUwrMNLuZKbx/RMLpSuBq6tG8h2rSeK0hIAEttP6aNF4HMSDRYVkfpKOjkwqLDxxwR pKH2eNphv9I/QggYM9PvA== X-UI-Out-Filterresults: notjunk:1; V01:K0:rd11+/aTSEU=:XNBC6YBDaCo3rmUu22LTmw 9QVID+xgXSP+j93vN8nX5N0Mv4aS9VR47RdNQJc5zaq+b1Za6xuTyOErZOrrscInmtS56xHkr P5H7mFkrfDMLsssXiVlR2Ny/ahb4qJCjdI1PbkM0CoLK/qH1Av06akyetHnaqJY16vyF+EVAl z5aFjUtgM97iYBcI4uMZJvsDQk+vXkr4gxsaD/Ut+w5a8DToFx9OFQHL2DP4aJya+uTrsGZx/ KmydnD0SkSbLh/d0U48f4ziNo/X9Acq3dbwJMBEqtPa88xGPYSwdi807cVN7XecbU9mCO8+qN 6lACK/Bp418o2YPavZDiZaY2G6mvlGTNRfanPI34i6ufKUkg5CP3oLDgjAa+zu5avfzYLBQOC ajjz3fWnAphbT7FqwiMZBaIquHn/9tFT2sVYNDj3lf7V7fjM5hotQgCWIY/lPN2Ol4tJyGve5 7qgE/+aFrA56wQ2HafBoRvOA3QzIFld+sUY9WEhiRrB/gfwulZF6IEY6YIeWUR9ICh/P6cSmC 7l+Jsjzd2liLPTEWAzu1F7sb/LAFDSKQrQAZ0d/EZ7A7Ok2eEB0xZTKALFYwsaydx5FgJXqJc 01gsruLi8YdwiaAvbTLtCdwhRrchu4SXyGQ6JeENyX5fsOH8RgOEn5uog+R4DTgYuR7HIhP7x rsnuwA+4xaCd0atPwCM85c7ETDDXp/EXQo+YjypRobkzfP2KOx6lVQp9zg8NVc2ybxKRgax6I 9H2YSTH57LTtS5NnyI57JVS/aKI+hauEypqeIQ== X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180309_053306_831762_CC12F4CC X-CRM114-Status: UNSURE ( 9.16 ) X-CRM114-Notice: Please train this message. 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: Stefan Wahren , devicetree@vger.kernel.org, Florian Fainelli , Scott Branden , Ray Jui , bcm-kernel-feedback-list@broadcom.com, linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org 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 This patch enables OTP access for all Raspberry Pi variants. Signed-off-by: Stefan Wahren --- arch/arm/boot/dts/bcm2835-rpi.dtsi | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/bcm2835-rpi.dtsi b/arch/arm/boot/dts/bcm2835-rpi.dtsi index 0198bd4..19a1027 100644 --- a/arch/arm/boot/dts/bcm2835-rpi.dtsi +++ b/arch/arm/boot/dts/bcm2835-rpi.dtsi @@ -22,6 +22,12 @@ #address-cells = <0>; #size-cells = <0>; mboxes = <&mailbox>; + + customer_otp: otp { + compatible = "raspberrypi,bcm2835-customer-otp"; + #address-cells = <1>; + #size-cells = <1>; + }; }; power: power {