Skip to contentSkip to conversation

arch/arm64/boot/dts/amlogic/amlogic-c3.dtsi:65.7-76.4: Warning (unit_address_vs_reg): /sram: node has a reg or ranges property, but no unit name

PATCH kernel test robot 1 participant 1 message Aug 31, 2024

lore
Share & tools
lore

kernel test robot

author build bot
#0 lore raw

::::::
:::::: Manual check reason: "dtcheck: binding changes may go via different trees" ::::::

BCC: [email protected]
CC: [email protected]
TO: Xianwei Zhao <[email protected]>
CC: Neil Armstrong <[email protected]>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/amlogic/linux.git v6.12/arm64-dt
head:   d4bd8f3023b68f72431e05ec6cbc793519b449cf
commit: 520b792e83171efc8ec0b004412b44dabc044de0 [9/10] arm64: dts: amlogic: add some device nodes for C3

:::::: branch date: 32 hours ago
:::::: commit date: 32 hours ago
config: arm64-randconfig-003-20240831 (https://download.01.org/0day-ci/archive/20240901/[email protected]/config)
compiler: aarch64-linux-gcc (GCC) 14.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240901/[email protected]/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <[email protected]>
| Closes: https://lore.kernel.org/r/[email protected]/

dtcheck warnings: (new ones prefixed by >>)

>> arch/arm64/boot/dts/amlogic/amlogic-c3.dtsi:65.7-76.4: Warning (unit_address_vs_reg): /sram: node has a reg or ranges property, but no unit name
   arch/arm64/boot/dts/amlogic/amlogic-c3.dtsi:168.34-413.6: Warning (unit_address_vs_reg): /soc/bus@fe000000/pinctrl@4000: node has a unit name, but no reg or ranges property
   arch/arm64/boot/dts/amlogic/amlogic-c3.dtsi:168.34-413.6: Warning (simple_bus_reg): /soc/bus@fe000000/pinctrl@4000: missing or empty reg/ranges property
>> arch/arm64/boot/dts/amlogic/amlogic-c3-c302x-aw409.dts:205.9-245.4: Warning (avoid_unnecessary_addr_size): /soc/bus@fe000000/spi@56000/nand@0: unnecessary #address-cells/#size-cells without "ranges", "dma-ranges" or child "reg" property

vim +65 arch/arm64/boot/dts/amlogic/amlogic-c3.dtsi

02310be6f08007 Xianwei Zhao 2023-05-15  15  
02310be6f08007 Xianwei Zhao 2023-05-15  16  / {
02310be6f08007 Xianwei Zhao 2023-05-15  17  	cpus {
02310be6f08007 Xianwei Zhao 2023-05-15  18  		#address-cells = <2>;
02310be6f08007 Xianwei Zhao 2023-05-15  19  		#size-cells = <0>;
02310be6f08007 Xianwei Zhao 2023-05-15  20  
02310be6f08007 Xianwei Zhao 2023-05-15  21  		cpu0: cpu@0 {
02310be6f08007 Xianwei Zhao 2023-05-15  22  			device_type = "cpu";
02310be6f08007 Xianwei Zhao 2023-05-15  23  			compatible = "arm,cortex-a35";
02310be6f08007 Xianwei Zhao 2023-05-15  24  			reg = <0x0 0x0>;
02310be6f08007 Xianwei Zhao 2023-05-15  25  			enable-method = "psci";
02310be6f08007 Xianwei Zhao 2023-05-15  26  		};
02310be6f08007 Xianwei Zhao 2023-05-15  27  
02310be6f08007 Xianwei Zhao 2023-05-15  28  		cpu1: cpu@1 {
02310be6f08007 Xianwei Zhao 2023-05-15  29  			device_type = "cpu";
02310be6f08007 Xianwei Zhao 2023-05-15  30  			compatible = "arm,cortex-a35";
02310be6f08007 Xianwei Zhao 2023-05-15  31  			reg = <0x0 0x1>;
02310be6f08007 Xianwei Zhao 2023-05-15  32  			enable-method = "psci";
02310be6f08007 Xianwei Zhao 2023-05-15  33  		};
02310be6f08007 Xianwei Zhao 2023-05-15  34  	};
02310be6f08007 Xianwei Zhao 2023-05-15  35  
02310be6f08007 Xianwei Zhao 2023-05-15  36  	timer {
02310be6f08007 Xianwei Zhao 2023-05-15  37  		compatible = "arm,armv8-timer";
02310be6f08007 Xianwei Zhao 2023-05-15  38  		interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
02310be6f08007 Xianwei Zhao 2023-05-15  39  			     <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
02310be6f08007 Xianwei Zhao 2023-05-15  40  			     <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
02310be6f08007 Xianwei Zhao 2023-05-15  41  			     <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>;
02310be6f08007 Xianwei Zhao 2023-05-15  42  	};
02310be6f08007 Xianwei Zhao 2023-05-15  43  
02310be6f08007 Xianwei Zhao 2023-05-15  44  	psci {
02310be6f08007 Xianwei Zhao 2023-05-15  45  		compatible = "arm,psci-1.0";
02310be6f08007 Xianwei Zhao 2023-05-15  46  		method = "smc";
02310be6f08007 Xianwei Zhao 2023-05-15  47  	};
02310be6f08007 Xianwei Zhao 2023-05-15  48  
02310be6f08007 Xianwei Zhao 2023-05-15  49  	xtal: xtal-clk {
02310be6f08007 Xianwei Zhao 2023-05-15  50  		compatible = "fixed-clock";
02310be6f08007 Xianwei Zhao 2023-05-15  51  		clock-frequency = <24000000>;
02310be6f08007 Xianwei Zhao 2023-05-15  52  		clock-output-names = "xtal";
02310be6f08007 Xianwei Zhao 2023-05-15  53  		#clock-cells = <0>;
02310be6f08007 Xianwei Zhao 2023-05-15  54  	};
02310be6f08007 Xianwei Zhao 2023-05-15  55  
22a9b2a488c3f0 Xianwei Zhao 2023-07-07  56  	sm: secure-monitor {
22a9b2a488c3f0 Xianwei Zhao 2023-07-07  57  		compatible = "amlogic,meson-gxbb-sm";
22a9b2a488c3f0 Xianwei Zhao 2023-07-07  58  
22a9b2a488c3f0 Xianwei Zhao 2023-07-07  59  		pwrc: power-controller {
22a9b2a488c3f0 Xianwei Zhao 2023-07-07  60  			compatible = "amlogic,c3-pwrc";
22a9b2a488c3f0 Xianwei Zhao 2023-07-07  61  			#power-domain-cells = <1>;
22a9b2a488c3f0 Xianwei Zhao 2023-07-07  62  		};
22a9b2a488c3f0 Xianwei Zhao 2023-07-07  63  	};
22a9b2a488c3f0 Xianwei Zhao 2023-07-07  64  

520b792e83171e Xianwei Zhao 2024-08-30 @65 sram {

Signature · 2 lines
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki