[linux-next:master 11857/12643] arch/mips/boot/dts/pic32/pic32mzda.dtsi:32.7-40.4: Warning (avoid_unnecessary_addr_size): /cpus: unnecessary #address-cells/#size-cells without "ranges", "dma-ranges" or child "reg" property

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   f477dd6eede3ecedc8963478571d99ec3bf3f762
commit: 12d638f48c082831388358cc12a1c6ee58185ad8 [11857/12643] scripts/dtc: Update to upstream version v1.7.0-93-g1df7b047fe43
config: mips-pic32mzda_defconfig (https://download.01.org/0day-ci/archive/20240711/202407111848.GZkeFUuS-lkp@xxxxxxxxx/config)
compiler: mipsel-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240711/202407111848.GZkeFUuS-lkp@xxxxxxxxx/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 <lkp@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202407111848.GZkeFUuS-lkp@xxxxxxxxx/

dtcheck warnings: (new ones prefixed by >>)
   arch/mips/boot/dts/pic32/pic32mzda.dtsi:36.9-39.5: Warning (unit_address_vs_reg): /cpus/cpu@0: node has a unit name, but no reg or ranges property
   arch/mips/boot/dts/pic32/pic32mzda_sk.dts:17.9-20.4: Warning (unit_address_vs_reg): /memory: node has a reg or ranges property, but no unit name
>> arch/mips/boot/dts/pic32/pic32mzda.dtsi:32.7-40.4: Warning (avoid_unnecessary_addr_size): /cpus: unnecessary #address-cells/#size-cells without "ranges", "dma-ranges" or child "reg" property
>> arch/mips/boot/dts/pic32/pic32mzda.dtsi:78.34-84.4: Warning (avoid_unnecessary_addr_size): /pinctrl@1f801400: unnecessary #address-cells/#size-cells without "ranges", "dma-ranges" or child "reg" property

vim +32 arch/mips/boot/dts/pic32/pic32mzda.dtsi

842b6b16f5178c Joshua Henderson     2016-01-13   7  
842b6b16f5178c Joshua Henderson     2016-01-13   8  / {
842b6b16f5178c Joshua Henderson     2016-01-13   9  	#address-cells = <1>;
842b6b16f5178c Joshua Henderson     2016-01-13  10  	#size-cells = <1>;
842b6b16f5178c Joshua Henderson     2016-01-13  11  	interrupt-parent = <&evic>;
842b6b16f5178c Joshua Henderson     2016-01-13  12  
842b6b16f5178c Joshua Henderson     2016-01-13  13  	aliases {
842b6b16f5178c Joshua Henderson     2016-01-13  14  		gpio0 = &gpio0;
842b6b16f5178c Joshua Henderson     2016-01-13  15  		gpio1 = &gpio1;
842b6b16f5178c Joshua Henderson     2016-01-13  16  		gpio2 = &gpio2;
842b6b16f5178c Joshua Henderson     2016-01-13  17  		gpio3 = &gpio3;
842b6b16f5178c Joshua Henderson     2016-01-13  18  		gpio4 = &gpio4;
842b6b16f5178c Joshua Henderson     2016-01-13  19  		gpio5 = &gpio5;
842b6b16f5178c Joshua Henderson     2016-01-13  20  		gpio6 = &gpio6;
842b6b16f5178c Joshua Henderson     2016-01-13  21  		gpio7 = &gpio7;
842b6b16f5178c Joshua Henderson     2016-01-13  22  		gpio8 = &gpio8;
842b6b16f5178c Joshua Henderson     2016-01-13  23  		gpio9 = &gpio9;
842b6b16f5178c Joshua Henderson     2016-01-13  24  		serial0 = &uart1;
842b6b16f5178c Joshua Henderson     2016-01-13  25  		serial1 = &uart2;
842b6b16f5178c Joshua Henderson     2016-01-13  26  		serial2 = &uart3;
842b6b16f5178c Joshua Henderson     2016-01-13  27  		serial3 = &uart4;
842b6b16f5178c Joshua Henderson     2016-01-13  28  		serial4 = &uart5;
842b6b16f5178c Joshua Henderson     2016-01-13  29  		serial5 = &uart6;
842b6b16f5178c Joshua Henderson     2016-01-13  30  	};
842b6b16f5178c Joshua Henderson     2016-01-13  31  
842b6b16f5178c Joshua Henderson     2016-01-13 @32  	cpus {
842b6b16f5178c Joshua Henderson     2016-01-13  33  		#address-cells = <1>;
842b6b16f5178c Joshua Henderson     2016-01-13  34  		#size-cells = <0>;
842b6b16f5178c Joshua Henderson     2016-01-13  35  
842b6b16f5178c Joshua Henderson     2016-01-13  36  		cpu@0 {
842b6b16f5178c Joshua Henderson     2016-01-13  37  			compatible = "mti,mips14KEc";
842b6b16f5178c Joshua Henderson     2016-01-13  38  			device_type = "cpu";
842b6b16f5178c Joshua Henderson     2016-01-13  39  		};
842b6b16f5178c Joshua Henderson     2016-01-13  40  	};
842b6b16f5178c Joshua Henderson     2016-01-13  41  
842b6b16f5178c Joshua Henderson     2016-01-13  42  	soc {
842b6b16f5178c Joshua Henderson     2016-01-13  43  		compatible = "microchip,pic32mzda-infra";
842b6b16f5178c Joshua Henderson     2016-01-13  44  		interrupts = <0 IRQ_TYPE_EDGE_RISING>;
842b6b16f5178c Joshua Henderson     2016-01-13  45  	};
842b6b16f5178c Joshua Henderson     2016-01-13  46  
9125f19bbb97e7 Purna Chandra Mandal 2016-05-13  47  	/* external clock input on TxCLKI pin */
9125f19bbb97e7 Purna Chandra Mandal 2016-05-13  48  	txcki: txcki_clk {
9125f19bbb97e7 Purna Chandra Mandal 2016-05-13  49  		#clock-cells = <0>;
9125f19bbb97e7 Purna Chandra Mandal 2016-05-13  50  		compatible = "fixed-clock";
9125f19bbb97e7 Purna Chandra Mandal 2016-05-13  51  		clock-frequency = <4000000>;
9125f19bbb97e7 Purna Chandra Mandal 2016-05-13  52  		status = "disabled";
9125f19bbb97e7 Purna Chandra Mandal 2016-05-13  53  	};
9125f19bbb97e7 Purna Chandra Mandal 2016-05-13  54  
9125f19bbb97e7 Purna Chandra Mandal 2016-05-13  55  	/* external input on REFCLKIx pin */
9125f19bbb97e7 Purna Chandra Mandal 2016-05-13  56  	refix: refix_clk {
9125f19bbb97e7 Purna Chandra Mandal 2016-05-13  57  		#clock-cells = <0>;
9125f19bbb97e7 Purna Chandra Mandal 2016-05-13  58  		compatible = "fixed-clock";
9125f19bbb97e7 Purna Chandra Mandal 2016-05-13  59  		clock-frequency = <24000000>;
9125f19bbb97e7 Purna Chandra Mandal 2016-05-13  60  		status = "disabled";
9125f19bbb97e7 Purna Chandra Mandal 2016-05-13  61  	};
9125f19bbb97e7 Purna Chandra Mandal 2016-05-13  62  
9125f19bbb97e7 Purna Chandra Mandal 2016-05-13  63  	rootclk: clock-controller@1f801200 {
9125f19bbb97e7 Purna Chandra Mandal 2016-05-13  64  		compatible = "microchip,pic32mzda-clk";
9125f19bbb97e7 Purna Chandra Mandal 2016-05-13  65  		reg = <0x1f801200 0x200>;
9125f19bbb97e7 Purna Chandra Mandal 2016-05-13  66  		#clock-cells = <1>;
9125f19bbb97e7 Purna Chandra Mandal 2016-05-13  67  		microchip,pic32mzda-sosc;
9125f19bbb97e7 Purna Chandra Mandal 2016-05-13  68  	};
9125f19bbb97e7 Purna Chandra Mandal 2016-05-13  69  
842b6b16f5178c Joshua Henderson     2016-01-13  70  	evic: interrupt-controller@1f810000 {
842b6b16f5178c Joshua Henderson     2016-01-13  71  		compatible = "microchip,pic32mzda-evic";
842b6b16f5178c Joshua Henderson     2016-01-13  72  		interrupt-controller;
842b6b16f5178c Joshua Henderson     2016-01-13  73  		#interrupt-cells = <2>;
842b6b16f5178c Joshua Henderson     2016-01-13  74  		reg = <0x1f810000 0x1000>;
842b6b16f5178c Joshua Henderson     2016-01-13  75  		microchip,external-irqs = <3 8 13 18 23>;
842b6b16f5178c Joshua Henderson     2016-01-13  76  	};
842b6b16f5178c Joshua Henderson     2016-01-13  77  
842b6b16f5178c Joshua Henderson     2016-01-13 @78  	pic32_pinctrl: pinctrl@1f801400 {

:::::: The code at line 32 was first introduced by commit
:::::: 842b6b16f5178c66da0959a935dafa80a979b745 MIPS: dts: Add initial DTS for the PIC32MZDA Starter Kit

:::::: TO: Joshua Henderson <joshua.henderson@xxxxxxxxxxxxx>
:::::: CC: Ralf Baechle <ralf@xxxxxxxxxxxxxx>

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




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux