Received: by 2002:ab2:6816:0:b0:1f9:5764:f03e with SMTP id t22csp3342792lqo; Tue, 21 May 2024 14:14:08 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCV4GNvS59hUbliAPY2l17UnTBdoPSzP+I8b+xU31A/SWFhop1faGYLz33j2w0qmWa38zUVi2sQXGXUw6y+NMDYBwqMrDwjDmYsNdsip2w== X-Google-Smtp-Source: AGHT+IHycDlxv9PgUiGHBGzzV9XDm5MzakWw7ef3nulNu7eUBx2ICDZ5tyhXMynqAn7U6KaDHZSQ X-Received: by 2002:a17:906:1b47:b0:a59:c208:a4c with SMTP id a640c23a62f3a-a622807afc7mr731766b.17.1716326048334; Tue, 21 May 2024 14:14:08 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716326048; cv=pass; d=google.com; s=arc-20160816; b=Fwdt1sMVPL86YWAaUZfXQ0nz3G1ujo3VVE1G8OhkQ3KUVWJb5VYQHF0kIRhnVm/voQ zIysFqB6cxU/ZTEf/loueRQmll/In/6lNclmBVSfkXxDJBK/b1t7oXat3rB9yMSzMOrW IYhc96fxuGpnWJhHSIPUmKvfZ6wFDN4M6wfZb+gMUALfNLuE8dkIskY0apksXiJZVJys tfY2nRJg3KhiTbjFvr2EDlMW6HS4mIUsBkbAIDqif+f36FmZuaekb5TT1slREQcUoH2R dkGqcwrxSVtKjhc7353fdWwnE3luHD0F58eS7wkVAeYTqBjjYLNLSrKufwPGzedXLyMq t6Ew== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=eRQ+GqMMyX9va5/1fB0L7QxYQhHkZ2nYtteJt4bcTqY=; fh=xKOPNMh7b9VraUGPcROtTTW6P8yoSVTTCERBcbTe+a4=; b=aZpjcjtxqMLcByACGakpSS4Hr/JEVgsSVjJhn36IavoHtOz4NAdF8JYhMXakGGT+v8 Ugae2uCqp7j4K3SBt+PWcsNEj2J8qZCr8IhjlAN7CIqCNnr3sqTq2Go9vZoXdurXsDuh YPoYkGiBObdMmC/3QgoofdG9YyDkkT7TYA7b1bkIAJ0A/5cGyDjtPc+gYe+Q/uGOB0IT zAuGaO7n05mi9D34xmQa85sGpTo4TW0CDVBwpUpN1uFgqniUL3DGJAJH9yCWd+9xm4Io V9vYc9LGwgAPyLVd5qjsTUJq/9MXgc7Dba7WVA8kQ2ZoQV6N/XVXv/EB4LL/KR7QbYUy qbRA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kwiboo.se header.s=fe-e1b5cab7be header.b=pixuky9x; arc=pass (i=1 spf=pass spfdomain=fe-bounces.kwiboo.se dkim=pass dkdomain=kwiboo.se dmarc=pass fromdomain=kwiboo.se); spf=pass (google.com: domain of linux-kernel+bounces-185466-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-185466-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kwiboo.se Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id a640c23a62f3a-a5a17b21b93si1414388566b.364.2024.05.21.14.14.08 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 May 2024 14:14:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-185466-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@kwiboo.se header.s=fe-e1b5cab7be header.b=pixuky9x; arc=pass (i=1 spf=pass spfdomain=fe-bounces.kwiboo.se dkim=pass dkdomain=kwiboo.se dmarc=pass fromdomain=kwiboo.se); spf=pass (google.com: domain of linux-kernel+bounces-185466-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-185466-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kwiboo.se Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 1516A1F2234D for ; Tue, 21 May 2024 21:14:08 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9CE1214F9F2; Tue, 21 May 2024 21:11:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kwiboo.se header.i=@kwiboo.se header.b="pixuky9x" Received: from smtp.forwardemail.net (smtp.forwardemail.net [149.28.215.223]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 405BC14F109 for ; Tue, 21 May 2024 21:11:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=149.28.215.223 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716325877; cv=none; b=jVkB48wWOIKQ42Q/307u4/kA+Uuqw2tEob63yRTTS5QC2QjF2mjH0DL1CKML6OnBtGT4wWmefFY/nLeKpXjUWaThOBCGhEeooSHVbM+GWsKO95CgpX7bPdCsKcAzbIdLw9FXz9pYJWbtTjdAY05FcHtMunWT/9ogMtdhnketcIg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716325877; c=relaxed/simple; bh=ryYghDgFIk0dVzXcyqjtN2kmDRTlKaO5Ht1IKqhI02g=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=NUWAkYHO67NAJPhWRqwfjE9ROi/0n9RF6ZDjUkTR9m75ME+A5pnl0w35G9Rx0lmbDMTdelaY7DK9Xddm5aHQk/RsmgQVVZaCPstqtKtAUCCJDTquFD94crg6qxXtogCFxFE4b02ChSNKqbI9tqWDYZ7uddL1qmJUdsXVaggcUdw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=kwiboo.se; spf=pass smtp.mailfrom=fe-bounces.kwiboo.se; dkim=pass (2048-bit key) header.d=kwiboo.se header.i=@kwiboo.se header.b=pixuky9x; arc=none smtp.client-ip=149.28.215.223 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=kwiboo.se Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=fe-bounces.kwiboo.se DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kwiboo.se; h=Content-Transfer-Encoding: MIME-Version: References: In-Reply-To: Message-ID: Date: Subject: Cc: To: From; q=dns/txt; s=fe-e1b5cab7be; t=1716325871; bh=eRQ+GqMMyX9va5/1fB0L7QxYQhHkZ2nYtteJt4bcTqY=; b=pixuky9xU41ZaDZ5yJWWm8NN/lxYjNmk2YpyxhwaGihCvyV/UNMi1Fxxcyp78Cyqvxum9kcOV 5thzwXgLEq7ZmpsdkTVQ7HSdIqQRhyi0wVC9PzK8sInZOg3a2RSRBBrVP5QuroRBkeCYAEXprKJ j3lTpmkOeiopiL6FLCshW9OYMOFNzoAc4bzbS68nsMBRuka2Q4zolciRwWI3Fd9ADi/8eDT+pvy /gRhMA3NcmrtCZlRvBGjOxMvN2Zil0duYc84/AwKr9lmK2RNes/AypGL3ELbrbNVgDG7XmD7BTB BXWwi6ibd0AUdKqMHMyBWN7Ve+4N6aGLu2OcYgGodarA== From: Jonas Karlman To: Heiko Stuebner , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, Jonas Karlman Subject: [PATCH 08/13] arm64: dts: rockchip: Add OTP device node for RK3308 Date: Tue, 21 May 2024 21:10:11 +0000 Message-ID: <20240521211029.1236094-9-jonas@kwiboo.se> X-Mailer: git-send-email 2.43.2 In-Reply-To: <20240521211029.1236094-1-jonas@kwiboo.se> References: <20240521211029.1236094-1-jonas@kwiboo.se> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Report-Abuse-To: abuse@forwardemail.net X-Report-Abuse: abuse@forwardemail.net X-Complaints-To: abuse@forwardemail.net X-ForwardEmail-Version: 0.4.40 X-ForwardEmail-Sender: rfc822; jonas@kwiboo.se, smtp.forwardemail.net, 149.28.215.223 X-ForwardEmail-ID: 664d0dec8b6b0c828344af2b The RK3308 SoC contains a controller for one-time-programmable memory, add a device node for it. Signed-off-by: Jonas Karlman --- arch/arm64/boot/dts/rockchip/rk3308.dtsi | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3308.dtsi b/arch/arm64/boot/dts/rockchip/rk3308.dtsi index c00da150a22f..6531ede13af9 100644 --- a/arch/arm64/boot/dts/rockchip/rk3308.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3308.dtsi @@ -556,6 +556,30 @@ saradc: saradc@ff1e0000 { status = "disabled"; }; + otp: efuse@ff210000 { + compatible = "rockchip,rk3308-otp"; + reg = <0x0 0xff210000 0x0 0x4000>; + #address-cells = <1>; + #size-cells = <1>; + clocks = <&cru SCLK_OTP_USR>, <&cru PCLK_OTP_NS>, + <&cru PCLK_OTP_PHY>; + clock-names = "otp", "apb_pclk", "phy"; + resets = <&cru SRST_OTP_PHY>; + reset-names = "phy"; + + cpu_id: id@7 { + reg = <0x07 0x10>; + }; + + cpu_leakage: cpu-leakage@17 { + reg = <0x17 0x1>; + }; + + logic_leakage: logic-leakage@18 { + reg = <0x18 0x1>; + }; + }; + dmac0: dma-controller@ff2c0000 { compatible = "arm,pl330", "arm,primecell"; reg = <0x0 0xff2c0000 0x0 0x4000>; -- 2.43.2