summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/lpc4357-ea4357-devkit.dts
diff options
context:
space:
mode:
authorJoachim Eastwood <manabian@gmail.com>2015-04-02 05:56:57 +0200
committerJoachim Eastwood <manabian@gmail.com>2015-07-14 15:12:10 +0200
commit7de98f2a98c842d1e4805981eff8fdf3c59cdeb0 (patch)
treed335054f89c68660dd0aa763af1b0782454074e5 /arch/arm/boot/dts/lpc4357-ea4357-devkit.dts
parentARM: dts: lpc4357-ea4357: add gpio joystick (diff)
downloadlinux-7de98f2a98c842d1e4805981eff8fdf3c59cdeb0.tar.xz
linux-7de98f2a98c842d1e4805981eff8fdf3c59cdeb0.zip
ARM: dts: lpc4357-ea4357: add ethernet
Enable Ethernet and add pin muxing and set the correct frequency on the enet tx clock input. Signed-off-by: Joachim Eastwood <manabian@gmail.com>
Diffstat (limited to 'arch/arm/boot/dts/lpc4357-ea4357-devkit.dts')
-rw-r--r--arch/arm/boot/dts/lpc4357-ea4357-devkit.dts73
1 files changed, 73 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/lpc4357-ea4357-devkit.dts b/arch/arm/boot/dts/lpc4357-ea4357-devkit.dts
index ee9d97350d34..0d04a8e8dbc1 100644
--- a/arch/arm/boot/dts/lpc4357-ea4357-devkit.dts
+++ b/arch/arm/boot/dts/lpc4357-ea4357-devkit.dts
@@ -88,6 +88,68 @@
};
&pinctrl {
+ enet_rmii_pins: enet-rmii-pins {
+ enet_rmii_rxd_cfg {
+ pins = "p1_15", "p0_0";
+ function = "enet";
+ slew-rate = <1>;
+ bias-disable;
+ input-enable;
+ input-schmitt-disable;
+ };
+
+ enet_rmii_txd_cfg {
+ pins = "p1_18", "p1_20";
+ function = "enet";
+ slew-rate = <1>;
+ bias-disable;
+ input-enable;
+ input-schmitt-disable;
+ };
+
+ enet_rmii_rx_dv_cfg {
+ pins = "p1_16";
+ function = "enet";
+ bias-disable;
+ input-enable;
+ input-schmitt-disable;
+ };
+
+ enet_rmii_tx_en_cfg {
+ pins = "p0_1";
+ function = "enet";
+ bias-disable;
+ input-enable;
+ input-schmitt-disable;
+ };
+
+ enet_ref_clk_cfg {
+ pins = "p1_19";
+ function = "enet";
+ slew-rate = <1>;
+ bias-disable;
+ input-enable;
+ input-schmitt-disable;
+ };
+
+ enet_mdio_cfg {
+ pins = "p1_17";
+ function = "enet";
+ bias-disable;
+ input-enable;
+ input-schmitt-disable;
+ };
+
+ enet_mdc_cfg {
+ pins = "pc_1";
+ function = "enet";
+ slew-rate = <1>;
+ bias-disable;
+ input-enable;
+ input-schmitt-disable;
+ };
+ };
+
gpio_joystick_pins: gpio-joystick-pins {
gpio_joystick_cfg {
pins = "p9_0", "p9_1", "pa_1", "pa_2", "pa_3";
@@ -145,6 +207,17 @@
};
};
+&enet_tx_clk {
+ clock-frequency = <50000000>;
+};
+
+&mac {
+ status = "okay";
+ phy-mode = "rmii";
+ pinctrl-names = "default";
+ pinctrl-0 = <&enet_rmii_pins>;
+};
+
&mmcsd {
status = "okay";
bus-width = <4>;