Received: by 2002:a05:6a10:c7c6:0:0:0:0 with SMTP id h6csp742460pxy; Sun, 1 Aug 2021 00:40:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzF2dm6ec+VZ53KTSNKUZAvesXGN+i3+S2BeuKh8qKTvYVovsFaTBpa61CTl3TsNQUtJ1+L X-Received: by 2002:a92:d9c6:: with SMTP id n6mr254141ilq.142.1627803605701; Sun, 01 Aug 2021 00:40:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1627803605; cv=none; d=google.com; s=arc-20160816; b=xpBYzlWxS7aqAaYMTup71N15+Cr+2GJvlNVeniKFwuDRYrjYxPaFnTwh5Bt05gRa9a O5Igx3Y4IDeu77K+xKdwrsukO3XwRGfMasDuZgzwcwQQ/G77gpb2PSP+m6pDclA5mWBd HLJu6/7y+8/zS8Uv0E80Xm8qauXSstx+4JS2xNpIXbXXloeq5CG56RjxJJ3i9rBup1jw GAxEqDrbiNoF3pM+m6y3RX4lykTx5iCSfsbar321aYx9RjJRjYe4l/KdLzoCZ07IjEL8 UT5s8hpQW/X7Ay2CbPlNQS9c9QDOKO2PC7bkUR1/fK7hiupKFS6oYdJ/N1uoi7e3/JEA rA/A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=EANaQyFL/Xj1PVcPi/xQ23hw8aj3O80JIzwgHw2Lr9Q=; b=aniFLKKQQtjejuR2PSewtB78VuPQ4qWlHZLkoRONDlfE1eumMG1SBIaqQGIrWkEFzz 0RvweS8uxnZSEWjdlhrYdo3Pc0DjoBvKrXvpArdmI/p3Xjqxu1BgQLRBP1p8Qu4g1x/S h3VPvdnvqaKXfMem4Xn/ivAOnA+4qLvT74L3Gzj17no3arGvos6pCu0EsMQF04vUYg89 OJ+ahGnaHXhJ1aD1E/dt2uj0PrARl4NGa0r8tfBhgtHhzWnyfMc75vg8Xy5wQivHl5Ft +uM+NfRM1YHEBN+2/u+Tojfk8dJ6aOqf78+j3oS2V8JbAP+frE9pdjymWzLBROtCgu7o Ds3Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a24si8779477iol.81.2021.08.01.00.39.54; Sun, 01 Aug 2021 00:40:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230475AbhHAHis (ORCPT + 99 others); Sun, 1 Aug 2021 03:38:48 -0400 Received: from 82-65-109-163.subs.proxad.net ([82.65.109.163]:60480 "EHLO luna.linkmauve.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230430AbhHAHim (ORCPT ); Sun, 1 Aug 2021 03:38:42 -0400 Received: by luna.linkmauve.fr (Postfix, from userid 1000) id A89E9F409D1; Sun, 1 Aug 2021 09:38:32 +0200 (CEST) From: Emmanuel Gil Peyrot To: Rob Herring , linuxppc-dev@lists.ozlabs.org, devicetree@vger.kernel.org Cc: Emmanuel Gil Peyrot , Ash Logan , =?UTF-8?q?Jonathan=20Neusch=C3=A4fer?= , Srinivas Kandagatla , Michael Ellerman , Benjamin Herrenschmidt , Paul Mackerras , linux-kernel@vger.kernel.org Subject: [PATCH v4 4/5] powerpc: wii.dts: Expose the OTP on this platform Date: Sun, 1 Aug 2021 09:38:21 +0200 Message-Id: <20210801073822.12452-5-linkmauve@linkmauve.fr> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210801073822.12452-1-linkmauve@linkmauve.fr> References: <20210701225743.14631-1-linkmauve@linkmauve.fr> <20210801073822.12452-1-linkmauve@linkmauve.fr> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This can be used by the newly-added nintendo-otp nvmem module. Signed-off-by: Emmanuel Gil Peyrot --- arch/powerpc/boot/dts/wii.dts | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/arch/powerpc/boot/dts/wii.dts b/arch/powerpc/boot/dts/wii.dts index c5fb54f8cc02..e9c945b123c6 100644 --- a/arch/powerpc/boot/dts/wii.dts +++ b/arch/powerpc/boot/dts/wii.dts @@ -219,12 +219,17 @@ control@d800100 { /* * Both the address and length are wrong, according to * Wiibrew this should be <0x0d800000 0x400>, but it - * requires refactoring the PIC1 and GPIO nodes before - * changing that. + * requires refactoring the PIC1, GPIO and OTP nodes + * before changing that. */ reg = <0x0d800100 0xa0>; }; + otp@d8001ec { + compatible = "nintendo,hollywood-otp"; + reg = <0x0d8001ec 0x8>; + }; + disk@d806000 { compatible = "nintendo,hollywood-di"; reg = <0x0d806000 0x40>; -- 2.32.0