From patchwork Fri Jan 18 14:53:28 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Abel Vesa X-Patchwork-Id: 1027455 X-Patchwork-Delegate: sbabic@denx.de Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=nxp.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=nxp.com header.i=@nxp.com header.b="Sik2VSF4"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 43h46t17vmz9sCh for ; Sat, 19 Jan 2019 02:07:18 +1100 (AEDT) Received: by lists.denx.de (Postfix, from userid 105) id DA733C22109; Fri, 18 Jan 2019 14:57:01 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=SPF_HELO_PASS, T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id 46F6AC220C9; Fri, 18 Jan 2019 14:53:44 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 9A766C2212D; Fri, 18 Jan 2019 14:53:33 +0000 (UTC) Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-eopbgr140084.outbound.protection.outlook.com [40.107.14.84]) by lists.denx.de (Postfix) with ESMTPS id E20B3C220F1 for ; Fri, 18 Jan 2019 14:53:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=EFXZvyqv+eH72zXT5E+Lf6C+6CPOVA9eGS75I7sMF40=; b=Sik2VSF4j+bhFlk61HtO+HXrOQyQVeBxLBWvWz/yZwohO/H4m/RVYaE+MzPugV+L7PSG6xjBjay/hHSFQaTxwMolFqCGPZ8yHt/Skp+el4vIvbrB4KOhaGZobu33J6MLD44HwWUUPyRzmJKq0Z5h6v0fMMCCAR+Ot3jBVkLmPAo= Received: from AM6PR0402MB3654.eurprd04.prod.outlook.com (52.133.28.145) by AM6PR0402MB3591.eurprd04.prod.outlook.com (52.133.20.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1516.18; Fri, 18 Jan 2019 14:53:28 +0000 Received: from AM6PR0402MB3654.eurprd04.prod.outlook.com ([fe80::24fe:718b:a240:1aee]) by AM6PR0402MB3654.eurprd04.prod.outlook.com ([fe80::24fe:718b:a240:1aee%2]) with mapi id 15.20.1537.018; Fri, 18 Jan 2019 14:53:28 +0000 From: Abel Vesa To: Tom Rini , Fabio Estevam , "u-boot@lists.denx.de" , dl-uboot-imx , Peng Fan Thread-Topic: [PATCH 15/26] arm: dts: Add imx6qp-sabreauto dts file Thread-Index: AQHUrz2SI99JNowadUeBHBHG+v4x4g== Date: Fri, 18 Jan 2019 14:53:28 +0000 Message-ID: <1547823182-6756-16-git-send-email-abel.vesa@nxp.com> References: <1547823182-6756-1-git-send-email-abel.vesa@nxp.com> In-Reply-To: <1547823182-6756-1-git-send-email-abel.vesa@nxp.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: AM5PR0402CA0002.eurprd04.prod.outlook.com (2603:10a6:203:90::12) To AM6PR0402MB3654.eurprd04.prod.outlook.com (2603:10a6:209:19::17) x-originating-ip: [95.76.156.53] authentication-results: spf=none (sender IP is ) smtp.mailfrom=abel.vesa@nxp.com; x-ms-exchange-messagesentrepresentingtype: 1 x-mailer: git-send-email 2.7.4 x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; AM6PR0402MB3591; 6:JTemRJQHvBbQcR1j7IbM6fwVC3Y1M/eoLfGuLST/akw8PIj9AgDMdJ/WuhMbZCbQxmKYRjuJdNIeLwIAm1/Cu/WDqSQml64ySYtZLCrTnsyIVpZGsABOZ21iSmKP9r+iB8B1ZufepCD21hZy9yiOiH1oERs+l5AtBoKma83T03Wg/vlRpMB9lvG+j5y90pu0ZteH5y9joxYm+6TPrpsdfr6dZdjcdCdGEQ3GR+LDy2FNN/F67vPyyzLTtRfTXxHfjAOWGSXhy9b6x+sJ0kAu8upIBBCa0YsVpklnNp4WERz5eL2vgZkk8gkIUvwq7SdPMY+leuopQqR5PR9ZgPjLCV2Zjvqxy9Qw4vMxZ8Rr9kJmuRYmeSetkE1bpxuItkxZdntMXyNndQTlxTkd+FbgeNXw/wG7ICETk8OXBDzxCZwE0LpwXoSyY/VYqwDBbLJghHd+SDqn0fE/glylW1B5CA==; 5:bA+7ZipVEqlyBQEz6bt2ClARo+gcmsr/CK5SPEsKkpWLFQ3tD0XEzsnCYBggNO4wU+oKoSil8H6bOG+1L43x8dxHZS8wfkDuTKjZZBQNdjeVhayW2e5kdLhfIl7yuI3YEADLKI5jEILHqWgouU+gA10bEse/eeWJrBZnGNMFKEramqca/SZzZFUwbMFwLnfrLCk0g16SwxtNsdY5SGXH3g==; 7:icT4DDJWRhUbssjt1LYyf4lfHAV9CfmYT04IDEVXmGwmVlLQF6npBBqGrsLx5CI1vpui/egKuIIjvl8KAXFpwKwfAJVe8Z6thDVL+TMWEp94Dr2WNtTmwbyaZaP4585fiw4Im6U6nS6A7L+VyorUGw== x-ms-office365-filtering-correlation-id: b9f49e1e-c54e-43d7-013e-08d67d54b4a1 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600109)(711020)(4618075)(2017052603328)(7153060)(7193020); SRVR:AM6PR0402MB3591; x-ms-traffictypediagnostic: AM6PR0402MB3591: x-microsoft-antispam-prvs: x-forefront-prvs: 0921D55E4F x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(346002)(376002)(136003)(39860400002)(366004)(396003)(199004)(189003)(110136005)(6636002)(305945005)(7736002)(2501003)(105586002)(99286004)(86362001)(106356001)(68736007)(71190400001)(186003)(71200400001)(76176011)(50226002)(3846002)(26005)(36756003)(14444005)(486006)(386003)(316002)(44832011)(81156014)(6116002)(6512007)(81166006)(8676002)(8936002)(6436002)(66066001)(52116002)(97736004)(25786009)(102836004)(4326008)(14454004)(6506007)(478600001)(256004)(53936002)(5660300001)(446003)(476003)(2616005)(2906002)(11346002)(6486002)(32563001)(2004002); DIR:OUT; SFP:1101; SCL:1; SRVR:AM6PR0402MB3591; H:AM6PR0402MB3654.eurprd04.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: KCb3TJTXg2X/n2wZWIaEmaCaUCiZFmOUrdcx89Bvr4SuKirqYGDJs462JlHicd049hzMKOqbZy+RgcYkI9jVZF/ciZ8osw2NnCX2uCJJLlg5so5FTgc9+jbE8b5iP/kjz0fE65r5syFpRjdm1mrvU9TJgNDjB+QecQUihow8BlWe24sVIs8QBTU27DqRIDUnRtx97QnlP61dDs9vAOV5jHNMLX5w/aLO/9+0YqqgqLfPHURS2otwI1cdfNxdP1Ba2+C6P1ZLeM5sgNJY1LKbUZzpA04BWJ20UB2uYYye8+2yboHqI/XQZBkvcIas0il2cO9dq4KI7U4xGaGae/nISnno4vrCjA1PcrlyJXFEe4Et71kb1x+po615hDAxSbvrCZX6DKRJ7WfoPs3rN7XTC3qYKJgkoDnWnw1wk5P3dE4= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: b9f49e1e-c54e-43d7-013e-08d67d54b4a1 X-MS-Exchange-CrossTenant-originalarrivaltime: 18 Jan 2019 14:53:27.6772 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR0402MB3591 Subject: [U-Boot] [PATCH 15/26] arm: dts: Add imx6qp-sabreauto dts file X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" Add imx6qp-sabreauto dts support from Linux. Signed-off-by: Abel Vesa --- arch/arm/dts/Makefile | 3 +- arch/arm/dts/imx6qp-sabreauto.dts | 93 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 95 insertions(+), 1 deletion(-) create mode 100644 arch/arm/dts/imx6qp-sabreauto.dts diff --git a/arch/arm/dts/Makefile b/arch/arm/dts/Makefile index 520d1a5..f827740 100644 --- a/arch/arm/dts/Makefile +++ b/arch/arm/dts/Makefile @@ -444,7 +444,8 @@ dtb-$(CONFIG_MX6QDL) += \ imx6q-sabreauto.dtb \ imx6q-sabresd.dtb \ imx6dl-sabreauto.dtb \ - imx6dl-sabresd.dtb + imx6dl-sabresd.dtb \ + imx6qp-sabreauto.dtb dtb-$(CONFIG_MX6SL) += imx6sl-evk.dtb diff --git a/arch/arm/dts/imx6qp-sabreauto.dts b/arch/arm/dts/imx6qp-sabreauto.dts new file mode 100644 index 0000000..5ce3840 --- /dev/null +++ b/arch/arm/dts/imx6qp-sabreauto.dts @@ -0,0 +1,93 @@ +/* + * Copyright 2016 Freescale Semiconductor, Inc. + * + * This file is dual-licensed: you can use it either under the terms + * of the GPL or the X11 license, at your option. Note that this dual + * licensing only applies to this file, and not this project as a + * whole. + * + * a) This file is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License as + * published by the Free Software Foundation; either version 2 of the + * License, or (at your option) any later version. + * + * This file is distributed in the hope that 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. + * + * Or, alternatively, + * + * b) Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or + * sell copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + */ + +/dts-v1/; + +#include "imx6qp.dtsi" +#include "imx6qdl-sabreauto.dtsi" + +/ { + model = "Freescale i.MX6 Quad Plus SABRE Automotive Board"; + compatible = "fsl,imx6qp-sabreauto", "fsl,imx6qp"; +}; + +&i2c2 { + max7322: gpio@68 { + compatible = "maxim,max7322"; + reg = <0x68>; + gpio-controller; + #gpio-cells = <2>; + }; +}; + +&iomuxc { + imx6qdl-sabreauto { + pinctrl_enet: enetgrp { + fsl,pins = < + MX6QDL_PAD_KEY_COL1__ENET_MDIO 0x1b0b0 + MX6QDL_PAD_KEY_COL2__ENET_MDC 0x1b0b0 + MX6QDL_PAD_RGMII_TXC__RGMII_TXC 0x1b018 + MX6QDL_PAD_RGMII_TD0__RGMII_TD0 0x1b018 + MX6QDL_PAD_RGMII_TD1__RGMII_TD1 0x1b018 + MX6QDL_PAD_RGMII_TD2__RGMII_TD2 0x1b018 + MX6QDL_PAD_RGMII_TD3__RGMII_TD3 0x1b018 + MX6QDL_PAD_RGMII_TX_CTL__RGMII_TX_CTL 0x1b018 + MX6QDL_PAD_RGMII_RXC__RGMII_RXC 0x1b018 + MX6QDL_PAD_RGMII_RD0__RGMII_RD0 0x1b018 + MX6QDL_PAD_RGMII_RD1__RGMII_RD1 0x1b018 + MX6QDL_PAD_RGMII_RD2__RGMII_RD2 0x1b018 + MX6QDL_PAD_RGMII_RD3__RGMII_RD3 0x1b018 + MX6QDL_PAD_RGMII_RX_CTL__RGMII_RX_CTL 0x1b018 + MX6QDL_PAD_GPIO_16__ENET_REF_CLK 0x4001b0a8 + MX6QDL_PAD_GPIO_6__ENET_IRQ 0x000b1 + >; + }; + }; +}; + +&pcie { + status = "disabled"; +}; + +&vgen3_reg { + regulator-always-on; +};