ARM: dts: Add minimal dts support for dm8148-evm
authorTony Lindgren <tony@atomide.com>
Fri, 24 Jul 2015 05:33:18 +0000 (22:33 -0700)
committerTony Lindgren <tony@atomide.com>
Fri, 24 Jul 2015 05:33:18 +0000 (22:33 -0700)
Add minimal dts support for dm8148-evm.

Cc: Matthijs van Duin <matthijsvanduin@gmail.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/boot/dts/Makefile
arch/arm/boot/dts/dm8148-evm.dts [new file with mode: 0644]

index 1808463650811582e4889fbebf8082dd47ebfd2d..96f013666b6f4efc80cd4e1d6ec15df9ae45e5ee 100644 (file)
@@ -430,6 +430,7 @@ dtb-$(CONFIG_ARCH_OMAP3) += \
        omap3-thunder.dtb \
        omap3-zoom3.dtb
 dtb-$(CONFIG_SOC_TI81XX) += \
+       dm8148-evm.dtb \
        dm8168-evm.dtb
 dtb-$(CONFIG_SOC_AM33XX) += \
        am335x-baltos-ir5221.dtb \
diff --git a/arch/arm/boot/dts/dm8148-evm.dts b/arch/arm/boot/dts/dm8148-evm.dts
new file mode 100644 (file)
index 0000000..92bacd3
--- /dev/null
@@ -0,0 +1,28 @@
+/*
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+/dts-v1/;
+
+#include "dm814x.dtsi"
+
+/ {
+       model = "DM8148 EVM";
+       compatible = "ti,dm8148-evm", "ti,dm8148";
+
+       memory {
+               device_type = "memory";
+               reg = <0x80000000 0x40000000>;  /* 1 GB */
+       };
+};
+
+&cpsw_emac0 {
+       phy_id = <&davinci_mdio>, <0>;
+       phy-mode = "mii";
+};
+
+&cpsw_emac1 {
+       phy_id = <&davinci_mdio>, <1>;
+       phy-mode = "mii";
+};