svn commit: r303974 - in head/sys: boot/fdt/dts/arm modules/dtb/allwinner

Emmanuel Vadot manu at FreeBSD.org
Thu Aug 11 23:04:27 UTC 2016


Author: manu
Date: Thu Aug 11 23:04:26 2016
New Revision: 303974
URL: https://svnweb.freebsd.org/changeset/base/303974

Log:
  Rename pcduino3b.dts to pcduino3.dts
  The only difference between 3 and 3B is the size of the RJ45 port.
  And now we have a uboot port that expect pcduino3.dts to be present.
  
  Reported by:	imp

Added:
  head/sys/boot/fdt/dts/arm/pcduino3.dts
     - copied unchanged from r303973, head/sys/boot/fdt/dts/arm/pcduino3b.dts
Deleted:
  head/sys/boot/fdt/dts/arm/pcduino3b.dts
Modified:
  head/sys/modules/dtb/allwinner/Makefile

Copied: head/sys/boot/fdt/dts/arm/pcduino3.dts (from r303973, head/sys/boot/fdt/dts/arm/pcduino3b.dts)
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sys/boot/fdt/dts/arm/pcduino3.dts	Thu Aug 11 23:04:26 2016	(r303974, copy of r303973, head/sys/boot/fdt/dts/arm/pcduino3b.dts)
@@ -0,0 +1,48 @@
+/*-
+ * Copyright (c) 2016 Emmanuel Vadot <manu at freebsd.org>
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ *    notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ *    notice, this list of conditions and the following disclaimer in the
+ *    documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
+ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+ * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ * SUCH DAMAGE.
+ *
+ * $FreeBSD$
+ */
+
+#include "sun7i-a20-pcduino3.dts"
+#include "sun7i-a20-hdmi.dtsi"
+#include "xpowers-axp209.dtsi"
+
+/ {
+	soc at 01c00000 {
+		hdmi at 01c16000 {
+			status = "okay";
+		};
+
+		hdmiaudio {
+			status = "okay";
+		};
+	};
+};
+
+&gmac {
+      pinctrl-0 = <&gmac_pins_rgmii_a>;
+      phy-mode = "rgmii";
+};

Modified: head/sys/modules/dtb/allwinner/Makefile
==============================================================================
--- head/sys/modules/dtb/allwinner/Makefile	Thu Aug 11 22:30:16 2016	(r303973)
+++ head/sys/modules/dtb/allwinner/Makefile	Thu Aug 11 23:04:26 2016	(r303974)
@@ -7,7 +7,7 @@ DTS=	\
 	cubieboard2.dts \
 	olimex-a20-som-evb.dts \
 	olinuxino-lime.dts \
-	pcduino3b.dts \
+	pcduino3.dts \
 	sinovoip-bpi-m3.dts
 
 .include <bsd.dtb.mk>


More information about the svn-src-all mailing list