From patchwork Wed Sep 19 06:04:45 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Anson Huang X-Patchwork-Id: 10605351 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 0A8DD112B for ; Wed, 19 Sep 2018 06:11:11 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id ECA792B59F for ; Wed, 19 Sep 2018 06:11:10 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E02672B5C0; Wed, 19 Sep 2018 06:11:10 +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=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 5F86A2B59F for ; Wed, 19 Sep 2018 06:11:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=mZUvcSdPd5q7C/oi8KB5vrrnwOwF7HFibJTB9netWic=; b=evBbehWcAz9uQd x9BueYmLc3dLWyCuHqvR/OV/yqNA3bLMfnewzt1y5agH2/yaeEyVzd0byCIsdmib6G4m08gdqnVqp qxv/GLAapK2t9hva6PRw6EpXs0aH0uo4UG3zrkVxegPcX/e51MDivH1aN/tOOk9c8PDn9jp1gLoxn lOcApm28eVeH/wD4k/WFskjuxaauyds96yEFc321cCr52sJXxxBoYAdDgZKRFjFA5ZOv1E2C+zwy1 BkhsYGpn1kk0/449zpb38/GpHmOZXKMMW6DjPFs4o8u1JxZANmq/ZV1TVyW4gdO6iFjEYpNoB2Vzo nxyhvzmIqr99W+/ppCJg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1g2VhR-00048l-5P; Wed, 19 Sep 2018 06:10:57 +0000 Received: from mail-eopbgr10046.outbound.protection.outlook.com ([40.107.1.46] helo=EUR02-HE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1g2VgZ-0002Rv-QK for linux-arm-kernel@lists.infradead.org; Wed, 19 Sep 2018 06:10:06 +0000 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=nS6zmtPpJX0mAscP8F2uy/cKsZTsc4He2u2hCKTJeDk=; b=kqxcGx7J6XXgoGOcISy1LZgZfICuAGvPdYNfXb9QTO1zHKgT70slCMlxb1WGdROx1ZNpADy5kXaZMwNSTX8SHlq0wmoKE46uIidJiCMfTuBTNgWWsiPZAn35e8uE1HhDrYCn9TfYUla92HvslPO/cUgf4KVPqybCA4ncSA1Up90= Received: from anson-OptiPlex-790.ap.freescale.net (119.31.174.66) by VI1PR0402MB3919.eurprd04.prod.outlook.com (2603:10a6:803:22::32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1143.18; Wed, 19 Sep 2018 06:09:46 +0000 From: Anson Huang To: robh+dt@kernel.org, mark.rutland@arm.com, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, fabio.estevam@nxp.com, linux@armlinux.org.uk, mturquette@baylibre.com, sboyd@kernel.org, ping.bai@nxp.com, Aisheng.dong@nxp.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org Subject: [PATCH V2 1/4] ARM: imx: add i.mx6ulz msl support Date: Wed, 19 Sep 2018 14:04:45 +0800 Message-Id: <1537337088-28819-2-git-send-email-Anson.Huang@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1537337088-28819-1-git-send-email-Anson.Huang@nxp.com> References: <1537337088-28819-1-git-send-email-Anson.Huang@nxp.com> MIME-Version: 1.0 X-Originating-IP: [119.31.174.66] X-ClientProxiedBy: HK0PR03CA0026.apcprd03.prod.outlook.com (2603:1096:203:2f::14) To VI1PR0402MB3919.eurprd04.prod.outlook.com (2603:10a6:803:22::32) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 14276a32-71c5-4ec0-aa61-08d61df682d2 X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989299)(4534165)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(4618075)(2017052603328)(7153060)(7193020); SRVR:VI1PR0402MB3919; X-Microsoft-Exchange-Diagnostics: 1; VI1PR0402MB3919; 3:X45PeOvRXcz3VFOrJKZxQ2YI6i1s/12clPoP7yjPiTIY3bsvTweKswxL/MsRvSGBBP+JCBJrruQaL7k7mGD9ny54CHQCp9VeyYFDfnfVPrZ+WYjny2JIP+HoBEWT43qRPba1yyCq952hoJ+HJHLoK6ot5FZvR+NKUKUDYiBHdiKZMbnvqf+nRMT+moj5VEL1uBmsVKXcKv8dkhXwFEPLVhj27qiN1hxAA4NAqbI9tDN82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s2pQyqFfY9Pd7XB4XXYo03U1r048ouE1yJoMdAArHAi9i8JiLLbAsahgE0OTdEWPQoD38LK/SseiNKgRV6x25zkALosygp9QeGMTw/PaxN4Iej; 4:/1cdDt85SiN/D9WUBmR0rgESU6Go0BaTgy/qN5hGZoKJwZCXjQ2uEyhViuUKfUyl6njPDV/gJm436iU8Cjbu2LDliubb+h7R9TOac1M+zaMypElsZOzVchk95Vu3zdocnGIWVf3zM53PUvM06B0ILUaC33kIELHZKMPetNO72PN/R9mv4SAQAMvfxCIxw+ntznrx0gFeO5KTRD9M22ET+vKN+4qPdc8YDixn2IS9ANF58cMrcGqd2PGJBpN4eKuFmitAi3o2oNq4sAf0KalOgeVX3zS0Xi6kiuFNxnodhDfr1LyTS3dknxHX8yI1m98q X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(93006095)(93001095)(3231355)(944501410)(52105095)(3002001)(10201501046)(6055026)(149027)(150027)(6041310)(20161123564045)(20161123562045)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(201708071742011)(7699050)(76991041); SRVR:VI1PR0402MB3919; BCL:0; PCL:0; RULEID:; SRVR:VI1PR0402MB3919; X-Forefront-PRVS: 0800C0C167 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(346002)(39860400002)(366004)(376002)(136003)(396003)(189003)(199004)(6506007)(26005)(23676004)(486006)(4326008)(16526019)(36756003)(52116002)(476003)(956004)(11346002)(105586002)(25786009)(6512007)(386003)(53936002)(2616005)(47776003)(6346003)(186003)(68736007)(81166006)(81156014)(446003)(8936002)(76176011)(50226002)(66066001)(106356001)(6486002)(5660300001)(86362001)(305945005)(7416002)(7736002)(478600001)(2906002)(6116002)(3846002)(2870700001)(316002)(50466002)(97736004)(8676002)(921003)(1121003); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR0402MB3919; H:anson-OptiPlex-790.ap.freescale.net; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; Received-SPF: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=anson.huang@nxp.com; X-Microsoft-Exchange-Diagnostics: =?utf-8?q?1=3BVI1PR0402MB3919=3B23=3AxAjVx?= =?utf-8?q?mptzy7JqZNNQHA9hdf1uhxRbrxW4q1ZuFkqwtKNkjhOT0zje4zFcclT6k7WzHOOtz?= =?utf-8?q?7D4n4CAwHJ50rDNRfMd3iHk18wN5U2oQqjGaWkgIK4gX9iyTB3P3aMQXpO5ryoFcV?= =?utf-8?q?LYwf7QQEz1KpA9kp3M1wUcNBzpkiAre9hAPtpiPkMy25CKhrXISQmw5JidXRl0e0h?= =?utf-8?q?5MpMmPbTzChH9NthRz7Azlat+aMD3ryB+/flSpujvl4Y5S7tufyW6BfLBzn6I0Alg?= =?utf-8?q?tBAhrVA6YgxAJMRgC/Vsl0ueFjX/NhKcVfU7CrZL1JiaYks55TGZJswnlvNl0ta0M?= =?utf-8?q?UD9BLgZzB3C4X9OST8TIgweUGqltWqoH3psw6/wW8KXIZYR4VuHTdY7DUqLh6StWv?= =?utf-8?q?+ERgzeUY88rvGzLP87HvblMmAU/Zya0LdC03rjAIN+MIuAuBVYZOtAXHgV4glNjR/?= =?utf-8?q?KBNvlSYXLS/iqvv3aRHcF98RLqAXzYRf7tJepEHfpCpDBrwpgm16b3bEUjRWZk1Hx?= =?utf-8?q?54Ezr3HSHjLIBHU2sg901kMfSCQgD182+iUNYxjSOo4INUv37uCtObBrQJF3uWPYz?= =?utf-8?q?4SgJRv0TwXWtJoKxCQF7cGgXUV3b9koFR8V/sWfctpmXUmF/UU6Oc9Ay+0IwazhPe?= =?utf-8?q?5Qp1jZV0oM6+Bpcd9viiShfYYMKETtjF41DbNvtSAobQabVUou3o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N0odh+7hdRRYCSrYurst4Oe8khaj4CeP1H0VLPwRS8hFVTmiljhcmHW3kRg8cipWJiw+LLrtRg9ERRyBcI9KL9yR3L63mdCDe89VnrRYM7MkwaupP5dReDxv4qRHsFj7x8EM6HcZrZcPPz0lIMbHPf3B4WBbJtD+1a+e8LKU/3jzE7wuaPboooSht11Iz4TU8FCoNxDi7P2MSsadiNmjkrv0qp+Vhi6dDiY/Rvas6h28LOPuEBIqg43QzdgOSJXMTtscT7B/lrZwsK3RfWBCxV5RhRGZBz5QZrxf5lOU+yrUyws4++NqCPE5el5lqHAS530XkUBcEee5U/ucOsnz7Sp0rXiXb8Vr/KnbcJOlINeFKdQNmyKmYCBt9zAApngx7lmEah63qKoXtiyGl0viCQ==; 5:HB/00ueQcnbFvoUcaQ+I14kfcZrHpy4l9mJFah6xZ9Cl8+fumh7h04tkyqK+Nj6IyDFlrc/dswRmDPAJeQ8Qt510cayhcHhb6eV6xBcLCmmKr4XS+gE907xCRbRozWIsTUjVeozNl1yse5RvpFOFCe4f9ZQC6XftqUEIoEWfB24=; 7:03q/2XIxwNEufyYrWrc1q/QwmTxM7JruMUw+XyvrnhUW6n/hGLhGTkyMFL90rTDoQ7Q/qRFDOkwIi/Y2/vT4WJWyMF+m8JpHp4Zk/EoXL3aE+egYH1lDaHIYk7DS51MjXiCpxahEXraX5Izj8ADA/j7UjIaOeMIeViYoOxr547twJv8usnRVa+OoiRjwP3dwp1juQNd2kZatW3fA5lN8NGseGYvFgTuYYatMIEBZjSyVuGGFKKNM7beNr9/zvJ3R SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Sep 2018 06:09:46.6725 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 14276a32-71c5-4ec0-aa61-08d61df682d2 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0402MB3919 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180918_231003_903041_90BBACF1 X-CRM114-Status: GOOD ( 17.00 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Linux-imx@nxp.com 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 The i.MX 6ULZ processor is a high-performance, ultra cost-efficient consumer Linux processor featuring an advanced implementation of a single Arm® Cortex®-A7 core, which operates at speeds up to 900 MHz. This patch adds basic MSL support for i.MX6ULZ, the i.MX6ULZ has same soc_id as i.MX6ULL, and SRC_SBMR2 bit[6] is to differentiate i.MX6ULZ from i.MX6ULL, 1'b1 means i.MX6ULZ and 1'b0 means i.MX6ULL. Signed-off-by: Anson Huang --- arch/arm/mach-imx/anatop.c | 20 ++++++++++++++++++++ arch/arm/mach-imx/cpu.c | 3 +++ arch/arm/mach-imx/mach-imx6ul.c | 1 + arch/arm/mach-imx/mxc.h | 7 +++++++ arch/arm/mach-imx/pm-imx6.c | 4 ++-- 5 files changed, 33 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-imx/anatop.c b/arch/arm/mach-imx/anatop.c index 61f3d94..45d618a 100644 --- a/arch/arm/mach-imx/anatop.c +++ b/arch/arm/mach-imx/anatop.c @@ -31,6 +31,8 @@ #define ANADIG_DIGPROG_IMX6SL 0x280 #define ANADIG_DIGPROG_IMX7D 0x800 +#define SRC_SBMR2 0x1c + #define BM_ANADIG_REG_2P5_ENABLE_WEAK_LINREG 0x40000 #define BM_ANADIG_REG_2P5_ENABLE_PULLDOWN 0x8 #define BM_ANADIG_REG_CORE_FET_ODRIVE 0x20000000 @@ -148,6 +150,24 @@ void __init imx_init_revision_from_anatop(void) major_part = (digprog >> 8) & 0xf; minor_part = digprog & 0xf; revision = ((major_part + 1) << 4) | minor_part; + + if ((digprog >> 16) == MXC_CPU_IMX6ULL) { + void __iomem *src_base; + u32 sbmr2; + + np = of_find_compatible_node(NULL, NULL, + "fsl,imx6ul-src"); + src_base = of_iomap(np, 0); + WARN_ON(!src_base); + sbmr2 = readl_relaxed(src_base + SRC_SBMR2); + iounmap(src_base); + + /* src_sbmr2 bit 6 is to identify if it is i.MX6ULZ */ + if (sbmr2 & (1 << 6)) { + digprog &= ~(0xff << 16); + digprog |= (MXC_CPU_IMX6ULZ << 16); + } + } } mxc_set_cpu_type(digprog >> 16 & 0xff); diff --git a/arch/arm/mach-imx/cpu.c b/arch/arm/mach-imx/cpu.c index c6b1bf9..c73593e 100644 --- a/arch/arm/mach-imx/cpu.c +++ b/arch/arm/mach-imx/cpu.c @@ -136,6 +136,9 @@ struct device * __init imx_soc_device_init(void) case MXC_CPU_IMX6ULL: soc_id = "i.MX6ULL"; break; + case MXC_CPU_IMX6ULZ: + soc_id = "i.MX6ULZ"; + break; case MXC_CPU_IMX6SLL: soc_id = "i.MX6SLL"; break; diff --git a/arch/arm/mach-imx/mach-imx6ul.c b/arch/arm/mach-imx/mach-imx6ul.c index 6cb8a22..4ffe3c8 100644 --- a/arch/arm/mach-imx/mach-imx6ul.c +++ b/arch/arm/mach-imx/mach-imx6ul.c @@ -90,6 +90,7 @@ static void __init imx6ul_init_late(void) static const char * const imx6ul_dt_compat[] __initconst = { "fsl,imx6ul", "fsl,imx6ull", + "fsl,imx6ulz", NULL, }; diff --git a/arch/arm/mach-imx/mxc.h b/arch/arm/mach-imx/mxc.h index 026e2ca..b130a53 100644 --- a/arch/arm/mach-imx/mxc.h +++ b/arch/arm/mach-imx/mxc.h @@ -40,6 +40,8 @@ #define MXC_CPU_IMX6Q 0x63 #define MXC_CPU_IMX6UL 0x64 #define MXC_CPU_IMX6ULL 0x65 +/* virtual cpu id for i.mx6ulz */ +#define MXC_CPU_IMX6ULZ 0x6b #define MXC_CPU_IMX6SLL 0x67 #define MXC_CPU_IMX7D 0x72 @@ -80,6 +82,11 @@ static inline bool cpu_is_imx6ull(void) return __mxc_cpu_type == MXC_CPU_IMX6ULL; } +static inline bool cpu_is_imx6ulz(void) +{ + return __mxc_cpu_type == MXC_CPU_IMX6ULZ; +} + static inline bool cpu_is_imx6sll(void) { return __mxc_cpu_type == MXC_CPU_IMX6SLL; diff --git a/arch/arm/mach-imx/pm-imx6.c b/arch/arm/mach-imx/pm-imx6.c index 529f4b5..87f45b9 100644 --- a/arch/arm/mach-imx/pm-imx6.c +++ b/arch/arm/mach-imx/pm-imx6.c @@ -313,7 +313,7 @@ int imx6_set_lpm(enum mxc_cpu_pwr_mode mode) if (cpu_is_imx6sl()) val |= BM_CLPCR_BYPASS_PMIC_READY; if (cpu_is_imx6sl() || cpu_is_imx6sx() || cpu_is_imx6ul() || - cpu_is_imx6ull() || cpu_is_imx6sll()) + cpu_is_imx6ull() || cpu_is_imx6sll() || cpu_is_imx6ulz()) val |= BM_CLPCR_BYP_MMDC_CH0_LPM_HS; else val |= BM_CLPCR_BYP_MMDC_CH1_LPM_HS; @@ -331,7 +331,7 @@ int imx6_set_lpm(enum mxc_cpu_pwr_mode mode) if (cpu_is_imx6sl() || cpu_is_imx6sx()) val |= BM_CLPCR_BYPASS_PMIC_READY; if (cpu_is_imx6sl() || cpu_is_imx6sx() || cpu_is_imx6ul() || - cpu_is_imx6ull() || cpu_is_imx6sll()) + cpu_is_imx6ull() || cpu_is_imx6sll() || cpu_is_imx6ulz()) val |= BM_CLPCR_BYP_MMDC_CH0_LPM_HS; else val |= BM_CLPCR_BYP_MMDC_CH1_LPM_HS; From patchwork Wed Sep 19 06:04:46 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anson Huang X-Patchwork-Id: 10605355 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id F1B04112B for ; Wed, 19 Sep 2018 06:12:03 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DD91A2B5B3 for ; Wed, 19 Sep 2018 06:12:03 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D03D62B5C1; Wed, 19 Sep 2018 06:12:03 +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=-2.9 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 5171A2B5B3 for ; Wed, 19 Sep 2018 06:12:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=JeY7KaR+U3U6Ness06wt0wuTnxkuQHsBmEFTfEDm8tg=; b=K3JcdoMxohslJJ MUhjF73nRHglhUmz7UFASeyI3jB14AFsQgf+hEmKFFO236BERprNKqvhEC9k4uwk5kAnjOegUU2mq 9fkKREZw6I4+sem3JNGWX6vcjFSXlad5XNwrqbKSp7eF6UMOIEXGbFsLnh7Zp6HMK6fgLdS6UocQL jqxvBOjnusfwdp+5w6pqWchmp7COEk3ic8Vihs0+5JcEgZRcWQxsHrAXIwJLl885orl5uX7mQ3RIx S0f69SWTRCjd4rJtr4NpDao+upiNt3qt9VlsFxZCptE1d6G5KzIgEvCE0h3WYQoZ/7ENXz3e6jc+G n7ER08jJjkVNeP9S3xqg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1g2ViH-0004Tw-8R; Wed, 19 Sep 2018 06:11:49 +0000 Received: from mail-eopbgr10046.outbound.protection.outlook.com ([40.107.1.46] helo=EUR02-HE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1g2Vgc-0002Rv-O6 for linux-arm-kernel@lists.infradead.org; Wed, 19 Sep 2018 06:10:15 +0000 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=0KzZb6S2yciXf3W0EO6IdVNP5Zz8IzXObnLQF4G2G8Q=; b=Bav6YBCofvMuYPkEiZC1KUb6rabRj4RYCcaCf+ewl+VIFI9rhetlwjrpJPwIBx+K9seh+lsGYwtYwEQSFMfpYHNozJyA5H7bStJUK+VxoV7zgvQe97fYgN3Yl6xHp0czEGkhSr+KQ8exVzynyqIoVzSj24ijPfpx44tzpInG0LI= Received: from anson-OptiPlex-790.ap.freescale.net (119.31.174.66) by VI1PR0402MB3919.eurprd04.prod.outlook.com (2603:10a6:803:22::32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1143.18; Wed, 19 Sep 2018 06:09:52 +0000 From: Anson Huang To: robh+dt@kernel.org, mark.rutland@arm.com, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, fabio.estevam@nxp.com, linux@armlinux.org.uk, mturquette@baylibre.com, sboyd@kernel.org, ping.bai@nxp.com, Aisheng.dong@nxp.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org Subject: [PATCH V2 2/4] clk: imx6ul: add i.mx6ulz support Date: Wed, 19 Sep 2018 14:04:46 +0800 Message-Id: <1537337088-28819-3-git-send-email-Anson.Huang@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1537337088-28819-1-git-send-email-Anson.Huang@nxp.com> References: <1537337088-28819-1-git-send-email-Anson.Huang@nxp.com> MIME-Version: 1.0 X-Originating-IP: [119.31.174.66] X-ClientProxiedBy: HK0PR03CA0026.apcprd03.prod.outlook.com (2603:1096:203:2f::14) To VI1PR0402MB3919.eurprd04.prod.outlook.com (2603:10a6:803:22::32) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 4ad0c0fe-1725-4c4a-e544-08d61df6870d X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989299)(4534165)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(4618075)(2017052603328)(7153060)(7193020); SRVR:VI1PR0402MB3919; X-Microsoft-Exchange-Diagnostics: 1; VI1PR0402MB3919; 3:WA+G+eB7Vv0Knp5214/cqBXl0w6ujoK5aSygRFvezE4SoKi/woelZlInZHlklfeke2yjYSkHMS+UI0e1NthEPqeD4CM+hkTCdh9ffO6osH0vEGBGjQbZTXVKF8xwz7V5RfvsotZJ/QJlCC9vhDyYezFtvkDx5oZDA3AWiSjtW1MWqSdXlSxuLjt4psm5DHgOfQsGk1/tG4VWo8brtH2vixJB+lo7bhd8eNPBqzlx86hac9mlLhscnu8MxnKRLjbR; 25:C3vP6RmJ+rW6kgUil+KglLPoRJhQYCYlqtu1u/GdDDCXxkljCqA9WBYtW3x1/SUHbffbZRA9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byDOsqB8PzWftMbLdHm87F; 4:SxpGKpztd/1ZqnsYQwxaPSkuRfQfdq24Qr7W+Jj9msr276PqFlGFe7RyZjUDJeGndbRn3i2M3jJy5HgdLPpMmHQsRsyHeSa5FvrhwhqR0xNEIsbdhNcAr6Me2ts8gKY88/8bFZWDIQs8o3x4X0OtwbMLZBW7XhBejtGsEuMUFI+p/Ijcea7GbiHoBikH2Oq2lg7bI0wyt5l5tpwOPSQLH8+mUO+lsyYEicdmdoW2yIAX1O9P+fq89T9L/+wni0ucxZLD8TiAwZ1FkWc/kJVcqSM/HIBdXZBHorgl25c16ONNK2SlBRZjqFX/sh1D0gbW X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(93006095)(93001095)(3231355)(944501410)(52105095)(3002001)(10201501046)(6055026)(149027)(150027)(6041310)(20161123564045)(20161123562045)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(201708071742011)(7699050)(76991041); SRVR:VI1PR0402MB3919; BCL:0; PCL:0; RULEID:; SRVR:VI1PR0402MB3919; X-Forefront-PRVS: 0800C0C167 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(346002)(39860400002)(366004)(376002)(136003)(396003)(189003)(199004)(6506007)(51416003)(26005)(486006)(4326008)(16526019)(36756003)(52116002)(476003)(956004)(11346002)(105586002)(25786009)(6512007)(386003)(53936002)(2616005)(47776003)(6346003)(186003)(68736007)(81166006)(81156014)(446003)(8936002)(76176011)(50226002)(66066001)(106356001)(6486002)(5660300001)(6666003)(86362001)(305945005)(7416002)(7736002)(478600001)(2906002)(16586007)(6116002)(3846002)(316002)(48376002)(50466002)(97736004)(14444005)(8676002)(32563001)(921003)(1121003); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR0402MB3919; H:anson-OptiPlex-790.ap.freescale.net; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; Received-SPF: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=anson.huang@nxp.com; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; VI1PR0402MB3919; 23:vR1OavGN1OeiBmO4Z/MbqqcpTeEq86to+EI6vnr?= k12X6laOBAuoDteGu9ZIb4K/ja4jJ2RYFwKDVXHvtpMCJr05IkWl4EDJ6hAzGe3Z2oWucEbLoq698PmHIWqI+HFuRLtUgHfYwBV4GXrl98ZPoEcOptLjTS7Y/Mm64eWIagk7sFxEGyfkSw2jsQIKEghN6fdSoEgIUc41K8L3ApJFGO7AtQsLakmaJbEcVvelBTEoeyfI2LXbt9nsnzcxcggxxjhEvq5H5fOVvBNuMIqz9ZNw0Y5sggCUCwH+qzwHoefmQ+43W47xDcQ3LqNzy+IcQB5eLT82lp0NXyuVlmQy+JBcOX0EANn6/N5RysSLk/nvb4hV7i1GOiNEQTAUPgUkivxSc5mmU41QuUzFEoZVjb6EwmKZ/gj6xfYDcqnzyZGgYBY7b5rklZ0lRZcbX22fWOefw++pu734qhuow+0+TJY/ogW1jfbLE4HyVruxnl+oc/PEte4zRynYTJcHorNVqeWSPItIDTW3Sy4JIMB7h1Z1q/g4pptLAbog8J6F726xphmeNMy7X8couygs0YYwGuJ/PjdYv3CE9SW312sIrNsiN4px/FeF4w2vY8a2/q2iomhvUte9hN1Kv7/XT6dlhC5x7I8BINNpq9KAgkcl+2294YrywpBOe7KQo4Ucy0dK7fKTRrQNIXKwYnKWCLg/coUNvtSTF3LWXIyilDrayf1iEIcBVUIgAyCLjLsP2qj29w131qVNUODmb0CIJxqwIIBrdtTn7Kkj+fvzl2JmXxQU+mNTh+FDqoCa4iXzEzhk/1LDCrfMWwumKeJvRn8tK2eEykisKSHCLL8khvP97qSuNfwVScCv92VuTAGBg+DT43r8qUtzCofaQ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/MHaJJzQXtpuya/mb1uBSsnN5PkwCC8fj5WSOq+vocRDuF9OkJvN1gUweOZP7LJ4VSXYHhcUvbSV+9raJbXz7D7US41uQdmjnv1Ck38Kj6IGaUqJYC3xgx1qrPeEvRhvuPjFGdcw22VtAAeMykH9S4Wt5XVuZcvowOoXlfljz2+m96B+aSRw1nY9LtrU0/278Tt1HhG2LhlQTs3oY1A==; 5:M5HF1lRmOTyvKJSVxpEKVIpVqy9/wqa4fMFhp4uavdi7aUkOPscVLnJC5E7T0NZ0ryfYYbKacACAeWzLqpL+lz0wWMtGbbadbROVVEH1seFUy20NmmkDdUIIGX1rf10e/tOiG4Qrqh5GbqaVQIMSmGS9nunL8Qo8Z88xUryVkIc=; 7:WHESvO4lwPX48ZTGQye31nnftMzrAowNWmWn/YrON5MIXw77VM0VU6mqq3Tle+f4CpwrP344zcyd2EsvfOnPGmsiXcHe2/Xaxk0KiszAt1dDraoYytfcy3cpLVDwAbEzQJc3XKM1E1LkO0xFhlU5YsNZFba3al/55OZ74xayBnr5u6ZiNuVDUbygOo2kphcVbpuaXiT+YRPuzQxteooqkFpBt4qic3mox8vHIjjKZ4SptkfdpRKa98g/mEBNQTDu SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Sep 2018 06:09:52.1774 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 4ad0c0fe-1725-4c4a-e544-08d61df6870d X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0402MB3919 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180918_231006_870064_CE4A522E X-CRM114-Status: GOOD ( 13.73 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Linux-imx@nxp.com 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 i.MX6ULZ has same CCM IP as i.MX6ULL, and it reuses i.MX6UL clock driver, this patch adds support for it. Signed-off-by: Anson Huang --- drivers/clk/imx/clk-imx6ul.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/clk/imx/clk-imx6ul.c b/drivers/clk/imx/clk-imx6ul.c index 361b43f..42b857e 100644 --- a/drivers/clk/imx/clk-imx6ul.c +++ b/drivers/clk/imx/clk-imx6ul.c @@ -116,7 +116,8 @@ static inline int clk_on_imx6ul(void) static inline int clk_on_imx6ull(void) { - return of_machine_is_compatible("fsl,imx6ull"); + return of_machine_is_compatible("fsl,imx6ull") || + of_machine_is_compatible("fsl,imx6ulz"); } static void __init imx6ul_clocks_init(struct device_node *ccm_node) From patchwork Wed Sep 19 06:04:47 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anson Huang X-Patchwork-Id: 10605357 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 81A505A4 for ; Wed, 19 Sep 2018 06:12:40 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6CA8C2B5B3 for ; Wed, 19 Sep 2018 06:12:40 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 606A12B5C1; Wed, 19 Sep 2018 06:12:40 +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=-2.9 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id D5B972B5B3 for ; Wed, 19 Sep 2018 06:12:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=uaMmYF0dnN9X9cKbVTrl82wEVOjtOWuLJSayFPE5HVo=; b=XSScbR0HNiDYHA iIriAreBNbrf2c3OahkkI/G5xmkfgk2P+8Qg+n4E97/vyXPdl5Ake08MFIie35hLnpycvPJA37UqL yailK+DDc9ugLeJ6NckXgvuuYUmLsF45W5shBErXDyevl/AnGDGhY/7e4gF0Mmde8o7aSkN6QczJO frwnsB0l8jDkVR/8DLpUtmhM5nTVDRJIBznA/k23TEj+M8wrE5jhAyoY1vF0/ycBkHJwHhLRRFXt/ Y5LWTbGLcdWWK4R2eXtW1GTRRL34QP/tEiK4sgMdYjNIELpZT4Wxm5AEOpwXQ3BYWxxtE9IolXbi8 L5099hLLKANxPe/65sLA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1g2Viu-0004kY-Gf; Wed, 19 Sep 2018 06:12:28 +0000 Received: from mail-eopbgr10046.outbound.protection.outlook.com ([40.107.1.46] helo=EUR02-HE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1g2Vgl-0002Rv-Ll for linux-arm-kernel@lists.infradead.org; Wed, 19 Sep 2018 06:10:28 +0000 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=ap//2N3XgXIs0vcxKMleyRK45UqgNYAKxjGmzKm5sDE=; b=LJcLBpo5cbnTMehzRK51WWdqqQCTEtAXQI9MdjPp9829Kzxfzm49af0oLPIQK3t5Vh73MFNotRsc+euGRqePjUX8SvjU4Ui1Ku1nUWf8a/H8eFmk579EUJhwHH9p3fMd1wf0tAD3FVKK+MzFsWHAh/TRCNiWy9SP0i4xp9D9FZs= Received: from anson-OptiPlex-790.ap.freescale.net (119.31.174.66) by VI1PR0402MB3919.eurprd04.prod.outlook.com (2603:10a6:803:22::32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1143.18; Wed, 19 Sep 2018 06:09:59 +0000 From: Anson Huang To: robh+dt@kernel.org, mark.rutland@arm.com, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, fabio.estevam@nxp.com, linux@armlinux.org.uk, mturquette@baylibre.com, sboyd@kernel.org, ping.bai@nxp.com, Aisheng.dong@nxp.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org Subject: [PATCH V2 3/4] dt-bindings: arm: add compatible for i.MX6ULZ 14x14 EVK board Date: Wed, 19 Sep 2018 14:04:47 +0800 Message-Id: <1537337088-28819-4-git-send-email-Anson.Huang@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1537337088-28819-1-git-send-email-Anson.Huang@nxp.com> References: <1537337088-28819-1-git-send-email-Anson.Huang@nxp.com> MIME-Version: 1.0 X-Originating-IP: [119.31.174.66] X-ClientProxiedBy: HK0PR03CA0026.apcprd03.prod.outlook.com (2603:1096:203:2f::14) To VI1PR0402MB3919.eurprd04.prod.outlook.com (2603:10a6:803:22::32) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: cc5845a4-fbca-46d2-b69e-08d61df68af0 X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989299)(4534165)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(4618075)(2017052603328)(7153060)(7193020); SRVR:VI1PR0402MB3919; X-Microsoft-Exchange-Diagnostics: 1; VI1PR0402MB3919; 3:gACaHNQaSB3zhXr/vXd+21tWfnqcV+wZyvDz/HXCPVECIg4o1Qa2CnXJG3y4oO4gVRNohZRGKnH8c09xEAI8IiVK1l9imZLXV/GzA/v6x4H9KfXGHfdBH1alKPgRe4z5CZpmo9aw3dcB062DrWC+lq/s3u+02TjMX+i/ylFLRItKKUir/MB3F2mzwV9lKGbkSqX1hWhbsyhj04a3BJBKLwNnFneyxE+aLgB8XyaibEBod20WFVcf0Oj3CWBaErul; 25:MA4VZ7BQF7V35sYk6ydTkcEzkBpp/xC9/7eLbe2mQJCzUo8umpZ/cTnY7cAQFSixLnSolu4VgP0+MFKbYg56NxD/7vK+0f5cAY9cnBmNMcnRLqwzzjjcdIODPoKK23tPVtRt6G/+bVBJeTp4gzKFZ0tBWSoTAW71h6/E4vVj6zkCPgo4ZpuOXQKu7gs+M+AQSd3PTlJ8KUcNOtIcj8rOzH9ec/dTxRA/h0KnzPYyCnaje5AACPX2Izo8w9LUT+aPQ/L57xN158//6S9l02LcMdv9xXZ1SCCnfwSUOv58C8is0WkSClIlREzfT/bnkXEtAAYdedZk2SGZBzy7rBu7sA==; 31:bkuxWzh5SDoMTcEksYifWwUeHQ1NkxeTSLqrpKtG0JccWBZ3nOLECF7otcfnzy3JRoduK+d049Pfc2yFcojkQUTPFy67GrJSzbFuDXZOc2yDAXhnZJDzQUlQ8tBu5xtLSK0RDy8yBsOuvNB3scB96ikmP2J/8EzAsHh8hwKKGAQGuIzqhV5K3ntMpUdss9MX7ro3dUQtkjlm2a/e/XrUO/VdervynAEGgx+7T7vO8f8= X-MS-TrafficTypeDiagnostic: VI1PR0402MB3919: X-Microsoft-Exchange-Diagnostics: 1; VI1PR0402MB3919; 20:1MltkmOolxdjzIJxqlV74ikLntg9PP3nzL+mDUwsMOSLHM7U8UQUhRsBgT84vGUTVQYEGzk+Dy8BBPl+GylwoGjSOpRxHT+yoSpwndkdPeB39lZfTkhnzAAVtUaRjBStl4sBfpfMC6gZxEDLFPZy5YSCTUxkKTHOyDL+A9P3B8pDztLgJhOg1j50WnmDOk16ms0eDacVqqh7zLgMz4YZzQJeWhffC3XG3Z3Ao7Z0S1fWRjD/wqBBArYcIj1CAZwV81hTS3/IIwvcdr3oSQTqtDv3ZIbw+66NWARbav0ikcXW79ktbmVblG0xTz1Cb40sBsRedbBcFE+mPXt2h1twtLlJrlimyifbgA7mrZGmug9tsqsyZELMdDDW+LaiWY5Ky9XZPTY9YIkY9HXk+7tgwq2/HpCaxsxCs+SrYHJYp/orDceYeI7vON43hvCNtqedelJIddJrYVzz4rhnqdeOvgBYCvp6O1N9DOizCkDoP5OTBa1bocYvofuGtFDgUz2k; 4:jYKUA9aM3noktFrQYs7WEtU8XSnQJmVcnv27cWW2CY0v/SiVCCalZfC0xHSRi2794MRGo8ZBrwrX/DtgZ5D0T/L4ToO9JtyriW2FzRJcyRWJbRq0QGxmCKYSvCQaViGAq9WDV/r+SgrnOLYcJnaPRm3wdJZc75u+8FT9/nf2ln4h9DazmCcg5e6u18QAt1ySh32xaKDY96zPiKTG9sGoPBznAvACneNPw1c1I525ozUpccZk0VuDqzV3H4MzWLvhaI0HHLky/QM2tslPL4LLf7fjt/GJ7CjvN7Wkl1WqhWfb9S0gXHdrUmII5RkrctjL X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(93006095)(93001095)(3231355)(944501410)(52105095)(3002001)(10201501046)(6055026)(149027)(150027)(6041310)(20161123564045)(20161123562045)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(201708071742011)(7699050)(76991041); SRVR:VI1PR0402MB3919; BCL:0; PCL:0; RULEID:; SRVR:VI1PR0402MB3919; X-Forefront-PRVS: 0800C0C167 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(346002)(39860400002)(366004)(376002)(136003)(396003)(189003)(199004)(6506007)(51416003)(26005)(486006)(4326008)(16526019)(36756003)(52116002)(476003)(956004)(11346002)(105586002)(25786009)(6512007)(386003)(53936002)(2616005)(47776003)(6346003)(186003)(68736007)(81166006)(81156014)(446003)(8936002)(76176011)(50226002)(66066001)(106356001)(6486002)(5660300001)(6666003)(86362001)(305945005)(7416002)(7736002)(478600001)(575784001)(2906002)(16586007)(6116002)(3846002)(316002)(48376002)(50466002)(97736004)(8676002)(921003)(1121003); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR0402MB3919; H:anson-OptiPlex-790.ap.freescale.net; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; Received-SPF: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=anson.huang@nxp.com; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; VI1PR0402MB3919; 23:Vy+objfz0VyfuqRmXHBwqAm/ZBAwV2KEfkYb91r?= /42w4QI4iXNwq1ZuY2Ms3jNlHIAxgQuXeLVl9VsnRrXUoVv69UNINQwziW2/FmK12XxV74w/279Qwqn2Ho7rlHGQalLXRJcWlKWMhDmuLD/MXoGGmCgoEplraFHMiKzodtqlSGxX7n3OwK/osuIZH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ydy3Ad0pv9W+RL+YFXGwwj5WdcyudXio7XdqIZkcPX0kL9qXYsJoeTrewTpHz4aazd2m8zWCoSU98RgXClz6DamfD66+W302e22QxpokBw/F/KzaFHfx3s7QSzVlppOCfw33QmEYe/zo60IDyjG5gsrDoNT4xYTgBQ4d09VbIw9FGd4D1ayPOsZojvWDInRTFaSndpdNIDnZ+jQKhNBWFGhqHNE+p+R9ZmtGy2FRmvfxSgsZhEZ SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Sep 2018 06:09:59.3155 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: cc5845a4-fbca-46d2-b69e-08d61df68af0 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0402MB3919 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180918_231015_892648_8F1449DF X-CRM114-Status: UNSURE ( 9.75 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Linux-imx@nxp.com 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 This patch adds compatible for i.MX6ULZ 14x14 EVK board. Signed-off-by: Anson Huang Reviewed-by: Rob Herring --- Documentation/devicetree/bindings/arm/fsl.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/fsl.txt b/Documentation/devicetree/bindings/arm/fsl.txt index 968f238..9a0ffce 100644 --- a/Documentation/devicetree/bindings/arm/fsl.txt +++ b/Documentation/devicetree/bindings/arm/fsl.txt @@ -85,6 +85,10 @@ i.MX6 UltraLiteLite 14x14 EVK Board Required root node properties: - compatible = "fsl,imx6ull-14x14-evk", "fsl,imx6ull"; +i.MX6 ULZ 14x14 EVK Board +Required root node properties: + - compatible = "fsl,imx6ulz-14x14-evk", "fsl,imx6ulz"; + i.MX6 SoloX SDB Board Required root node properties: - compatible = "fsl,imx6sx-sdb", "fsl,imx6sx"; From patchwork Wed Sep 19 06:04:48 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anson Huang X-Patchwork-Id: 10605359 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 1DA745A4 for ; Wed, 19 Sep 2018 06:13:29 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3A641280B0 for ; Wed, 19 Sep 2018 06:13:19 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2A1AE28387; Wed, 19 Sep 2018 06:13:19 +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=-2.9 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=unavailable version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 995C4280B0 for ; Wed, 19 Sep 2018 06:13:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=ta3gHWBHwfG8ehNlHNz4WO1QRlI3SUG6dez20B8NTT4=; b=ktDyV6WuoddQG7 2QSR6xShtcxUStywIsc/qK0diUY+ncgkN84HknmgYA9Hp1IdSrU5adeAOe+vCYo3V5i1B6VzGzz+F 5rq4M25rKJc5pNS5N36eWTaEUwXZWBcy7+RZE5iy8VwQ37IT/KLX1JBwIaADAKe3/jl+es5knrN/1 c/Du5tb0Ruj57k5kmzNqukvN9ARmxPtrh/z5KegWFEHHO2/rD6Fd5SeL/qejjNZdz5iKRczXAb9tn CRIdIgpafn/YT/rmpLzrcA8aqDyKd3H0SAL1v8rq0b6CDto4rWKtEJPLG9qFrqTJRvNtUQAJPdMVJ xWMMtojB9BiNeQMXr12Q==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1g2VjX-00050h-CL; Wed, 19 Sep 2018 06:13:07 +0000 Received: from mail-eopbgr10046.outbound.protection.outlook.com ([40.107.1.46] helo=EUR02-HE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1g2Vgy-0002Rv-OQ for linux-arm-kernel@lists.infradead.org; Wed, 19 Sep 2018 06:10:45 +0000 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=wleMOc+4TlOyTh23tAsxynUfRqYTjp1lwYonkBlXMCs=; b=gipisb39OWO7Hqae3PehpkUxFLqZONWYAZIYgwunuYxheEdZE/Jzc1VePElShVzzTeSH0jm7XuBT3NguLvxAm0fTp9Q0a75uId0bIU5WWvaFSRE/bnG1nqYM+20EqZ8IM3hTOM62HvFxri/gVYFYg5ahfvJkhdyxO0fHTFtEztA= Received: from anson-OptiPlex-790.ap.freescale.net (119.31.174.66) by VI1PR0402MB3919.eurprd04.prod.outlook.com (2603:10a6:803:22::32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1143.18; Wed, 19 Sep 2018 06:10:05 +0000 From: Anson Huang To: robh+dt@kernel.org, mark.rutland@arm.com, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, fabio.estevam@nxp.com, linux@armlinux.org.uk, mturquette@baylibre.com, sboyd@kernel.org, ping.bai@nxp.com, Aisheng.dong@nxp.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org Subject: [PATCH V2 4/4] ARM: dts: imx: add i.mx6ulz and i.mx6ulz 14x14 evk support Date: Wed, 19 Sep 2018 14:04:48 +0800 Message-Id: <1537337088-28819-5-git-send-email-Anson.Huang@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1537337088-28819-1-git-send-email-Anson.Huang@nxp.com> References: <1537337088-28819-1-git-send-email-Anson.Huang@nxp.com> MIME-Version: 1.0 X-Originating-IP: [119.31.174.66] X-ClientProxiedBy: HK0PR03CA0026.apcprd03.prod.outlook.com (2603:1096:203:2f::14) To VI1PR0402MB3919.eurprd04.prod.outlook.com (2603:10a6:803:22::32) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 993136da-0de4-46a0-8d05-08d61df68e2d X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989299)(4534165)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(4618075)(2017052603328)(7153060)(7193020); SRVR:VI1PR0402MB3919; X-Microsoft-Exchange-Diagnostics: 1; VI1PR0402MB3919; 3:s1DA9Eu7kizEN7emvTrrlnJdn/OhFp8b8J0XIUyWAMKL/zs3Y2yoFUYLSXa0wIAdVoYDkg8gdpfH8jL9VV12UDhva5ZRSKY3wuiV8DShJKAaXt6pfgdJKhTdhXezXj3Cc3TCXZqdOfepq70C0lAg1ssXMAyjoXZwu1Me3xnTcF6ZkLWOKLApkzoyQvaE8zFU4hSuJOEcGS9W7ix30Y1PJjC9b71U+5nu+bjcVkwDxJFLuFc3V8y+MV4i4s68UgVP; 25:iLiYgpHKSdTMERGToQrj2CXcBR1IcVSd6j/Wkj8L9F5W/DvTXTmEDl41EPGH2+/hIqH9Jamsp7fmei+YuKvmKM9qRYSrazSHRycdZsgndjQoI88WhSLBeyT5aTCA6+WnjtoZ+NbwmLBn7+u7xB5zCAaWcBO2szxIzqF9WusubY4yRzSY0/KRV2MwCXXNke350rwoQfXHtgmlS7OXM+v0f0ZzjudsQEU2hj5Mz1MrHfzXdugIU/OQBhf2ugEzxqRtohI3WWVxWO71AuyVX2mPKX800ED9CLmK9LSy3eniYZ1N7EX7BoR93sDnAYU5/mz1LId6G7MUTseysZIwIFW6vA==; 31:XLeqLysvuaBsUvjjIrGF1efvwF9iN3C7O87z7LG9aRYgMHzyEQYJZcIcOho9ynVMtwa9f0iO/Wg9LY5yfnSJvFo8Py7rb3CyfD1uTODWGLvTpZjQECLWsu16ZA7x80+aEwGqKcwzf+IwT8V4cSypz2GULR9CoqDnDCGsG0pdJCO1y74Kkt6ImebkqL8mn+xHJdg1DBs2y8qwa/NFspjkcGLMNZSoA13XBTlBBu/xDjg= X-MS-TrafficTypeDiagnostic: VI1PR0402MB3919: X-Microsoft-Exchange-Diagnostics: 1; VI1PR0402MB3919; 20:7O7ukwbH7sNhTnYb8lq/oHAtywJ4Adxauus9karnalNS7WpdHHsBkxcTXEcm5XontBlsdkMumILW739oF2OX/dKeLXEXplF2pWEjDq1+wacdFviPSuEcRnH1tdZFLeNe85r8SeAVr7hVl4x0re3awJ9CangBsmSmhAXY6/N8NjMjFjmv3U69lLd08+wyvOpXL4ZXJu0j1vVlXCU3y2V7IMfsAXv7AyeLkAYM9HkhTHFo5qWu2vDGYHn35z42piZZITVJ/7/0S8jBCcN2jeWmIW7Qmslb/ahSZDj39Z21Y6yDilurcYZiS5ysdLMCobLmNI9hLEH3BY8KdlffKNdOLLELdkwSl0AjwbbhKin0ZGTnzirJXJRbkZl/J2fLgDjG1BT+tN+zKeBc1/0JV81X1V9YGfeMdwLh2U2fyZvNGfTuQbU/iB+23b8Bho5RV3FmBVWkFDrFKytvl403u5qfpAqTvwyqYj8JxNKSvisdovhRt5cdaGVCVPW0ThRvw2/A; 4:3i5E7+JO+QXqORcWexoeA1Wcp/Sp6g2zv82moeJdsFdlWWJLUivmKlN+qi60me90a5W+Vy+AAGYiwJu3kgalwI94vAQx7uhG4PaJdftUFkzAK2AYG8hfwq22ZO3E2bOgyihdIybu4RS87FQaVK5N/4K1UPOrLmIYEXyhfFkCsFUOG2KfFtM8E3IkSaa1ZuxVntl2wXQd7a0yuovjjd5ZkTG67gr4HjuKLltjXpvjDKfEhgHItjQL552Y5QMwCJ2KUeiTNJbLLwfL4eZLlQNXnBFn19tQ4XGqHTM1NkKu/8BoViOtNQckKpqjQ4CwS4x5 X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(93006095)(93001095)(3231355)(944501410)(52105095)(3002001)(10201501046)(6055026)(149027)(150027)(6041310)(20161123564045)(20161123562045)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(201708071742011)(7699050)(76991041); SRVR:VI1PR0402MB3919; BCL:0; PCL:0; RULEID:; SRVR:VI1PR0402MB3919; X-Forefront-PRVS: 0800C0C167 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(346002)(39860400002)(366004)(376002)(136003)(396003)(189003)(199004)(6506007)(51416003)(26005)(486006)(4326008)(16526019)(36756003)(52116002)(476003)(956004)(11346002)(105586002)(25786009)(6512007)(386003)(53936002)(2616005)(47776003)(6346003)(186003)(68736007)(81166006)(81156014)(446003)(8936002)(76176011)(50226002)(66066001)(106356001)(6486002)(5660300001)(6666003)(86362001)(305945005)(7416002)(7736002)(478600001)(2906002)(16586007)(6116002)(3846002)(316002)(48376002)(50466002)(97736004)(14444005)(8676002)(921003)(1121003); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR0402MB3919; H:anson-OptiPlex-790.ap.freescale.net; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; Received-SPF: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=anson.huang@nxp.com; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; VI1PR0402MB3919; 23:iarr1I/FkNt87KGJLCSqROgs+mfNp4oNu+Lg5R4?= tcTT21teX2MWh6we65QPj6sy+O0qWI0eNMtqzaDP44dIltuz0dodvsiOxGkgN0skpSHhH0gz3wzQr70GGMxZmgQz04iwdKm/LPCEerFhir/Sx0uAG+2iDHPEcfHRe/gjmR5085zxmjuyqlKWU4lJDbzLNWYtMuVauScXt9JDvV1RtCczcxSLlInyt7UQopW0L1ePF4V8+R8DEaJWM6jgkOAXqaPjwuKJOhSdgp4urlUQsUyVKswGwIquKmk8BkDSz/MV3XVVetJcNgskTXD7Q7uEfaEPmYb/G+RUwboghmeD46xRIM2m3aN4VcXPY6qSbvQhHfF+OSEhVIw+Zwn/ZvoVNb/gMFsgSxKVu3t/ckaPbgEav4A2iabpqSUOfWwQ0JCIDUEw+GPCiReQprybpCSpc4lp8hxlwhSRGe+aqjY6RUPvkWyZIzVktrcg+XqLeKDBM3+9qYZfJ2t6AP0lzcRzTyn/KdTM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CrossTenant-OriginalArrivalTime: 19 Sep 2018 06:10:05.6710 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 993136da-0de4-46a0-8d05-08d61df68e2d X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0402MB3919 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180918_231028_858123_3F39E4E4 X-CRM114-Status: GOOD ( 15.08 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Linux-imx@nxp.com 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 i.MX6ULZ is new SoC of i.MX6 family, compared to i.MX6ULL, it removes below modules: - UART5/UART6/UART7/UART8; - PWM5/PWM6/PWM7/PWM8; - eCSPI3/eCSPI4; - CAN1/CAN2; - FEC1/FEC2; - I2C3/I2C4; - EPIT2; - LCDIF; - GPT2; - ADC1; - TSC; This patch adds support for i.MX6ULZ and i.MX6ULZ 14x14 EVK board. Signed-off-by: Anson Huang --- arch/arm/boot/dts/Makefile | 3 ++- arch/arm/boot/dts/imx6ulz-14x14-evk.dts | 20 +++++++++++++++++ arch/arm/boot/dts/imx6ulz.dtsi | 38 +++++++++++++++++++++++++++++++++ 3 files changed, 60 insertions(+), 1 deletion(-) create mode 100644 arch/arm/boot/dts/imx6ulz-14x14-evk.dts create mode 100644 arch/arm/boot/dts/imx6ulz.dtsi diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index b3ec70d..d7268ae 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile @@ -560,7 +560,8 @@ dtb-$(CONFIG_SOC_IMX6UL) += \ imx6ul-tx6ul-mainboard.dtb \ imx6ull-14x14-evk.dtb \ imx6ull-colibri-eval-v3.dtb \ - imx6ull-colibri-wifi-eval-v3.dtb + imx6ull-colibri-wifi-eval-v3.dtb \ + imx6ulz-14x14-evk.dtb dtb-$(CONFIG_SOC_IMX7D) += \ imx7d-cl-som-imx7.dtb \ imx7d-colibri-emmc-eval-v3.dtb \ diff --git a/arch/arm/boot/dts/imx6ulz-14x14-evk.dts b/arch/arm/boot/dts/imx6ulz-14x14-evk.dts new file mode 100644 index 0000000..e2d67a3 --- /dev/null +++ b/arch/arm/boot/dts/imx6ulz-14x14-evk.dts @@ -0,0 +1,20 @@ +// SPDX-License-Identifier: (GPL-2.0 OR MIT) +// +// Copyright 2018 NXP. + +/dts-v1/; + +#include "imx6ulz.dtsi" +#include "imx6ul-14x14-evk.dtsi" + +/delete-node/ &fec1; +/delete-node/ &fec2; +/delete-node/ &lcdif; +/delete-node/ &tsc; + +/ { + model = "Freescale i.MX6 ULZ 14x14 EVK Board"; + compatible = "fsl,imx6ulz-14x14-evk", "fsl,imx6ulz"; + + /delete-node/ panel; +}; diff --git a/arch/arm/boot/dts/imx6ulz.dtsi b/arch/arm/boot/dts/imx6ulz.dtsi new file mode 100644 index 0000000..ae6d7e5 --- /dev/null +++ b/arch/arm/boot/dts/imx6ulz.dtsi @@ -0,0 +1,38 @@ +// SPDX-License-Identifier: (GPL-2.0 OR MIT) +// +// Copyright 2018 NXP. + +#include "imx6ull.dtsi" + +/ { + aliases { + /delete-property/ ethernet0; + /delete-property/ ethernet1; + /delete-property/ i2c2; + /delete-property/ i2c3; + /delete-property/ serial4; + /delete-property/ serial5; + /delete-property/ serial6; + /delete-property/ serial7; + /delete-property/ spi2; + /delete-property/ spi3; + }; +}; + +/delete-node/ &adc1; +/delete-node/ &can1; +/delete-node/ &can2; +/delete-node/ &ecspi3; +/delete-node/ &ecspi4; +/delete-node/ &epit2; +/delete-node/ &gpt2; +/delete-node/ &i2c3; +/delete-node/ &i2c4; +/delete-node/ &pwm5; +/delete-node/ &pwm6; +/delete-node/ &pwm7; +/delete-node/ &pwm8; +/delete-node/ &uart5; +/delete-node/ &uart6; +/delete-node/ &uart7; +/delete-node/ &uart8;