Skip to content

Commit

Permalink
arm64: dts: overlays: VIM3/VIM3L: add M2X ETH overlay
Browse files Browse the repository at this point in the history
Signed-off-by: Nick Xie <nick@khadas.com>
  • Loading branch information
numbqq committed Aug 25, 2020
1 parent 815e5aa commit a12fed4
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 2 deletions.
3 changes: 2 additions & 1 deletion arch/arm64/boot/dts/amlogic/overlays/kvim3/Makefile
Expand Up @@ -4,7 +4,8 @@ dtbo-y += uart3.dtbo \
spi1.dtbo \
onewire.dtbo \
os08a10.dtbo \
disable-ts050.dtbo
disable-ts050.dtbo \
m2x-eth.dtbo

targets += $(dtbo-y)
always := $(dtbo-y)
15 changes: 15 additions & 0 deletions arch/arm64/boot/dts/amlogic/overlays/kvim3/m2x-eth.dts
@@ -0,0 +1,15 @@
/dts-v1/;
/plugin/;

/ {
fragment@0 {
target = <&ethmac>;

__overlay__ {
status = "okay";

mc_val = <0x4be04>;
internal_phy=<1>;
};
};
};
3 changes: 2 additions & 1 deletion arch/arm64/boot/dts/amlogic/overlays/kvim3l/Makefile
Expand Up @@ -3,7 +3,8 @@ dtbo-y += uart3.dtbo \
i2c3.dtbo \
spi1.dtbo \
onewire.dtbo \
disable-ts050.dtbo
disable-ts050.dtbo \
m2x-eth.dtbo

targets += $(dtbo-y)
always := $(dtbo-y)
15 changes: 15 additions & 0 deletions arch/arm64/boot/dts/amlogic/overlays/kvim3l/m2x-eth.dts
@@ -0,0 +1,15 @@
/dts-v1/;
/plugin/;

/ {
fragment@0 {
target = <&ethmac>;

__overlay__ {
status = "okay";

mc_val = <0x4be04>;
internal_phy=<1>;
};
};
};

0 comments on commit a12fed4

Please sign in to comment.