]> git.karo-electronics.de Git - linux-beck.git/blobdiff - arch/arm/boot/dts/r8a7792-blanche.dts
ARM: dts: blanche: add Ethernet support
[linux-beck.git] / arch / arm / boot / dts / r8a7792-blanche.dts
index e277d924441b61a8ed652bdb08b573d9f78469fd..e7b40f0e7da60b216aa46a6dbbb1c15998b8a12f 100644 (file)
@@ -22,7 +22,7 @@
        };
 
        chosen {
-               bootargs = "ignore_loglevel";
+               bootargs = "ignore_loglevel rw root=/dev/nfs ip=dhcp";
                stdout-path = "serial0:115200n8";
        };
 
                device_type = "memory";
                reg = <0 0x40000000 0 0x40000000>;
        };
+
+       d3_3v: regulator-3v3 {
+               compatible = "regulator-fixed";
+               regulator-name = "D3.3V";
+               regulator-min-microvolt = <3300000>;
+               regulator-max-microvolt = <3300000>;
+               regulator-boot-on;
+               regulator-always-on;
+       };
+
+       ethernet@18000000 {
+               compatible = "smsc,lan89218", "smsc,lan9115";
+               reg = <0 0x18000000 0 0x100>;
+               phy-mode = "mii";
+               interrupt-parent = <&irqc>;
+               interrupts = <0 IRQ_TYPE_EDGE_FALLING>;
+               smsc,irq-push-pull;
+               reg-io-width = <4>;
+               vddvario-supply = <&d3_3v>;
+               vdd33a-supply = <&d3_3v>;
+       };
 };
 
 &extal_clk {