[linux-next:master 11857/12643] arch/mips/boot/dts/qca/ar9331.dtsi:158.25-259.7: Warning (avoid_unnecessary_addr_size): /ahb/ethernet@1a000000/mdio/switch@10: 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-ath79_defconfig (https://download.01.org/0day-ci/archive/20240711/202407111908.L14SzDTS-lkp@xxxxxxxxx/config)
compiler: mips-linux-gcc (GCC) 13.3.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240711/202407111908.L14SzDTS-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/202407111908.L14SzDTS-lkp@xxxxxxxxx/

dtcheck warnings: (new ones prefixed by >>)
   arch/mips/boot/dts/qca/ar9331.dtsi:263.21-274.5: Warning (simple_bus_reg): /ahb/usb@1b000100: simple-bus unit address format error, expected "1b000000"
>> arch/mips/boot/dts/qca/ar9331.dtsi:158.25-259.7: Warning (avoid_unnecessary_addr_size): /ahb/ethernet@1a000000/mdio/switch@10: unnecessary #address-cells/#size-cells without "ranges", "dma-ranges" or child "reg" property
--
   arch/mips/boot/dts/qca/ar9331.dtsi:263.21-274.5: Warning (simple_bus_reg): /ahb/usb@1b000100: simple-bus unit address format error, expected "1b000000"
>> arch/mips/boot/dts/qca/ar9331.dtsi:158.25-259.7: Warning (avoid_unnecessary_addr_size): /ahb/ethernet@1a000000/mdio/switch@10: unnecessary #address-cells/#size-cells without "ranges", "dma-ranges" or child "reg" property
--
   arch/mips/boot/dts/qca/ar9331.dtsi:263.21-274.5: Warning (simple_bus_reg): /ahb/usb@1b000100: simple-bus unit address format error, expected "1b000000"
>> arch/mips/boot/dts/qca/ar9331.dtsi:158.25-259.7: Warning (avoid_unnecessary_addr_size): /ahb/ethernet@1a000000/mdio/switch@10: unnecessary #address-cells/#size-cells without "ranges", "dma-ranges" or child "reg" property
--
   arch/mips/boot/dts/qca/ar9331.dtsi:263.21-274.5: Warning (simple_bus_reg): /ahb/usb@1b000100: simple-bus unit address format error, expected "1b000000"
>> arch/mips/boot/dts/qca/ar9331.dtsi:158.25-259.7: Warning (avoid_unnecessary_addr_size): /ahb/ethernet@1a000000/mdio/switch@10: unnecessary #address-cells/#size-cells without "ranges", "dma-ranges" or child "reg" property
--
   arch/mips/boot/dts/qca/ar9331.dtsi:263.21-274.5: Warning (simple_bus_reg): /ahb/usb@1b000100: simple-bus unit address format error, expected "1b000000"
>> arch/mips/boot/dts/qca/ar9331.dtsi:158.25-259.7: Warning (avoid_unnecessary_addr_size): /ahb/ethernet@1a000000/mdio/switch@10: unnecessary #address-cells/#size-cells without "ranges", "dma-ranges" or child "reg" property

vim +158 arch/mips/boot/dts/qca/ar9331.dtsi

1e6a3492e7bb12 Antony Pavlov  2016-03-17    3  
1e6a3492e7bb12 Antony Pavlov  2016-03-17    4  / {
1e6a3492e7bb12 Antony Pavlov  2016-03-17    5  	compatible = "qca,ar9331";
1e6a3492e7bb12 Antony Pavlov  2016-03-17    6  
1e6a3492e7bb12 Antony Pavlov  2016-03-17    7  	#address-cells = <1>;
1e6a3492e7bb12 Antony Pavlov  2016-03-17    8  	#size-cells = <1>;
1e6a3492e7bb12 Antony Pavlov  2016-03-17    9  
1e6a3492e7bb12 Antony Pavlov  2016-03-17   10  	cpus {
1e6a3492e7bb12 Antony Pavlov  2016-03-17   11  		#address-cells = <1>;
1e6a3492e7bb12 Antony Pavlov  2016-03-17   12  		#size-cells = <0>;
1e6a3492e7bb12 Antony Pavlov  2016-03-17   13  
1e6a3492e7bb12 Antony Pavlov  2016-03-17   14  		cpu@0 {
1e6a3492e7bb12 Antony Pavlov  2016-03-17   15  			device_type = "cpu";
1e6a3492e7bb12 Antony Pavlov  2016-03-17   16  			compatible = "mips,mips24Kc";
1e6a3492e7bb12 Antony Pavlov  2016-03-17   17  			clocks = <&pll ATH79_CLK_CPU>;
1e6a3492e7bb12 Antony Pavlov  2016-03-17   18  			reg = <0>;
1e6a3492e7bb12 Antony Pavlov  2016-03-17   19  		};
1e6a3492e7bb12 Antony Pavlov  2016-03-17   20  	};
1e6a3492e7bb12 Antony Pavlov  2016-03-17   21  
1e6a3492e7bb12 Antony Pavlov  2016-03-17   22  	cpuintc: interrupt-controller {
1e6a3492e7bb12 Antony Pavlov  2016-03-17   23  		compatible = "qca,ar7100-cpu-intc";
1e6a3492e7bb12 Antony Pavlov  2016-03-17   24  
1e6a3492e7bb12 Antony Pavlov  2016-03-17   25  		interrupt-controller;
1e6a3492e7bb12 Antony Pavlov  2016-03-17   26  		#interrupt-cells = <1>;
1e6a3492e7bb12 Antony Pavlov  2016-03-17   27  
1e6a3492e7bb12 Antony Pavlov  2016-03-17   28  		qca,ddr-wb-channel-interrupts = <2>, <3>;
1e6a3492e7bb12 Antony Pavlov  2016-03-17   29  		qca,ddr-wb-channels = <&ddr_ctrl 3>, <&ddr_ctrl 2>;
1e6a3492e7bb12 Antony Pavlov  2016-03-17   30  	};
1e6a3492e7bb12 Antony Pavlov  2016-03-17   31  
1e6a3492e7bb12 Antony Pavlov  2016-03-17   32  	ref: ref {
1e6a3492e7bb12 Antony Pavlov  2016-03-17   33  		compatible = "fixed-clock";
1e6a3492e7bb12 Antony Pavlov  2016-03-17   34  		#clock-cells = <0>;
1e6a3492e7bb12 Antony Pavlov  2016-03-17   35  	};
1e6a3492e7bb12 Antony Pavlov  2016-03-17   36  
1e6a3492e7bb12 Antony Pavlov  2016-03-17   37  	ahb {
1e6a3492e7bb12 Antony Pavlov  2016-03-17   38  		compatible = "simple-bus";
1e6a3492e7bb12 Antony Pavlov  2016-03-17   39  		ranges;
1e6a3492e7bb12 Antony Pavlov  2016-03-17   40  
1e6a3492e7bb12 Antony Pavlov  2016-03-17   41  		#address-cells = <1>;
1e6a3492e7bb12 Antony Pavlov  2016-03-17   42  		#size-cells = <1>;
1e6a3492e7bb12 Antony Pavlov  2016-03-17   43  
1e6a3492e7bb12 Antony Pavlov  2016-03-17   44  		interrupt-parent = <&cpuintc>;
1e6a3492e7bb12 Antony Pavlov  2016-03-17   45  
1e6a3492e7bb12 Antony Pavlov  2016-03-17   46  		apb {
1e6a3492e7bb12 Antony Pavlov  2016-03-17   47  			compatible = "simple-bus";
1e6a3492e7bb12 Antony Pavlov  2016-03-17   48  			ranges;
1e6a3492e7bb12 Antony Pavlov  2016-03-17   49  
1e6a3492e7bb12 Antony Pavlov  2016-03-17   50  			#address-cells = <1>;
1e6a3492e7bb12 Antony Pavlov  2016-03-17   51  			#size-cells = <1>;
1e6a3492e7bb12 Antony Pavlov  2016-03-17   52  
1e6a3492e7bb12 Antony Pavlov  2016-03-17   53  			interrupt-parent = <&miscintc>;
1e6a3492e7bb12 Antony Pavlov  2016-03-17   54  
1e6a3492e7bb12 Antony Pavlov  2016-03-17   55  			ddr_ctrl: memory-controller@18000000 {
1e6a3492e7bb12 Antony Pavlov  2016-03-17   56  				compatible = "qca,ar7240-ddr-controller";
1e6a3492e7bb12 Antony Pavlov  2016-03-17   57  				reg = <0x18000000 0x100>;
1e6a3492e7bb12 Antony Pavlov  2016-03-17   58  
1e6a3492e7bb12 Antony Pavlov  2016-03-17   59  				#qca,ddr-wb-channel-cells = <1>;
1e6a3492e7bb12 Antony Pavlov  2016-03-17   60  			};
1e6a3492e7bb12 Antony Pavlov  2016-03-17   61  
e795688eeedfab Oleksij Rempel 2020-05-10   62  			uart: serial@18020000 {
1e6a3492e7bb12 Antony Pavlov  2016-03-17   63  				compatible = "qca,ar9330-uart";
1e6a3492e7bb12 Antony Pavlov  2016-03-17   64  				reg = <0x18020000 0x14>;
1e6a3492e7bb12 Antony Pavlov  2016-03-17   65  
1e6a3492e7bb12 Antony Pavlov  2016-03-17   66  				interrupts = <3>;
1e6a3492e7bb12 Antony Pavlov  2016-03-17   67  
1e6a3492e7bb12 Antony Pavlov  2016-03-17   68  				clocks = <&ref>;
1e6a3492e7bb12 Antony Pavlov  2016-03-17   69  				clock-names = "uart";
1e6a3492e7bb12 Antony Pavlov  2016-03-17   70  
1e6a3492e7bb12 Antony Pavlov  2016-03-17   71  				status = "disabled";
1e6a3492e7bb12 Antony Pavlov  2016-03-17   72  			};
1e6a3492e7bb12 Antony Pavlov  2016-03-17   73  
1e6a3492e7bb12 Antony Pavlov  2016-03-17   74  			gpio: gpio@18040000 {
1e6a3492e7bb12 Antony Pavlov  2016-03-17   75  				compatible = "qca,ar7100-gpio";
1e6a3492e7bb12 Antony Pavlov  2016-03-17   76  				reg = <0x18040000 0x34>;
1e6a3492e7bb12 Antony Pavlov  2016-03-17   77  				interrupts = <2>;
1e6a3492e7bb12 Antony Pavlov  2016-03-17   78  
1e6a3492e7bb12 Antony Pavlov  2016-03-17   79  				ngpios = <30>;
1e6a3492e7bb12 Antony Pavlov  2016-03-17   80  
1e6a3492e7bb12 Antony Pavlov  2016-03-17   81  				gpio-controller;
1e6a3492e7bb12 Antony Pavlov  2016-03-17   82  				#gpio-cells = <2>;
1e6a3492e7bb12 Antony Pavlov  2016-03-17   83  
1e6a3492e7bb12 Antony Pavlov  2016-03-17   84  				interrupt-controller;
1e6a3492e7bb12 Antony Pavlov  2016-03-17   85  				#interrupt-cells = <2>;
1e6a3492e7bb12 Antony Pavlov  2016-03-17   86  
1e6a3492e7bb12 Antony Pavlov  2016-03-17   87  				status = "disabled";
1e6a3492e7bb12 Antony Pavlov  2016-03-17   88  			};
1e6a3492e7bb12 Antony Pavlov  2016-03-17   89  
1e6a3492e7bb12 Antony Pavlov  2016-03-17   90  			pll: pll-controller@18050000 {
1e6a3492e7bb12 Antony Pavlov  2016-03-17   91  				compatible = "qca,ar9330-pll";
1e6a3492e7bb12 Antony Pavlov  2016-03-17   92  				reg = <0x18050000 0x100>;
1e6a3492e7bb12 Antony Pavlov  2016-03-17   93  
1e6a3492e7bb12 Antony Pavlov  2016-03-17   94  				clocks = <&ref>;
1e6a3492e7bb12 Antony Pavlov  2016-03-17   95  				clock-names = "ref";
1e6a3492e7bb12 Antony Pavlov  2016-03-17   96  
1e6a3492e7bb12 Antony Pavlov  2016-03-17   97  				#clock-cells = <1>;
1e6a3492e7bb12 Antony Pavlov  2016-03-17   98  			};
1e6a3492e7bb12 Antony Pavlov  2016-03-17   99  
1e6a3492e7bb12 Antony Pavlov  2016-03-17  100  			miscintc: interrupt-controller@18060010 {
1e6a3492e7bb12 Antony Pavlov  2016-03-17  101  				compatible = "qca,ar7240-misc-intc";
0889d07f3e4b17 Oleksij Rempel 2019-09-30  102  				reg = <0x18060010 0x8>;
1e6a3492e7bb12 Antony Pavlov  2016-03-17  103  
1e6a3492e7bb12 Antony Pavlov  2016-03-17  104  				interrupt-parent = <&cpuintc>;
1e6a3492e7bb12 Antony Pavlov  2016-03-17  105  				interrupts = <6>;
1e6a3492e7bb12 Antony Pavlov  2016-03-17  106  
1e6a3492e7bb12 Antony Pavlov  2016-03-17  107  				interrupt-controller;
1e6a3492e7bb12 Antony Pavlov  2016-03-17  108  				#interrupt-cells = <1>;
1e6a3492e7bb12 Antony Pavlov  2016-03-17  109  			};
1e6a3492e7bb12 Antony Pavlov  2016-03-17  110  
1e6a3492e7bb12 Antony Pavlov  2016-03-17  111  			rst: reset-controller@1806001c {
1e6a3492e7bb12 Antony Pavlov  2016-03-17  112  				compatible = "qca,ar7100-reset";
1e6a3492e7bb12 Antony Pavlov  2016-03-17  113  				reg = <0x1806001c 0x4>;
1e6a3492e7bb12 Antony Pavlov  2016-03-17  114  
1e6a3492e7bb12 Antony Pavlov  2016-03-17  115  				#reset-cells = <1>;
1e6a3492e7bb12 Antony Pavlov  2016-03-17  116  			};
1e6a3492e7bb12 Antony Pavlov  2016-03-17  117  		};
1e6a3492e7bb12 Antony Pavlov  2016-03-17  118  
7ff836f064e2c8 Oleksij Rempel 2019-05-24  119  		eth0: ethernet@19000000 {
7ff836f064e2c8 Oleksij Rempel 2019-05-24  120  			compatible = "qca,ar9330-eth";
7ff836f064e2c8 Oleksij Rempel 2019-05-24  121  			reg = <0x19000000 0x200>;
7ff836f064e2c8 Oleksij Rempel 2019-05-24  122  			interrupts = <4>;
7ff836f064e2c8 Oleksij Rempel 2019-05-24  123  
7ff836f064e2c8 Oleksij Rempel 2019-05-24  124  			resets = <&rst 9>, <&rst 22>;
7ff836f064e2c8 Oleksij Rempel 2019-05-24  125  			reset-names = "mac", "mdio";
7ff836f064e2c8 Oleksij Rempel 2019-05-24  126  			clocks = <&pll ATH79_CLK_AHB>, <&pll ATH79_CLK_AHB>;
7ff836f064e2c8 Oleksij Rempel 2019-05-24  127  			clock-names = "eth", "mdio";
7ff836f064e2c8 Oleksij Rempel 2019-05-24  128  
4eb7ae7a301d35 Oleksij Rempel 2019-12-18  129  			phy-mode = "mii";
4eb7ae7a301d35 Oleksij Rempel 2019-12-18  130  			phy-handle = <&phy_port4>;
4eb7ae7a301d35 Oleksij Rempel 2019-12-18  131  
7ff836f064e2c8 Oleksij Rempel 2019-05-24  132  			status = "disabled";
7ff836f064e2c8 Oleksij Rempel 2019-05-24  133  		};
7ff836f064e2c8 Oleksij Rempel 2019-05-24  134  
7ff836f064e2c8 Oleksij Rempel 2019-05-24  135  		eth1: ethernet@1a000000 {
7ff836f064e2c8 Oleksij Rempel 2019-05-24  136  			compatible = "qca,ar9330-eth";
7ff836f064e2c8 Oleksij Rempel 2019-05-24  137  			reg = <0x1a000000 0x200>;
7ff836f064e2c8 Oleksij Rempel 2019-05-24  138  			interrupts = <5>;
7ff836f064e2c8 Oleksij Rempel 2019-05-24  139  			resets = <&rst 13>, <&rst 23>;
7ff836f064e2c8 Oleksij Rempel 2019-05-24  140  			reset-names = "mac", "mdio";
7ff836f064e2c8 Oleksij Rempel 2019-05-24  141  			clocks = <&pll ATH79_CLK_AHB>, <&pll ATH79_CLK_AHB>;
7ff836f064e2c8 Oleksij Rempel 2019-05-24  142  			clock-names = "eth", "mdio";
7ff836f064e2c8 Oleksij Rempel 2019-05-24  143  
4eb7ae7a301d35 Oleksij Rempel 2019-12-18  144  			phy-mode = "gmii";
4eb7ae7a301d35 Oleksij Rempel 2019-12-18  145  
4eb7ae7a301d35 Oleksij Rempel 2019-12-18  146  			status = "disabled";
4eb7ae7a301d35 Oleksij Rempel 2019-12-18  147  
4eb7ae7a301d35 Oleksij Rempel 2019-12-18  148  			fixed-link {
4eb7ae7a301d35 Oleksij Rempel 2019-12-18  149  				speed = <1000>;
4eb7ae7a301d35 Oleksij Rempel 2019-12-18  150  				full-duplex;
69e22d9ff71bae Oleksij Rempel 2021-05-14  151  				pause;
4eb7ae7a301d35 Oleksij Rempel 2019-12-18  152  			};
4eb7ae7a301d35 Oleksij Rempel 2019-12-18  153  
4eb7ae7a301d35 Oleksij Rempel 2019-12-18  154  			mdio {
4eb7ae7a301d35 Oleksij Rempel 2019-12-18  155  				#address-cells = <1>;
4eb7ae7a301d35 Oleksij Rempel 2019-12-18  156  				#size-cells = <0>;
4eb7ae7a301d35 Oleksij Rempel 2019-12-18  157  
4eb7ae7a301d35 Oleksij Rempel 2019-12-18 @158  				switch10: switch@10 {

:::::: The code at line 158 was first introduced by commit
:::::: 4eb7ae7a301d3586c3351e81d5c3cfe2304a1a6a MIPS: ath79: ar9331: add ar9331-switch node

:::::: TO: Oleksij Rempel <o.rempel@xxxxxxxxxxxxxx>
:::::: CC: David S. Miller <davem@xxxxxxxxxxxxx>

-- 
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