mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2026-01-30 17:43:08 +01:00
lantiq: add missing WAN MAC override
In the original userspace implementation, the WAN and DSL interfaces used the same MAC. Mirror that here. Signed-off-by: Rosen Penev <rosenp@gmail.com> Link: https://github.com/openwrt/openwrt/pull/21081 Signed-off-by: Robert Marko <robimarko@gmail.com>
This commit is contained in:
parent
c5479464ad
commit
02f40d63e2
9 changed files with 38 additions and 8 deletions
|
|
@ -222,7 +222,7 @@
|
|||
reg = <0xe105300 0x100>;
|
||||
};
|
||||
|
||||
ppe@e234000 {
|
||||
ppe: ppe@e234000 {
|
||||
compatible = "lantiq,ppe-ase";
|
||||
reg = <0xe234000 0x40000>;
|
||||
interrupt-parent = <&icu0>;
|
||||
|
|
|
|||
|
|
@ -78,6 +78,11 @@
|
|||
nvmem-cell-names = "mac-address";
|
||||
};
|
||||
|
||||
&ppe {
|
||||
nvmem-cells = <&macaddr_uboot_ethaddr 1>;
|
||||
nvmem-cell-names = "mac-address";
|
||||
};
|
||||
|
||||
&localbus {
|
||||
flash@0 {
|
||||
compatible = "lantiq,nor";
|
||||
|
|
|
|||
|
|
@ -57,6 +57,16 @@
|
|||
};
|
||||
};
|
||||
|
||||
ð0 {
|
||||
nvmem-cells = <&macaddr_uboot_ethaddr 0>;
|
||||
nvmem-cell-names = "mac-address";
|
||||
};
|
||||
|
||||
&ppe {
|
||||
nvmem-cells = <&macaddr_uboot_ethaddr 1>;
|
||||
nvmem-cell-names = "mac-address";
|
||||
};
|
||||
|
||||
&gphy0 {
|
||||
lantiq,gphy-mode = <GPHY_MODE_GE>;
|
||||
};
|
||||
|
|
@ -69,8 +79,6 @@
|
|||
pinctrl-0 = <&gphy0_led0_pins>, <&gphy0_led1_pins>, <&gphy0_led2_pins>,
|
||||
<&gphy1_led0_pins>, <&gphy1_led1_pins>, <&gphy1_led2_pins>;
|
||||
pinctrl-names = "default";
|
||||
nvmem-cells = <&macaddr_uboot_ethaddr 0>;
|
||||
nvmem-cell-names = "mac-address";
|
||||
};
|
||||
|
||||
&gswip_mdio {
|
||||
|
|
|
|||
|
|
@ -116,6 +116,11 @@
|
|||
nvmem-cell-names = "mac-address";
|
||||
};
|
||||
|
||||
&ppe {
|
||||
nvmem-cells = <&macaddr_boardconfig_16 2>;
|
||||
nvmem-cell-names = "mac-address";
|
||||
};
|
||||
|
||||
&gphy0 {
|
||||
lantiq,gphy-mode = <GPHY_MODE_FE>;
|
||||
};
|
||||
|
|
|
|||
|
|
@ -216,6 +216,8 @@
|
|||
label = "wan";
|
||||
phy-mode = "rgmii";
|
||||
phy-handle = <&phy5>;
|
||||
nvmem-cells = <&macaddr_boardconfig_16 0>;
|
||||
nvmem-cell-names = "mac-address";
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -314,6 +314,8 @@
|
|||
label = "wan";
|
||||
phy-mode = "internal";
|
||||
phy-handle = <&phy13>;
|
||||
nvmem-cells = <&macaddr_boardconfig_16 0>;
|
||||
nvmem-cell-names = "mac-address";
|
||||
};
|
||||
port@5 {
|
||||
reg = <5>;
|
||||
|
|
|
|||
|
|
@ -226,11 +226,6 @@
|
|||
};
|
||||
};
|
||||
|
||||
&ppe {
|
||||
nvmem-cells = <&macaddr_caldata_110c 4>;
|
||||
nvmem-cell-names = "mac-address";
|
||||
};
|
||||
|
||||
&localbus {
|
||||
flash@1 {
|
||||
compatible = "lantiq,nand-xway";
|
||||
|
|
|
|||
|
|
@ -106,6 +106,11 @@
|
|||
nvmem-cell-names = "mac-address";
|
||||
};
|
||||
|
||||
&ppe {
|
||||
nvmem-cells = <&macaddr_uboot_ethaddr 1>;
|
||||
nvmem-cell-names = "mac-address";
|
||||
};
|
||||
|
||||
&gphy0 {
|
||||
lantiq,gphy-mode = <GPHY_MODE_GE>;
|
||||
};
|
||||
|
|
|
|||
|
|
@ -157,10 +157,18 @@
|
|||
<&gphy0_led1_pins>, <&gphy0_led2_pins>,
|
||||
<&gphy1_led1_pins>, <&gphy1_led2_pins>;
|
||||
pinctrl-names = "default";
|
||||
};
|
||||
|
||||
ð0 {
|
||||
nvmem-cells = <&macaddr_uboot_ethaddr 0>;
|
||||
nvmem-cell-names = "mac-address";
|
||||
};
|
||||
|
||||
&ppe {
|
||||
nvmem-cells = <&macaddr_uboot_ethaddr 1>;
|
||||
nvmem-cell-names = "mac-address";
|
||||
};
|
||||
|
||||
&gswip_mdio {
|
||||
phy0: ethernet-phy@0 {
|
||||
reg = <0x0>;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue