Commit c73730ee authored by Kunihiko Hayashi's avatar Kunihiko Hayashi Committed by Masahiro Yamada

arm64: dts: uniphier: add AVE ethernet node

Add nodes of the AVE ethernet controller for LD11 and LD20 SoCs
and the boards.
Signed-off-by: default avatarKunihiko Hayashi <hayashi.kunihiko@socionext.com>
Signed-off-by: default avatarJassi Brar <jaswinder.singh@linaro.org>
Signed-off-by: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
parent e3cc9319
...@@ -131,6 +131,17 @@ &usb2 { ...@@ -131,6 +131,17 @@ &usb2 {
status = "okay"; status = "okay";
}; };
&eth {
status = "okay";
phy-handle = <&ethphy>;
};
&mdio {
ethphy: ethphy@1 {
reg = <1>;
};
};
&nand { &nand {
status = "okay"; status = "okay";
}; };
...@@ -70,3 +70,14 @@ &usb1 { ...@@ -70,3 +70,14 @@ &usb1 {
&usb2 { &usb2 {
status = "okay"; status = "okay";
}; };
&eth {
status = "okay";
phy-handle = <&ethphy>;
};
&mdio {
ethphy: ethphy@1 {
reg = <1>;
};
};
...@@ -545,6 +545,22 @@ watchdog { ...@@ -545,6 +545,22 @@ watchdog {
}; };
}; };
eth: ethernet@65000000 {
compatible = "socionext,uniphier-ld11-ave4";
status = "disabled";
reg = <0x65000000 0x8500>;
interrupts = <0 66 4>;
clocks = <&sys_clk 6>;
resets = <&sys_rst 6>;
phy-mode = "rmii";
local-mac-address = [00 00 00 00 00 00];
mdio: mdio {
#address-cells = <1>;
#size-cells = <0>;
};
};
nand: nand@68000000 { nand: nand@68000000 {
compatible = "socionext,uniphier-denali-nand-v5b"; compatible = "socionext,uniphier-denali-nand-v5b";
status = "disabled"; status = "disabled";
......
...@@ -113,6 +113,19 @@ tas_speaker: endpoint { ...@@ -113,6 +113,19 @@ tas_speaker: endpoint {
}; };
}; };
&eth {
status = "okay";
phy-mode = "rmii";
pinctrl-0 = <&pinctrl_ether_rmii>;
phy-handle = <&ethphy>;
};
&mdio {
ethphy: ethphy@1 {
reg = <1>;
};
};
&nand { &nand {
status = "okay"; status = "okay";
}; };
...@@ -58,3 +58,14 @@ xirq0 { ...@@ -58,3 +58,14 @@ xirq0 {
&i2c0 { &i2c0 {
status = "okay"; status = "okay";
}; };
&eth {
status = "okay";
phy-handle = <&ethphy>;
};
&mdio {
ethphy: ethphy@0 {
reg = <0>;
};
};
...@@ -598,6 +598,24 @@ pvtctl: pvtctl { ...@@ -598,6 +598,24 @@ pvtctl: pvtctl {
}; };
}; };
eth: ethernet@65000000 {
compatible = "socionext,uniphier-ld20-ave4";
status = "disabled";
reg = <0x65000000 0x8500>;
interrupts = <0 66 4>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_ether_rgmii>;
clocks = <&sys_clk 6>;
resets = <&sys_rst 6>;
phy-mode = "rgmii";
local-mac-address = [00 00 00 00 00 00];
mdio: mdio {
#address-cells = <1>;
#size-cells = <0>;
};
};
nand: nand@68000000 { nand: nand@68000000 {
compatible = "socionext,uniphier-denali-nand-v5b"; compatible = "socionext,uniphier-denali-nand-v5b";
status = "disabled"; status = "disabled";
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment