Merge branch 'prepare-dwmac-meson8b-for-G12A-specific-initialization'
Martin Blumenstingl says: ==================== prepare dwmac-meson8b for G12A specific initialization Some users are reporting that RGMII (and sometimes also RMII) Ethernet is not working for them on G12A/G12B/SM1 boards. Upon closer inspection of the vendor code for these SoCs new register bits are found. It's not clear yet how these registers work. Add a new compatible string as the first preparation step to improve Ethernet support on these SoCs. ==================== Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
commit
8878adba6a
|
@ -22,6 +22,7 @@ select:
|
|||
- amlogic,meson8m2-dwmac
|
||||
- amlogic,meson-gxbb-dwmac
|
||||
- amlogic,meson-axg-dwmac
|
||||
- amlogic,meson-g12a-dwmac
|
||||
required:
|
||||
- compatible
|
||||
|
||||
|
@ -36,6 +37,7 @@ allOf:
|
|||
- amlogic,meson8m2-dwmac
|
||||
- amlogic,meson-gxbb-dwmac
|
||||
- amlogic,meson-axg-dwmac
|
||||
- amlogic,meson-g12a-dwmac
|
||||
|
||||
then:
|
||||
properties:
|
||||
|
@ -95,6 +97,7 @@ properties:
|
|||
- amlogic,meson8m2-dwmac
|
||||
- amlogic,meson-gxbb-dwmac
|
||||
- amlogic,meson-axg-dwmac
|
||||
- amlogic,meson-g12a-dwmac
|
||||
contains:
|
||||
enum:
|
||||
- snps,dwmac-3.70a
|
||||
|
|
|
@ -491,6 +491,10 @@ static const struct of_device_id meson8b_dwmac_match[] = {
|
|||
.compatible = "amlogic,meson-axg-dwmac",
|
||||
.data = &meson_axg_dwmac_data,
|
||||
},
|
||||
{
|
||||
.compatible = "amlogic,meson-g12a-dwmac",
|
||||
.data = &meson_axg_dwmac_data,
|
||||
},
|
||||
{ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(of, meson8b_dwmac_match);
|
||||
|
|
Loading…
Reference in New Issue