From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chunfeng Yun Date: Tue, 21 Apr 2020 09:39:21 +0800 Subject: [PATCH v6 02/14] test: dm: add test item for ofnode_get_child_count() In-Reply-To: References: <1587352883-8641-1-git-send-email-chunfeng.yun@mediatek.com> <1587352883-8641-3-git-send-email-chunfeng.yun@mediatek.com> Message-ID: <1587433161.8249.4.camel@mhfsdcap03> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Mon, 2020-04-20 at 11:07 -0300, Fabio Estevam wrote: > On Mon, Apr 20, 2020 at 12:22 AM Chunfeng Yun wrote: > > > + i-test { > > + compatible = "mediatek,u-boot-fdt-test"; > > + #address-cells = <1>; > > + #size-cells = <0>; > > + > > + subnode0 { > > + reg = <0>; > > + }; > > This has a reg property without its corresponding @. > > Shouldn't this be subnode at 0 instead? Yes, will add it, thanks