Commit aceacfa6 authored by Ariel D'Alessandro's avatar Ariel D'Alessandro Committed by Olof Johansson

ARM: dts: lpc4350-hitex-eval: add ethernet

Enable Ethernet and add pin muxing and set the correct
frequency on the enet tx clock input.
Signed-off-by: default avatarAriel D'Alessandro <ariel@vanguardiasur.com.ar>
Signed-off-by: default avatarJoachim Eastwood <manabian@gmail.com>
Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
parent 5e647200
...@@ -37,6 +37,55 @@ memory { ...@@ -37,6 +37,55 @@ memory {
}; };
&pinctrl { &pinctrl {
enet_mii_pins: enet-mii-pins {
enet_mii_rxd0_3_cfg {
pins = "p1_15", "p0_0", "p9_3", "p9_2";
function = "enet";
bias-disable;
input-enable;
};
enet_mii_txd0_3_cfg {
pins = "p1_18", "p1_20", "p9_4", "p9_5";
function = "enet";
bias-disable;
};
enet_mii_crs_col_cfg {
pins = "p9_0", "p9_6";
function = "enet";
bias-disable;
input-enable;
};
enet_mii_rx_clk_dv_er_cfg {
pins = "pc_0", "p1_16", "p9_1";
function = "enet";
bias-disable;
input-enable;
};
enet_mii_tx_clk_en_cfg {
pins = "p1_19", "p0_1";
function = "enet";
bias-disable;
input-enable;
};
enet_mdio_cfg {
pins = "p1_17";
function = "enet";
bias-disable;
input-enable;
};
enet_mdc_cfg {
pins = "pc_1";
function = "enet";
bias-disable;
};
};
uart0_pins: uart0-pins { uart0_pins: uart0-pins {
uart0_rx_cfg { uart0_rx_cfg {
pins = "pf_11"; pins = "pf_11";
...@@ -54,6 +103,17 @@ uart0_tx_cfg { ...@@ -54,6 +103,17 @@ uart0_tx_cfg {
}; };
}; };
&enet_tx_clk {
clock-frequency = <25000000>;
};
&mac {
status = "okay";
phy-mode = "mii";
pinctrl-names = "default";
pinctrl-0 = <&enet_mii_pins>;
};
&uart0 { &uart0 {
status = "okay"; status = "okay";
pinctrl-names = "default"; pinctrl-names = "default";
......
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