generic: fix mediatek and dsa not detecting mac-addr from nvmem
authorAnsuel Smith <ansuelsmth@gmail.com>
Fri, 23 Jul 2021 10:43:35 +0000 (12:43 +0200)
committerDaniel Golle <daniel@makrotopia.org>
Fri, 23 Jul 2021 15:06:06 +0000 (16:06 +0100)
commit6bc6a416851b01d7b062a504ba4296a14113d795
tree40f435e6dee9c35aafc400ffa2eaccbd6de750b9
parent3cb22b277a312445bfe34f5e32626c4448f95b77
generic: fix mediatek and dsa not detecting mac-addr from nvmem

Nvmem require the device node to be registered with the of_platform.
Register the device node so that nvmem can correctly find the dev and
correctly load the mac-addr stored in the nvmem cell declared in the dts.

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
target/linux/generic/hack-5.10/780-drivers-net-mediatek-register-of_platform-for-every-.patch [new file with mode: 0644]
target/linux/generic/hack-5.10/781-dsa-register-every-port-with-of_platform.patch [new file with mode: 0644]
target/linux/generic/hack-5.4/780-drivers-net-mediatek-register-of_platform-for-every-.patch [new file with mode: 0644]
target/linux/generic/hack-5.4/781-dsa-register-every-port-with-of_platform.patch [new file with mode: 0644]