Hello

With the dtc in linux 4.12-rc1 we get the following
warning when compiling our stmmac node:

Warning (simple_bus_reg): Node /amba/stmmac-axi-config missing or empty 
reg/ranges property

Note that we do follow the example binding for stmmac:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/devicetree/bindings/net/stmmac.txt

The binding does not specify a reg/ranges property for the stmmac-axi-config 
node.
(Neither does the mtl_rx_setup/mtl_tx_setup nodes.)

We are building with a local patch for dtc that fails on warnings (like 
-Werror).
However, I figure that there shouldn't be any warnings when compiling a dtc,
so what's the best solution here?
Add a reg = <0> property to the stmmac-axi-config/mtl_rx_setup/mtl_tx_setup 
nodes?


Regards,
Niklas

Reply via email to