From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bjorn Andersson Subject: Re: [RFC][PATCH 3/4] arm64: dts: hikey: Add hikey support for syscon-reboot-mode Date: Tue, 9 Aug 2016 21:34:24 -0700 Message-ID: <20160810043424.GH26240@tuxbot> References: <1470697426-16426-1-git-send-email-john.stultz@linaro.org> <1470697426-16426-3-git-send-email-john.stultz@linaro.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <1470697426-16426-3-git-send-email-john.stultz-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org> Sender: devicetree-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: John Stultz Cc: lkml , Andy Yan , Haojian Zhuang , Guodong Xu , Wei Xu , Rob Herring , Mark Rutland , Catalin Marinas , Will Deacon , linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: devicetree@vger.kernel.org On Mon 08 Aug 16:03 PDT 2016, John Stultz wrote: [..] > diff --git a/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts b/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts [..] > memory@0 { > device_type = "memory"; > reg = <0x00000000 0x00000000 0x00000000 0x05e00000>, > - <0x00000000 0x05f00000 0x00000000 0x00eff000>, > + <0x00000000 0x05f00000 0x00000000 0x00001000>, > + <0x00000000 0x05f02000 0x00000000 0x00efd000>, > <0x00000000 0x06e00000 0x00000000 0x0060f000>, > <0x00000000 0x07410000 0x00000000 0x36bf0000>; > }; As I said when talked about this, I don't think you should punch holes in the /memory node, but rather add these regions as no-map in a /reserved-memory node. But that's a unrelated matter. > > + reboot-mode-syscon@5f01000 { > + compatible = "syscon", "simple-mfd"; > + reg = <0x0 0x05f01000 0x0 0x00001000>; > + > + reboot-mode@0 { Drop the @0 Other than that: Acked-by: Bjorn Andersson > + compatible = "syscon-reboot-mode"; > + offset = <0x0>; > + > + mode-normal = <0x77665501>; > + mode-bootloader = <0x77665500>; > + mode-recovery = <0x77665502>; > + }; > + }; > + > soc { > spi0: spi@f7106000 { > status = "ok"; Regards, Bjorn -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html