diff options
author | Tomasz Maciej Nowak <tmn505@gmail.com> | 2022-09-23 14:47:39 +0200 |
---|---|---|
committer | Christian Lamparter <chunkeey@gmail.com> | 2022-09-24 23:53:53 +0200 |
commit | 04eb08029010e78b193c98115b0fed761bd9fe46 (patch) | |
tree | 99b8bec3a51c41395171ae08d92c92d96b08952c /target/linux | |
parent | 3aec35ab96b721ea1ee5a606169aef621807c861 (diff) | |
download | upstream-04eb08029010e78b193c98115b0fed761bd9fe46.tar.gz upstream-04eb08029010e78b193c98115b0fed761bd9fe46.tar.bz2 upstream-04eb08029010e78b193c98115b0fed761bd9fe46.zip |
ipq40xx: luma_wrtq-329acn: differentiate ethernet mac addresses
On OEM firmware both addresses for In and Out ports are different. Set
them as such also in OpenWrt.
Fixes: e24635710c7e (" ipq40xx: add support for Luma Home WRTQ-329ACN")
Signed-off-by: Tomasz Maciej Nowak <tmn505@gmail.com>
Diffstat (limited to 'target/linux')
-rw-r--r-- | target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-wrtq-329acn.dts | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-wrtq-329acn.dts b/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-wrtq-329acn.dts index 5b0c8cf106..2af4296342 100644 --- a/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-wrtq-329acn.dts +++ b/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-wrtq-329acn.dts @@ -182,6 +182,14 @@ #address-cells = <1>; #size-cells = <1>; + macaddr_art_0: macaddr@0{ + reg = <0x0000 0x0006>; + }; + + macaddr_art_6: macaddr@6{ + reg = <0x0006 0x0006>; + }; + precal_art_1000: precal@1000 { reg = <0x1000 0x2f20>; }; @@ -227,11 +235,15 @@ &gmac0 { qcom,phy_mdio_addr = <2>; qcom,poll_required = <1>; + nvmem-cell-names = "mac-address"; + nvmem-cells = <&macaddr_art_6>; }; &gmac1 { qcom,phy_mdio_addr = <4>; qcom,poll_required = <1>; + nvmem-cell-names = "mac-address"; + nvmem-cells = <&macaddr_art_0>; }; &tlmm { |