Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Feb 2014 01:32:45 +0000 (UTC)
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r262592 - head/sys/contrib/dts/arm
Message-ID:  <201402280132.s1S1Wj7U001146@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: imp
Date: Fri Feb 28 01:32:44 2014
New Revision: 262592
URL: http://svnweb.freebsd.org/changeset/base/262592

Log:
  Initial import of DTS files from Linux

Added:
  head/sys/contrib/dts/arm/animeo_ip.dts
     - copied unchanged from r262591, vendor/device-tree/dist/src/arm/animeo_ip.dts
  head/sys/contrib/dts/arm/at91-ariag25.dts
     - copied unchanged from r262591, vendor/device-tree/dist/src/arm/at91-ariag25.dts
  head/sys/contrib/dts/arm/at91-cosino.dtsi
     - copied unchanged from r262591, vendor/device-tree/dist/src/arm/at91-cosino.dtsi
  head/sys/contrib/dts/arm/at91-cosino_mega2560.dts
     - copied unchanged from r262591, vendor/device-tree/dist/src/arm/at91-cosino_mega2560.dts
  head/sys/contrib/dts/arm/at91-foxg20.dts
     - copied unchanged from r262591, vendor/device-tree/dist/src/arm/at91-foxg20.dts
  head/sys/contrib/dts/arm/at91-qil_a9260.dts
     - copied unchanged from r262591, vendor/device-tree/dist/src/arm/at91-qil_a9260.dts
  head/sys/contrib/dts/arm/at91-sama5d3_xplained.dts
     - copied unchanged from r262591, vendor/device-tree/dist/src/arm/at91-sama5d3_xplained.dts
  head/sys/contrib/dts/arm/at91rm9200.dtsi
     - copied unchanged from r262591, vendor/device-tree/dist/src/arm/at91rm9200.dtsi
  head/sys/contrib/dts/arm/at91rm9200_pqfp.dtsi
     - copied unchanged from r262591, vendor/device-tree/dist/src/arm/at91rm9200_pqfp.dtsi
  head/sys/contrib/dts/arm/at91rm9200ek.dts
     - copied unchanged from r262591, vendor/device-tree/dist/src/arm/at91rm9200ek.dts
  head/sys/contrib/dts/arm/at91sam9260.dtsi
     - copied unchanged from r262591, vendor/device-tree/dist/src/arm/at91sam9260.dtsi
  head/sys/contrib/dts/arm/at91sam9263.dtsi
     - copied unchanged from r262591, vendor/device-tree/dist/src/arm/at91sam9263.dtsi
  head/sys/contrib/dts/arm/at91sam9263ek.dts
     - copied unchanged from r262591, vendor/device-tree/dist/src/arm/at91sam9263ek.dts
  head/sys/contrib/dts/arm/at91sam9g15.dtsi
     - copied unchanged from r262591, vendor/device-tree/dist/src/arm/at91sam9g15.dtsi
  head/sys/contrib/dts/arm/at91sam9g15ek.dts
     - copied unchanged from r262591, vendor/device-tree/dist/src/arm/at91sam9g15ek.dts
  head/sys/contrib/dts/arm/at91sam9g20.dtsi
     - copied unchanged from r262591, vendor/device-tree/dist/src/arm/at91sam9g20.dtsi
  head/sys/contrib/dts/arm/at91sam9g20ek.dts
     - copied unchanged from r262591, vendor/device-tree/dist/src/arm/at91sam9g20ek.dts
  head/sys/contrib/dts/arm/at91sam9g20ek_2mmc.dts
     - copied unchanged from r262591, vendor/device-tree/dist/src/arm/at91sam9g20ek_2mmc.dts
  head/sys/contrib/dts/arm/at91sam9g20ek_common.dtsi
     - copied unchanged from r262591, vendor/device-tree/dist/src/arm/at91sam9g20ek_common.dtsi
  head/sys/contrib/dts/arm/at91sam9g25.dtsi
     - copied unchanged from r262591, vendor/device-tree/dist/src/arm/at91sam9g25.dtsi
  head/sys/contrib/dts/arm/at91sam9g25ek.dts
     - copied unchanged from r262591, vendor/device-tree/dist/src/arm/at91sam9g25ek.dts
  head/sys/contrib/dts/arm/at91sam9g35.dtsi
     - copied unchanged from r262591, vendor/device-tree/dist/src/arm/at91sam9g35.dtsi
  head/sys/contrib/dts/arm/at91sam9g35ek.dts
     - copied unchanged from r262591, vendor/device-tree/dist/src/arm/at91sam9g35ek.dts
  head/sys/contrib/dts/arm/at91sam9g45.dtsi
     - copied unchanged from r262591, vendor/device-tree/dist/src/arm/at91sam9g45.dtsi
  head/sys/contrib/dts/arm/at91sam9m10g45ek.dts
     - copied unchanged from r262591, vendor/device-tree/dist/src/arm/at91sam9m10g45ek.dts
  head/sys/contrib/dts/arm/at91sam9n12.dtsi
     - copied unchanged from r262591, vendor/device-tree/dist/src/arm/at91sam9n12.dtsi
  head/sys/contrib/dts/arm/at91sam9n12ek.dts
     - copied unchanged from r262591, vendor/device-tree/dist/src/arm/at91sam9n12ek.dts
  head/sys/contrib/dts/arm/at91sam9x25.dtsi
     - copied unchanged from r262591, vendor/device-tree/dist/src/arm/at91sam9x25.dtsi
  head/sys/contrib/dts/arm/at91sam9x25ek.dts
     - copied unchanged from r262591, vendor/device-tree/dist/src/arm/at91sam9x25ek.dts
  head/sys/contrib/dts/arm/at91sam9x35.dtsi
     - copied unchanged from r262591, vendor/device-tree/dist/src/arm/at91sam9x35.dtsi
  head/sys/contrib/dts/arm/at91sam9x35ek.dts
     - copied unchanged from r262591, vendor/device-tree/dist/src/arm/at91sam9x35ek.dts
  head/sys/contrib/dts/arm/at91sam9x5.dtsi
     - copied unchanged from r262591, vendor/device-tree/dist/src/arm/at91sam9x5.dtsi
  head/sys/contrib/dts/arm/at91sam9x5_macb0.dtsi
     - copied unchanged from r262591, vendor/device-tree/dist/src/arm/at91sam9x5_macb0.dtsi
  head/sys/contrib/dts/arm/at91sam9x5_macb1.dtsi
     - copied unchanged from r262591, vendor/device-tree/dist/src/arm/at91sam9x5_macb1.dtsi
  head/sys/contrib/dts/arm/at91sam9x5_usart3.dtsi
     - copied unchanged from r262591, vendor/device-tree/dist/src/arm/at91sam9x5_usart3.dtsi
  head/sys/contrib/dts/arm/at91sam9x5cm.dtsi
     - copied unchanged from r262591, vendor/device-tree/dist/src/arm/at91sam9x5cm.dtsi
  head/sys/contrib/dts/arm/at91sam9x5ek.dtsi
     - copied unchanged from r262591, vendor/device-tree/dist/src/arm/at91sam9x5ek.dtsi
  head/sys/contrib/dts/arm/ethernut5.dts
     - copied unchanged from r262591, vendor/device-tree/dist/src/arm/ethernut5.dts
  head/sys/contrib/dts/arm/evk-pro3.dts
     - copied unchanged from r262591, vendor/device-tree/dist/src/arm/evk-pro3.dts
  head/sys/contrib/dts/arm/ge863-pro3.dtsi
     - copied unchanged from r262591, vendor/device-tree/dist/src/arm/ge863-pro3.dtsi
  head/sys/contrib/dts/arm/kizbox.dts
     - copied unchanged from r262591, vendor/device-tree/dist/src/arm/kizbox.dts
  head/sys/contrib/dts/arm/mpa1600.dts
     - copied unchanged from r262591, vendor/device-tree/dist/src/arm/mpa1600.dts
  head/sys/contrib/dts/arm/pm9g45.dts
     - copied unchanged from r262591, vendor/device-tree/dist/src/arm/pm9g45.dts
  head/sys/contrib/dts/arm/sama5d3.dtsi
     - copied unchanged from r262591, vendor/device-tree/dist/src/arm/sama5d3.dtsi
  head/sys/contrib/dts/arm/sama5d31.dtsi
     - copied unchanged from r262591, vendor/device-tree/dist/src/arm/sama5d31.dtsi
  head/sys/contrib/dts/arm/sama5d31ek.dts
     - copied unchanged from r262591, vendor/device-tree/dist/src/arm/sama5d31ek.dts
  head/sys/contrib/dts/arm/sama5d33.dtsi
     - copied unchanged from r262591, vendor/device-tree/dist/src/arm/sama5d33.dtsi
  head/sys/contrib/dts/arm/sama5d33ek.dts
     - copied unchanged from r262591, vendor/device-tree/dist/src/arm/sama5d33ek.dts
  head/sys/contrib/dts/arm/sama5d34.dtsi
     - copied unchanged from r262591, vendor/device-tree/dist/src/arm/sama5d34.dtsi
  head/sys/contrib/dts/arm/sama5d34ek.dts
     - copied unchanged from r262591, vendor/device-tree/dist/src/arm/sama5d34ek.dts
  head/sys/contrib/dts/arm/sama5d35.dtsi
     - copied unchanged from r262591, vendor/device-tree/dist/src/arm/sama5d35.dtsi
  head/sys/contrib/dts/arm/sama5d35ek.dts
     - copied unchanged from r262591, vendor/device-tree/dist/src/arm/sama5d35ek.dts
  head/sys/contrib/dts/arm/sama5d36.dtsi
     - copied unchanged from r262591, vendor/device-tree/dist/src/arm/sama5d36.dtsi
  head/sys/contrib/dts/arm/sama5d36ek.dts
     - copied unchanged from r262591, vendor/device-tree/dist/src/arm/sama5d36ek.dts
  head/sys/contrib/dts/arm/sama5d3_can.dtsi
     - copied unchanged from r262591, vendor/device-tree/dist/src/arm/sama5d3_can.dtsi
  head/sys/contrib/dts/arm/sama5d3_emac.dtsi
     - copied unchanged from r262591, vendor/device-tree/dist/src/arm/sama5d3_emac.dtsi
  head/sys/contrib/dts/arm/sama5d3_gmac.dtsi
     - copied unchanged from r262591, vendor/device-tree/dist/src/arm/sama5d3_gmac.dtsi
  head/sys/contrib/dts/arm/sama5d3_lcd.dtsi
     - copied unchanged from r262591, vendor/device-tree/dist/src/arm/sama5d3_lcd.dtsi
  head/sys/contrib/dts/arm/sama5d3_mci2.dtsi
     - copied unchanged from r262591, vendor/device-tree/dist/src/arm/sama5d3_mci2.dtsi
  head/sys/contrib/dts/arm/sama5d3_tcb1.dtsi
     - copied unchanged from r262591, vendor/device-tree/dist/src/arm/sama5d3_tcb1.dtsi
  head/sys/contrib/dts/arm/sama5d3_uart.dtsi
     - copied unchanged from r262591, vendor/device-tree/dist/src/arm/sama5d3_uart.dtsi
  head/sys/contrib/dts/arm/sama5d3xcm.dtsi
     - copied unchanged from r262591, vendor/device-tree/dist/src/arm/sama5d3xcm.dtsi
  head/sys/contrib/dts/arm/sama5d3xdm.dtsi
     - copied unchanged from r262591, vendor/device-tree/dist/src/arm/sama5d3xdm.dtsi
  head/sys/contrib/dts/arm/sama5d3xmb.dtsi
     - copied unchanged from r262591, vendor/device-tree/dist/src/arm/sama5d3xmb.dtsi
  head/sys/contrib/dts/arm/tny_a9260.dts
     - copied unchanged from r262591, vendor/device-tree/dist/src/arm/tny_a9260.dts
  head/sys/contrib/dts/arm/tny_a9260_common.dtsi
     - copied unchanged from r262591, vendor/device-tree/dist/src/arm/tny_a9260_common.dtsi
  head/sys/contrib/dts/arm/tny_a9263.dts
     - copied unchanged from r262591, vendor/device-tree/dist/src/arm/tny_a9263.dts
  head/sys/contrib/dts/arm/tny_a9g20.dts
     - copied unchanged from r262591, vendor/device-tree/dist/src/arm/tny_a9g20.dts
  head/sys/contrib/dts/arm/usb_a9260.dts
     - copied unchanged from r262591, vendor/device-tree/dist/src/arm/usb_a9260.dts
  head/sys/contrib/dts/arm/usb_a9260_common.dtsi
     - copied unchanged from r262591, vendor/device-tree/dist/src/arm/usb_a9260_common.dtsi
  head/sys/contrib/dts/arm/usb_a9263.dts
     - copied unchanged from r262591, vendor/device-tree/dist/src/arm/usb_a9263.dts
  head/sys/contrib/dts/arm/usb_a9g20.dts
     - copied unchanged from r262591, vendor/device-tree/dist/src/arm/usb_a9g20.dts
  head/sys/contrib/dts/arm/usb_a9g20_common.dtsi
     - copied unchanged from r262591, vendor/device-tree/dist/src/arm/usb_a9g20_common.dtsi
  head/sys/contrib/dts/arm/usb_a9g20_lpw.dts
     - copied unchanged from r262591, vendor/device-tree/dist/src/arm/usb_a9g20_lpw.dts

Copied: head/sys/contrib/dts/arm/animeo_ip.dts (from r262591, vendor/device-tree/dist/src/arm/animeo_ip.dts)
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sys/contrib/dts/arm/animeo_ip.dts	Fri Feb 28 01:32:44 2014	(r262592, copy of r262591, vendor/device-tree/dist/src/arm/animeo_ip.dts)
@@ -0,0 +1,167 @@
+/*
+ * animeo_ip.dts - Device Tree file for Somfy Animeo IP Boards
+ *
+ *  Copyright (C) 2011-2012 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
+ *
+ * Licensed under GPLv2 only.
+ */
+
+/dts-v1/;
+#include "at91sam9260.dtsi"
+
+/ {
+	model = "Somfy Animeo IP";
+	compatible = "somfy,animeo-ip", "atmel,at91sam9260", "atmel,at91sam9";
+
+	aliases {
+		serial0 = &usart1;
+		serial1 = &usart2;
+		serial2 = &usart0;
+		serial3 = &dbgu;
+		serial4 = &usart3;
+		serial5 = &uart0;
+		serial6 = &uart1;
+	};
+
+	chosen {
+		linux,stdout-path = &usart2;
+	};
+
+	memory {
+		reg = <0x20000000 0x4000000>;
+	};
+
+	clocks {
+		#address-cells = <1>;
+		#size-cells = <1>;
+		ranges;
+
+		main_clock: clock@0 {
+			compatible = "atmel,osc", "fixed-clock";
+			clock-frequency = <18432000>;
+		};
+	};
+
+	ahb {
+		apb {
+			usart0: serial@fffb0000 {
+				pinctrl-0 = <&pinctrl_usart0 &pinctrl_usart0_rts>;
+				linux,rs485-enabled-at-boot-time;
+				status = "okay";
+			};
+
+			usart1: serial@fffb4000 {
+				pinctrl-0 = <&pinctrl_usart1 &pinctrl_usart1_rts>;
+				linux,rs485-enabled-at-boot-time;
+				status = "okay";
+			};
+
+			usart2: serial@fffb8000 {
+				pinctrl-0 = <&pinctrl_usart2>;
+				status = "okay";
+			};
+
+			macb0: ethernet@fffc4000 {
+				pinctrl-0 = <&pinctrl_macb_rmii &pinctrl_macb_rmii_mii>;
+				phy-mode = "mii";
+				status = "okay";
+			};
+
+			mmc0: mmc@fffa8000 {
+				pinctrl-0 = <&pinctrl_mmc0_clk
+					     &pinctrl_mmc0_slot1_cmd_dat0
+					     &pinctrl_mmc0_slot1_dat1_3>;
+				status = "okay";
+
+				slot@1 {
+					reg = <1>;
+					bus-width = <4>;
+				};
+			};
+
+			watchdog@fffffd40 {
+				status = "okay";
+			};
+		};
+
+		nand0: nand@40000000 {
+			nand-bus-width = <8>;
+			nand-ecc-mode = "soft";
+			nand-on-flash-bbt;
+			status = "okay";
+
+			barebox@0 {
+				label = "barebox";
+				reg = <0x0 0x58000>;
+			};
+
+			u_boot_env@58000 {
+				label = "u_boot_env";
+				reg = <0x58000 0x8000>;
+			};
+
+			ubi@60000 {
+				label = "ubi";
+				reg = <0x60000 0x1FA0000>;
+			};
+		};
+
+		usb0: ohci@00500000 {
+			num-ports = <2>;
+			atmel,vbus-gpio = <&pioB 15 GPIO_ACTIVE_LOW>;
+			status = "okay";
+		};
+	};
+
+	leds {
+		compatible = "gpio-leds";
+
+		power_green {
+			label = "power_green";
+			gpios = <&pioC 17 GPIO_ACTIVE_HIGH>;
+			linux,default-trigger = "heartbeat";
+		};
+
+		power_red {
+			label = "power_red";
+			gpios = <&pioA 2 GPIO_ACTIVE_HIGH>;
+		};
+
+		tx_green {
+			label = "tx_green";
+			gpios = <&pioC 19 GPIO_ACTIVE_HIGH>;
+		};
+
+		tx_red {
+			label = "tx_red";
+			gpios = <&pioC 18 GPIO_ACTIVE_HIGH>;
+		};
+	};
+
+	gpio_keys {
+		compatible = "gpio-keys";
+		#address-cells = <1>;
+		#size-cells = <0>;
+
+		keyswitch_in {
+			label = "keyswitch_in";
+			gpios = <&pioB 1 GPIO_ACTIVE_HIGH>;
+			linux,code = <28>;
+			gpio-key,wakeup;
+		};
+
+		error_in {
+			label = "error_in";
+			gpios = <&pioB 2 GPIO_ACTIVE_HIGH>;
+			linux,code = <29>;
+			gpio-key,wakeup;
+		};
+
+		btn {
+			label = "btn";
+			gpios = <&pioC 23 GPIO_ACTIVE_HIGH>;
+			linux,code = <31>;
+			gpio-key,wakeup;
+		};
+	};
+};

Copied: head/sys/contrib/dts/arm/at91-ariag25.dts (from r262591, vendor/device-tree/dist/src/arm/at91-ariag25.dts)
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sys/contrib/dts/arm/at91-ariag25.dts	Fri Feb 28 01:32:44 2014	(r262592, copy of r262591, vendor/device-tree/dist/src/arm/at91-ariag25.dts)
@@ -0,0 +1,180 @@
+/*
+ * at91-ariag25.dts - Device Tree file for Acme Systems Aria G25 (AT91SAM9G25 based)
+ *
+ * Copyright (C) 2013 Douglas Gilbert <dgilbert@interlog.com>,
+ *                    Robert Nelson <robertcnelson@gmail.com>
+ *
+ * Licensed under GPLv2 or later.
+ */
+/dts-v1/;
+#include "at91sam9g25.dtsi"
+
+/ {
+	model = "Acme Systems Aria G25";
+	compatible = "acme,ariag25", "atmel,at91sam9x5ek",
+		     "atmel,at91sam9x5", "atmel,at91sam9";
+
+	aliases {
+		serial0 = &dbgu;
+		serial1 = &usart0;
+		serial2 = &usart1;
+		serial3 = &usart2;
+		serial4 = &usart3;
+		serial5 = &uart0;
+		serial6 = &uart1;
+	};
+
+	chosen {
+		bootargs = "console=ttyS0,115200 root=/dev/mmcblk0p2 rw rootwait";
+	};
+
+	memory {
+		/* 128 MB, change this for 256 MB revision */
+		reg = <0x20000000 0x8000000>;
+	};
+
+	clocks {
+		#address-cells = <1>;
+		#size-cells = <1>;
+		ranges;
+
+		main_clock: clock@0 {
+			compatible = "atmel,osc", "fixed-clock";
+			clock-frequency = <12000000>;
+		};
+	};
+
+	ahb {
+		apb {
+			mmc0: mmc@f0008000 {
+				/* N.B. Aria has no SD card detect (CD), assumed present */
+
+				pinctrl-0 = <
+					&pinctrl_mmc0_slot0_clk_cmd_dat0
+					&pinctrl_mmc0_slot0_dat1_3>;
+				status = "okay";
+				slot@0 {
+					reg = <0>;
+					bus-width = <4>;
+				};
+			};
+
+			i2c0: i2c@f8010000 {
+				status = "okay";
+			};
+
+			i2c1: i2c@f8014000 {
+				status = "okay";
+			};
+
+			/* TWD2+TCLK2 hidden behind ethernet, so no i2c2 */
+
+			usart0: serial@f801c000 {
+				pinctrl-0 = <&pinctrl_usart0
+					     &pinctrl_usart0_rts
+					     &pinctrl_usart0_cts>;
+				status = "okay";
+			};
+
+			usart1: serial@f8020000 {
+				pinctrl-0 = <&pinctrl_usart1
+					     /* &pinctrl_usart1_rts */
+					     /* &pinctrl_usart1_cts */
+					    >;
+				status = "okay";
+			};
+
+			usart2: serial@f8024000 {
+				/* cannot activate RTS2+CTS2, clash with
+				 * ethernet on PB0 and PB1 */
+				pinctrl-0 = <&pinctrl_usart2>;
+				status = "okay";
+			};
+
+			usart3: serial@f8028000 {
+				compatible = "atmel,at91sam9260-usart";
+				reg = <0xf8028000 0x200>;
+				interrupts = <8 4 5>;
+				pinctrl-names = "default";
+				pinctrl-0 = <&pinctrl_usart3
+					     /* &pinctrl_usart3_rts */
+					     /* &pinctrl_usart3_cts */
+					    >;
+				status = "okay";
+			};
+
+			macb0: ethernet@f802c000 {
+				phy-mode = "rmii";
+				/*
+				 * following can be overwritten by bootloader:
+				 * for example u-boot 'ftd set' command
+				 */
+				local-mac-address = [00 00 00 00 00 00];
+				status = "okay";
+			};
+
+			/*
+			 * UART0/1 pins are marked as GPIO on
+			 * Aria documentation.
+			 * Change to "okay" if you need additional serial ports
+			 */
+			uart0: serial@f8040000 {
+				status = "disabled";
+			};
+
+			uart1: serial@f8044000 {
+				status = "disabled";
+			};
+
+			adc0: adc@f804c000 {
+				status = "okay";
+				atmel,adc-channels-used = <0xf>;
+				atmel,adc-num-channels = <4>;
+			};
+
+			dbgu: serial@fffff200 {
+				status = "okay";
+			};
+
+			pinctrl@fffff400 {
+				w1_0 {
+					pinctrl_w1_0: w1_0-0 {
+						atmel,pins = <0 21 0x0 0x1>; /* PA21 PIO, pull-up */
+					};
+				};
+			};
+
+			rtc@fffffeb0 {
+				status = "okay";
+			};
+		};
+
+		usb0: ohci@00600000 {
+			status = "okay";
+			num-ports = <3>;
+		};
+
+		usb1: ehci@00700000 {
+			status = "okay";
+		};
+	};
+
+	leds {
+		compatible = "gpio-leds";
+
+		/* little green LED in middle of Aria G25 module */
+		aria_led {
+			label = "aria_led";
+			gpios = <&pioB 8 GPIO_ACTIVE_HIGH>; /* PB8 */
+			linux,default-trigger = "heartbeat";
+		};
+
+	};
+
+	onewire@0 {
+		compatible = "w1-gpio";
+		gpios = <&pioA 21 GPIO_ACTIVE_LOW>;
+		pinctrl-names = "default";
+		pinctrl-0 = <&pinctrl_w1_0>;
+	};
+};

Copied: head/sys/contrib/dts/arm/at91-cosino.dtsi (from r262591, vendor/device-tree/dist/src/arm/at91-cosino.dtsi)
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sys/contrib/dts/arm/at91-cosino.dtsi	Fri Feb 28 01:32:44 2014	(r262592, copy of r262591, vendor/device-tree/dist/src/arm/at91-cosino.dtsi)
@@ -0,0 +1,122 @@
+/*
+ * at91-cosino.dtsi - Device Tree file for Cosino core module
+ *
+ * Copyright (C) 2013 - Rodolfo Giometti <giometti@linux.it>
+ *			HCE Engineering
+ *
+ * Derived from at91sam9x5ek.dtsi by:
+ *	Copyright (C) 2012 Atmel,
+ *	2012 Nicolas Ferre <nicolas.ferre@atmel.com>
+ *
+ * Licensed under GPLv2 or later.
+ */
+
+#include "at91sam9g35.dtsi"
+
+/ {
+	model = "HCE Cosino core module";
+	compatible = "hce,cosino", "atmel,at91sam9x5", "atmel,at91sam9";
+
+	chosen {
+		bootargs = "console=ttyS0,115200 root=/dev/mmcblk0p2 rw rootfstype=ext3 rootwait";
+	};
+
+	memory {
+		reg = <0x20000000 0x8000000>;
+	};
+
+	clocks {
+		#address-cells = <1>;
+		#size-cells = <1>;
+		ranges;
+
+		main_clock: clock@0 {
+			compatible = "atmel,osc", "fixed-clock";
+			clock-frequency = <12000000>;
+		};
+	};
+
+	ahb {
+		apb {
+			mmc0: mmc@f0008000 {
+				pinctrl-0 = <
+					&pinctrl_board_mmc0
+					&pinctrl_mmc0_slot0_clk_cmd_dat0
+					&pinctrl_mmc0_slot0_dat1_3>;
+				status = "okay";
+				slot@0 {
+					reg = <0>;
+					bus-width = <4>;
+					cd-gpios = <&pioD 15 GPIO_ACTIVE_HIGH>;
+				};
+			};
+
+			dbgu: serial@fffff200 {
+				status = "okay";
+			};
+
+			usart0: serial@f801c000 {
+				status = "okay";
+			};
+
+			i2c0: i2c@f8010000 {
+				status = "okay";
+			};
+
+			adc0: adc@f804c000 {
+				atmel,adc-clock-rate = <1000000>;
+				atmel,adc-ts-wires = <4>;
+				atmel,adc-ts-pressure-threshold = <10000>;
+				status = "okay";
+			};
+
+			pinctrl@fffff400 {
+				mmc0 {
+					pinctrl_board_mmc0: mmc0-board {
+						atmel,pins =
+							<AT91_PIOD 15 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP_DEGLITCH>;	/* PD15 gpio CD pin pull up and deglitch */
+					};
+				};
+			};
+
+			watchdog@fffffe40 {
+				status = "okay";
+			};
+		};
+
+		nand0: nand@40000000 {
+			nand-bus-width = <8>;
+			nand-ecc-mode = "hw";
+			atmel,has-pmecc;	/* Enable PMECC */
+			atmel,pmecc-cap = <4>;
+			atmel,pmecc-sector-size = <512>;
+			nand-on-flash-bbt;
+			status = "okay";
+
+			at91bootstrap@0 {
+				label = "at91bootstrap";
+				reg = <0x0 0x40000>;
+			};
+
+			uboot@40000 {
+				label = "u-boot";
+				reg = <0x40000 0x80000>;
+			};
+
+			ubootenv@c0000 {
+				label = "U-Boot Env";
+				reg = <0xc0000 0x140000>;
+			};
+
+			kernel@200000 {
+				label = "kernel";
+				reg = <0x200000 0x600000>;
+			};
+
+			rootfs@800000 {
+				label = "rootfs";
+				reg = <0x800000 0x0f800000>;
+			};
+		};
+	};
+};

Copied: head/sys/contrib/dts/arm/at91-cosino_mega2560.dts (from r262591, vendor/device-tree/dist/src/arm/at91-cosino_mega2560.dts)
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sys/contrib/dts/arm/at91-cosino_mega2560.dts	Fri Feb 28 01:32:44 2014	(r262592, copy of r262591, vendor/device-tree/dist/src/arm/at91-cosino_mega2560.dts)
@@ -0,0 +1,84 @@
+/*
+ * at91-cosino_mega2560.dts - Device Tree file for Cosino board with
+ *			      Mega 2560 extension
+ *
+ * Copyright (C) 2013 - Rodolfo Giometti <giometti@linux.it>
+ *			HCE Engineering
+ *
+ * Derived from at91sam9g35ek.dts by:
+ * 	Copyright (C) 2012 Atmel,
+ *      2012 Nicolas Ferre <nicolas.ferre@atmel.com>
+ *
+ * Licensed under GPLv2 or later.
+ */
+
+/dts-v1/;
+#include "at91-cosino.dtsi"
+
+/ {
+	model = "HCE Cosino Mega 2560";
+	compatible = "hce,cosino_mega2560", "atmel,at91sam9x5", "atmel,at91sam9";
+
+	ahb {
+		apb {
+			macb0: ethernet@f802c000 {
+				phy-mode = "rmii";
+				status = "okay";
+			};
+
+			adc0: adc@f804c000 {
+				atmel,adc-clock-rate = <1000000>;
+				atmel,adc-ts-wires = <4>;
+				atmel,adc-ts-pressure-threshold = <10000>;
+				status = "okay";
+			};
+
+
+			tsadcc: tsadcc@f804c000 {
+				status = "okay";
+			};
+
+			rtc@fffffeb0 {
+				status = "okay";
+			};
+
+			usart1: serial@f8020000 {
+				status = "okay";
+			};
+
+			usart2: serial@f8024000 {
+				status = "okay";
+			};
+
+			usb2: gadget@f803c000 {
+				atmel,vbus-gpio = <&pioB 16 GPIO_ACTIVE_HIGH>;
+				status = "okay";
+			};
+
+			mmc1: mmc@f000c000 {
+				pinctrl-0 = <
+					&pinctrl_mmc1_slot0_clk_cmd_dat0
+					&pinctrl_mmc1_slot0_dat1_3>;
+				status = "okay";
+				slot@0 {
+					reg = <0>;
+					bus-width = <4>;
+					non-removable;
+				};
+			};
+		};
+
+		usb0: ohci@00600000 {
+			status = "okay";
+			num-ports = <3>;
+			atmel,vbus-gpio = <0 /* &pioD 18 GPIO_ACTIVE_LOW */
+					   &pioD 19 GPIO_ACTIVE_LOW
+					   &pioD 20 GPIO_ACTIVE_LOW
+					  >;
+		};
+
+		usb1: ehci@00700000 {
+			status = "okay";
+		};
+	};
+};

Copied: head/sys/contrib/dts/arm/at91-foxg20.dts (from r262591, vendor/device-tree/dist/src/arm/at91-foxg20.dts)
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sys/contrib/dts/arm/at91-foxg20.dts	Fri Feb 28 01:32:44 2014	(r262592, copy of r262591, vendor/device-tree/dist/src/arm/at91-foxg20.dts)
@@ -0,0 +1,157 @@
+/*
+ * at91-foxg20.dts - Device Tree file for Acme Systems FoxG20 board
+ *
+ * Based on DT files for at91sam9g20ek evaluation board (AT91SAM9G20 SoC)
+ *
+ * Copyright (C) 2013 Douglas Gilbert <dgilbert@interlog.com>
+ *
+ * Licensed under GPLv2 or later.
+ */
+/dts-v1/;
+#include "at91sam9g20.dtsi"
+
+/ {
+	model = "Acme Systems FoxG20";
+	compatible = "acme,foxg20", "atmel,at91sam9g20", "atmel,at91sam9";
+
+	chosen {
+		bootargs = "console=ttyS0,115200 root=/dev/mmcblk0p2 rw rootwait";
+	};
+
+	memory {
+		reg = <0x20000000 0x4000000>;
+	};
+
+	clocks {
+		#address-cells = <1>;
+		#size-cells = <1>;
+		ranges;
+
+		main_clock: clock@0 {
+			compatible = "atmel,osc", "fixed-clock";
+			clock-frequency = <18432000>;
+		};
+	};
+
+	ahb {
+		apb {
+			usb1: gadget@fffa4000 {
+				atmel,vbus-gpio = <&pioC 6 GPIO_ACTIVE_HIGH>;
+				status = "okay";
+			};
+
+			mmc0: mmc@fffa8000 {
+				pinctrl-0 = <
+					&pinctrl_mmc0_clk
+					&pinctrl_mmc0_slot1_cmd_dat0
+					&pinctrl_mmc0_slot1_dat1_3>;
+				status = "okay";
+
+				slot@1 {
+					reg = <1>;
+					bus-width = <4>;
+				};
+			};
+
+			usart0: serial@fffb0000 {
+				pinctrl-0 =
+					<&pinctrl_usart0
+					 &pinctrl_usart0_rts
+					 &pinctrl_usart0_cts
+					>;
+				status = "okay";
+			};
+
+			usart1: serial@fffb4000 {
+				status = "okay";
+			};
+
+			usart2: serial@fffb8000 {
+				status = "okay";
+			};
+
+			macb0: ethernet@fffc4000 {
+				phy-mode = "rmii";
+				status = "okay";
+			};
+
+			usart3: serial@fffd0000 {
+				status = "okay";
+			};
+
+			uart0: serial@fffd4000 {
+				status = "okay";
+			};
+
+			uart1: serial@fffd8000 {
+				status = "okay";
+			};
+
+			dbgu: serial@fffff200 {
+				status = "okay";
+			};
+
+			pinctrl@fffff400 {
+				board {
+					pinctrl_pck0_as_mck: pck0_as_mck {
+						atmel,pins =
+							<AT91_PIOC 1 AT91_PERIPH_B AT91_PINCTRL_NONE>;
+					};
+				};
+
+				mmc0_slot1 {
+					pinctrl_board_mmc0_slot1: mmc0_slot1-board {
+						atmel,pins =
+							<AT91_PIOC 9 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP_DEGLITCH>;	/* CD pin */
+					};
+				};
+
+				i2c0 {
+					pinctrl_i2c0: i2c0-0 {
+						atmel,pins =
+							<AT91_PIOA 23 AT91_PERIPH_A AT91_PINCTRL_MULTI_DRIVE	/* TWD (SDA), open drain */
+							 AT91_PIOA 24 AT91_PERIPH_A AT91_PINCTRL_MULTI_DRIVE>;	/* TWCK (SCL), open drain */
+					};
+				};
+			};
+
+			watchdog@fffffd40 {
+				status = "okay";
+			};
+		};
+
+		usb0: ohci@00500000 {
+			num-ports = <2>;
+			status = "okay";
+		};
+	};
+
+	i2c@0 {
+		pinctrl-names = "default";
+		pinctrl-0 = <&pinctrl_i2c0>;
+		i2c-gpio,delay-us = <5>;	/* ~85 kHz */
+		status = "okay";
+	};
+
+	leds {
+		compatible = "gpio-leds";
+
+		/* red LED marked "PC7" near mini USB (device) receptacle */
+		user_led {
+			label = "user_led";
+			gpios = <&pioC 7 GPIO_ACTIVE_HIGH>;	/* PC7 */
+			linux,default-trigger = "heartbeat";
+		};
+	};
+
+	gpio_keys {
+		compatible = "gpio-keys";
+
+		btn {
+			label = "Button";
+			gpios = <&pioC 4 GPIO_ACTIVE_LOW>;
+			linux,code = <0x103>;
+			gpio-key,wakeup;
+		};
+	};
+};

Copied: head/sys/contrib/dts/arm/at91-qil_a9260.dts (from r262591, vendor/device-tree/dist/src/arm/at91-qil_a9260.dts)
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sys/contrib/dts/arm/at91-qil_a9260.dts	Fri Feb 28 01:32:44 2014	(r262592, copy of r262591, vendor/device-tree/dist/src/arm/at91-qil_a9260.dts)
@@ -0,0 +1,185 @@
+/*
+ * at91-qil_a9260.dts - Device Tree file for Calao QIL A9260 board
+ *
+ * Copyright (C) 2011-2013 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
+ *
+ * Licensed under GPLv2.
+ */
+/dts-v1/;
+#include "at91sam9260.dtsi"
+/ {
+	model = "Calao QIL A9260";
+	compatible = "calao,qil-a9260", "atmel,at91sam9260", "atmel,at91sam9";
+
+	chosen {
+		bootargs = "console=ttyS0,115200";
+	};
+
+	memory {
+		reg = <0x20000000 0x4000000>;
+	};
+
+	clocks {
+		#address-cells = <1>;
+		#size-cells = <1>;
+		ranges;
+
+		main_clock: clock@0 {
+			compatible = "atmel,osc", "fixed-clock";
+			clock-frequency = <12000000>;
+		};
+	};
+
+	ahb {
+		apb {
+			usb1: gadget@fffa4000 {
+				atmel,vbus-gpio = <&pioC 5 GPIO_ACTIVE_HIGH>;
+				status = "okay";
+			};
+
+			mmc0: mmc@fffa8000 {
+				pinctrl-0 = <
+					&pinctrl_mmc0_clk
+					&pinctrl_mmc0_slot0_cmd_dat0
+					&pinctrl_mmc0_slot0_dat1_3>;
+				status = "okay";
+				slot@0 {
+					reg = <0>;
+					bus-width = <4>;
+				};
+			};
+
+			usart0: serial@fffb0000 {
+				pinctrl-0 =
+					<&pinctrl_usart0
+					 &pinctrl_usart0_rts
+					 &pinctrl_usart0_cts
+					 &pinctrl_usart0_dtr_dsr
+					 &pinctrl_usart0_dcd
+					 &pinctrl_usart0_ri>;
+				status = "okay";
+			};
+
+			usart1: serial@fffb4000 {
+				pinctrl-0 =
+					<&pinctrl_usart1
+					 &pinctrl_usart1_rts
+					 &pinctrl_usart1_cts>;
+				status = "okay";
+			};
+
+			usart2: serial@fffb8000 {
+				pinctrl-0 =
+					<&pinctrl_usart2
+					 &pinctrl_usart2_rts
+					 &pinctrl_usart2_cts>;
+				status = "okay";
+			};
+
+			macb0: ethernet@fffc4000 {
+				phy-mode = "rmii";
+				status = "okay";
+			};
+
+			spi0: spi@fffc8000 {
+				status = "okay";
+				cs-gpios = <&pioA 3 GPIO_ACTIVE_HIGH>;
+
+				m41t94@0 {
+					compatible = "st,m41t94";
+					reg = <0>;
+					spi-max-frequency = <1000000>;
+				};
+
+			};
+
+			dbgu: serial@fffff200 {
+				status = "okay";
+			};
+
+			shdwc@fffffd10 {
+				atmel,wakeup-counter = <10>;
+				atmel,wakeup-rtt-timer;
+			};
+		};
+
+		usb0: ohci@00500000 {
+			num-ports = <2>;
+			status = "okay";
+		};
+
+		nand0: nand@40000000 {
+			nand-bus-width = <8>;
+			nand-ecc-mode = "soft";
+			nand-on-flash-bbt;
+			status = "okay";
+
+			at91bootstrap@0 {
+				label = "at91bootstrap";
+				reg = <0x0 0x20000>;
+			};
+
+			barebox@20000 {
+				label = "barebox";
+				reg = <0x20000 0x40000>;
+			};
+
+			bareboxenv@60000 {
+				label = "bareboxenv";
+				reg = <0x60000 0x20000>;
+			};
+
+			bareboxenv2@80000 {
+				label = "bareboxenv2";
+				reg = <0x80000 0x20000>;
+			};
+
+			oftree@a0000 {
+				label = "oftree";
+				reg = <0xa0000 0x20000>;
+			};
+
+			kernel@c0000 {
+				label = "kernel";
+				reg = <0xc0000 0x400000>;
+			};
+
+			rootfs@4c0000 {
+				label = "rootfs";
+				reg = <0x4c0000 0x7800000>;
+			};
+
+			data@7cc0000 {
+				label = "data";
+				reg = <0x7cc0000 0x8340000>;
+			};
+		};
+	};
+
+	leds {
+		compatible = "gpio-leds";
+
+		user_led {
+			label = "user_led";
+			gpios = <&pioB 21 GPIO_ACTIVE_HIGH>;
+			linux,default-trigger = "heartbeat";
+		};
+	};
+
+	gpio_keys {
+		compatible = "gpio-keys";
+		#address-cells = <1>;
+		#size-cells = <0>;
+
+		user_pb {
+			label = "user_pb";
+			gpios = <&pioB 10 GPIO_ACTIVE_LOW>;
+			linux,code = <28>;
+			gpio-key,wakeup;
+		};
+	};
+
+	i2c@0 {
+		status = "okay";
+	};
+};

Copied: head/sys/contrib/dts/arm/at91-sama5d3_xplained.dts (from r262591, vendor/device-tree/dist/src/arm/at91-sama5d3_xplained.dts)
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sys/contrib/dts/arm/at91-sama5d3_xplained.dts	Fri Feb 28 01:32:44 2014	(r262592, copy of r262591, vendor/device-tree/dist/src/arm/at91-sama5d3_xplained.dts)
@@ -0,0 +1,229 @@
+/*
+ * at91-sama5d3_xplained.dts - Device Tree file for the SAMA5D3 Xplained board
+ *
+ *  Copyright (C) 2014 Atmel,
+ *		  2014 Nicolas Ferre <nicolas.ferre@atmel.com>
+ *
+ * Licensed under GPLv2 or later.
+ */
+/dts-v1/;
+#include "sama5d36.dtsi"
+
+/ {
+	model = "SAMA5D3 Xplained";
+	compatible = "atmel,sama5d3-xplained", "atmel,sama5d3", "atmel,sama5";
+
+	chosen {
+		bootargs = "console=ttyS0,115200";
+	};
+
+	memory {
+		reg = <0x20000000 0x10000000>;
+	};
+
+	ahb {
+		apb {
+			mmc0: mmc@f0000000 {
+				pinctrl-0 = <&pinctrl_mmc0_clk_cmd_dat0 &pinctrl_mmc0_dat1_3 &pinctrl_mmc0_dat4_7 &pinctrl_mmc0_cd>;
+				status = "okay";
+				slot@0 {
+					reg = <0>;
+					bus-width = <8>;
+					cd-gpios = <&pioE 0 GPIO_ACTIVE_LOW>;
+				};
+			};
+
+			spi0: spi@f0004000 {
+				cs-gpios = <&pioD 13 0>;
+				status = "okay";
+			};
+
+			can0: can@f000c000 {
+				status = "okay";
+			};
+
+			i2c0: i2c@f0014000 {
+				status = "okay";
+			};
+
+			i2c1: i2c@f0018000 {
+				status = "okay";
+			};
+
+			macb0: ethernet@f0028000 {
+				phy-mode = "rgmii";
+				status = "okay";
+			};
+
+			usart0: serial@f001c000 {
+				status = "okay";
+			};
+
+			usart1: serial@f0020000 {
+				pinctrl-0 = <&pinctrl_usart1 &pinctrl_usart1_rts_cts>;
+				status = "okay";
+			};
+
+			uart0: serial@f0024000 {
+				status = "okay";
+			};
+
+			mmc1: mmc@f8000000 {
+				pinctrl-0 = <&pinctrl_mmc1_clk_cmd_dat0 &pinctrl_mmc1_dat1_3 &pinctrl_mmc1_cd>;
+				status = "okay";
+				slot@0 {
+					reg = <0>;
+					bus-width = <4>;
+					cd-gpios = <&pioE 1 GPIO_ACTIVE_HIGH>;
+				};
+			};
+
+			spi1: spi@f8008000 {
+				cs-gpios = <&pioC 25 0>, <0>, <0>, <&pioD 16 0>;
+				status = "okay";
+			};

*** DIFF OUTPUT TRUNCATED AT 1000 LINES ***



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402280132.s1S1Wj7U001146>