OSDN Git Service

ARM: dts: Add minimal dra62x j5-eco evm support
authorTony Lindgren <tony@atomide.com>
Wed, 23 Dec 2015 00:00:28 +0000 (16:00 -0800)
committerTony Lindgren <tony@atomide.com>
Wed, 23 Dec 2015 00:00:28 +0000 (16:00 -0800)
This allows us to boot dra62x j5-eco evm with NFSroot.

Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/boot/dts/Makefile
arch/arm/boot/dts/dra62x-j5eco-evm.dts [new file with mode: 0644]

index 30bbc37..aa237cf 100644 (file)
@@ -452,7 +452,8 @@ dtb-$(CONFIG_ARCH_OMAP3) += \
 dtb-$(CONFIG_SOC_TI81XX) += \
        dm8148-evm.dtb \
        dm8148-t410.dtb \
-       dm8168-evm.dtb
+       dm8168-evm.dtb \
+       dra62x-j5eco-evm.dtb
 dtb-$(CONFIG_SOC_AM33XX) += \
        am335x-baltos-ir5221.dtb \
        am335x-base0033.dtb \
diff --git a/arch/arm/boot/dts/dra62x-j5eco-evm.dts b/arch/arm/boot/dts/dra62x-j5eco-evm.dts
new file mode 100644 (file)
index 0000000..49a05d2
--- /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 "dra62x.dtsi"
+
+/ {
+       model = "DRA62x J5 Eco EVM";
+       compatible = "ti,dra62x-j5eco-evm", "ti,dra62x", "ti,dm8148";
+
+       memory {
+               device_type = "memory";
+               reg = <0x80000000 0x40000000>;  /* 1 GB */
+       };
+};
+
+&cpsw_emac0 {
+       phy_id = <&davinci_mdio>, <0>;
+       phy-mode = "rgmii";
+};
+
+&cpsw_emac1 {
+       phy_id = <&davinci_mdio>, <1>;
+       phy-mode = "rgmii";
+};