]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ARM64: dts: meson-gxbb: use the new GXBB DWMAC glue driver
authorMartin Blumenstingl <martin.blumenstingl@googlemail.com>
Sun, 4 Sep 2016 18:23:20 +0000 (20:23 +0200)
committerKevin Hilman <khilman@baylibre.com>
Wed, 14 Sep 2016 17:47:52 +0000 (10:47 -0700)
commit42bede64c834e29fda0bd126c61ef61bc9d71278
tree0d0f99a88152bb9f1d38a977af679f3785a2b611
parent8f14a89305b53fdf18e04cf94a89cd5460423d69
ARM64: dts: meson-gxbb: use the new GXBB DWMAC glue driver

The Amlogic reference driver uses the "mc_val" devicetree property to
configure the PRG_ETHERNET_ADDR0 register. Unfortunately it uses magic
values for this configuration.
According to the datasheet the PRG_ETHERNET_ADDR0 register is at address
0xc8834108. However, the reference driver uses 0xc8834540 instead.
According to my tests, the value from the reference driver is correct.

No changes are required to the board dts files because the only
required configuration option is the phy-mode, which had to be
configured correctly before as well.

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi