From patchwork Fri Nov 18 13:48:08 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Rosin X-Patchwork-Id: 9436509 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 A471960238 for ; Fri, 18 Nov 2016 13:51:08 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8269D298B7 for ; Fri, 18 Nov 2016 13:51:08 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7735C298D1; Fri, 18 Nov 2016 13:51:08 +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=unavailable 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 6D510298B7 for ; Fri, 18 Nov 2016 13:51:07 +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 1c7jXr-00086J-Va; Fri, 18 Nov 2016 13:49:36 +0000 Received: from mail-ve1eur01on0098.outbound.protection.outlook.com ([104.47.1.98] helo=EUR01-VE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1c7jXC-0006vi-07 for linux-arm-kernel@lists.infradead.org; Fri, 18 Nov 2016 13:49:01 +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=10cRsYaTDy08ziYqmvS0gXhqc370u37Qji5BelhJX+U=; b=dPj0D1FdeSACJKXBvmnI8zZXU6VZbJNjNsD80Lu7ElzGiyO3O0qc3Its5f/ldI/UV6gh+6h/V5RM23P2mjzKNrT/PWBcdlpa4gpOZlaq+XO60axjNJfQ/YabKcLyqtifNKZ62i6KwDRcnQb70b5BTMjxbRpWUhiLZGITazdD0Zw= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=peda@axentia.se; Received: from localhost.localdomain (217.210.101.82) by VI1PR0201MB2317.eurprd02.prod.outlook.com (10.168.63.19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.734.8; Fri, 18 Nov 2016 13:48:27 +0000 From: Peter Rosin To: Subject: [PATCH 1/2] ARM: dts: add devicetree for the Axentia TSE-850 Date: Fri, 18 Nov 2016 14:48:08 +0100 Message-ID: <1479476889-9789-2-git-send-email-peda@axentia.se> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1479476889-9789-1-git-send-email-peda@axentia.se> References: <1479476889-9789-1-git-send-email-peda@axentia.se> MIME-Version: 1.0 X-Originating-IP: [217.210.101.82] X-ClientProxiedBy: HE1PR0701CA0052.eurprd07.prod.outlook.com (10.168.191.20) To VI1PR0201MB2317.eurprd02.prod.outlook.com (10.168.63.19) X-Microsoft-Exchange-Diagnostics: 1; VI1PR0201MB2317; 2:EcZsY8qalBpH+Tz6wQcv39C0uCmnFDacOf7+LhT03i03rBh+/OB9Gexo4iVpojgPedyAb5jz82kUvdEI7bGvoPkqRe3fD1smqV6oQ0Oyt7YrUJi3rInj9yV0BgXiERm2EU5I1OyWI6rTvXc85e7Q2wAP/rCpID2fbzw/4eGjHlM=; 3:5KA6UeeKLKEnqWy/f6hAZzHWvjZODGCVvgpsKlE7aruLoaz85mMPo0ha8cYtI3zNZWdf6SWzNuoKBARjWLhHXKNgpiJ5qlDSTLEe7fHfw9dtqRoqH0xQDr4q0BeWGaL3ftp4GBruuDr1D36MFUmxANqs2vxMzAxn8in8vZthE20=; 25:4wxr1PfquBADjVdjEl2yyNrp6zBSKVtw1aBGEwCOrf6RpnfJ9hKqGxAvkAEnhiHSY5L4bTh41sHZgAiN4G/ZWp3EOAdjn1EJrEPQQHIuDTpcVj5R0rD9uDV9qCA7xQBa9K0+VR3JDXzdHtC+I9NS+mO0q8ehyJgSFbpbBHddN7a6OcRQbPHXyeQbs7QyESoZsoHcFxAi15BZFbw/K9yyGlwY21fqRhKALPBzqcHj+nxtbcEoUMrRV3Cc08HtE2OnaXk6lY4m3SXX+Gn75RgUboqDhcuBZM/n6+V2nTDy9fkSzpjxBSJ/fq+M5Tnm+UJN08vc+egDPJaN/FDmntCD9apmCyoeUArT3ysRVKXVHW8Ep4dYf+Wh7K5fwtV6WH5NNNDewNmGG4ZREPTOEDhdo6iv2MTvw12Xlgs4thzVG+cnnV+/JsSBcFrVC7yZUSFMpV0wQdRz7JJ5Uxg6QmOc0Q== X-MS-Office365-Filtering-Correlation-Id: 2ee46fa1-0c3d-48e2-9703-08d40fb993a5 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001); SRVR:VI1PR0201MB2317; X-Microsoft-Exchange-Diagnostics: 1; VI1PR0201MB2317; 31:5PbjHAa4RAmnUNyziWxDySYCTGIdpUigJAUxcH6wc/jsNiYJq64W4RFDFsNn05SE9YZyKSPRUJ7c6YkyYdckwGDO4ApHgShyTwuluVEFVKPvd8gr17TfnmWo2mT1poNe3nXCuS2TNfQ9TY3kX3+r/9Ecit/Upy4JE/m8/9mtabdl15dAvFxpyXmEIUK2tBoHKfAIO2ioO1L+F4yUZXogeuz4FVTyaNYycTt8jv/WQSId92UkteshAIcW9U46K7H9RmQyyzIM+zOIRF3qORndLo14SHXJcyk7HJQacWfogvk=; 4:i9NNMY9an7GSd4PGrCslZbhl6rx5CXUTVnjRu4dcTufB+ZeSdBp+EQhwJbiBrmVucw99br0BGJ/j7lst8Q8cQkoW+vSNUc8PzQMUKDZhfASmR2hh/Iu6pbImPsCC2WW7a8l5C3r3iq81qCCcVQHotJYVlEWj2x8nGcS7RvNXvLG9iUjl38mFmfYl31OE59JvsjzJUu6H3j8mWOuUi7RfXdREAGwIK+784+Bf6IDablp3I176sYrgDpByhI8uitjbkfvIaAF6phoq7mWFS1LpIUa6DN0KolmnRr/coetSwlyxBPH+VknGEsgS765owSlRH+IAtXZlsDQFhGnSzRZDw1X2rRJBHKbvXi0SeukcZkZxrnEmNWoVOxF44C4I3F+KndzEOUmV16prY2PDrOudsW5TTaU/RdR6Rmug0CL7j/YRMptAR2jyRSuqvEAlFbx473vJtA5mFpPqlvmtKH5/av3cQNk+c0iYHMkKuAhbWdD+4pWAmyyXQRHMu0/vi0VHq4h77M/w+dWyHQSkhek5aA== 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)(3002001)(10201501046)(6041223)(6061324)(6043046); SRVR:VI1PR0201MB2317; BCL:0; PCL:0; RULEID:; SRVR:VI1PR0201MB2317; X-Forefront-PRVS: 01304918F3 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(4630300001)(6069001)(6009001)(7916002)(199003)(189002)(81166006)(6916009)(36756003)(97736004)(92566002)(7846002)(6116002)(7736002)(305945005)(3846002)(110136003)(77096005)(2950100002)(81156014)(6666003)(5660300001)(8676002)(105586002)(86362001)(48376002)(2351001)(33646002)(50466002)(74482002)(42186005)(101416001)(50226002)(106356001)(575784001)(189998001)(5003940100001)(66066001)(68736007)(76176999)(4326007)(47776003)(2906002)(50986999)(38730400001)(42262002); DIR:OUT; SFP:1102; SCL:1; SRVR:VI1PR0201MB2317; 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; VI1PR0201MB2317; 23:IQJRmhkrCA2HsaW5iGqpaFKAF5JgX5gjDzLfgml?= =?us-ascii?Q?+7oaz9T7uVbWJ+7PK8GOGFTu6gRLBy0lVIEXHWf8z7QqjBlSIdQLNk4Mfaf0?= =?us-ascii?Q?QpEVLB55q86v2dvCItLiV24KEpch7kBktS8k3r0QWG5q1YQOKNZEFlbTrenH?= =?us-ascii?Q?hfo+4PauK7mydmaZAXYf3Ia9LDQRX7uUwZVV3c8xucPaAs9sz+ejREcNTFGg?= =?us-ascii?Q?iosU0m43nRPoVpnsMKHIyqm/bBWClYgEfui17cnNEdYiwhNAckuNQzJfzyxB?= =?us-ascii?Q?zSDmhtmI+ZbhGnatCl8FkFAxX73mTOODhvQAZuz13GZk5L4W2CFU8HrIyfSi?= =?us-ascii?Q?IS/JYYXBJQab2Cz7y15nwQZ/dr6hXJV47QboqyMP+rqazxvVOb68Z/KBTmMt?= =?us-ascii?Q?Z4JyWE8RK2wLO8UkRzcodu1yNglH8jmci3EeqflyQaqJFgmgIVas0UTIpFvA?= =?us-ascii?Q?WWKVDa8xNXDRFMdKyU+XEeOSLhD9BE2Bwod9O2wn/roCNOyzgVKTxY/64HhJ?= =?us-ascii?Q?ykntliMjE3K68M4PpqTV2SVmVI27eu+s8Yz+wqp8eftHlg6qgX3wJ/1W1YCt?= =?us-ascii?Q?p2x9yBPPAxQfg/TSshxqd62vJkej8GlOvj2fuDDcE8/L0lrOeHxgJzUew/15?= =?us-ascii?Q?0I4W4c6S953/sAG/wNo6mqmC6z/vAMsni3fu73LIGbM8Rf5FPP2Rw5grhbDX?= =?us-ascii?Q?5ELu3EPtKdanO6X/gVFQrQLPJPW8k55KmjyWvIZSv2LWA9cgP/eVz7uLqAFZ?= =?us-ascii?Q?lbsqlyBEkXdA+lTek6J5OlDyKCIdUTQ32Ci5GS8tKQnNpJuhz0QUiiVOWT0P?= =?us-ascii?Q?NEwD6JaEhtmQ0zVwGB7M5fMNlaqTT8s0mg/dUHFNiW+u+NPWqDnXYBfMR4f4?= =?us-ascii?Q?fcM3SQOWHBn8cu24+E23iW2cYHDK+IOd2O7iI2xyHEg493SCOueX0m6RDQBR?= =?us-ascii?Q?9MKT2sC/sSSa2blyMOqVB5BmsI9uvD1tzfwvSURvf2L2jJZt9EWcacHvDq10?= =?us-ascii?Q?XnJe3+esdOdn3SFutLvl9s0iQJHvN0wsIjXYSRjZYRTefA3U4a3Dt2yIqy/5?= =?us-ascii?Q?3Fjn1blIqaC+rjUZcPR87Qx/ypOa1/Gn5SeFcfukbGHYXEOB5TFf8R4bTqq6?= =?us-ascii?Q?gqdQqg5H2KP4=3D?= X-Microsoft-Exchange-Diagnostics: 1; VI1PR0201MB2317; 6:rqWFr8XRXSlmDAt3y4wHC9tjt/w0O5v1kkiV4INzCj0STpzdBUct53FCfnDl/kBDl9qSfWTcisuwhIhrldxeQs5nbpmfu5oxAMTsWgosQGbgxcBDAuik6obivTlbYmK1R3FKa2E0+Db9b0Lz1dPPNJfn245MQnSLyxMtXjSXg8oO+GloZAIC5vsNjlhIrMlXWU5BK1qnQoevqNK4gbWpgjbFI3WIv65yjEsf7o6gr+sFpcDEp8yyGimwwXjuSraqc/2Mas6ml3qIqNgYLGnZUPWloH7Zg3/7WhsqVcO2V7Wci9v5J4cFiegsDZ9xgs80+/mGJXdVSnJSzJCzs1I+oITrYtnbnEFNRLhwFRTiG0nYXTl9MeWoV9ocrtlMJNME; 5:Dff1oYUdcuTV9qCQRGaMhbwbSmH1m1ZV4CLlVEOd+1WX2Xf28sh2aeYs1+wQ6nT7Goue+Dk5jFb0A6gZdMQ96OGZXzTJKYFtiolk/QmAuhZMCRwUWVo7DrmsKdp4EBbRuaKZoUlUH2u3MDFIEXICTHNAEmtax5OS+ieS8uKj2Z8=; 24:W75irubDPXg333n9JCofSmLKQkYvOcf09J/8393YSOP1ZGQEOyrPL6lHGSETbjf1v1MH/NYpwABQz5WMLr9fhhiFqRqBW0IYicSoVn+OhD0= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; VI1PR0201MB2317; 7:vBazlvi4wEQrjEajAnRaMluWlbj/348Z900vUWjTfpUxYU6mO3Imnr5u9RFZ3s7N0HBGjmAie0ZFIxMvn+2LSZFvD0ak35Kc9VZv0YfWii5Q13jh4WqUBCQqS08ziOZ8vfnqaICsJNsy2UQ3GB17FSNFpkyQ9OOhfUO8XlpojRVJR9l+snzU/J55qgGwu5JqJdWDCptErbZcSylga1PA1KgAqvfuwuVf5Mx2OaamDWJepzZSJ7f+Ac/f0V1qEuqdhgvx1m+Ptsrn148a0OsPBlQr8hbKmOQYsNPNLhs9h4ktb6B+DSaur1bJfyTkSTZkc73XJbnqsk4jIY5ZGlEty3UohT8qcefGPYPe3fq0At4= X-OriginatorOrg: axentia.se X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Nov 2016 13:48:27.7163 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0201MB2317 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20161118_054854_468724_6625A4D8 X-CRM114-Status: GOOD ( 15.07 ) 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 | 273 +++++++++++++++++++++++++++++++++ 4 files changed, 332 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..2052a6f4bb31 --- /dev/null +++ b/arch/arm/boot/dts/axentia-tse850-3.dts @@ -0,0 +1,273 @@ +/* + * 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 { + board { + 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 */ +};