From patchwork Fri Nov 18 14:08:13 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Rosin X-Patchwork-Id: 9436543 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id C4C9260469 for ; Fri, 18 Nov 2016 14:10:44 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B1E57298EE for ; Fri, 18 Nov 2016 14:10:44 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A67DB298F1; Fri, 18 Nov 2016 14:10:44 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, DKIM_SIGNED, RCVD_IN_DNSWL_MED, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 89926298EE for ; Fri, 18 Nov 2016 14:10:43 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1c7jqq-0003EX-5l; Fri, 18 Nov 2016 14:09:12 +0000 Received: from mail-he1eur01on0135.outbound.protection.outlook.com ([104.47.0.135] helo=EUR01-HE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1c7jqX-00039X-LZ for linux-arm-kernel@lists.infradead.org; Fri, 18 Nov 2016 14:08:56 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=axentiatech.onmicrosoft.com; s=selector1-axentia-se; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=IEC40hHBQGSARFKc4qo5TEi9DKAJzn4hsdUP9H4oW4U=; b=FzVHpPs294ruGxXQPNiTKYZNmivfN5a3S9DI3lVBBY0WYnMq+gj7yzAscZsKivrkUaybQ6mtMa3izUrg+cndt1ic7jEpnTBi2/3qV3eTTy5JqAkm769Rx2Nma9KVexYKHiUIGU3JykhHZFFZT8pT05bDwer5+EY/bp8JJ17ott0= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=peda@axentia.se; Received: from localhost.localdomain (217.210.101.82) by AM5PR0201MB2306.eurprd02.prod.outlook.com (10.169.242.150) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.721.10; Fri, 18 Nov 2016 14:08:35 +0000 From: Peter Rosin To: Subject: [PATCH v2 1/2] ARM: dts: add devicetree for the Axentia TSE-850 Date: Fri, 18 Nov 2016 15:08:13 +0100 Message-ID: <1479478094-20288-2-git-send-email-peda@axentia.se> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1479478094-20288-1-git-send-email-peda@axentia.se> References: <1479478094-20288-1-git-send-email-peda@axentia.se> MIME-Version: 1.0 X-Originating-IP: [217.210.101.82] X-ClientProxiedBy: VI1PR05CA0006.eurprd05.prod.outlook.com (10.162.33.144) To AM5PR0201MB2306.eurprd02.prod.outlook.com (10.169.242.150) X-Microsoft-Exchange-Diagnostics: 1; AM5PR0201MB2306; 2:SgpzWQb04Nc0z2Itvg7UT68YegCb4AyRxTzcKrL9Q3vr/7NpLhQOybKdoYe98QHGz3l+Pqlixtwon0WvtuXWZTWQuYLxt3vHj7e1Ae2NIlN+JHXcezohvjycHGNQuyQXNiWedsXuRojK6OJd9PV6IPHy9a/IPxeNvH4t/IIwP0w=; 3:9d7CJeRGhNpugok/pWty340VNs7Pg+Tfg+Ccfbwj1ZlGXt0B5rdzz4UehmjpQa45UuAGTf3Xz2VcRAvEWCxiezXu87qMYkfJWlTX5rjVqsnE4WtaWBW+WHdkS+xFjvpcqk45Ch0XBnpCZmdnPCkvHtUyQSICOiBkHGYnDJa3Ry0= X-MS-Office365-Filtering-Correlation-Id: 6cb67a7a-dd8e-4c0e-ad0b-08d40fbc639c X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001); SRVR:AM5PR0201MB2306; X-Microsoft-Exchange-Diagnostics: 1; AM5PR0201MB2306; 25:zX6lQohixHsKkGAJg2k9emScxjCT7QepSvQu769wRey2pWJlsPtJM111lvv6wQRy2Drdh2g0VWpzyjEh0saasAk30tVFF6uBqOkRyiJlDBhdGriq1wW2TLK1SFS8bZjKEqgfM0sFnP+4Ek8Y53Ipyn9pTDwSN96Don7kYJ/Dx+n5PGGMU0KiFu4qdcGrJbQ50on80O6gZIiCgysebCB5Ck5wVW+C/l5e9WbbJwykK0t5Lm9orOZdhCpkbvhsEdXWDHObbQBcl6mM/DK2dNgxiO5eG59dhKWP7FjKDJk3GG1kPD+JgByxbQaPQCIsNkcftzwfC7mweb2fVs5ApbxnJpjd/jQwjJ9FzxYsla2hVM81ATBU8QRMH9XcbXO+UMadb/zjZP2dvEhpTs362jYtjfgvmOrHSl5BxlFt9xLnT3JRwiWW7NIz22Sh2uoAHNUhVWzvdD7XsNyRp0BtEcIp5R78Txv0VXa7UurI1LAfQaFr+9QULcg5n/uR9ztcLRq/q4yUzX1fY3GYIIGtTkM2Iu/ZvBZED1YTdeIT4fyvrSII3C1/2rigMOWbZB1CFaoHJUVXj8A0KJbQ87h8bOqtbiSOfeUK44YnD7KkpQpyEfo4GtSbe8UczowI0Yv5dNr4TWbK63W/CxWhDPcjkp0Pg3+xz13J27I8F5qMVeV5lBJq/y/1Bgpu/U0UFzNadQAMn4TmRh2Dd4gGBJos0IuQHZCnrrGbvBP8fftNV8cH7dckylwWdW3si57yFJ3DiSCla4B4QPRdw0Yq+qIevPkpag== X-Microsoft-Exchange-Diagnostics: 1; AM5PR0201MB2306; 31:Cbs/ELu3qesN5oJ53BTPhrZDeJTR5iwyAnNkjSUjwn3wfaC1zTIvjWywviAnOWuzdtGTWdM723QsWgjQoCsrrBQm9lSBnXcUjcNsMg3ZUCJboqWq97eKM7GVw4d6B/pOBurjI1IXxRRcQ5Ck5hqopXZUOFNjq3T7XauaU3eon5l1gqvs+zMtUt10junbeVlfDbtEc3h3mVqJE7ogAxSJkzxjHfK3xtI0WIg6IAMVx7Q4Ypl6VAdUX52XtLckJ30XWgpNBPP1jbISM14ue72J+A==; 4:84oJINIq/r8/O+NSK6GxE/BRnuKT2LTOWG8wk/bKdzoHvdrdq0+Hq/TNoAYbar6UCdS938mbXsDdSNEuHqPgqbRtoLlgYYv6VtZ3qN00uJvy//op/NdXiHA4CHu6XFfXA2JQG5GQGXfXwpDsQgJBrQnm5bdWxAiE721xQL3IDZ3vmOiduqzYT5CaQAeDU3Eb+dXlbJ5sFaoRucPhvnZiuCUaTXzyATPfawGyiDZ46Xdu6ixy14VAerCQ6Ih/A3zWWpiBo54S0C+CFQ/FD3KK34O2bJa7WMWByxxAWltFs8Dhtv4tGQdZIA2LgTX6nHZQNngFKSVBvq4enJBZlutwHM/fOXQ13TrscqAwF2jLS+pR5f5hEt41HUFc/pKxi/JwDHrlvuwCdJnYsJpZ6QuEKGIsYsoaUi2J54OABxQmSYh9hlj4O+pTE5bSxr9nkCADlY3FM3wudfvGhLNERn11czYyd3AqU2GYsmC4X6NK0px69/xuS4gb/0XSroLyKH2lRMn6Eq6XmXH6PgD4JG7Gpw== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(258649278758335); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6060326)(6040281)(601004)(2401047)(5005006)(8121501046)(10201501046)(3002001)(6061324)(6041223)(6043046); SRVR:AM5PR0201MB2306; BCL:0; PCL:0; RULEID:; SRVR:AM5PR0201MB2306; X-Forefront-PRVS: 01304918F3 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(4630300001)(6069001)(6009001)(7916002)(199003)(189002)(2351001)(305945005)(110136003)(5003940100001)(36756003)(7846002)(7736002)(105586002)(97736004)(2906002)(50986999)(6116002)(50226002)(106356001)(42186005)(101416001)(47776003)(76176999)(66066001)(4326007)(81166006)(189998001)(81156014)(575784001)(5660300001)(48376002)(50466002)(3846002)(6666003)(2950100002)(92566002)(68736007)(74482002)(77096005)(8676002)(33646002)(6916009)(86362001)(38730400001)(42262002); DIR:OUT; SFP:1102; SCL:1; SRVR:AM5PR0201MB2306; H:localhost.localdomain; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; Received-SPF: None (protection.outlook.com: axentia.se does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; AM5PR0201MB2306; 23:vSmQtHEZco4NVRnUEAlweQnLJxN3uWGfRgKey1S?= =?us-ascii?Q?9hA+CYH3T5oBmA5mOwDybpNRpxkmg/IE9tqrVETnxUGGs/uj/YC5z2WuZved?= =?us-ascii?Q?FG7uJkcSef6eqS+zWljuibnQNclBofe/T1l/L574+wCQErlE5ibB4Etx5bcC?= =?us-ascii?Q?nvufO3eyEPVYmYfepLnKNKUjb0yxgM3Fr7/z2q/NdG9i8AypHdiKtMLAza1V?= =?us-ascii?Q?ASsUwpdTQk5RulAPkZCMzpEfVsxtyDlfLr7Sgjm2rjB681eGlbeH2yb9sBGK?= =?us-ascii?Q?W3FofKz3vMALjaUj0SvAkL+qE9YdEXpmsvQMAQKOIy4aRdx4IDxdFoutTNEJ?= =?us-ascii?Q?ZpV4FLX8OvAD3osQlMVR7RLvizk6WH2saheXnCuyLfR0rqokAhBf4ld6wOTD?= =?us-ascii?Q?HKBTnVpGd44ZFTpnZ60pZwuZvX6jDQT26yurV+Z1C9Yk5oJ70jkBAlFGnEFj?= =?us-ascii?Q?diy2/QcjNZgbaAook7Ylwoig3fk6gTsdQyfClC+0J/3RMWUbN9ab0koplzAt?= =?us-ascii?Q?3C+T2KsrqikGmPkiOgmXSzOgdX6gdJ1wNmnaVvsKRw0UJEC3vYUG0J0v1bze?= =?us-ascii?Q?aft8drwb7MABxCU9WDxxF7UYHfLh8v27kiJXdzrxCzEZOdvkagxvM3mmYVFH?= =?us-ascii?Q?mgsDdsq7jB8G9u+shAWxo2dPxB4LRO2BV88TNwIK2Ci7nL80MZeRTC4z6oPA?= =?us-ascii?Q?jPdSEGgXJzIVzdeSLxSct0jEw9ugs3W+Us+fJ8UkzwSvZCCD9CKowuShcIwz?= =?us-ascii?Q?ubDfBKK4Wfp1HaXNMS/E0aeKerCXfLLWBBp9qBQyg1FOpwguX/g+m1DiTTqE?= =?us-ascii?Q?BR5pN+llHuBh5V5ot6Vk9BxuN0un8Cn4ik42ilwSXdg6ylliK/JGNbtTLtyM?= =?us-ascii?Q?d0EIoNs8R54d2ZQEBs61nFeytNwgFon79ZK/7qXcAozjWv9ZBFq6CvwONAsA?= =?us-ascii?Q?JRYWbSaZne6zUQ/cknqUi8hrxYb5gNRKRL9aXRvjh9csQMux8jZH3rV7t0dP?= =?us-ascii?Q?AqBv/v4sdZCxq+ZVq61rlCnneGqHL5yHyRvGg8G+3melHyFHiKPZysEwdXeK?= =?us-ascii?Q?ouCJvfx2jxXsG0mmo4O8FkrIAWoKI0ZZCQTIet3lynJKf9rQltiQF1PAGCtt?= =?us-ascii?Q?X3e+Rt5V+tl0=3D?= X-Microsoft-Exchange-Diagnostics: 1; AM5PR0201MB2306; 6:dInzeL0lko8RpJ8L7NasSQrJt5IHQdr+Bc/RL+ajT0yg33dE63pGpAjcfv9Wv1faWHCZZs1Ut8SnnQBz2ZouMo1ilJ23i1XKkfe1w1MhI2jJcR4fRx0u0Hz42+mnIG9q+1hHIHribgntxxbUQuxPqI+qAAWSBfu7y+J/J+KwCa+htQ6K4tR8UY2O3c30xUEnHXwc5Z8I5vx9bGgNNgN2xnfbQs0Bqhos/1rkinKaB05K6mL26R8cZSxwl7MRrA00qnuhK3Uwp/5weayQvjmKD9x+9u/IB64Zd9aKhpNxhnENgExnE4OyqdEYwwYV0ihOc11G3NZLNxoFU0Sjut0N9Hg2e4XHsO+1NhzU8Lbyzwcie+gb0jmQmwiAAVAnwTQE; 5:3u9LSm4XEOb6wTWx6jLpE0SdmyDTjNxVrcDKCqFo7eKI5rLb/G2j6OFW1XKRwEYArPX3cwntTq33HstnUYoeE/rjWgn8eY5pvV3MREYY2VYHY5TJaPbiN8CeE2odwGHAycVDvIGSAWkUVzpqKL+5ZndrZ9+xpyCwUwuCojnwUhg=; 24:D0LRXvnr3/m/qUA8PEBd89mSgSHM2TaH5ZvH+I7OxSc8dk4TCM9G1cGcoQUg7Ip3se4qza+1+/RBmu2ZJ0H+btIYYnJcX7U0up04LZw9lSs= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; AM5PR0201MB2306; 7:gKkjkMIAuYBoETjmMpVwpknTFOS5Vaixg8MqjBnzn2+2ltcss7DFcDVw6qDO+5PbOSAUc5x3pVbD4YztDz+pTg4x0Pvmr5pNql/yawNyvNQq72ii/fKI1ve9xvYDucWnYPNfekOUruuvo7ZEf39UdfQqTY6gdwMghPs9iHhBD8KMqGrG6FWVBLQFN7X2lgB9KEpCMqeiQ1T/LIeF9jFCtc0CvyLqdfBcQoN2pJJiiP22LUfljB/40VsQx9/fVuhBP778r1EpFhVNTUA9L6mwA22dyqbJmvqgBRmBWfqKAqOpzYG1dWxwn6bgfFl9AZE74167wIcORfkjFusiCGT8Y7fm9x2mfakxVY+hGarHrls= X-OriginatorOrg: axentia.se X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Nov 2016 14:08:35.0870 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM5PR0201MB2306 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20161118_060853_978622_20950962 X-CRM114-Status: GOOD ( 14.62 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , devicetree@vger.kernel.org, Russell King , Rob Herring , Peter Rosin , linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Peter Rosin --- MAINTAINERS | 6 + arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/axentia-linea.dtsi | 52 +++++++ arch/arm/boot/dts/axentia-tse850-3.dts | 275 +++++++++++++++++++++++++++++++++ 4 files changed, 334 insertions(+) create mode 100644 arch/arm/boot/dts/axentia-linea.dtsi create mode 100644 arch/arm/boot/dts/axentia-tse850-3.dts diff --git a/MAINTAINERS b/MAINTAINERS index 9fe1bc9b414f..7ecf50e5ab47 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -2325,6 +2325,12 @@ S: Maintained F: Documentation/devicetree/bindings/sound/axentia,* F: sound/soc/atmel/tse850-pcm5142.c +AXENTIA ARM DEVICES +M: Peter Rosin +L: linux-arm-kernel@lists.infradead.org (moderated for non-subscribers) +S: Maintained +F: arch/arm/boot/dts/axentia-* + AZ6007 DVB DRIVER M: Mauro Carvalho Chehab M: Mauro Carvalho Chehab diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index befcd2619902..02cd9b4c55d3 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile @@ -48,6 +48,7 @@ dtb-$(CONFIG_SOC_SAM_V7) += \ at91-kizbox2.dtb \ at91-sama5d2_xplained.dtb \ at91-sama5d3_xplained.dtb \ + axentia-tse850-3.dtb \ sama5d31ek.dtb \ sama5d33ek.dtb \ sama5d34ek.dtb \ diff --git a/arch/arm/boot/dts/axentia-linea.dtsi b/arch/arm/boot/dts/axentia-linea.dtsi new file mode 100644 index 000000000000..07359f9d7419 --- /dev/null +++ b/arch/arm/boot/dts/axentia-linea.dtsi @@ -0,0 +1,52 @@ +/* + * axentia-linea.dtsi - Device Tree Include file for the Axentia Linea Module. + * + * Copyright (C) 2016 Axentia Technologies AB + * Peter Rosin + * + * Licensed under GPLv2 or later. + */ + +#include "sama5d31.dtsi" + +/ { + compatible = "axentia,linea", + "atmel,sama5d31", "atmel,sama5d3", "atmel,sama5"; + + memory { + reg = <0x20000000 0x20000000>; + }; +}; + +&slow_xtal { + clock-frequency = <32768>; +}; + +&main_xtal { + clock-frequency = <12000000>; +}; + +&main { + clock-frequency = <12000000>; +}; + +&i2c0 { + status = "okay"; + + eeprom@51 { + compatible = "st,24c64"; + reg = <0x51>; + pagesize = <32>; + }; +}; + +&nand0 { + status = "okay"; + + nand-bus-width = <8>; + nand-ecc-mode = "hw"; + atmel,has-pmecc; + atmel,pmecc-cap = <4>; + atmel,pmecc-sector-size = <512>; + nand-on-flash-bbt; +}; diff --git a/arch/arm/boot/dts/axentia-tse850-3.dts b/arch/arm/boot/dts/axentia-tse850-3.dts new file mode 100644 index 000000000000..517381f89c3d --- /dev/null +++ b/arch/arm/boot/dts/axentia-tse850-3.dts @@ -0,0 +1,275 @@ +/* + * axentia-tse850-3.dts - Device Tree file for the Axentia TSE-850 3.0 board + * + * Copyright (C) 2016 Axentia Technologies AB + * Peter Rosin + * + * Licensed under GPLv2 or later. + */ +/dts-v1/; +#include +#include "axentia-linea.dtsi" + +/ { + model = "Axentia TSE-850 3.0"; + compatible = "axentia,tse850v3", "axentia,tse850", "axentia,linea", + "atmel,sama5d31", "atmel,sama5d3", "atmel,sama5"; + + chosen { + bootargs = "console=ttyS0,115200 rootfstype=ubifs ubi.mtd=5 root=ubi0:rootfs"; + }; + + ahb { + apb { + pinctrl@fffff200 { + tse850 { + pinctrl_usba_vbus: usba-vbus { + atmel,pins = + ; + }; + }; + }; + + watchdog@fffffe40 { + status = "okay"; + }; + }; + }; + + sck: oscillator { + compatible = "fixed-clock"; + + #clock-cells = <0>; + clock-frequency = <16000000>; + clock-output-names = "sck"; + }; + + reg_3v3: regulator { + compatible = "regulator-fixed"; + + regulator-name = "3v3-supply"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + }; + + ana: reg-ana { + compatible = "pwm-regulator"; + + regulator-name = "ANA"; + + pwms = <&pwm0 2 1000 PWM_POLARITY_INVERTED>; + pwm-dutycycle-unit = <1000>; + pwm-dutycycle-range = <100 1000>; + + regulator-min-microvolt = <2000000>; + regulator-max-microvolt = <20000000>; + regulator-ramp-delay = <1000>; + }; + + sound { + compatible = "axentia,tse850-pcm5142"; + + axentia,ssc-controller = <&ssc0>; + axentia,audio-codec = <&pcm5142>; + + axentia,add-gpios = <&pioA 8 GPIO_ACTIVE_LOW>; + axentia,loop1-gpios = <&pioA 10 GPIO_ACTIVE_LOW>; + axentia,loop2-gpios = <&pioA 11 GPIO_ACTIVE_LOW>; + + axentia,ana-supply = <&ana>; + }; + + dac: dpot-dac { + compatible = "dpot-dac"; + vref-supply = <®_3v3>; + io-channels = <&dpot 0>; + io-channel-names = "dpot"; + #io-channel-cells = <1>; + }; + + envelope-detector { + compatible = "axentia,tse850-envelope-detector"; + io-channels = <&dac 0>; + io-channel-names = "dac"; + + interrupt-parent = <&pioA>; + interrupts = <3 IRQ_TYPE_EDGE_RISING>; + interrupt-names = "comp"; + }; + + leds { + compatible = "gpio-leds"; + + ch1-red { + label = "ch-1:red"; + gpios = <&pioA 23 GPIO_ACTIVE_LOW>; + }; + ch1-green { + label = "ch-1:green"; + gpios = <&pioA 22 GPIO_ACTIVE_LOW>; + }; + ch2-red { + label = "ch-2:red"; + gpios = <&pioA 21 GPIO_ACTIVE_LOW>; + }; + ch2-green { + label = "ch-2:green"; + gpios = <&pioA 20 GPIO_ACTIVE_LOW>; + }; + data-red { + label = "data:red"; + gpios = <&pioA 19 GPIO_ACTIVE_LOW>; + }; + data-green { + label = "data:green"; + gpios = <&pioA 18 GPIO_ACTIVE_LOW>; + }; + alarm-red { + label = "alarm:red"; + gpios = <&pioA 17 GPIO_ACTIVE_LOW>; + }; + alarm-green { + label = "alarm:green"; + gpios = <&pioA 16 GPIO_ACTIVE_LOW>; + }; + }; +}; + +&nand0 { + at91bootstrap@0 { + label = "at91bootstrap"; + reg = <0x0 0x40000>; + }; + + barebox@40000 { + label = "bootloader"; + reg = <0x40000 0x60000>; + }; + + bareboxenv@c0000 { + label = "bareboxenv"; + reg = <0xc0000 0x40000>; + }; + + bareboxenv2@100000 { + label = "bareboxenv2"; + reg = <0x100000 0x40000>; + }; + + oftree@180000 { + label = "oftree"; + reg = <0x180000 0x20000>; + }; + + kernel@200000 { + label = "kernel"; + reg = <0x200000 0x500000>; + }; + + rootfs@800000 { + label = "rootfs"; + reg = <0x800000 0x0f800000>; + }; + + ovlfs@10000000 { + label = "ovlfs"; + reg = <0x10000000 0x10000000>; + }; +}; + +&ssc0 { + status = "okay"; +}; + +&i2c0 { + status = "okay"; + + jc42@18 { + compatible = "nxp,se97b", "jedec,jc-42.4-temp"; + reg = <0x18>; + }; + + dpot: mcp4651-104@28 { + compatible = "microchip,mcp4651-104"; + reg = <0x28>; + #io-channel-cells = <1>; + }; + + pcm5142: pcm5142@4c { + compatible = "ti,pcm5142"; + + reg = <0x4c>; + + AVDD-supply = <®_3v3>; + DVDD-supply = <®_3v3>; + CPVDD-supply = <®_3v3>; + + clocks = <&sck>; + + pll-in = <3>; + pll-out = <6>; + }; + + eeprom@50 { + compatible = "nxp,24c02"; + reg = <0x50>; + pagesize = <16>; + }; +}; + +&usart0 { + status = "okay"; + + atmel,use-dma-rx; +}; + +&pwm0 { + status = "okay"; + + pinctrl-0 = <&pinctrl_pwm0_pwml2_1>; + pinctrl-names = "default"; +}; + +&macb1 { + status = "okay"; + + phy-mode = "rgmii"; + + #address-cells = <1>; + #size-cells = <0>; + + phy0: ethernet-phy@3 { + reg = <3>; + + interrupt-parent = <&pioE>; + interrupts = <31 IRQ_TYPE_EDGE_FALLING>; + }; +}; + +&usb0 { + status = "okay"; + + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_usba_vbus>; + atmel,vbus-gpio = <&pioC 31 GPIO_ACTIVE_HIGH>; +}; + +&usb1 { + status = "okay"; + + num-ports = <1>; + atmel,vbus-gpio = <&pioD 29 GPIO_ACTIVE_HIGH>; + atmel,oc-gpio = <&pioC 15 GPIO_ACTIVE_LOW>; +}; + +&usb2 { + status = "okay"; +}; + +&dbgu { + status = "okay"; + + dmas = <0>, <0>; /* Do not use DMA for dbgu */ +};