>-----Original Message----- >From: Shawn Guo <shawnguo@xxxxxxxxxx> >Sent: Wednesday, October 31, 2018 12:44 PM >To: Bhaskar Upadhaya <bhaskar.upadhaya@xxxxxxx> >Cc: devicetree@xxxxxxxxxxxxxxx; Harninder Rai <harninder.rai@xxxxxxx>; >Sudhanshu Gupta <sudhanshu.gupta@xxxxxxx>; Rajesh Bhagat ><rajesh.bhagat@xxxxxxx>; linux-arm-kernel@xxxxxxxxxxxxxxxxxxx; Leo Li ><leoyang.li@xxxxxxx> >Subject: Re: [PATCH v2 1/2] arm64: dts: Add support for NXP LS1028A SoC >> + compatible = "fsl,ls1028a"; >> + interrupt-parent = <&gic>; >> + #address-cells = <2>; >> + #size-cells = <2>; >> + >> + cpus { >> + #address-cells = <1>; >> + #size-cells = <0>; >> + >> + cpu0: cpu@0 { >> + device_type = "cpu"; >> + compatible = "arm,cortex-a72"; >> + reg = <0x0>; >> + enable-method = "psci"; >> + clocks = <&clockgen 1 0>; >> + next-level-cache = <&l2>; >> + cpu-idle-states = <&CPU_PH20>; >> + }; >> + >> + cpu1: cpu@1 { >> + device_type = "cpu"; >> + compatible = "arm,cortex-a72"; >> + reg = <0x1>; >> + enable-method = "psci"; >> + clocks = <&clockgen 1 0>; >> + next-level-cache = <&l2>; >> + cpu-idle-states = <&CPU_PH20>; >> + }; >> + >> + l2: l2-cache { >> + compatible = "cache"; >> + }; > >Not sure what's the point of this node without any properties. Shawn, I looked into the NXP and non-NXP platforms, but all are creating cache nodes with "compatible" being the only property. Below are example code of how other platforms are creating cache nodes. 1 # xgene_L2_3: l2-cache-3 { compatible = "cache"; }; 2 # L3_0: l3-cache { compatible = "cache"; }; 3 # cluster0_l2: l2-cache0 { compatible = "cache"; };