Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/908911/?format=api
{ "id": 908911, "url": "http://patchwork.ozlabs.org/api/patches/908911/?format=api", "web_url": "http://patchwork.ozlabs.org/project/lede/patch/d0f034fce29e74501472c57a7d385770753f9d62.1525453826.git.sandeepsheriker.mallikarjun@microchip.com/", "project": { "id": 54, "url": "http://patchwork.ozlabs.org/api/projects/54/?format=api", "name": "LEDE development", "link_name": "lede", "list_id": "lede-dev.lists.infradead.org", "list_email": "lede-dev@lists.infradead.org", "web_url": "http://lede-project.org/", "scm_url": "", "webscm_url": "http://git.lede-project.org/", "list_archive_url": "", "list_archive_url_format": "", "commit_url_format": "" }, "msgid": "<d0f034fce29e74501472c57a7d385770753f9d62.1525453826.git.sandeepsheriker.mallikarjun@microchip.com>", "list_archive_url": null, "date": "2018-05-04T17:27:47", "name": "[LEDE-DEV,v2,05/10] at91: Add SAMA5D27 SOM1 EK board", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": false, "hash": "759bf9b73d48015fbf012a2fe1fadadfff2bb30a", "submitter": { "id": 72359, "url": "http://patchwork.ozlabs.org/api/people/72359/?format=api", "name": "Sandeep Sheriker", "email": "sandeepsheriker.mallikarjun@microchip.com" }, "delegate": { "id": 54613, "url": "http://patchwork.ozlabs.org/api/users/54613/?format=api", "username": "blogic", "first_name": "John", "last_name": "Crispin", "email": "blogic@openwrt.org" }, "mbox": "http://patchwork.ozlabs.org/project/lede/patch/d0f034fce29e74501472c57a7d385770753f9d62.1525453826.git.sandeepsheriker.mallikarjun@microchip.com/mbox/", "series": [ { "id": 42656, "url": "http://patchwork.ozlabs.org/api/series/42656/?format=api", "web_url": "http://patchwork.ozlabs.org/project/lede/list/?series=42656", "date": "2018-05-04T17:27:42", "name": "at91 patch series", "version": 2, "mbox": "http://patchwork.ozlabs.org/series/42656/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/908911/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/908911/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<lede-dev-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org>", "X-Original-To": "incoming@patchwork.ozlabs.org", "Delivered-To": "patchwork-incoming@bilbo.ozlabs.org", "Authentication-Results": [ "ozlabs.org; spf=none (mailfrom)\n\tsmtp.mailfrom=lists.infradead.org\n\t(client-ip=2607:7c80:54:e::133; helo=bombadil.infradead.org;\n\tenvelope-from=lede-dev-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org;\n\treceiver=<UNKNOWN>)", "ozlabs.org; dmarc=none (p=none dis=none)\n\theader.from=microchip.com", "ozlabs.org; dkim=pass (2048-bit key;\n\tunprotected) header.d=lists.infradead.org\n\theader.i=@lists.infradead.org header.b=\"k2eG21gZ\"; \n\tdkim-atps=neutral" ], "Received": [ "from bombadil.infradead.org (bombadil.infradead.org\n\t[IPv6:2607:7c80:54:e::133])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256\n\tbits)) (No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 40czZf3s2Hz9s4n\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSat, 5 May 2018 03:31:22 +1000 (AEST)", "from localhost ([127.0.0.1] helo=bombadil.infradead.org)\n\tby bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux))\n\tid 1fEeY9-0007VP-Oj; Fri, 04 May 2018 17:31:17 +0000", "from esa3.microchip.iphmx.com ([68.232.153.233])\n\tby bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat\n\tLinux)) id 1fEeVa-00052B-KB\n\tfor lede-dev@lists.infradead.org; Fri, 04 May 2018 17:28:44 +0000", "from smtpout.microchip.com (HELO email.microchip.com)\n\t([198.175.253.82])\n\tby esa3.microchip.iphmx.com with ESMTP/TLS/DHE-RSA-AES256-SHA;\n\t04 May 2018 10:28:26 -0700", "from sandeep-office.microchip.com (10.10.76.4) by\n\tchn-sv-exch02.mchp-main.com (10.10.76.38) with Microsoft SMTP Server\n\tid 14.3.352.0; Fri, 4 May 2018 10:28:25 -0700" ], "DKIM-Signature": "v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;\n\td=lists.infradead.org; s=bombadil.20170209; h=Sender:\n\tContent-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post:\n\tList-Archive:List-Unsubscribe:List-Id:Subject:MIME-Version:References:\n\tIn-Reply-To:Message-ID:Date:To:From:Reply-To:Cc:Content-ID:\n\tContent-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc\n\t:Resent-Message-ID:List-Owner;\n\tbh=th5CglT1qAqbmqe3/H6cXCBUEwz3nSrl8XN6zaUWm/0=;\n\tb=k2eG21gZhDxPb0jGNa9Y9F/fXD\n\tW3qwthdxwYV5eE3O79em9K177XADux2Ie6rIrYEZBoSIGCz80Yp0Kh3btHVI6voLeIarN1f4rgr34\n\tz4cgLgddYSyqhG39OIAy0JLa1/62LS1pLn/QS6mE0WP3Z5PrcMVraU+MzMBtlWQW2dfuiSkYeP8ZS\n\tnDc5RCj4LkqggrgxVr1hW7X+i76bqCGMq8w4VFh8Fy8KITdBpa4F+cVKQRrz3kyQDv690pN85evAZ\n\tOBuq/4NINtS/33sRRMnWZZvvWN9Oiznwexr0llvzYioiit8mxIMifMyTfO9/bddcaWr/8kZqcWeCh\n\tF4uatCyw==;", "X-IronPort-AV": "E=Sophos;i=\"5.49,363,1520924400\"; d=\"scan'208\";a=\"13889258\"", "From": "Sandeep Sheriker Mallikarjun\n\t<sandeepsheriker.mallikarjun@microchip.com>", "To": "<lede-dev@lists.infradead.org>", "Date": "Fri, 4 May 2018 10:27:47 -0700", "Message-ID": "<d0f034fce29e74501472c57a7d385770753f9d62.1525453826.git.sandeepsheriker.mallikarjun@microchip.com>", "X-Mailer": "git-send-email 2.7.4", "In-Reply-To": "<cover.1525453825.git.sandeepsheriker.mallikarjun@microchip.com>", "References": "<cover.1525453825.git.sandeepsheriker.mallikarjun@microchip.com>", "MIME-Version": "1.0", "X-CRM114-Version": "20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 ", "X-CRM114-CacheID": "sfid-20180504_102838_733170_A0C06793 ", "X-CRM114-Status": "GOOD ( 18.93 )", "X-Spam-Score": "-0.7 (/)", "X-Spam-Report": "SpamAssassin version 3.4.1 on bombadil.infradead.org summary:\n\tContent analysis details: (-0.7 points)\n\tpts rule name description\n\t---- ----------------------\n\t--------------------------------------------------\n\t-0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/,\n\tlow trust [68.232.153.233 listed in list.dnswl.org]\n\t-0.0 SPF_PASS SPF: sender matches SPF record", "Subject": "[LEDE-DEV] [PATCH v2 05/10] at91: Add SAMA5D27 SOM1 EK board", "X-BeenThere": "lede-dev@lists.infradead.org", "X-Mailman-Version": "2.1.21", "Precedence": "list", "List-Id": "<lede-dev.lists.infradead.org>", "List-Unsubscribe": "<http://lists.infradead.org/mailman/options/lede-dev>,\n\t<mailto:lede-dev-request@lists.infradead.org?subject=unsubscribe>", "List-Archive": "<http://lists.infradead.org/pipermail/lede-dev/>", "List-Post": "<mailto:lede-dev@lists.infradead.org>", "List-Help": "<mailto:lede-dev-request@lists.infradead.org?subject=help>", "List-Subscribe": "<http://lists.infradead.org/mailman/listinfo/lede-dev>,\n\t<mailto:lede-dev-request@lists.infradead.org?subject=subscribe>", "Content-Type": "text/plain; charset=\"us-ascii\"", "Content-Transfer-Encoding": "7bit", "Sender": "\"Lede-dev\" <lede-dev-bounces@lists.infradead.org>", "Errors-To": "lede-dev-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org" }, "content": "Add support for SAMA5D27 SOM1 with target device as at91-sama5d27_som1_ek\nin SAMA5 subtarget and build images for SAMA5D27 SOM1 Ek board.\n\nSigned-off-by: Sandeep Sheriker Mallikarjun <sandeepsheriker.mallikarjun@microchip.com>\n---\n package/boot/at91bootstrap/Makefile | 19 +-\n package/boot/uboot-at91/Makefile | 16 +-\n target/linux/at91/base-files/lib/at91.sh | 3 +\n target/linux/at91/image/sama5.mk | 18 +-\n ...4-ARM-at91-build-dtb-for-sama5d27-SOM1-Ek.patch | 908 +++++++++++++++++++++\n 5 files changed, 957 insertions(+), 7 deletions(-)\n create mode 100644 target/linux/at91/patches-4.9/104-ARM-at91-build-dtb-for-sama5d27-SOM1-Ek.patch", "diff": "diff --git a/package/boot/at91bootstrap/Makefile b/package/boot/at91bootstrap/Makefile\nindex 8a1ec5e..fbe44c4 100644\n--- a/package/boot/at91bootstrap/Makefile\n+++ b/package/boot/at91bootstrap/Makefile\n@@ -69,6 +69,21 @@ define AT91Bootstrap/sama5d4_xplainedsd_uboot_secure\n BUILD_DEVICES:=at91-sama5d4_xplained\n endef\n \n+define AT91Bootstrap/sama5d27_som1_eksd_uboot\n+ TITLE:=AT91Bootstrap for SAMA5D27 SOM1 Ek (SDcard0)\n+ BUILD_DEVICES:=at91-sama5d27_som1_ek\n+endef\n+\n+define AT91Bootstrap/sama5d27_som1_eksd1_uboot\n+ TITLE:=AT91Bootstrap for SAMA5D27 SOM1 Ek (SDcard1)\n+ BUILD_DEVICES:=at91-sama5d27_som1_ek\n+endef\n+\n+define AT91Bootstrap/sama5d27_som1_ekqspi_uboot\n+ TITLE:=AT91Bootstrap for SAMA5D27 SOM1 Ek (QSPI Flash)\n+ BUILD_DEVICES:=at91-sama5d27_som1_ek\n+endef\n+\n AT91BOOTSTRAP_TARGETS := \\\n sama5d2_xplaineddf_uboot \\\n sama5d2_xplaineddf_qspi_uboot \\\n@@ -77,7 +92,9 @@ AT91BOOTSTRAP_TARGETS := \\\n sama5d3_xplainedsd_uboot \\\n sama5d4_xplainednf_uboot_secure \\\n sama5d4_xplaineddf_uboot_secure \\\n- sama5d4_xplainedsd_uboot_secure\n+ sama5d4_xplainedsd_uboot_secure \\\n+\tsama5d27_som1_eksd_uboot \\\n+\tsama5d27_som1_ekqspi_uboot\n \n define Build/Compile\n \t+$(MAKE) $(PKG_JOBS) -C $(PKG_BUILD_DIR) \\\ndiff --git a/package/boot/uboot-at91/Makefile b/package/boot/uboot-at91/Makefile\nindex 27b113e..994201e 100644\n--- a/package/boot/uboot-at91/Makefile\n+++ b/package/boot/uboot-at91/Makefile\n@@ -79,6 +79,18 @@ define U-Boot/sama5d4_xplained_nandflash\n BUILD_DEVICES:=at91-sama5d4_xplained\n endef\n \n+define U-Boot/sama5d27_som1_ek_mmc\n+ NAME:=SAMA5D27 SOM1 Ek (SDCard)\n+ BUILD_SUBTARGET:=sama5\n+ BUILD_DEVICES:=at91-sama5d27_som1_ek\n+endef\n+\n+define U-Boot/sama5d27_som1_ek_spiflash\n+ NAME:=SAMA5D27 SOM1 Ek (QSPI Flash)\n+ BUILD_SUBTARGET:=sama5\n+ BUILD_DEVICES:=at91-sama5d27_som1_ek\n+endef\n+\n UBOOT_TARGETS := \\\n \tat91sam9m10g45ek_nandflash \\\n \tat91sam9x5ek_nandflash \\\n@@ -88,7 +100,9 @@ UBOOT_TARGETS := \\\n \tsama5d2_xplained_spiflash \\\n \tsama5d4_xplained_mmc \\\n \tsama5d4_xplained_spiflash \\\n-\tsama5d4_xplained_nandflash\n+\tsama5d4_xplained_nandflash\\\n+ sama5d27_som1_ek_mmc \\\n+ sama5d27_som1_ek_spiflash\n \n define Build/Compile\n +$(MAKE) $(PKG_JOBS) -C $(PKG_BUILD_DIR) \\\ndiff --git a/target/linux/at91/base-files/lib/at91.sh b/target/linux/at91/base-files/lib/at91.sh\nindex 61921ed..5d31b67 100755\n--- a/target/linux/at91/base-files/lib/at91.sh\n+++ b/target/linux/at91/base-files/lib/at91.sh\n@@ -43,6 +43,9 @@ at91_board_detect() {\n \t*\"SAMA5D3 Xplained\")\n \t\tname=\"sama5d3_xplained\"\n \t\t;;\n+\t*\"Atmel SAMA5D27 SOM1 EK\")\n+\t\tname=\"sama5d27_som1_ek\"\n+\t\t;;\n \t*\"SAMA5D2 Xplained\")\n \t\tname=\"sama5d2_xplained\"\n \t\t;;\ndiff --git a/target/linux/at91/image/sama5.mk b/target/linux/at91/image/sama5.mk\nindex b875888..5960f40 100644\n--- a/target/linux/at91/image/sama5.mk\n+++ b/target/linux/at91/image/sama5.mk\n@@ -11,15 +11,15 @@ define Build/at91-sdcard\n \n $(foreach dts,$(DEVICE_DTS), \\\n mcopy -i $@.boot $(DTS_DIR)/$(dts).dtb \\\n- ::$(dts).dtb;)\n+ ::$(dts).dtb)\n \n mcopy -i $@.boot \\\n $(BIN_DIR)/u-boot-$(DEVICE_NAME:at91-%=%)_mmc/u-boot.bin \\\n ::u-boot.bin\n \n- $(CP) $(BIN_DIR)/at91bootstrap-$(DEVICE_NAME:at91-%=%)sd*/at91bootstrap.bin \\\n- $@.BOOT.bin; \\\n- mcopy -i $@.boot $@.BOOT.bin ::BOOT.bin\n+ mcopy -i $@.boot \\\n+ $(BIN_DIR)/at91bootstrap-$(DEVICE_NAME:at91-%=%)sd*/at91bootstrap.bin \\\n+ ::BOOT.bin\n \n ./gen_at91_sdcard_img.sh \\\n $@.img \\\n@@ -30,7 +30,7 @@ define Build/at91-sdcard\n \n gzip -nc9 $@.img > $@\n \n- rm -f $@.img $@.boot $@.BOOT.bin\n+ rm -f $@.img $@.boot\n endef\n \n define Device/evaluation-sdimage\n@@ -73,6 +73,14 @@ define Device/at91-sama5d4_xplained\n endef\n TARGET_DEVICES += at91-sama5d4_xplained\n \n+define Device/at91-sama5d27_som1_ek\n+ $(Device/evaluation-dtb)\n+ DEVICE_TITLE := Microchip(Atmel AT91) SAMA5D27 SOM1 Ek\n+ KERNEL_SIZE := 6144k\n+ $(Device/evaluation-sdimage)\n+endef\n+TARGET_DEVICES += at91-sama5d27_som1_ek\n+\n ifeq ($(strip $(CONFIG_EXTERNAL_KERNEL_TREE)),\"\")\n ifeq ($(strip $(CONFIG_KERNEL_GIT_CLONE_URI)),\"\")\n define Device/wb50n\ndiff --git a/target/linux/at91/patches-4.9/104-ARM-at91-build-dtb-for-sama5d27-SOM1-Ek.patch b/target/linux/at91/patches-4.9/104-ARM-at91-build-dtb-for-sama5d27-SOM1-Ek.patch\nnew file mode 100644\nindex 0000000..1a3945e\n--- /dev/null\n+++ b/target/linux/at91/patches-4.9/104-ARM-at91-build-dtb-for-sama5d27-SOM1-Ek.patch\n@@ -0,0 +1,908 @@\n+diff --git a/Documentation/devicetree/bindings/pinctrl/atmel,at91-pio4-pinctrl.txt b/Documentation/devicetree/bindings/pinctrl/atmel,at91-pio4-pinctrl.txt\n+index 61ac757..9820227 100644\n+--- a/Documentation/devicetree/bindings/pinctrl/atmel,at91-pio4-pinctrl.txt\n++++ b/Documentation/devicetree/bindings/pinctrl/atmel,at91-pio4-pinctrl.txt\n+@@ -35,7 +35,12 @@ right representation of the pin.\n+ Optional properties:\n+ - GENERIC_PINCONFIG: generic pinconfig options to use, bias-disable,\n+ bias-pull-down, bias-pull-up, drive-open-drain, input-schmitt-enable,\n+-input-debounce, output-low, output-high.\n++input-debounce, output-low, output-high, drive-strength.\n++\n++Concerning the drive-strength property, the values accepted are\n++ATMEL_PIO_DRVSTR_LO, ATMEL_PIO_DRVSTR_ME, ATMEL_PIO_DRVSTR_HI. The current\n++depends on VDDIOP. You can find the details in the DC Characteristics table\n++from the datasheet.\n+\n+ Example:\n+\n+diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile\n+index 1218005..c88e426 100644\n+--- a/arch/arm/boot/dts/Makefile\n++++ b/arch/arm/boot/dts/Makefile\n+@@ -49,6 +49,7 @@ dtb-$(CONFIG_SOC_AT91SAM9) += \\\n+\twb45n.dtb\n+ dtb-$(CONFIG_SOC_SAM_V7) += \\\n+\tat91-kizbox2.dtb \\\n++\tat91-sama5d27_som1_ek.dtb \\\n+\tat91-sama5d2_xplained.dtb \\\n+\tat91-sama5d3_xplained.dtb \\\n+\tsama5d31ek.dtb \\\n+diff --git a/arch/arm/boot/dts/at91-sama5d27_som1.dtsi b/arch/arm/boot/dts/at91-sama5d27_som1.dtsi\n+new file mode 100644\n+index 0000000..7d7575f\n+--- /dev/null\n++++ b/arch/arm/boot/dts/at91-sama5d27_som1.dtsi\n+@@ -0,0 +1,175 @@\n++/*\n++ * at91-sama5d27_som1.dtsi - Device Tree file for SAMA5D27 SoM1 board\n++ *\n++ * Copyright (c) 2017, Microchip Technology Inc.\n++ * 2017 Cristian Birsan <cristian.birsan@microchip.com>\n++ * 2017 Claudiu Beznea <claudiu.beznea@microchip.com>\n++ *\n++ * This file is dual-licensed: you can use it either under the terms\n++ * of the GPL or the X11 license, at your option. Note that this dual\n++ * licensing only applies to this file, and not this project as a\n++ * whole.\n++ *\n++ * a) This file is free software; you can redistribute it and/or\n++ * modify it under the terms of the GNU General Public License as\n++ * published by the Free Software Foundation; either version 2 of the\n++ * License, or (at your option) any later version.\n++ *\n++ * This file is distributed in the hope that it will be useful,\n++ * but WITHOUT ANY WARRANTY; without even the implied warranty of\n++ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n++ * GNU General Public License for more details.\n++ *\n++ * Or, alternatively,\n++ *\n++ * b) Permission is hereby granted, free of charge, to any person\n++ * obtaining a copy of this software and associated documentation\n++ * files (the \"Software\"), to deal in the Software without\n++ * restriction, including without limitation the rights to use,\n++ * copy, modify, merge, publish, distribute, sublicense, and/or\n++ * sell copies of the Software, and to permit persons to whom the\n++ * Software is furnished to do so, subject to the following\n++ * conditions:\n++ *\n++ * The above copyright notice and this permission notice shall be\n++ * included in all copies or substantial portions of the Software.\n++ *\n++ * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n++ * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES\n++ * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\n++ * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT\n++ * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,\n++ * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING\n++ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR\n++ * OTHER DEALINGS IN THE SOFTWARE.\n++ */\n++#include \"sama5d2.dtsi\"\n++#include \"sama5d2-pinfunc.h\"\n++\n++/ {\n++\tmodel = \"Atmel SAMA5D27 SoM1\";\n++\tcompatible = \"atmel,sama5d27-som1\", \"atmel,sama5d27\", \"atmel,sama5d2\", \"atmel,sama5\";\n++\n++\tclocks {\n++\t\tslow_xtal {\n++\t\t\tclock-frequency = <32768>;\n++\t\t};\n++\n++\t\tmain_xtal {\n++\t\t\tclock-frequency = <24000000>;\n++\t\t};\n++\t};\n++\n++\tahb {\n++\t\tapb {\n++\t\t\tqspi1: spi@f0024000 {\n++\t\t\t\tpinctrl-names = \"default\";\n++\t\t\t\tpinctrl-0 = <&pinctrl_qspi1_default>;\n++\n++\t\t\t\tflash@0 {\n++\t\t\t\t\t#address-cells = <1>;\n++\t\t\t\t\t#size-cells = <1>;\n++\t\t\t\t\tcompatible = \"jedec,spi-nor\";\n++\t\t\t\t\treg = <0>;\n++\t\t\t\t\tspi-max-frequency = <80000000>;\n++\t\t\t\t\tm25p,fast-read;\n++\n++\t\t\t\t\tat91bootstrap@00000000 {\n++\t\t\t\t\t\tlabel = \"at91bootstrap\";\n++\t\t\t\t\t\treg = <0x00000000 0x00010000>;\n++\t\t\t\t\t};\n++\n++\t\t\t\t\tbootloader@00010000 {\n++\t\t\t\t\t\tlabel = \"bootloader\";\n++\t\t\t\t\t\treg = <0x00010000 0x000a0000>;\n++\t\t\t\t\t};\n++\n++\t\t\t\t\tbootloaderenv@000b0000 {\n++\t\t\t\t\t\tlabel = \"bootloader env\";\n++\t\t\t\t\t\treg = <0x000b0000 0x00010000>;\n++\t\t\t\t\t};\n++\n++\t\t\t\t\tdtb@000c0000 {\n++\t\t\t\t\t\tlabel = \"device tree\";\n++\t\t\t\t\t\treg = <0x000c0000 0x0020000>;\n++\t\t\t\t\t};\n++\n++\t\t\t\t\tkernel@000e0000 {\n++\t\t\t\t\t\tlabel = \"kernel\";\n++\t\t\t\t\t\treg = <0x000e0000 0x0400000>;\n++\t\t\t\t\t};\n++\t\t\t\t};\n++\t\t\t};\n++\n++\t\t\tmacb0: ethernet@f8008000 {\n++\t\t\t\tpinctrl-names = \"default\";\n++\t\t\t\tpinctrl-0 = <&pinctrl_macb0_default>;\n++\t\t\t\tphy-mode = \"rmii\";\n++\n++\t\t\t\tethernet-phy@0 {\n++\t\t\t\t\treg = <0x0>;\n++\t\t\t\t\tinterrupt-parent = <&pioA>;\n++\t\t\t\t\tinterrupts = <PIN_PD31 IRQ_TYPE_LEVEL_LOW>;\n++\t\t\t\t\tpinctrl-names = \"default\";\n++\t\t\t\t\tpinctrl-0 = <&pinctrl_macb0_phy_irq>;\n++\t\t\t\t};\n++\t\t\t};\n++\n++\t\t\ti2c0: i2c@f8028000 {\n++\t\t\t\tdmas = <0>, <0>;\n++\t\t\t\tpinctrl-names = \"default\";\n++\t\t\t\tpinctrl-0 = <&pinctrl_i2c0_default>;\n++\t\t\t\tstatus = \"okay\";\n++\n++\t\t\t\tat24@50 {\n++\t\t\t\t\tcompatible = \"24c02\";\n++\t\t\t\t\treg = <0x50>;\n++\t\t\t\t\tpagesize = <8>;\n++\t\t\t\t};\n++\t\t\t};\n++\n++\t\t\tpinctrl@fc038000 {\n++\t\t\t\tpinctrl_i2c0_default: i2c0_default {\n++\t\t\t\t\tpinmux = <PIN_PD21__TWD0>,\n++\t\t\t\t\t\t <PIN_PD22__TWCK0>;\n++\t\t\t\t\tbias-disable;\n++\t\t\t\t};\n++\n++\t\t\t\tpinctrl_qspi1_default: qspi1_default {\n++\t\t\t\t\tsck_cs {\n++\t\t\t\t\t\tpinmux = <PIN_PB5__QSPI1_SCK>,\n++\t\t\t\t\t\t\t <PIN_PB6__QSPI1_CS>;\n++\t\t\t\t\t\tbias-disable;\n++\t\t\t\t\t};\n++\n++\t\t\t\t\tdata {\n++\t\t\t\t\t\tpinmux = <PIN_PB7__QSPI1_IO0>,\n++\t\t\t\t\t\t\t <PIN_PB8__QSPI1_IO1>,\n++\t\t\t\t\t\t\t <PIN_PB9__QSPI1_IO2>,\n++\t\t\t\t\t\t\t <PIN_PB10__QSPI1_IO3>;\n++\t\t\t\t\t\tbias-pull-up;\n++\t\t\t\t\t};\n++\t\t\t\t};\n++\n++\t\t\t\tpinctrl_macb0_default: macb0_default {\n++\t\t\t\t\tpinmux = <PIN_PD9__GTXCK>,\n++\t\t\t\t\t\t <PIN_PD10__GTXEN>,\n++\t\t\t\t\t\t <PIN_PD11__GRXDV>,\n++\t\t\t\t\t\t <PIN_PD12__GRXER>,\n++\t\t\t\t\t\t <PIN_PD13__GRX0>,\n++\t\t\t\t\t\t <PIN_PD14__GRX1>,\n++\t\t\t\t\t\t <PIN_PD15__GTX0>,\n++\t\t\t\t\t\t <PIN_PD16__GTX1>,\n++\t\t\t\t\t\t <PIN_PD17__GMDC>,\n++\t\t\t\t\t\t <PIN_PD18__GMDIO>;\n++\t\t\t\t\tbias-disable;\n++\t\t\t\t};\n++\n++\t\t\t\tpinctrl_macb0_phy_irq: macb0_phy_irq {\n++\t\t\t\t\tpinmux = <PIN_PD31__GPIO>;\n++\t\t\t\t\tbias-disable;\n++\t\t\t\t};\n++\t\t\t};\n++\t\t};\n++\t};\n++};\n+diff --git a/arch/arm/boot/dts/at91-sama5d27_som1_ek.dts b/arch/arm/boot/dts/at91-sama5d27_som1_ek.dts\n+new file mode 100644\n+index 0000000..fd12b68\n+--- /dev/null\n++++ b/arch/arm/boot/dts/at91-sama5d27_som1_ek.dts\n+@@ -0,0 +1,53 @@\n++/*\n++ * at91-sama5d27_som1_ek.dts - Device Tree file for SAMA5D27-SOM1-EK board\n++ *\n++ * Copyright (c) 2017, Microchip Technology Inc.\n++ * 2016 Nicolas Ferre <nicolas.ferre@atmel.com>\n++ * 2017 Cristian Birsan <cristian.birsan@microchip.com>\n++ * 2017 Claudiu Beznea <claudiu.beznea@microchip.com>\n++ *\n++ * This file is dual-licensed: you can use it either under the terms\n++ * of the GPL or the X11 license, at your option. Note that this dual\n++ * licensing only applies to this file, and not this project as a\n++ * whole.\n++ *\n++ * a) This file is free software; you can redistribute it and/or\n++ * modify it under the terms of the GNU General Public License as\n++ * published by the Free Software Foundation; either version 2 of the\n++ * License, or (at your option) any later version.\n++ *\n++ * This file is distributed in the hope that it will be useful,\n++ * but WITHOUT ANY WARRANTY; without even the implied warranty of\n++ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n++ * GNU General Public License for more details.\n++ *\n++ * Or, alternatively,\n++ *\n++ * b) Permission is hereby granted, free of charge, to any person\n++ * obtaining a copy of this software and associated documentation\n++ * files (the \"Software\"), to deal in the Software without\n++ * restriction, including without limitation the rights to use,\n++ * copy, modify, merge, publish, distribute, sublicense, and/or\n++ * sell copies of the Software, and to permit persons to whom the\n++ * Software is furnished to do so, subject to the following\n++ * conditions:\n++ *\n++ * The above copyright notice and this permission notice shall be\n++ * included in all copies or substantial portions of the Software.\n++ *\n++ * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n++ * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES\n++ * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\n++ * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT\n++ * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,\n++ * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING\n++ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR\n++ * OTHER DEALINGS IN THE SOFTWARE.\n++ */\n++/dts-v1/;\n++#include \"at91-sama5d27_som1_ek_common.dtsi\"\n++\n++/ {\n++\tmodel = \"Atmel SAMA5D27 SOM1 EK\";\n++\tcompatible = \"atmel,sama5d27-som1-ek\", \"atmel,sama5d27-som1\", \"atmel,sama5d27\", \"atmel,sama5d2\", \"atmel,sama5\";\n++};\n+diff --git a/arch/arm/boot/dts/at91-sama5d27_som1_ek_common.dtsi b/arch/arm/boot/dts/at91-sama5d27_som1_ek_common.dtsi\n+new file mode 100644\n+index 0000000..7201a8e\n+--- /dev/null\n++++ b/arch/arm/boot/dts/at91-sama5d27_som1_ek_common.dtsi\n+@@ -0,0 +1,619 @@\n++/*\n++ * at91-sama5d27_som1_ek_common.dtsi - Device Tree file for SAMA5D27-SOM1-EK board\n++ *\n++ * Copyright (c) 2017, Microchip Technology Inc.\n++ * 2016 Nicolas Ferre <nicolas.ferre@atmel.com>\n++ * 2017 Cristian Birsan <cristian.birsan@microchip.com>\n++ * 2017 Claudiu Beznea <claudiu.beznea@microchip.com>\n++ *\n++ * This file is dual-licensed: you can use it either under the terms\n++ * of the GPL or the X11 license, at your option. Note that this dual\n++ * licensing only applies to this file, and not this project as a\n++ * whole.\n++ *\n++ * a) This file is free software; you can redistribute it and/or\n++ * modify it under the terms of the GNU General Public License as\n++ * published by the Free Software Foundation; either version 2 of the\n++ * License, or (at your option) any later version.\n++ *\n++ * This file is distributed in the hope that it will be useful,\n++ * but WITHOUT ANY WARRANTY; without even the implied warranty of\n++ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n++ * GNU General Public License for more details.\n++ *\n++ * Or, alternatively,\n++ *\n++ * b) Permission is hereby granted, free of charge, to any person\n++ * obtaining a copy of this software and associated documentation\n++ * files (the \"Software\"), to deal in the Software without\n++ * restriction, including without limitation the rights to use,\n++ * copy, modify, merge, publish, distribute, sublicense, and/or\n++ * sell copies of the Software, and to permit persons to whom the\n++ * Software is furnished to do so, subject to the following\n++ * conditions:\n++ *\n++ * The above copyright notice and this permission notice shall be\n++ * included in all copies or substantial portions of the Software.\n++ *\n++ * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n++ * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES\n++ * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\n++ * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT\n++ * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,\n++ * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING\n++ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR\n++ * OTHER DEALINGS IN THE SOFTWARE.\n++ */\n++#include \"at91-sama5d27_som1.dtsi\"\n++#include <dt-bindings/mfd/atmel-flexcom.h>\n++#include <dt-bindings/gpio/gpio.h>\n++#include <dt-bindings/pinctrl/at91.h>\n++\n++/ {\n++\tmodel = \"Atmel SAMA5D27 SOM1 EK\";\n++\tcompatible = \"atmel,sama5d27-som1-ek\", \"atmel,sama5d27-som1\", \"atmel,sama5d27\", \"atmel,sama5d2\", \"atmel,sama5\";\n++\n++\taliases {\n++\t\tserial0 = &uart1;\t/* DBGU */\n++\t\tserial1 = &uart4;\t/* mikro BUS 1 */\n++\t\tserial2 = &uart2;\t/* mikro BUS 2 */\n++\t\ti2c1\t= &i2c1;\n++\t\ti2c2\t= &i2c2;\n++\t};\n++\n++\tchosen {\n++\t\tstdout-path = \"serial0:115200n8\";\n++\t};\n++\n++\tahb {\n++\t\tusb0: gadget@00300000 {\n++\t\t\tatmel,vbus-gpio = <&pioA PIN_PD20 GPIO_ACTIVE_HIGH>;\n++\t\t\tpinctrl-names = \"default\";\n++\t\t\tpinctrl-0 = <&pinctrl_usba_vbus>;\n++\t\t\tstatus = \"okay\";\n++\t\t};\n++\n++\t\tusb1: ohci@00400000 {\n++\t\t\tnum-ports = <3>;\n++\t\t\tatmel,vbus-gpio = <0 /* &pioA PIN_PD20 GPIO_ACTIVE_HIGH */\n++\t\t\t\t\t &pioA PIN_PA27 GPIO_ACTIVE_HIGH\n++\t\t\t\t\t 0\n++\t\t\t\t\t >;\n++\t\t\tpinctrl-names = \"default\";\n++\t\t\tpinctrl-0 = <&pinctrl_usb_default>;\n++\t\t\tstatus = \"okay\";\n++\t\t};\n++\n++\t\tusb2: ehci@00500000 {\n++\t\t\tstatus = \"okay\";\n++\t\t};\n++\n++\t\tsdmmc0: sdio-host@a0000000 {\n++\t\t\tbus-width = <8>;\n++\t\t\tpinctrl-names = \"default\";\n++\t\t\tpinctrl-0 = <&pinctrl_sdmmc0_default>;\n++\t\t\tstatus = \"okay\";\n++\t\t};\n++\n++\t\tsdmmc1: sdio-host@b0000000 {\n++\t\t\tbus-width = <4>;\n++\t\t\tpinctrl-names = \"default\";\n++\t\t\tpinctrl-0 = <&pinctrl_sdmmc1_default>;\n++\t\t\tstatus = \"okay\";\n++\t\t};\n++\n++\t\tapb {\n++\t\t\thlcdc: hlcdc@f0000000 {\n++\t\t\t\tstatus = \"disabled\";\n++\n++\t\t\t\thlcdc-display-controller {\n++\t\t\t\t\tpinctrl-names = \"default\";\n++\t\t\t\t\tpinctrl-0 = <&pinctrl_lcd_base &pinctrl_lcd_rgb>;\n++\t\t\t\t};\n++\n++\t\t\t\thlcdc_pwm: hlcdc-pwm {\n++\t\t\t\t\tpinctrl-names = \"default\";\n++\t\t\t\t\tpinctrl-0 = <&pinctrl_lcd_pwm>;\n++\t\t\t\t};\n++\t\t\t};\n++\n++\t\t\tpmc: pmc@f0014000 {\n++\t\t\t\tpmc_fast_restart {\n++\t\t\t\t\tcompatible = \"atmel,sama5d2-pmc-fast-startup\";\n++\t\t\t\t\t#address-cells = <1>;\n++\t\t\t\t\t#size-cells = <0>;\n++\n++\t\t\t\t\tatmel,wakeup-rtc-timer;\n++\n++\t\t\t\t\twkpin: input@0 {\n++\t\t\t\t\t\treg = <0>;\n++\t\t\t\t\t};\n++\n++\t\t\t\t\tgmac_wol: input@10 {\n++\t\t\t\t\t\treg = <10>;\n++\t\t\t\t\t\tatmel,wakeup-active-high;\n++\t\t\t\t\t};\n++\t\t\t\t};\n++\t\t\t};\n++\n++\t\t\tisc: isc@f0008000 {\n++\t\t\t\tpinctrl-names = \"default\";\n++\t\t\t\tpinctrl-0 = <&pinctrl_isc_base &pinctrl_isc_data_8bit &pinctrl_isc_data_9_10 &pinctrl_isc_data_11_12>;\n++\t\t\t\tstatus = \"okay\";\n++\t\t\t};\n++\n++\t\t\tqspi1: spi@f0024000 {\n++\t\t\t\tstatus = \"okay\";\n++\t\t\t};\n++\n++\t\t\tspi0: spi@f8000000 {\n++\t\t\t\tpinctrl-names = \"default\";\n++\t\t\t\tpinctrl-0 = <&pinctrl_spi0_default>;\n++\t\t\t\tstatus = \"okay\";\n++\t\t\t};\n++\n++\t\t\tmacb0: ethernet@f8008000 {\n++\t\t\t\tstatus = \"okay\";\n++\t\t\t};\n++\n++\t\t\tuart1: serial@f8020000 {\n++\t\t\t\tpinctrl-names = \"default\";\n++\t\t\t\tpinctrl-0 = <&pinctrl_uart1_default>;\n++\t\t\t\tatmel,use-dma-rx;\n++\t\t\t\tatmel,use-dma-tx;\n++\t\t\t\tstatus = \"okay\";\n++\t\t\t};\n++\n++\t\t\tuart2: serial@f8024000 {\n++\t\t\t\tpinctrl-names = \"default\";\n++\t\t\t\tpinctrl-0 = <&pinctrl_mikrobus2_uart>;\n++\t\t\t\tatmel,use-dma-rx;\n++\t\t\t\tatmel,use-dma-tx;\n++\t\t\t\tstatus = \"okay\";\n++\t\t\t};\n++\n++\t\t\tpwm0: pwm@f802c000 {\n++\t\t\t\tpinctrl-names = \"default\";\n++\t\t\t\tpinctrl-0 = <&pinctrl_mikrobus1_pwm &pinctrl_mikrobus2_pwm>;\n++\t\t\t\tstatus = \"disabled\"; /* Conflict with leds. */\n++\t\t\t};\n++\n++\t\t\tflx1: flexcom@f8038000 {\n++\t\t\t\tatmel,flexcom-mode = <ATMEL_FLEXCOM_MODE_TWI>;\n++\t\t\t\tstatus = \"okay\";\n++\n++\t\t\t\ti2c2: i2c@600 {\n++\t\t\t\t\tcompatible = \"atmel,sama5d2-i2c\";\n++\t\t\t\t\treg = <0x600 0x200>;\n++\t\t\t\t\tinterrupts = <20 IRQ_TYPE_LEVEL_HIGH 7>;\n++\t\t\t\t\tdmas = <0>, <0>;\n++\t\t\t\t\tdma-names = \"tx\", \"rx\";\n++\t\t\t\t\t#address-cells = <1>;\n++\t\t\t\t\t#size-cells = <0>;\n++\t\t\t\t\tclocks = <&flx1_clk>;\n++\t\t\t\t\tpinctrl-names = \"default\";\n++\t\t\t\t\tpinctrl-0 = <&pinctrl_mikrobus_i2c>;\n++\t\t\t\t\tatmel,fifo-size = <16>;\n++\t\t\t\t\tstatus = \"okay\";\n++\t\t\t\t};\n++\t\t\t};\n++\n++\t\t\tshdwc@f8048010 {\n++\t\t\t\tatmel,shdwc-debouncer = <976>;\n++\t\t\t\tatmel,wakeup-rtc-timer;\n++\n++\t\t\t\tinput@0 {\n++\t\t\t\t\treg = <0>;\n++\t\t\t\t\tatmel,wakeup-type = \"low\";\n++\t\t\t\t};\n++\t\t\t};\n++\n++\t\t\twatchdog@f8048040 {\n++\t\t\t\tstatus = \"okay\";\n++\t\t\t};\n++\n++\t\t\tuart3: serial@fc008000 {\n++\t\t\t\tatmel,use-dma-rx;\n++\t\t\t\tatmel,use-dma-tx;\n++\t\t\t\tpinctrl-names = \"default\";\n++\t\t\t\tpinctrl-0 = <&pinctrl_uart3_default>;\n++\t\t\t\tstatus = \"disabled\"; /* Conflict with isc. */\n++\t\t\t};\n++\n++\t\t\tuart4: serial@fc00c000 {\n++\t\t\t\tatmel,use-dma-rx;\n++\t\t\t\tatmel,use-dma-tx;\n++\t\t\t\tpinctrl-names = \"default\";\n++\t\t\t\tpinctrl-0 = <&pinctrl_mikrobus1_uart>;\n++\t\t\t\tstatus = \"okay\";\n++\t\t\t};\n++\n++\t\t\tflx3: flexcom@fc014000 {\n++\t\t\t\tatmel,flexcom-mode = <ATMEL_FLEXCOM_MODE_SPI>;\n++\t\t\t\tstatus = \"disabled\";\n++\n++\t\t\t\tuart7: serial@200 {\n++\t\t\t\t\tcompatible = \"atmel,at91sam9260-usart\";\n++\t\t\t\t\treg = <0x200 0x200>;\n++\t\t\t\t\tinterrupts = <22 IRQ_TYPE_LEVEL_HIGH 7>;\n++\t\t\t\t\tclocks = <&flx3_clk>;\n++\t\t\t\t\tclock-names = \"usart\";\n++\t\t\t\t\tpinctrl-names = \"default\";\n++\t\t\t\t\tpinctrl-0 = <&pinctrl_flx3_default>;\n++\t\t\t\t\tatmel,fifo-size = <32>;\n++\t\t\t\t\tstatus = \"disabled\"; /* Conflict with isc. */\n++\t\t\t\t};\n++\n++\t\t\t\tspi2: spi@400 {\n++\t\t\t\t\tcompatible = \"atmel,at91rm9200-spi\";\n++\t\t\t\t\treg = <0x400 0x200>;\n++\t\t\t\t\tinterrupts = <22 IRQ_TYPE_LEVEL_HIGH 7>;\n++\t\t\t\t\tclocks = <&flx3_clk>;\n++\t\t\t\t\tclock-names = \"spi_clk\";\n++\t\t\t\t\tpinctrl-names = \"default\";\n++\t\t\t\t\tpinctrl-0 = <&pinctrl_flx3_default>;\n++\t\t\t\t\tatmel,fifo-size = <16>;\n++\t\t\t\t\tstatus = \"disabled\"; /* Conflict with isc. */\n++\t\t\t\t};\n++\t\t\t};\n++\n++\t\t\tflx4: flexcom@fc018000 {\n++\t\t\t\tatmel,flexcom-mode = <ATMEL_FLEXCOM_MODE_SPI>;\n++\t\t\t\tstatus = \"okay\";\n++\n++\t\t\t\tuart6: serial@200 {\n++\t\t\t\t\tcompatible = \"atmel,at91sam9260-usart\";\n++\t\t\t\t\treg = <0x200 0x200>;\n++\t\t\t\t\tinterrupts = <23 IRQ_TYPE_LEVEL_HIGH 7>;\n++\t\t\t\t\tclocks = <&flx4_clk>;\n++\t\t\t\t\tclock-names = \"usart\";\n++\t\t\t\t\tpinctrl-names = \"default\";\n++\t\t\t\t\tpinctrl-0 = <&pinctrl_flx4_default>;\n++\t\t\t\t\tatmel,fifo-size = <32>;\n++\t\t\t\t\tstatus = \"disabled\"; /* Conflict with spi3 and i2c3. */\n++\t\t\t\t};\n++\n++\t\t\t\tspi3: spi@400 {\n++\t\t\t\t\tcompatible = \"atmel,at91rm9200-spi\";\n++\t\t\t\t\treg = <0x400 0x200>;\n++\t\t\t\t\tinterrupts = <23 IRQ_TYPE_LEVEL_HIGH 7>;\n++\t\t\t\t\tclocks = <&flx4_clk>;\n++\t\t\t\t\tclock-names = \"spi_clk\";\n++\t\t\t\t\tpinctrl-names = \"default\";\n++\t\t\t\t\tpinctrl-0 = <&pinctrl_mikrobus_spi &pinctrl_mikrobus1_spi_cs &pinctrl_mikrobus2_spi_cs>;\n++\t\t\t\t\tatmel,fifo-size = <16>;\n++\t\t\t\t\tstatus = \"okay\";\n++\t\t\t\t};\n++\n++\t\t\t\ti2c3: i2c@600 {\n++\t\t\t\t\tcompatible = \"atmel,sama5d2-i2c\";\n++\t\t\t\t\treg = <0x600 0x200>;\n++\t\t\t\t\tinterrupts = <23 IRQ_TYPE_LEVEL_HIGH 7>;\n++\t\t\t\t\tdmas = <0>, <0>;\n++\t\t\t\t\tdma-names = \"tx\", \"rx\";\n++\t\t\t\t\t#address-cells = <1>;\n++\t\t\t\t\t#size-cells = <0>;\n++\t\t\t\t\tclocks = <&flx4_clk>;\n++\t\t\t\t\tpinctrl-names = \"default\";\n++\t\t\t\t\tpinctrl-0 = <&pinctrl_flx4_default>;\n++\t\t\t\t\tatmel,fifo-size = <16>;\n++\t\t\t\t\tstatus = \"disabled\"; /* Conflict with uart6 and spi3. */\n++\t\t\t\t};\n++\t\t\t};\n++\n++\t\t\ti2c1: i2c@fc028000 {\n++\t\t\t\tdmas = <0>, <0>;\n++\t\t\t\tpinctrl-names = \"default\";\n++\t\t\t\tpinctrl-0 = <&pinctrl_i2c1_default>;\n++\t\t\t\tstatus = \"okay\";\n++\t\t\t};\n++\n++\t\t\tpinctrl@fc038000 {\n++\n++\t\t\t\tpinctrl_lcd_base: pinctrl_lcd_base {\n++\t\t\t\t\tpinmux = <PIN_PC5__LCDVSYNC>,\n++\t\t\t\t\t\t <PIN_PC6__LCDHSYNC>,\n++\t\t\t\t\t\t <PIN_PC8__LCDDEN>,\n++\t\t\t\t\t\t <PIN_PC7__LCDPCK>;\n++\t\t\t\t\tbias-disable;\n++\t\t\t\t\tdrive-strength = <ATMEL_PIO_DRVSTR_ME>;\n++\t\t\t\t};\n++\n++\t\t\t\tpinctrl_lcd_rgb: pinctrl_lcd_rgb {\n++\t\t\t\t\tpinmux = <PIN_PB11__LCDDAT0>,\n++\t\t\t\t\t\t <PIN_PB12__LCDDAT1>,\n++\t\t\t\t\t\t <PIN_PB13__LCDDAT2>,\n++\t\t\t\t\t\t <PIN_PB14__LCDDAT3>,\n++\t\t\t\t\t\t <PIN_PB15__LCDDAT4>,\n++\t\t\t\t\t\t <PIN_PB16__LCDDAT5>,\n++\t\t\t\t\t\t <PIN_PB17__LCDDAT6>,\n++\t\t\t\t\t\t <PIN_PB18__LCDDAT7>,\n++\t\t\t\t\t\t <PIN_PB19__LCDDAT8>,\n++\t\t\t\t\t\t <PIN_PB20__LCDDAT9>,\n++\t\t\t\t\t\t <PIN_PB21__LCDDAT10>,\n++\t\t\t\t\t\t <PIN_PB22__LCDDAT11>,\n++\t\t\t\t\t\t <PIN_PB23__LCDDAT12>,\n++\t\t\t\t\t\t <PIN_PB24__LCDDAT13>,\n++\t\t\t\t\t\t <PIN_PB25__LCDDAT14>,\n++\t\t\t\t\t\t <PIN_PB26__LCDDAT15>,\n++\t\t\t\t\t\t <PIN_PB27__LCDDAT16>,\n++\t\t\t\t\t\t <PIN_PB28__LCDDAT17>,\n++\t\t\t\t\t\t <PIN_PB29__LCDDAT18>,\n++\t\t\t\t\t\t <PIN_PB30__LCDDAT19>,\n++\t\t\t\t\t\t <PIN_PB31__LCDDAT20>,\n++\t\t\t\t\t\t <PIN_PC0__LCDDAT21>,\n++\t\t\t\t\t\t <PIN_PC1__LCDDAT22>,\n++\t\t\t\t\t\t <PIN_PC2__LCDDAT23>;\n++\t\t\t\t\tbias-disable;\n++\t\t\t\t};\n++\n++\t\t\t\tpinctrl_lcd_pwm: pinctrl_lcd_pwm {\n++\t\t\t\t\tpinmux = <PIN_PC3__LCDPWM>;\n++\t\t\t\t\tbias-disable;\n++\t\t\t\t};\n++\n++\t\t\t\tpinctrl_can1_default: can1_default {\n++\t\t\t\t\tpinmux = <PIN_PC26__CANTX1>,\n++\t\t\t\t\t\t <PIN_PC27__CANRX1>;\n++\t\t\t\t\tbias-disable;\n++\t\t\t\t};\n++\n++\t\t\t\tpinctrl_flx3_default: flx3_default {\n++\t\t\t\t\tpinmux = <PIN_PC20__FLEXCOM3_IO0>,\n++\t\t\t\t\t\t <PIN_PC19__FLEXCOM3_IO1>,\n++\t\t\t\t\t\t <PIN_PC18__FLEXCOM3_IO2>,\n++\t\t\t\t\t\t <PIN_PC21__FLEXCOM3_IO3>,\n++\t\t\t\t\t\t <PIN_PC22__FLEXCOM3_IO4>;\n++\t\t\t\t\tbias-disable;\n++\t\t\t\t};\n++\n++\t\t\t\tpinctrl_i2c1_default: i2c1_default {\n++\t\t\t\t\tpinmux = <PIN_PD4__TWD1>,\n++\t\t\t\t\t\t <PIN_PD5__TWCK1>;\n++\t\t\t\t\tbias-disable;\n++\t\t\t\t};\n++\n++\t\t\t\tpinctrl_isc_base: isc_base {\n++\t\t\t\t\tpinmux = <PIN_PC21__ISC_PCK>,\n++\t\t\t\t\t\t <PIN_PC22__ISC_VSYNC>,\n++\t\t\t\t\t\t <PIN_PC23__ISC_HSYNC>,\n++\t\t\t\t\t\t <PIN_PC24__ISC_MCK>;\n++\t\t\t\t\tbias-disable;\n++\t\t\t\t};\n++\n++\t\t\t\tpinctrl_isc_data_8bit: isc_data_8bit {\n++\t\t\t\t\tpinmux = <PIN_PC20__ISC_D11>,\n++\t\t\t\t\t\t <PIN_PC19__ISC_D10>,\n++\t\t\t\t\t\t <PIN_PC18__ISC_D9>,\n++\t\t\t\t\t\t <PIN_PC17__ISC_D8>,\n++\t\t\t\t\t\t <PIN_PC16__ISC_D7>,\n++\t\t\t\t\t\t <PIN_PC15__ISC_D6>,\n++\t\t\t\t\t\t <PIN_PC14__ISC_D5>,\n++\t\t\t\t\t\t <PIN_PC13__ISC_D4>;\n++\t\t\t\t\tbias-disable;\n++\t\t\t\t};\n++\n++\t\t\t\tpinctrl_isc_data_9_10: isc_data_9_10 {\n++\t\t\t\t\tpinmux = <PIN_PC12__ISC_D3>,\n++\t\t\t\t\t\t <PIN_PC11__ISC_D2>;\n++\t\t\t\t\tbias-disable;\n++\t\t\t\t};\n++\n++\t\t\t\tpinctrl_isc_data_11_12: isc_data_11_12 {\n++\t\t\t\t\tpinmux = <PIN_PC10__ISC_D1>,\n++\t\t\t\t\t\t <PIN_PC9__ISC_D0>;\n++\t\t\t\t\tbias-disable;\n++\t\t\t\t};\n++\n++\t\t\t\tpinctrl_key_gpio_default: key_gpio_default {\n++\t\t\t\t\tpinmux = <PIN_PA29__GPIO>;\n++\t\t\t\t\tbias-pull-up;\n++\t\t\t\t};\n++\n++\t\t\t\tpinctrl_led_gpio_default: led_gpio_default {\n++\t\t\t\t\tpinmux = <PIN_PA10__GPIO>,\n++\t\t\t\t\t\t <PIN_PB1__GPIO>,\n++\t\t\t\t\t\t <PIN_PA31__GPIO>;\n++\t\t\t\t\tbias-pull-up;\n++\t\t\t\t};\n++\n++\t\t\t\tpinctrl_sdmmc0_default: sdmmc0_default {\n++\t\t\t\t\tcmd_data {\n++\t\t\t\t\t\tpinmux = <PIN_PA1__SDMMC0_CMD>,\n++\t\t\t\t\t\t\t <PIN_PA2__SDMMC0_DAT0>,\n++\t\t\t\t\t\t\t <PIN_PA3__SDMMC0_DAT1>,\n++\t\t\t\t\t\t\t <PIN_PA4__SDMMC0_DAT2>,\n++\t\t\t\t\t\t\t <PIN_PA5__SDMMC0_DAT3>,\n++\t\t\t\t\t\t\t <PIN_PA6__SDMMC0_DAT4>,\n++\t\t\t\t\t\t\t <PIN_PA7__SDMMC0_DAT5>,\n++\t\t\t\t\t\t\t <PIN_PA8__SDMMC0_DAT6>,\n++\t\t\t\t\t\t\t <PIN_PA9__SDMMC0_DAT7>;\n++\t\t\t\t\t\tbias-disable;\n++\t\t\t\t\t};\n++\n++\t\t\t\t\tck_cd_vddsel {\n++\t\t\t\t\t\tpinmux = <PIN_PA0__SDMMC0_CK>,\n++\t\t\t\t\t\t\t <PIN_PA11__SDMMC0_VDDSEL>,\n++\t\t\t\t\t\t\t <PIN_PA13__SDMMC0_CD>;\n++\t\t\t\t\t\tbias-disable;\n++\t\t\t\t\t};\n++\t\t\t\t};\n++\n++\t\t\t\tpinctrl_sdmmc1_default: sdmmc1_default {\n++\t\t\t\t\tcmd_data {\n++\t\t\t\t\t\tpinmux = <PIN_PA28__SDMMC1_CMD>,\n++\t\t\t\t\t\t\t <PIN_PA18__SDMMC1_DAT0>,\n++\t\t\t\t\t\t\t <PIN_PA19__SDMMC1_DAT1>,\n++\t\t\t\t\t\t\t <PIN_PA20__SDMMC1_DAT2>,\n++\t\t\t\t\t\t\t <PIN_PA21__SDMMC1_DAT3>;\n++\t\t\t\t\t\tbias-disable;\n++\t\t\t\t\t};\n++\n++\t\t\t\t\tconf-ck_cd {\n++\t\t\t\t\t\tpinmux = <PIN_PA22__SDMMC1_CK>,\n++\t\t\t\t\t\t\t <PIN_PA30__SDMMC1_CD>;\n++\t\t\t\t\t\tbias-disable;\n++\t\t\t\t\t};\n++\t\t\t\t};\n++\n++\t\t\t\tpinctrl_spi0_default: spi0_default {\n++\t\t\t\t\tpinmux = <PIN_PA14__SPI0_SPCK>,\n++\t\t\t\t\t\t <PIN_PA15__SPI0_MOSI>,\n++\t\t\t\t\t\t <PIN_PA16__SPI0_MISO>,\n++\t\t\t\t\t\t <PIN_PA17__SPI0_NPCS0>;\n++\t\t\t\t\tbias-disable;\n++\t\t\t\t};\n++\n++\t\t\t\tpinctrl_uart1_default: uart1_default {\n++\t\t\t\t\tpinmux = <PIN_PD2__URXD1>,\n++\t\t\t\t\t\t <PIN_PD3__UTXD1>;\n++\t\t\t\t\tbias-disable;\n++\t\t\t\t};\n++\n++\t\t\t\tpinctrl_uart3_default: uart3_default {\n++\t\t\t\t\tpinmux = <PIN_PC12__URXD3>,\n++\t\t\t\t\t\t <PIN_PC13__UTXD3>;\n++\t\t\t\t\tbias-disable;\n++\t\t\t\t};\n++\n++\t\t\t\tpinctrl_usb_default: usb_default {\n++\t\t\t\t\tpinmux = <PIN_PA27__GPIO>,\n++\t\t\t\t\t\t <PIN_PD19__GPIO>;\n++\t\t\t\t\tbias-disable;\n++\t\t\t\t};\n++\n++\t\t\t\tpinctrl_usba_vbus: usba_vbus {\n++\t\t\t\t\tpinmux = <PIN_PD20__GPIO>;\n++\t\t\t\t\tbias-disable;\n++\t\t\t\t};\n++\n++\t\t\t\tpinctrl_mikrobus1_an: mikrobus1_an {\n++\t\t\t\t\tpinmux = <PIN_PD25__GPIO>;\n++\t\t\t\t\tbias-disable;\n++\t\t\t\t};\n++\n++\t\t\t\tpinctrl_mikrobus2_an: mikrobus2_an {\n++\t\t\t\t\tpinmux = <PIN_PD26__GPIO>;\n++\t\t\t\t\tbias-disable;\n++\t\t\t\t};\n++\n++\t\t\t\tpinctrl_mikrobus1_rst: mikrobus1_rst {\n++\t\t\t\t\tpinmux = <PIN_PB2__GPIO>;\n++\t\t\t\t\tbias-disable;\n++\t\t\t\t};\n++\n++\t\t\t\tpinctrl_mikrobus2_rst: mikrobus2_rst {\n++\t\t\t\t\tpinmux = <PIN_PA26__GPIO>;\n++\t\t\t\t\tbias-disable;\n++\t\t\t\t};\n++\n++\t\t\t\tpinctrl_mikrobus1_spi_cs: mikrobus1_spi_cs {\n++\t\t\t\t\tpinmux = <PIN_PD0__FLEXCOM4_IO4>;\n++\t\t\t\t\tbias-disable;\n++\t\t\t\t};\n++\n++\t\t\t\tpinctrl_mikrobus2_spi_cs: mikrobus2_spi_cs {\n++\t\t\t\t\tpinmux = <PIN_PC31__FLEXCOM4_IO3>;\n++\t\t\t\t\tbias-disable;\n++\t\t\t\t};\n++\n++\t\t\t\tpinctrl_mikrobus_spi: mikrobus_spi {\n++\t\t\t\t\tpinmux = <PIN_PC28__FLEXCOM4_IO0>,\n++\t\t\t\t\t\t <PIN_PC29__FLEXCOM4_IO1>,\n++\t\t\t\t\t\t <PIN_PC30__FLEXCOM4_IO2>;\n++\t\t\t\t\tbias-disable;\n++\t\t\t\t};\n++\n++\t\t\t\tpinctrl_mikrobus1_pwm: mikrobus1_pwm {\n++\t\t\t\t\tpinmux = <PIN_PB1__PWML1>;\n++\t\t\t\t\tbias-disable;\n++\t\t\t\t};\n++\n++\t\t\t\tpinctrl_mikrobus2_pwm: mikrobus2_pwm {\n++\t\t\t\t\tpinmux = <PIN_PA31__PWML0>;\n++\t\t\t\t\tbias-disable;\n++\t\t\t\t};\n++\n++\t\t\t\tpinctrl_mikrobus1_int: mikrobus1_int {\n++\t\t\t\t\tpinmux = <PIN_PB0__GPIO>;\n++\t\t\t\t\tbias-disable;\n++\t\t\t\t};\n++\n++\t\t\t\tpinctrl_mikrobus2_int: mikrobus2_int {\n++\t\t\t\t\tpinmux = <PIN_PA25__GPIO>;\n++\t\t\t\t\tbias-disable;\n++\t\t\t\t};\n++\n++\t\t\t\tpinctrl_mikrobus1_uart: mikrobus1_uart {\n++\t\t\t\t\tpinmux = <PIN_PB3__URXD4>,\n++\t\t\t\t\t\t <PIN_PB4__UTXD4>;\n++\t\t\t\t\tbias-disable;\n++\t\t\t\t};\n++\n++\t\t\t\tpinctrl_mikrobus2_uart: mikrobus2_uart {\n++\t\t\t\t\tpinmux = <PIN_PD23__URXD2>,\n++\t\t\t\t\t\t <PIN_PD24__UTXD2>;\n++\t\t\t\t\tbias-disable;\n++\t\t\t\t};\n++\n++\t\t\t\tpinctrl_mikrobus_i2c: mikrobus1_i2c {\n++\t\t\t\t\tpinmux = <PIN_PA24__FLEXCOM1_IO0>,\n++\t\t\t\t\t\t <PIN_PA23__FLEXCOM1_IO1>;\n++\t\t\t\t\tbias-disable;\n++\t\t\t\t};\n++\n++\t\t\t\tpinctrl_flx4_default: flx4_uart_default {\n++\t\t\t\t\tpinmux = <PIN_PC28__FLEXCOM4_IO0>,\n++\t\t\t\t\t\t <PIN_PC29__FLEXCOM4_IO1>,\n++\t\t\t\t\t\t <PIN_PC30__FLEXCOM4_IO2>,\n++\t\t\t\t\t\t <PIN_PC31__FLEXCOM4_IO3>,\n++\t\t\t\t\t\t <PIN_PD0__FLEXCOM4_IO4>;\n++\t\t\t\t\tbias-disable;\n++\t\t\t\t};\n++\t\t\t};\n++\n++\t\t\tcan1: can@fc050000 {\n++\t\t\t\tpinctrl-names = \"default\";\n++\t\t\t\tpinctrl-0 = <&pinctrl_can1_default>;\n++\t\t\t\tstatus = \"okay\";\n++\t\t\t};\n++\t\t};\n++\t};\n++\n++\tgpio_keys {\n++\t\tcompatible = \"gpio-keys\";\n++\n++\t\tpinctrl-names = \"default\";\n++\t\tpinctrl-0 = <&pinctrl_key_gpio_default>;\n++\n++\t\tpb4 {\n++\t\t\tlabel = \"USER\";\n++\t\t\tgpios = <&pioA PIN_PA29 GPIO_ACTIVE_LOW>;\n++\t\t\tlinux,code = <0x104>;\n++\t\t\twakeup-source;\n++\t\t};\n++\t};\n++\n++\tleds {\n++\t\tcompatible = \"gpio-leds\";\n++\t\tpinctrl-names = \"default\";\n++\t\tpinctrl-0 = <&pinctrl_led_gpio_default>;\n++\t\tstatus = \"okay\"; /* Conflict with pwm0. */\n++\n++\t\tred {\n++\t\t\tlabel = \"red\";\n++\t\t\tgpios = <&pioA PIN_PA10 GPIO_ACTIVE_HIGH>;\n++\t\t};\n++\n++\t\tgreen {\n++\t\t\tlabel = \"green\";\n++\t\t\tgpios = <&pioA PIN_PB1 GPIO_ACTIVE_HIGH>;\n++\t\t};\n++\n++\t\tblue {\n++\t\t\tlabel = \"blue\";\n++\t\t\tgpios = <&pioA PIN_PA31 GPIO_ACTIVE_HIGH>;\n++\t\t\tlinux,default-trigger = \"heartbeat\";\n++\t\t};\n++\t};\n++};\n+diff --git a/include/dt-bindings/pinctrl/at91.h b/include/dt-bindings/pinctrl/at91.h\n+index bbca3d0..88eb7d0 100644\n+--- a/include/dt-bindings/pinctrl/at91.h\n++++ b/include/dt-bindings/pinctrl/at91.h\n+@@ -37,4 +37,8 @@\n+ #define AT91_PERIPH_C\t\t3\n+ #define AT91_PERIPH_D\t\t4\n+\n++#define ATMEL_PIO_DRVSTR_LO\t1\n++#define ATMEL_PIO_DRVSTR_ME\t2\n++#define ATMEL_PIO_DRVSTR_HI\t3\n++\n+ #endif /* __DT_BINDINGS_AT91_PINCTRL_H__ */\n", "prefixes": [ "LEDE-DEV", "v2", "05/10" ] }