From patchwork Thu Aug 5 12:01:06 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Riesch X-Patchwork-Id: 12421073 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.4 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,MSGID_FROM_MTA_HEADER,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2FE57C4338F for ; Thu, 5 Aug 2021 12:06:43 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id F39D060E96 for ; Thu, 5 Aug 2021 12:06:42 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org F39D060E96 Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=wolfvision.net Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=acy+4wP/ORxYVk6DxTSMFhreUgb/fhFpHCsYUpM7krU=; b=FI6xv56iHecn3I CTJXP9FGQGsmbwuSTvl6nH7/U3/Ts2zC5sH4ErY6UZh+qu79wCsGuhw2yFv/NIi3tPmV6x1m2Qocd WbXAfP8Fsk0Z2Z1RKbxkiTQpHGT0DXVRFmfjSmCPjU8G5tJmIGP3Pj3sC6H5nupMh1K0RXn7Bno2s uUGolLSFnysb1/edzPcWjLA0HycH/BKOXE8hD4e1vhOMC4X4A+pL0HpYgLwOR11xcyq+bPJ7+IPe9 /4sgdhTCRIC+QBeVTPZNZeS6HwT5id5L0cgmIIMFC5p26AtDLl/LEPYor+8bEwe6AW0M+eTRutVHO baKl0aHxf56ZuA38XT6g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mBc6e-009LdR-Q6; Thu, 05 Aug 2021 12:04:13 +0000 Received: from mail-eopbgr00085.outbound.protection.outlook.com ([40.107.0.85] helo=EUR02-AM5-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mBc48-009KXY-O8; Thu, 05 Aug 2021 12:01:38 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=daWyftDZpC6Jaj/D3wrEQReiI/WtU8vYIP6hLOd8p1yGwRyC7kNTsHzqxfyMfTsc3tOPh6z4SQBy+DrlO3wuByCvYDahWQ+zQxUVneT+m7zKKX6C0TQxX8SKmgcS1AoUuZFD0Cimh2OvxE2ooC30o852ISlPgr84vvqOYsy4A36qF7QIZujaYABVOnvIyotkzBMhhs09vbjYo8rXlyvNFPkJYARwpcFayb1sxRjpac2bDF/6duGNs1ScPEd7/w2sZ7xrTx6GDvuFkRyGGiDJ47pNa1aOb8IW9HHQaxI6jvopMzvpj7Q/vEE34LFnANov7doTrRjPLmd5FHF5kTTqkg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=lMeKaFya5E5BhDlzKXqnjSDJVjSdRmPo2gngnsjMstQ=; b=XJRyNoPHKbT9M80abXF9esIaIECN+DX93dNC2WELtmWCF6Hcb7FiikrM7mXNna3kMPQRWzZ7UupJ/i4IWGOJTC/tzfIulox4qCFtUYw+5tbS5qGrgKk9OYGnMHiBDPji1WfVnZvJQlYL29eeKX4dEHhqVgYkDjXXZXYj9GqmgkFzUYJWKyw/uuKVct4Mf9I3oip671ua9AYq701FKv5a1Tfry3C/TXGb9aSK8L9nQVrjHjTUv93Oq2GBaKHOo5MEjc6egEFa/fhNQ3oHc3fvLRtZufdR4eCnjkjiRLQE2SggyGAAHHHyBHAhIDX4pLG3cnIBQNw4mc7G4LcNfKnRgA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=wolfvision.net; dmarc=pass action=none header.from=wolfvision.net; dkim=pass header.d=wolfvision.net; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wolfvision.net; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=lMeKaFya5E5BhDlzKXqnjSDJVjSdRmPo2gngnsjMstQ=; b=JxhlfZ5W/6iEAPxx6UWsJrkWpPST5fZSyX0CfDlxCtIJf67dZ1yputXPzi4NWlV+QsXJASyfiKtnro9FRwBW+VuYfxBrG6sb1x5FKeldnSCcNx9nE9ebSHOXyyuH3B0XrBnbOD/OMTHKw/tbie4Zlc5KF1LdGP6DTOG8ATKbkPE= Authentication-Results: vger.kernel.org; dkim=none (message not signed) header.d=none;vger.kernel.org; dmarc=none action=none header.from=wolfvision.net; Received: from DBBPR08MB4523.eurprd08.prod.outlook.com (2603:10a6:10:c8::19) by DB7PR08MB3865.eurprd08.prod.outlook.com (2603:10a6:10:74::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4373.25; Thu, 5 Aug 2021 12:01:31 +0000 Received: from DBBPR08MB4523.eurprd08.prod.outlook.com ([fe80::ade3:93e2:735c:c10b]) by DBBPR08MB4523.eurprd08.prod.outlook.com ([fe80::ade3:93e2:735c:c10b%7]) with mapi id 15.20.4394.016; Thu, 5 Aug 2021 12:01:31 +0000 From: Michael Riesch To: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Rob Herring , Heiko Stuebner , Liang Chen , Peter Geis , Sascha Hauer , Michael Riesch , Simon Xue , Jianqun Xu , "Rafael J . Wysocki" , Lee Jones , Ulf Hansson , Zhang Changzhong , Tobias Schramm , Johan Jonker Subject: [PATCH v3 6/7] arm64: dts: rockchip: rk3568-evb1-v10: add node for sd card Date: Thu, 5 Aug 2021 14:01:06 +0200 Message-Id: <20210805120107.27007-7-michael.riesch@wolfvision.net> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210805120107.27007-1-michael.riesch@wolfvision.net> References: <20210805120107.27007-1-michael.riesch@wolfvision.net> X-ClientProxiedBy: VI1PR04CA0099.eurprd04.prod.outlook.com (2603:10a6:803:64::34) To DBBPR08MB4523.eurprd08.prod.outlook.com (2603:10a6:10:c8::19) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from carlos.wolfvision-at.intra (91.118.163.37) by VI1PR04CA0099.eurprd04.prod.outlook.com (2603:10a6:803:64::34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4394.17 via Frontend Transport; Thu, 5 Aug 2021 12:01:29 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 4a98e94a-424e-4e74-accd-08d95808c370 X-MS-TrafficTypeDiagnostic: DB7PR08MB3865: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:1227; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 72VdU+G/fFn/xzOcEJtTiPvaHjN9HlS1H3nFwWv3GeFFZ+c4qy4Qji2pEeE2tkx3wCE+WTYFpPwbQFS/6dC0TnNyNC7cp9ULWA5tEVn7kveyDKDoI16IxOjnQRsQvQYPbSOE+DbrF4SBpwmYe59FRC/18NgBvW7703cyh0Qc9SkDv4m0leMTkxG5nDecwy78oUuh/YGsovJKzUMCW98Wt/1qjCWdwkmELo45qK5rdUM4Xcl9ChxUe7Oo2wL4oB1We1Io1I5SmQ7Q+qvzun467DaRjTfiBDCBocJyErHsfhpKz/wDdZOsDyRTqhoB1m2NTZ4ZBpwydO5kpRqBXbpN1rk6FoLtgVM73R3fdbyfbusFutllQNu4d6vtoZfYhcLGYj/C6XjT6rHAQlQsBK0veN9BII5p+iKoSuEP38P/cpt2V1GDRjzM6G5EzhClnkPnVvoUXAS5mCqArSK302KPW3eDWdgSuFlyzXL5dOmjtA2o3z/qLM52SPZO8nTi8/gwn0ab3fItSm1e28r7aVk8YcUnVLN56tZ6scRAC2jsG+R8K+xsadUK1mDBmbMML14n8Aiof2H/rVToP1J81tVsilAgyp6tdvzCET0AQWodDkbdYDylFpyf57nRkywMFMeXE6jq3/wpFKeyLGY13ruos8SAEm8PlwXjbu84vK7GA5NuKA7mW9cKyNUV+Jou2hs57deuJFp5B1tekISCamMEwA== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DBBPR08MB4523.eurprd08.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(6512007)(8936002)(5660300002)(8676002)(6666004)(6486002)(26005)(38100700002)(36756003)(2906002)(6506007)(4326008)(66946007)(508600001)(66556008)(7416002)(66476007)(1076003)(38350700002)(956004)(44832011)(2616005)(54906003)(52116002)(186003)(316002)(86362001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: VcJBGdBBrbdYrb06heSxVrdADzG/aWwgZNlAtqdTbGDKsVvM9Y1nKxjvV3vqF5QiSbHul67mYHRgA0cFBFJjvyjqDmvGbEdZfFXdphvOSLEgWRcNC+lWqQCzbRW45sYP60C/NjtzpAHjLJ+TkfJBtTATGDxsSuKufjpQkLCzpJOBpPxYRzOb3lUYIW2z2sd5mnegGwQrvC7Mg+frvB5b9qZ/cnCtwKLnmr6W/e8t1mG9S7Ndl2OSbVPJeABqUsPwir3e1XWMJBqHUgQMM8oCiI4m28ZiSP4WCyeCX7eeSbGMzg5oCq6FeCGhDZQHiFZa5j3Z+svolm3trVmHmWMISToKSAqZU8stek7pryaUZlS0c9ktcmjbgvZGzBbD+H9p+jrOiHkSe9I3qbh2KGCfNvGJQUJYgBsJL7HJBKy5M/SEnMhhoLd4Kd7tvlmSmfEDQlF0mMZsjGkjhM8jkfk87LNBYFuXgIvHm7SvlqndH8MvVivJNjF3e1i7+6sV0mg7gN95ydQKeib5fjY+wev8DIuixewoI0MquS7tt8/8WfiyU2NPJoraKZe1vh6A/hFbxQ7BEj3KOtZmt63pj3xcZgvdoNrh9D+PkR4vC/1VKiXQaPs8Crn7cqVHLuobY7t425nKb7M75NKHxXFxpOvkYvKDIoeycnVsI1AOjfLpFCLASlWC/+OHlURSjXyzt4hcnVl563hNHXk1Uu2pFQbzl0m3fnXatwn2UMgem46JBxqORLzM+ZqI6w+GwQl55KM1n2V4PpJaluxoov8gsItsJb4la8NRNjk+yoMC4OVxrIOg3HXeWZKVapHgFeFZjnrWzgyWBINNlGoiNCcoqcNbF6n6oBcW6/zbNSvfVNJCk6BD7kjGr9MHFCusZvMXiJm5TrwpDsyHtLxiVJ4kpsQDSKnRQ/ry9wx5bIfYxOJbNdWPXKiqLU9G9h9aT++u8cZ+nTV0xIEZGHu8wJhlbW3/bWwcckcBguiGtm2VfWirs6no3O6COeXwVtCUBhyTDpPpxfDqYNKuASWrr2c77yPC4ChERWUVgCvr0N/n75REkrXBF6+J6aSVCk8s/eobUoXDVgip3mCH8tO7TwOC1hfH88V8x0OQGQQOk8WObDufzSULWFnIzHsssiZoSDClH46LjAW+nw9w95bLs5hnRSCE9llo6httnPrFe6HGtjKUOF2s9XAEscIdN3Zx3/RHOiNuunOHGubhEk8vu5iXJaNUULk6soCh+YRZBfA0q7leCaXNbcwACZ6ENXoCmtcQWTh+a2rAu/G5z7MHo8txpacZS0lOSqR1DHXLtdTtZYIWUJZ/MIjJeQnuK9CRFhPgv0hS X-OriginatorOrg: wolfvision.net X-MS-Exchange-CrossTenant-Network-Message-Id: 4a98e94a-424e-4e74-accd-08d95808c370 X-MS-Exchange-CrossTenant-AuthSource: DBBPR08MB4523.eurprd08.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Aug 2021 12:01:31.2759 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: e94ec9da-9183-471e-83b3-51baa8eb804f X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 4RSexPUzkBRaFS6xgYnBZbhH0KHP6/vBIxsbHYDtV5YnniakoTWVlLpLOR7JM41DXbD378SP0fKBDNlzyn/SW5Vzc5VQGdnsszDIgZNmObk= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB7PR08MB3865 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210805_050136_830527_9E5EA988 X-CRM114-Status: GOOD ( 11.76 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add the SD card reader to the device tree of the RK3568 EVB1. Signed-off-by: Michael Riesch --- v3: - clean up device tree properties and sort alphabetically - revise alias arch/arm64/boot/dts/rockchip/rk3568-evb1-v10.dts | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3568-evb1-v10.dts b/arch/arm64/boot/dts/rockchip/rk3568-evb1-v10.dts index 92af4ce89b70..1c34d529b771 100644 --- a/arch/arm64/boot/dts/rockchip/rk3568-evb1-v10.dts +++ b/arch/arm64/boot/dts/rockchip/rk3568-evb1-v10.dts @@ -16,6 +16,7 @@ aliases { ethernet0 = &gmac0; ethernet1 = &gmac1; + mmc0 = &sdmmc0; }; chosen: chosen { @@ -365,6 +366,19 @@ status = "okay"; }; +&sdmmc0 { + bus-width = <4>; + cap-sd-highspeed; + cd-gpios = <&gpio0 RK_PA4 GPIO_ACTIVE_LOW>; + disable-wp; + pinctrl-names = "default"; + pinctrl-0 = <&sdmmc0_bus4 &sdmmc0_clk &sdmmc0_cmd &sdmmc0_det>; + sd-uhs-sdr104; + vmmc-supply = <&vcc3v3_sd>; + vqmmc-supply = <&vccio_sd>; + status = "okay"; +}; + &uart2 { status = "okay"; };