From patchwork Tue Sep 13 16:12:41 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joachim Eastwood X-Patchwork-Id: 9329421 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 717AA607FD for ; Tue, 13 Sep 2016 16:15:41 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5FA4B29562 for ; Tue, 13 Sep 2016 16:15:41 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4EB7E29564; Tue, 13 Sep 2016 16:15:41 +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_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, 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 D94A529562 for ; Tue, 13 Sep 2016 16:15:40 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1bjqLg-00055G-Rb; Tue, 13 Sep 2016 16:14:16 +0000 Received: from mail-lf0-x242.google.com ([2a00:1450:4010:c07::242]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bjqKn-0004gE-64 for linux-arm-kernel@lists.infradead.org; Tue, 13 Sep 2016 16:13:26 +0000 Received: by mail-lf0-x242.google.com with SMTP id s64so7441106lfs.2 for ; Tue, 13 Sep 2016 09:13:00 -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=+suxZ0M6m4lKKCw6zsDmLE7PUvYLdW2mLDDiIOCHG2Q=; b=G2CkZZX9wmNgYbX7dE3kCGq3Ozo08Da3YS/y6yPtcCZCBx7n3Z5Rq+nw9O8Sm6Dah/ jgYy2z7pnUsPj5kcKXSpOFNC3Clgx8JpsH+uwV36k+isEP6ot8mmzxXoLVzoOiRMfk2v nWW7TVcq7+RUgyq2aSqjFtxaTAK/QPQgAtfiu7H39CsJnZwdWzumdCPoxyAqfSNgF0mX LBMt2EmtakpwJ2NrlC2KJOhxDZ0cvnM5Yh59hIJCggV0YHW1aDeRrLBfhsN+m9gDTZVi G/ZQujOfrOXctztcPZ6YY8QGkc9pz5Ky05/fZyFJDyf/f8lBLi005lH3HUYI3992tum7 6DpA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=+suxZ0M6m4lKKCw6zsDmLE7PUvYLdW2mLDDiIOCHG2Q=; b=FPqj7QS5ZBbYkBvybdjhARel2bA0GujodNFVqavBJrE9bZjwilbafZ/VYIK1wHpYT3 oC3bkV5N5GizfNk8Kfkf+vlGrBJ1n0YC438gz2vAWoJ430cmvjhi+lDPegkwaigmQMve Yfi8K3s6m7mR5cDQjmFtoAyA7beHeiN1cG0NXf2tTxxkMApLJmLb+adKjLUOSEUtq7Dp +aYoCULZuLe53sYJsFXa01TxTFWTnnBKydk/EVQY9I+XqPLkyfPMRfeA2Q3uTQlX6TTi +nxOyTtkI6mXk5y1E4nzkkRzs9t3oyBVjoC7DQT3ypSL8CGAKB6cofUtZDDnq2IM9p9x dV1Q== X-Gm-Message-State: AE9vXwPPH9ih2us+hbyrPbxHkexwKUoeJ6vc4oTjxPrhJaMY5xLKaLgGXG02pr7NWbgOBg== X-Received: by 10.25.149.140 with SMTP id x134mr8049014lfd.76.1473783179210; Tue, 13 Sep 2016 09:12:59 -0700 (PDT) Received: from archthink.lan ([89.11.254.244]) by smtp.gmail.com with ESMTPSA id e82sm3942572lji.42.2016.09.13.09.12.58 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 13 Sep 2016 09:12:58 -0700 (PDT) From: Joachim Eastwood To: manabian@gmail.com Subject: [PATCH 3/3] ARM: dts: lpc18xx: add otp node Date: Tue, 13 Sep 2016 18:12:41 +0200 Message-Id: <20160913161241.22492-4-manabian@gmail.com> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20160913161241.22492-1-manabian@gmail.com> References: <20160913161241.22492-1-manabian@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160913_091321_522940_715618B9 X-CRM114-Status: UNSURE ( 9.73 ) 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: devicetree@vger.kernel.org, maxime.ripard@free-electrons.com, robh+dt@kernel.org, srinivas.kandagatla@linaro.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 Add node for the internal OTP (One Time Programmable) memory found on all LPC18xx/43xx SoCs. Signed-off-by: Joachim Eastwood --- arch/arm/boot/dts/lpc18xx.dtsi | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/lpc18xx.dtsi b/arch/arm/boot/dts/lpc18xx.dtsi index c6508ed..7ef0bc8 100644 --- a/arch/arm/boot/dts/lpc18xx.dtsi +++ b/arch/arm/boot/dts/lpc18xx.dtsi @@ -250,6 +250,18 @@ }; }; + otp@40045000 { + compatible = "nxp,lpc1850-otp"; + reg = <0x40045000 0x1000>; + #address-cells = <1>; + #size-cells = <1>; + + /* Flashless devices has part ID in OTP bank 0 */ + part_id: identification@0 { + reg = <0x0 0x10>; + }; + }; + rtc: rtc@40046000 { compatible = "nxp,lpc1850-rtc", "nxp,lpc1788-rtc"; reg = <0x40046000 0x1000>;