]> git.baikalelectronics.ru Git - uboot.git/commit
board: stm32mp1: correct the property name for eth
authorPatrick Delaunay <patrick.delaunay@foss.st.com>
Fri, 4 Jun 2021 16:25:55 +0000 (18:25 +0200)
committerPatrice Chotard <patrice.chotard@foss.st.com>
Fri, 18 Jun 2021 08:09:41 +0000 (10:09 +0200)
commitefa2c6a7d42f2e767ebe98da8a1ba6ee57dca6d4
tree78e62e6a3e80bf2ab3275080e53406066b04241e
parentc76d7dac27d95fe232b98c791bd52c4805c116ea
board: stm32mp1: correct the property name for eth

Use the correct name for STMicroelectronics phys config properties,
replace '_' by '-':
  "st,eth_clk_sel" => "st,eth-clk-sel"
  "st,eth-ref-clk-sel" => st,eth-clk-sel"

These property name are aligned with the upstreamed Linux kernel binding:
 linux/Documentation/devicetree/bindings/net/stm32-dwmac.yaml

See Linux kernel commit "dt-bindings: net: stmmac: add phys config
properties" merged in v5.1-rc1.

This patch allow to reuse the kernel device tree directly in U-Boot.

Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
board/dhelectronics/dh_stm32mp1/board.c
board/st/stm32mp1/stm32mp1.c