]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ARM: davinci: da850: add DT node for mdio device
authorLad, Prabhakar <prabhakar.csengg@gmail.com>
Thu, 15 Aug 2013 06:01:34 +0000 (11:31 +0530)
committerSekhar Nori <nsekhar@ti.com>
Wed, 21 Aug 2013 19:13:37 +0000 (00:43 +0530)
Add mdio device tree node information to da850 by
providing register details and bus frequency of mdio.

Signed-off-by: Lad, Prabhakar <prabhakar.csengg@gmail.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
arch/arm/boot/dts/da850-evm.dts
arch/arm/boot/dts/da850.dtsi

index 5bce7cc55cf35ba6446ff77803f5aa167899aaea..1f8cfdd50da1c4d2632f21d87347c38fc69ae4e4 100644 (file)
                                };
                        };
                };
+               mdio: mdio@1e24000 {
+                       status = "okay";
+                       pinctrl-names = "default";
+                       pinctrl-0 = <&mdio_pins>;
+                       bus_freq = <2200000>;
+               };
        };
        nand_cs3@62000000 {
                status = "okay";
index d70ba5504481d90b796872d4c258061cb8de4b4d..33306f2760a32e59f7f041d334f6bfd053353bfa 100644 (file)
                                        0x14 0x00000010 0x000000f0
                                >;
                        };
+                       mdio_pins: pinmux_mdio_pins {
+                               pinctrl-single,bits = <
+                                       /* MDIO_CLK, MDIO_D */
+                                       0x10 0x00000088 0x000000ff
+                               >;
+                       };
+
                };
                serial0: serial@1c42000 {
                        compatible = "ns16550a";
                        interrupts = <56>;
                        status = "disabled";
                };
+               mdio: mdio@1e24000 {
+                       compatible = "ti,davinci_mdio";
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+                       reg = <0x224000 0x1000>;
+               };
        };
        nand_cs3@62000000 {
                compatible = "ti,davinci-nand";