From patchwork Tue Jul 14 21:23:07 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: dinguyen@opensource.altera.com X-Patchwork-Id: 6789291 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id C23749F2E8 for ; Tue, 14 Jul 2015 21:31:53 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id C86642073C for ; Tue, 14 Jul 2015 21:31:52 +0000 (UTC) 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.kernel.org (Postfix) with ESMTPS id 0EDD0206BE for ; Tue, 14 Jul 2015 21:31:51 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZF7ll-0002kd-LC; Tue, 14 Jul 2015 21:29:41 +0000 Received: from mail-bl2on0074.outbound.protection.outlook.com ([65.55.169.74] helo=na01-bl2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZF7li-0002jL-5W for linux-arm-kernel@lists.infradead.org; Tue, 14 Jul 2015 21:29:39 +0000 Received: from BY2PR03CA056.namprd03.prod.outlook.com (10.141.249.29) by BY2PR03MB238.namprd03.prod.outlook.com (10.242.37.18) with Microsoft SMTP Server (TLS) id 15.1.207.12; Tue, 14 Jul 2015 21:29:15 +0000 Received: from BY2FFO11FD012.protection.gbl (2a01:111:f400:7c0c::134) by BY2PR03CA056.outlook.office365.com (2a01:111:e400:2c5d::29) with Microsoft SMTP Server (TLS) id 15.1.219.17 via Frontend Transport; Tue, 14 Jul 2015 21:29:15 +0000 Authentication-Results: spf=fail (sender IP is 66.35.236.236) smtp.mailfrom=opensource.altera.com; vger.kernel.org; dkim=none (message not signed) header.d=none; Received-SPF: Fail (protection.outlook.com: domain of opensource.altera.com does not designate 66.35.236.236 as permitted sender) receiver=protection.outlook.com; client-ip=66.35.236.236; helo=sj-itexedge04.altera.priv.altera.com; Received: from sj-itexedge04.altera.priv.altera.com (66.35.236.236) by BY2FFO11FD012.mail.protection.outlook.com (10.1.14.130) with Microsoft SMTP Server (TLS) id 15.1.213.8 via Frontend Transport; Tue, 14 Jul 2015 21:29:14 +0000 Received: from na01-bn1-obe.outbound.protection.outlook.com (207.46.163.141) by webmail.altera.com (66.35.236.236) with Microsoft SMTP Server (TLS) id 14.3.174.1; Tue, 14 Jul 2015 14:28:37 -0700 Authentication-Results: kernel.org; dkim=none (message not signed) header.d=none; Received: from linux-builds1.altera.com (64.129.157.38) by CY1PR03MB1376.namprd03.prod.outlook.com (10.163.16.30) with Microsoft SMTP Server (TLS) id 15.1.213.14; Tue, 14 Jul 2015 21:29:11 +0000 From: To: , , , , Subject: [PATCH] ARM: dts: socfpga: Add support of Terasic DE0 Atlas board Date: Tue, 14 Jul 2015 16:23:07 -0500 Message-ID: <1436908987-16038-1-git-send-email-dinguyen@opensource.altera.com> X-Mailer: git-send-email 1.7.9.5 MIME-Version: 1.0 X-Originating-IP: [64.129.157.38] X-ClientProxiedBy: SN1PR12CA0024.namprd12.prod.outlook.com (25.162.96.162) To CY1PR03MB1376.namprd03.prod.outlook.com (25.163.16.30) X-Microsoft-Exchange-Diagnostics-untrusted: 1; CY1PR03MB1376; 2:AW4vHIenPXvkLv7EsCxXd22nhI+kG6DMziyIgp4Tcu9xp+iWkGDsyc5asQOINCND; 3:O/0nLIbrDs0/X8tMKSpsVJuTMRLj02d5h5qxJNapzI3ABZ3gsoCqyMDPuZnjCzS1WX+lgwtoo0FR50u4tOUYOXIDAHf2YGhRCcOqA2Hrrlb/rYDig+MDRGNRyTZ9ULUITSytcfPyMgvxxu7BxX2EQg==; 25:qux7AbXANIDUOEdFSXDH9uhA+6V/sxXMl82jq9ZGKLWr42iNXkZMbF6em8hZ4Za7tE9EsnjOA36rty3EETzqFEftIiOXFPFcXng6gK53vteVZO31IH/7pBOeM1DG01zfm6sPhNjSnFHCTQb0YSgGIfoDy1UCEfE+2vRvLugcrVt8ouB3/SWCvkaDn5NB/TLZZG/Hn9lSIVhgO8NxK/AZLH7nqby5HAWdHn8xxEeBOKdFQboBIrnYLccl+nyCNhPrd94D4n3Caux7kA4lp6wc7Q==; 20:jJ2vR2Zhfv/GZEr4W+VoXu6m79IwV+q32OhYhsIFIc2NuagDRINsv33WziaQehM4cix8r+c3ZalDIQC12fJpb48cwGz7HqkSRIGfPY6tYMv5t/1KzHdpHCOF6ZDEFve4pv2cQaWYCyRBGsQ8v4jCzcozMfMH0VrN/BcggmsBgUE= X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:; SRVR:CY1PR03MB1376; UriScan:; BCL:0; PCL:0; RULEID:; SRVR:BY2PR03MB238; CY1PR03MB1376: X-MS-Exchange-Organization-RulesExecuted X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:;UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(5005006)(3002001); SRVR:CY1PR03MB1376; BCL:0; PCL:0; RULEID:; SRVR:CY1PR03MB1376; BCL:0; PCL:0; RULEID:(601004)(5005006)(3002001); SRVR:BY2PR03MB238; BCL:0; PCL:0; RULEID:; SRVR:BY2PR03MB238; X-Microsoft-Exchange-Diagnostics-untrusted: 1; CY1PR03MB1376; 4:kt9N4fJCCw0bT9n1pK8nfDJf+XLKRnk9nPMh8pbDybM3gliiRoflmzTKWdH9FdLkyYXMiuYJTtA3rsUHttH6wpzOEYG8mSJL1gcW6t6d7u0IPpm6VC2hrOaapSFqx3WAIHHxWcOnT8pO3Wxy1SzmbcAFo3brJiSz3LatZQGEg49CSHawzXj4f7qJBXb+RutU3mkvF4hJxa2GTCXMMnKjjGQi/r7yPuykZhVQLqn7GHyn5A/qSPiJNBEGiAnnKA18kI2XCUGLPHearzdFMvxuV6BYxfN9HADorRhcWBZt0+c= X-Forefront-PRVS: 0637FCE711 X-Forefront-Antispam-Report-Untrusted: SFV:NSPM; SFS:(10009020)(6009001)(87976001)(19580395003)(48376002)(53416004)(19580405001)(50466002)(2201001)(92566002)(86362001)(86152002)(77096005)(50986999)(122386002)(77156002)(42186005)(40100003)(189998001)(107886002)(46102003)(50226001)(5001960100002)(5001920100001)(15975445007)(66066001)(62966003)(33646002)(229853001)(5001770100001)(47776003)(4001430100001); DIR:OUT; SFP:1101; SCL:1; SRVR:CY1PR03MB1376; H:linux-builds1.altera.com; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics-untrusted: 1; CY1PR03MB1376; 23:2xzKddTaKLfW+ne9IKpBgghTBtgl7sbj1i07q4L4lkSx2jkc10wVeDvdiWwY2/i3WTbdm1TCfdyLpwMB1zk2YbTWWPMisukmhpMV/F/KmUcouSqLqA9H7u2znikTc/jIr8dBnVxKHbuil56OlNaFutvBvQ3VeliRHTd2krxOghkB0tI6V2TiErR509LjcSCfKYRWGAe3LrLA+gn5WIrJNr/6EgjlXo+bRh4gVPUXqnbGLnEm1OUbUQuYLGJ2Bt2Sk2RqcVJ1VX0M5N5gO7R0o4xx7l/2f/Z7gCihvXMQI95N+F2ukrGmVDAzgBTQXiaLrRWSpFduJ5BY5gZvdWZzfJanReQGAlcA/YlWxA+SvWbXb5A/zxRqVfTqEFO+z5Z5CPzeC83uTBZLsAsuYBQsetv5YP75QXf/Jhm95V+VcRVKtbX2hAlVQFqyFt7QsptECNlew/XLkrcRn1vFwyes2WeNq5ALpCflYOv6Qw73/FNT3acwcyhbxgBY8cy16fYq0kjuVDB+e6I3udCAXQ2K5thz/1jqrVndopKSoRBkJ/hoF423RiX0eh342wZY3Er3W1fXDoA0UD7LzmZEYPTvAdoGtBmFbiOgVcY28eDV7r6uDZUOmLRbPde8tJ8fEnSS7LlPDZd4l/E3RjkL04GxPN9TVY40iYCGtRKp6aMnu4MHytdB3baKfILPqKl17CYlFPMDwwlVPNiZTC2B8IWtdrlv6+9JzsF0vUJ2W+uy5/hyrvbTTgFZ3wsfoqeT9cijRFcOFNGgOeuykptnEditPIupYQvL0hyT80RKP+nZo0o46bwapU52cYZJt67seTel+INBLK6ilVy+PkPwjoGGRN4Um0hpR2CCEmC8zLY9hgbCD63GyR6bir+s0epcqn4W X-Microsoft-Exchange-Diagnostics-untrusted: 1; CY1PR03MB1376; 5:72dHl1UNgZK8cHskl81SeYEaA1igxvXqJNqi1Ig5rXTIV29BlgJWWGKwbmKlQ9/8+dnkf5Bw1pR9M/HmTt37LZh+rvljPslv4gmGxUeafyHZkj4Sei9I7atJ9oLmBm+R0FWXOpP6sDMo06FdaDi1Lg==; 24:SErCKW1GczzgHMnHPZDhjA6u/MQ8f12+DPEL7KX9Ok7H58IgyVwtFLcg9g0rHKIayaUFK+julBBupUrz0iQMc2CNrDM7rrLfJQyZ+hL9oxM=; 20:azGXcxpaIBAQrBnZSM8FeWaJDfGiG18T0SQ6Sp9MHvJ0+7MR9LOvs7EvoNAo/WlobZxWcdk0Eea4CtQ8mdbT40Ul1RbjeIswmAhd13Bv+1Ye75w3ZeLpUiR+nj/YzpC9f7Pr0Jd+mThCFa19h6oAbklNDcc2FazSQv0eA/VIrMw= X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1PR03MB1376 X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: BY2FFO11FD012.protection.gbl X-Microsoft-Exchange-Diagnostics: 1; BY2FFO11FD012; 1:Ld2/nx/B3PX0CgsahYUKvBhNb8UukeMDyJtxQrUmD3gweFMh0d31NNLfbhzIRThlcfGGJwIM5ckOs2j283K4sDY/vASsR3VIc02pHU2q4vhUOw0gmAoqlm/t5WuTiNXeRg+ysk1ehDEAZa4S5RHeVyfzPaNByxrHj6ADIeQ1GuI9bLQu5ZecqFwkvEZiUiJeVc6gjWAb8NeIbQJDH9NY/yJDPLp/F0jDfJfWaaFEMGgJ4G1dWTqFI8WFKTtgLcEXrSbIdsCxatag42FsmniqWgj4cuw4jUuvOVGO9lBozE9kUynIAKCxX0y2tYPVxG4k6S8giExadebRkKne9Ba6kdIkQaXOMeQniExU9LGZqfnGu3n9QNo7Ke3sUu1MHBDaC7xXy0bdnlmlbLirHp39k19DSUfrq+iSjBYJLhX5/Hk= X-Forefront-Antispam-Report: CIP:66.35.236.236; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(2980300002)(339900001)(189002)(199003)(229853001)(40100003)(106466001)(77096005)(50226001)(48376002)(122386002)(62966003)(19580405001)(50466002)(19580395003)(33646002)(15975445007)(92566002)(5001770100001)(77156002)(87936001)(47776003)(189998001)(105606002)(107886002)(86362001)(66066001)(85426001)(16796002)(5001960100002)(2201001)(86152002)(53416004)(46102003)(50986999)(6806004)(7099028)(4001430100001); DIR:OUT; SFP:1101; SCL:1; SRVR:BY2PR03MB238; H:sj-itexedge04.altera.priv.altera.com; FPR:; SPF:Fail; MLV:sfv; MX:1; A:0; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BY2PR03MB238; 2:UqDZHuFVM/TvoOoT3W49dbvN0h5Ev8dPd8vFF8fa3+m6VPKypC6b6lHbfEjmaPOn; 3:GQM8wrpzJwAWN6gZrKM2hokFISAw8Jd5BqAGvHUuqPFHS3f/jOi8FurXt4vUkU+212K3MM0QoJvJj3t87AeO1erZh4u5t+nElPZUi9Yp9zhti3yG9bDCkwQjMdJZMFW9Z7/x7M4t0SXJcgXhr+IkeuBy5iKnQMi1sgU2D4vJydOR2+XxNpjY4TqyMN3ooC8gwjNS1GFC1SUlzAPcchTekmxv4IDxEth0AcaQ/zy2L1s=; 25:291V5vspTd2uOPaH4FCUFZ4vvEWcTjhDHD3CLkKiKxs1clPxls9V81dG5Jg/vtsmah2OMNoVU1B85+8LT4nvRLFuzMJ8C9KMuWEkDuLRsRrl8Jji1/B7HJJia13ZF+XH/6TIbsZIsAgvkKkbkrIVyWPAUTnIZPZUsXMaEtnfrtnbmwuecjEGhgWYc1tSFToD0mmRAN+IvCU8fmoRID2fnXgFVxJgaYhgsjCWn64yxa2Xhaq71QAp4ey61NbM/qkkVTmU3kOmNG+wVGdppmU+Rg==; 20:SQE0gYH7TwXw7MkNuo8SZD5TVVIlQrGLP4jZX/+B0o7Mb/8AEMOk4+e2+IeVOnlH5JfKemfE5U9n9cH1/dXVGTFYVAfKVOu4n61Kx+mPGG8FVkR5qMZKlrjl2ZQnoxEb15enEphHSE1NuFK/BCtSH8XJCAmZmYnYUuAp+DGivLM= X-Microsoft-Exchange-Diagnostics: 1; BY2PR03MB238; 4:cEY8akhbg80MVT7aC0+FJXs7rlRz5WhQzIWDEtkYaK7n6TbKD53NrJPQu1kv/2LgOS7De11NfB8GW1aUS/SmTPgecx2OQrnGObJypWyQjcy1642smkoGtZ4eBCawDowyq9+5mPprlmOlf6kfo3/Ql9hjGWX9aL14TUezbG9ZosoyhGpTkA8WyezSldfRjZJRKJ7/F62LCNQSR1Uqv1K465MDlSUG+WBfTqonbSupKCjAAs2EG9sWz+j4OhGN2dcRORmgZuBJQyfsBQZcbmSsIKczCtMUjUMWBVVVIo7rNEY= X-Forefront-PRVS: 0637FCE711 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BY2PR03MB238; 23:0vfUMiSnPo7HcRVL4rdYPLDuO+KJ9wU+M1Y5LDnfzC?= =?us-ascii?Q?qFlftcB1Bpij16MyxI2amTWs+m0a3BpebS47vENK23BPFiVBbdIIOtPBbkMn?= =?us-ascii?Q?o1uvX4ZoAgmatgpTPvKpu41yFxj4rLDB7XhWnvokyu9ZcZ9Hv3FI0XPj8z/R?= =?us-ascii?Q?nqTHiwTmYMEFD6hRcKqtTmabVhxs1gs/+9M/SmTaTAU7KZQzTns3kyzMHzFP?= =?us-ascii?Q?j///d2QjsCEmCnXK+jeQh6do7vekT5jEw+q/7TFBLX+93n6IY4sUAujlcBDJ?= =?us-ascii?Q?JDxn+xMEOERZ693pthVz2OpLIc4RMFRk+ussZgcxfkxXVEl8d7nQtlQJfQcw?= =?us-ascii?Q?LmqhypHXtXlQB6KT3wU8SLpK03o85zHbLI6uktKwyFzBhhXM2SxbSum8TpXX?= =?us-ascii?Q?L0gx5XoJm2gw8SkUBKBSV0UDbO2pGmkh9FgTo2kIiY8Qighlbe8cTPoBpA47?= =?us-ascii?Q?9cEYJ9ghXHcjm+hc4T/6E/kqvkVNwZ4oYYGlfb+7yF1j4ItDow8V/rGan6tb?= =?us-ascii?Q?qiu2UUgN9fyhk2O9xFC2uRM76SZMTiAiCdLHZMIAVzzdzQwtWUE5FrzxOM9m?= =?us-ascii?Q?pQj42UdMouGCQGlefApA6vUyWEYMk0NFr0gl8Cx6NC5itfqyEJH2sD0/2wgV?= =?us-ascii?Q?e+mHXQ519OK9PALpZLcMsEfza0DZIJkiEctUbX+bA01y4W0Ah6DYFXs7DxqK?= =?us-ascii?Q?pmJ23XGqErqy/fyVROz+8y//xVX9OEWlj4avZX0u9eparMEIHHAlsIbuz0a8?= =?us-ascii?Q?9ba+MTSNvPJtMqDV2pLKC553GNpCDvyLhlRSg9IAQw1pabp8WhodF6oWgX12?= =?us-ascii?Q?tgf6o/9IWHd9meKzT1BRPwHyJOsHkQ7gJPNqU+bSyFHClAcyNk5i2RNND1s5?= =?us-ascii?Q?0z8QSNpxYm2YHC0yR95kui4HnyEZZXM9PWb/fG2VF2woG2ljkLo4kaLe0YGx?= =?us-ascii?Q?1D2WAuagi3dD/QnTabu5J+pUJd8kSh+sULQDQrMVZxom5Bckrfx24TXR6bX7?= =?us-ascii?Q?77/norVnfPooJs6R5FQAqsx8HRpmapmOLw693pYT77eQ=3D=3D?= X-Microsoft-Exchange-Diagnostics: 1; BY2PR03MB238; 5:iqn9tjoQkjOUbtOFT1xHwlPCvC/U4Q75G9C6uqcziqSu3t/SdLV5doLQP4C47P9/cjgGT7cDWsHq9UPC+r6U5zATun+ARIhWSYr9gM0dI4ywUXuc7VZm1NcXCyNUh5Yd8pgbyesJPotKxF4QktHsmA==; 24:AkifNwQbLOf7IDxGOquPQsyfKc1oazFdcHSB25wshMF/Lf4p9trQQkBO8NcmLGOT8ACRTErZ6KscJyQWoUgl6HBwwEvrir65YpLpE0AIRaI=; 20:GSrtHc1l+wGwlIkmAlXaYp7sZP7KJdK27l4kVTyr0KUcjv+KsFsN33V1kdGsWlKxJBgo1zZr6sP59rDyOjt0WupelitZUMzjt58UUFiqnjVgv4c5ZmN4jO4Y1aLCb4BpLa2v2YwJN5wzHcsTRvj/Vu0MULmAoIsovqKGre92yKg= X-OriginatorOrg: opensource.altera.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Jul 2015 21:29:14.5766 (UTC) X-MS-Exchange-CrossTenant-Id: fbd72e03-d4a5-4110-adce-614d51f2077a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=fbd72e03-d4a5-4110-adce-614d51f2077a; Ip=[66.35.236.236]; Helo=[sj-itexedge04.altera.priv.altera.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY2PR03MB238 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150714_142938_601214_8824600B X-CRM114-Status: GOOD ( 13.56 ) X-Spam-Score: -1.9 (-) 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: devicetree@vger.kernel.org, Dalon Westergreen , dinh.linux@gmail.com, Dinh Nguyen , 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-Spam-Status: No, score=-5.6 required=5.0 tests=BAD_ENC_HEADER,BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Dalon Westergreen The Terasic DE0 Atlas board is also known as the DE0-Nano board. Signed-off-by: Dalon Westergreen Signed-off-by: Dinh Nguyen --- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/socfpga_cyclone5_de0_sockit.dts | 109 +++++++++++++++++++++ 2 files changed, 110 insertions(+) create mode 100644 arch/arm/boot/dts/socfpga_cyclone5_de0_sockit.dts diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index 246473a..29e33aa 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile @@ -522,6 +522,7 @@ dtb-$(CONFIG_ARCH_SOCFPGA) += \ socfpga_arria5_socdk.dtb \ socfpga_arria10_socdk_sdmmc.dtb \ socfpga_cyclone5_socdk.dtb \ + socfpga_cyclone5_de0_sockit.dtb \ socfpga_cyclone5_sockit.dtb \ socfpga_cyclone5_socrates.dtb \ socfpga_vt.dtb diff --git a/arch/arm/boot/dts/socfpga_cyclone5_de0_sockit.dts b/arch/arm/boot/dts/socfpga_cyclone5_de0_sockit.dts new file mode 100644 index 0000000..3172c82 --- /dev/null +++ b/arch/arm/boot/dts/socfpga_cyclone5_de0_sockit.dts @@ -0,0 +1,109 @@ +/* + * Copyright Altera Corporation (C) 2015. All rights reserved. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms and conditions of the GNU General Public License, + * version 2, as published by the Free Software Foundation. + * + * This program is distributed in the hope it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for + * more details. + * + * You should have received a copy of the GNU General Public License along with + * this program. If not, see . + */ + +#include "socfpga_cyclone5.dtsi" + +/ { + model = "Terasic DE-0(Atlas)"; + compatible = "altr,socfpga-cyclone5", "altr,socfpga"; + + chosen { + bootargs = "console=ttyS0,115200"; + }; + + memory { + name = "memory"; + device_type = "memory"; + reg = <0x0 0x40000000>; /* 1GB */ + }; + + aliases { + /* this allow the ethaddr uboot environmnet variable contents + * to be added to the gmac1 device tree blob. + */ + ethernet0 = &gmac1; + }; + + regulator_3_3v: 3-3-v-regulator { + compatible = "regulator-fixed"; + regulator-name = "3.3V"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + }; + + leds { + compatible = "gpio-leds"; + hps0 { + label = "hps_led0"; + gpios = <&portb 24 0>; + linux,default-trigger = "heartbeat"; + }; + }; +}; + +&gmac1 { + status = "okay"; + phy-mode = "rgmii"; + + rxd0-skew-ps = <0>; + rxd1-skew-ps = <0>; + rxd2-skew-ps = <0>; + rxd3-skew-ps = <0>; + txen-skew-ps = <0>; + txc-skew-ps = <2600>; + rxdv-skew-ps = <0>; + rxc-skew-ps = <2000>; + max-frame-size = <3800>; +}; + +&gpio0 { + status = "okay"; +}; + +&gpio1 { + status = "okay"; +}; + +&gpio2 { + status = "okay"; +}; + +&i2c0 { + status = "okay"; + speed-mode = <0>; + + adxl345: adxl345@0 { + compatible = "adi,adxl345"; + reg = <0x53>; + + interrupt-parent = <&portc>; + interrupts = <3 2>; + }; + +}; + +&mmc0 { + vmmc-supply = <®ulator_3_3v>; + vqmmc-supply = <®ulator_3_3v>; +}; + +&uart0 { + status = "okay"; +}; + +&usb1 { + status = "okay"; +};