Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755051AbbKYBYW (ORCPT ); Tue, 24 Nov 2015 20:24:22 -0500 Received: from mail-pa0-f68.google.com ([209.85.220.68]:34382 "EHLO mail-pa0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753775AbbKYBX7 (ORCPT ); Tue, 24 Nov 2015 20:23:59 -0500 From: Shuge X-Google-Original-From: Shuge Subject: Re: [linux-sunxi] Re: [PATCH v2 1/5] ARM: dts: sun8i: Add SID node To: Maxime Ripard References: <20151123124356.GW32142@lukather> <20151124093202.GL32142@lukather> Cc: linux-sunxi , atx@atx.name, linux-clk@vger.kernel.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, gpatchesrdh@mveas.com, mturquette@linaro.org, hdegoede@redhat.com, sboyd@codeaurora.org, mturquette@baylibre.com, emilio@elopez.com.ar, linux@arm.linux.org.uk, edubezval@gmail.com, rui.zhang@intel.com, wens@csie.org, galak@codeaurora.org, ijc+devicetree@hellion.org.uk, mark.rutland@arm.com, pawel.moll@arm.com, robh+dt@kernel.org Message-ID: <56550D70.6060109@gmail.com> Date: Wed, 25 Nov 2015 09:22:56 +0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: <20151124093202.GL32142@lukather> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1986 Lines: 56 On Monday, November 23, 2015 at 17:32 UTC+8, Maxime Ripard wrote: > On Mon, Nov 23, 2015 at 10:51:15PM -0800, Sugar Wu wrote: >> On Monday, November 23, 2015 at 8:43:59 PM UTC+8, Maxime Ripard wrote: >>> >>> Hi, >>> >>> On Mon, Nov 23, 2015 at 09:02:48AM +0100, Josef Gajdusek wrote: >>>> Add a node describing the Security ID memory to the >>>> Allwinner H3 .dtsi file. >>>> >>>> Signed-off-by: Josef Gajdusek > >>>> --- >>>> arch/arm/boot/dts/sun8i-h3.dtsi | 7 +++++++ >>>> 1 file changed, 7 insertions(+) >>>> >>>> diff --git a/arch/arm/boot/dts/sun8i-h3.dtsi >>> b/arch/arm/boot/dts/sun8i-h3.dtsi >>>> index 0faa38a..58de718 100644 >>>> --- a/arch/arm/boot/dts/sun8i-h3.dtsi >>>> +++ b/arch/arm/boot/dts/sun8i-h3.dtsi >>>> @@ -359,6 +359,13 @@ >>>> #size-cells = <0>; >>>> }; >>>> >>>> + sid: eeprom@01c14000 { >>>> + compatible = "allwinner,sun4i-a10-sid"; >>>> + reg = <0x01c14000 0x400>; >>> >>> The datasheet says it's 256 bytes wide, while the size here is of 1kB, >>> is it intentional? >> >> SID memory map is 0x01c14000 ~ 0x01c143FF, include 2048bits efuse space. >> H3 efuse space is SID_SRAM, its range is 0x01c14200 ~ +0x100. > > Interesting, what is below the 0x200 registers? > Some control register about SID. offset: 0x40 SID Program/Read Control Register offset: 0x50 SID Program Key Value Register offset: 0x60 SID Read Key Value Register offset: 0x70 \ offset: 0x80 SJTAG Attribute 0 Register offset: 0x84 SJTAG Attribute 1 Register offset: 0x88 SJTAG Select Register offset: 0x90 SID Program Ctrol register for burned timing > > Thanks! > Maxime > -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/