summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2016-01-14 13:52:40 +0100
committerLinus Walleij <linus.walleij@linaro.org>2016-02-11 15:52:46 +0100
commit3bf0a4194f1a149c17373d83a9fde94d84b4098a (patch)
tree124a690d216fc848dfe8d3039011c6f574bd1537
parentARM: pb1176: add ISP1761 USB OTG host controller (diff)
downloadlinux-3bf0a4194f1a149c17373d83a9fde94d84b4098a.tar.xz
linux-3bf0a4194f1a149c17373d83a9fde94d84b4098a.zip
ARM: pb1176: add ethernet to devicetree
The PB1176 device tree was missing the SMSC9118 ethernet adapter, so add it. Since this peripheral is not in either development chip but on the board itself, it gets defined in the root node of the device tree. Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
-rw-r--r--arch/arm/boot/dts/arm-realview-pb1176.dts22
1 files changed, 22 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/arm-realview-pb1176.dts b/arch/arm/boot/dts/arm-realview-pb1176.dts
index 8a0bc4222cfc..76ecce24fb70 100644
--- a/arch/arm/boot/dts/arm-realview-pb1176.dts
+++ b/arch/arm/boot/dts/arm-realview-pb1176.dts
@@ -53,6 +53,14 @@
regulator-boot-on;
};
+ veth: fixedregulator@0 {
+ compatible = "regulator-fixed";
+ regulator-name = "veth";
+ regulator-min-microvolt = <3300000>;
+ regulator-max-microvolt = <3300000>;
+ regulator-boot-on;
+ };
+
xtal24mhz: xtal24mhz@24M {
#clock-cells = <0>;
compatible = "fixed-clock";
@@ -131,6 +139,20 @@
status = "disabled";
};
+ /* SMSC 9118 ethernet with PHY and EEPROM */
+ ethernet@3a000000 {
+ compatible = "smsc,lan9118", "smsc,lan9115";
+ reg = <0x3a000000 0x10000>;
+ interrupt-parent = <&intc_fpga1176>;
+ interrupts = <0 10 IRQ_TYPE_LEVEL_HIGH>;
+ phy-mode = "mii";
+ reg-io-width = <4>;
+ smsc,irq-active-high;
+ smsc,irq-push-pull;
+ vdd33a-supply = <&veth>;
+ vddvario-supply = <&veth>;
+ };
+
usb@3b000000 {
compatible = "nxp,usb-isp1761";
reg = <0x3b000000 0x20000>;