From patchwork Wed Mar 15 21:01:44 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bhupesh Sharma X-Patchwork-Id: 70452 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:604a:0:0:0:0:0 with SMTP id j10csp128163wrt; Wed, 15 Mar 2023 14:16:12 -0700 (PDT) X-Google-Smtp-Source: AK7set9HMBVlklympdeYIu78yCDus8lMLqcrreI8L5Nqw7ebPCqGlJKHU/Bf1qmlGx5ZJKeu5eUW X-Received: by 2002:a05:6a20:4a18:b0:d4:4edb:8082 with SMTP id fr24-20020a056a204a1800b000d44edb8082mr1123924pzb.34.1678914972593; Wed, 15 Mar 2023 14:16:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1678914972; cv=none; d=google.com; s=arc-20160816; b=Cb4d0g+Ljo/cPa43Q2whlXXai/BzW+cvITcR5dGOxq7zhAq/meai7bHxy5V5pyhMXk pFOxIaaGZpVlAOiHfe0GKbZtkzZymu0igOcegpZvT07VW/EgxICJ9+3e/J22feTtLCR0 +nj1JHxZndMOo7RprpfeBvjQoPVDA8tFpJymlDt0T/epX/TNah4n4HE6QsCD/9IXuQV/ zT60tBgtoOJpbFZvCoSwq9YTYn84I+v/7rLTmvhR9nVW3qm+8E2kZc/H0awr8dVSOcRy xDkSNRVSA+ryhivMok+dNBvQsvpa6tVhgdimlWrNV+E4JAIRqUZd1J7bvB09j2t4Lquy ePvQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=W8rqjPBjOCvuXU+1mFLCudR89i/pQL+YsrnWDFzg2So=; b=eiz2Kg2TOacSDHk1g/aV3HRDou0opnOzD+9w7yicI26o73Lb4kfNkU0b3gPvYtaunq l0UKNf7dJw/+mFrT1bUmaT6oMg4tOHP4qccHZewVUE7fLmQWX2B+c2MFtcO+ERWG27Bq gsZTh3kebfvjS6bwvCrx8TGvpqBv+CJ+H7veWs8jzEuf6tyYoTUWMfvb83JTnD5tedDG tuh6B4tqGCsvxUo3VSouTaihEZEjcmKo/OkXLbSOvsXk7pvEcsfI01GgslhnIHeHeBVQ /xx0kMs1UtS6Sd7o8GvAXJ9gsV7/01UTYS+Gi15hmDzg8PSQedHBmTRiuRlKh0zS/c/F ao2w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Gd+4FKYM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n1-20020a654cc1000000b00502f86adf3asi5962688pgt.73.2023.03.15.14.15.59; Wed, 15 Mar 2023 14:16:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Gd+4FKYM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232976AbjCOVD2 (ORCPT + 99 others); Wed, 15 Mar 2023 17:03:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36716 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232860AbjCOVDQ (ORCPT ); Wed, 15 Mar 2023 17:03:16 -0400 Received: from mail-pj1-x102e.google.com (mail-pj1-x102e.google.com [IPv6:2607:f8b0:4864:20::102e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EAAFFA3B7C for ; Wed, 15 Mar 2023 14:02:51 -0700 (PDT) Received: by mail-pj1-x102e.google.com with SMTP id d13so10221481pjh.0 for ; Wed, 15 Mar 2023 14:02:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1678914118; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=W8rqjPBjOCvuXU+1mFLCudR89i/pQL+YsrnWDFzg2So=; b=Gd+4FKYMQamsr9AeYrxn3zumzXcdq9zHX6onwL2IP9I59aS/rY4kKq+h5hS+W9sBlC IS+AX81iQ4Mwm6iLBHnVhCACW1oUUzeXlPRePe/+z8gXOSfIRm3oBv1D5JkMcC9xzLhe 480Qnc4QLgf2EX2nTckxXG2H32QDoM+FZAVYo6d7Z8WkQrufuHD8rEpfE7FhgO3g8LB2 eOgJqbyCPLZ+4/IobOyV0KJNfxBTDPSaP+R8UolJZ0a1/qyxB2BJr3FBtX9thvn6meNu k4BkFs0DY9VtefJUaHs1r5mgjdCU3adOK/Oo8kEOh5rCqimImGYYfZhErKhEBom9QWTf 7tAA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678914118; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=W8rqjPBjOCvuXU+1mFLCudR89i/pQL+YsrnWDFzg2So=; b=CuKbhtSs7os7IUvsXpz0Iw5GHcUOBhRAI9qYvlbbSCoqMbAOvY271FQWT62E0UX0rX 0gzF8gnJFPgNmikM/9MVd+2/xJeebF18h6V3sii6vrgT7NdHaeEyMjP+9vHfpcyvQNMv N2t/JsVLLEGJJaqlyy5Yt5m9WCUSjip+ThsyFOrhtteqvVDjHEKaU757Y3r6f6ewPfoh +bIYHuL3mMPjoLsr5z9PIR194n/wmZvfhQda3NUh+AuuZ3UtHGt46EdlZoVn42LnXN7i Gxj5hi07kBz00a0seNwQoksGeaBsicDEnIqm//RvV9dgoZlGizwUlMdE1kax4LIUdppx YLnw== X-Gm-Message-State: AO0yUKULZ15LcXFqJl4yJHoBz2Jfu1fjE4faprlLrp8zie/8I8sm0Jom 0ryt1HQrxFdpM6IFo0zaPM1vtg== X-Received: by 2002:a17:902:e38b:b0:19f:3b86:4715 with SMTP id g11-20020a170902e38b00b0019f3b864715mr718167ple.8.1678914118659; Wed, 15 Mar 2023 14:01:58 -0700 (PDT) Received: from localhost.localdomain ([2401:4900:1c61:1acb:9af6:bd7f:78e7:7ae6]) by smtp.gmail.com with ESMTPSA id 10-20020a170902c14a00b0019a91895cdfsm4066498plj.50.2023.03.15.14.01.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Mar 2023 14:01:58 -0700 (PDT) From: Bhupesh Sharma To: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org Cc: agross@kernel.org, andersson@kernel.org, konrad.dybcio@linaro.org, linux-kernel@vger.kernel.org, bhupesh.linux@gmail.com, bhupesh.sharma@linaro.org, robh+dt@kernel.org, krzysztof.kozlowski@linaro.org Subject: [PATCH v2 1/2] dt-bindings: arm: qcom: Document the Qualcomm qrb4210-rb2 board Date: Thu, 16 Mar 2023 02:31:44 +0530 Message-Id: <20230315210145.2221116-2-bhupesh.sharma@linaro.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20230315210145.2221116-1-bhupesh.sharma@linaro.org> References: <20230315210145.2221116-1-bhupesh.sharma@linaro.org> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1760469945952605837?= X-GMAIL-MSGID: =?utf-8?q?1760469945952605837?= Document the Qualcomm qrb4210-rb2 board based on Robotics version of the Snapdragon SM4250 Soc, i.e. QRB4210. Signed-off-by: Bhupesh Sharma Acked-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/arm/qcom.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/qcom.yaml b/Documentation/devicetree/bindings/arm/qcom.yaml index 23c9c9ba5d52..5490593dc8f1 100644 --- a/Documentation/devicetree/bindings/arm/qcom.yaml +++ b/Documentation/devicetree/bindings/arm/qcom.yaml @@ -46,6 +46,7 @@ description: | msm8998 qcs404 qdu1000 + qrb4210 qru1000 sa8155p sa8540p @@ -90,6 +91,7 @@ description: | liquid mtp qrd + rb2 ride sbc x100 @@ -848,6 +850,12 @@ properties: - oneplus,billie2 - const: qcom,sm4250 + - items: + - enum: + - qcom,qrb4210-rb2 + - const: qcom,qrb4210 + - const: qcom,sm4250 + - items: - enum: - lenovo,j606f From patchwork Wed Mar 15 21:01:45 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bhupesh Sharma X-Patchwork-Id: 70450 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:604a:0:0:0:0:0 with SMTP id j10csp127424wrt; Wed, 15 Mar 2023 14:14:28 -0700 (PDT) X-Google-Smtp-Source: AK7set+NFqkixVlQGHHieRdc47a9yHLVsFA2EqpYc34UW1m+kJeYu4OzZkvLUx/dW+rDFkydUATP X-Received: by 2002:aa7:9892:0:b0:5a8:adc8:6de1 with SMTP id r18-20020aa79892000000b005a8adc86de1mr785958pfl.29.1678914867820; Wed, 15 Mar 2023 14:14:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1678914867; cv=none; d=google.com; s=arc-20160816; b=EXTP3xj4Aeek1PhTKZKbBB/cva6Fiqo4BTZiLW9kGg04FTwdlqVefbxznHRVrSaBP3 fmTLVISc5lIPWS93LOn1ZtsEu/DzlvTOwX50q1Ls+yNpEqxOBtOeDEUDsunlewTeTtI4 IhaAWeWQ8y0p/ZPYom5WGyEFotyInvPlZK+KUovCGR/eusouARyz5GJCFG4jjjrcDw67 N+NmQwKz/TCWIENkUAkKqhBdQ2lmb2q7RSFxgkVoe+J21Hdy3TaZTpocUGVcR8+mj8UK yaYI3omyAqsg8XdzY7Ba9+LkaPcUVBmcg23C8A+QRST/Md3ZmDw6DmLCU7pxj28OdJsD IKgQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=S14JZW/mvZHlpfHEi1OqjqpgTyEM748UnmZyTclyoNY=; b=TQ6kUXylzhYgt/kU6733wFQXTlgm5VNnEXEyhm6AfknhHPUHDFgAZxJ8m0/eY/jdq0 ZtNGChOY2vYNBfLm4BYLbNIx373uL3pxEE64k84BMy/oJqpmodU9iqBmpHcKMlgJnCp+ iOGuNqhFp4GfNxdSq9UDXQlaKhikP9qe1MYZajXmti4NPYcJ62lH8EzQGJ6bBMCSMT+D 23LnBL+jurce0d+XeGeGMIGqLVGktbAro1+rmpcw7qD3X9S5Dv60tDexZvzOdMRuQiQS WZUdJtG+DevAOs9co4TI2Dar91JLxoV10W/j31cLORgvXZ+pSV/GnMCP/mm37cu5GJm0 +uRg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=uqPiBy2H; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c20-20020a6566d4000000b00509bd53cd90si5766950pgw.436.2023.03.15.14.14.14; Wed, 15 Mar 2023 14:14:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=uqPiBy2H; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233034AbjCOVDi (ORCPT + 99 others); Wed, 15 Mar 2023 17:03:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36630 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232492AbjCOVDV (ORCPT ); Wed, 15 Mar 2023 17:03:21 -0400 Received: from mail-pj1-x1036.google.com (mail-pj1-x1036.google.com [IPv6:2607:f8b0:4864:20::1036]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5A2A81A657 for ; Wed, 15 Mar 2023 14:02:58 -0700 (PDT) Received: by mail-pj1-x1036.google.com with SMTP id fy10-20020a17090b020a00b0023b4bcf0727so3576368pjb.0 for ; Wed, 15 Mar 2023 14:02:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1678914122; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=S14JZW/mvZHlpfHEi1OqjqpgTyEM748UnmZyTclyoNY=; b=uqPiBy2HFzWo59DAokxhSRQupAoiIZu30to9CxpCXlS7pxpQ1Kz+5j52eO6wrQPDlh zB1dVoDVGlZtetCiwIf9A07nJKiVKUNFML4hUvIfWSeOpj5C3uzrYBsBule1dMEfoHWb RfOGwDCDfeJsMkgeE3L/NqClNP4tbAyj5NTcbfdZ+VDIoky7hysVqHLblAZzuPpwUTwh LxsmH+BW9YkhUcH0jDmuYEez8uuqdDB1zubMx0USpkGdKKKqvUgaD9DvLJPN2NccWSRt QXokwNTDfyuonO3DEk+xWEiaF0oIgCiielPtjxppn8fWPgBdupdgM/NfpNzIpBdT0E7a sZ4Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678914122; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=S14JZW/mvZHlpfHEi1OqjqpgTyEM748UnmZyTclyoNY=; b=A3c7i5K7x6FDJC2GlK0qDTPsMUXs9RgCwiAfoNgggLx5zXKsU0ymQehSuFPOmafWLC +9U57Y1vqnpHmHqgsXJw3VWlRFpPGiDDetVUdiuLgqIa0E+AFNb09UMnGEXyDSCYq7az 9OuJpqqva9DzUSD7dAKf1kdik2iP1TWpl0KHYagaMQAVb9g2mZlxcVaTd5lWegBe0Jd1 ec06huNYBJjT6AKAVXeVNLgRgsLiNGJPaKaaYFkf0LQ3jM0L/M2/122FoOwiXZm/J0y3 APBbix7bS2J9VIDjWAktR9NG4PHH17/gIa8oQMBZthAuEJH+qBPmtyWk5o+tUMJBRCe2 ySrA== X-Gm-Message-State: AO0yUKWrekVkAKmB78zOO1juBfdza0Zzkr1GY2Sq/M4dU20rgL38jCLe g+HTHV5BC29onujZumC0MyZTew== X-Received: by 2002:a17:903:124d:b0:19e:7a2c:78a7 with SMTP id u13-20020a170903124d00b0019e7a2c78a7mr898343plh.57.1678914122325; Wed, 15 Mar 2023 14:02:02 -0700 (PDT) Received: from localhost.localdomain ([2401:4900:1c61:1acb:9af6:bd7f:78e7:7ae6]) by smtp.gmail.com with ESMTPSA id 10-20020a170902c14a00b0019a91895cdfsm4066498plj.50.2023.03.15.14.01.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Mar 2023 14:02:02 -0700 (PDT) From: Bhupesh Sharma To: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org Cc: agross@kernel.org, andersson@kernel.org, konrad.dybcio@linaro.org, linux-kernel@vger.kernel.org, bhupesh.linux@gmail.com, bhupesh.sharma@linaro.org, robh+dt@kernel.org, krzysztof.kozlowski@linaro.org Subject: [PATCH v2 2/2] arm64: dts: qcom: Add base qrb4210-rb2 board dts Date: Thu, 16 Mar 2023 02:31:45 +0530 Message-Id: <20230315210145.2221116-3-bhupesh.sharma@linaro.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20230315210145.2221116-1-bhupesh.sharma@linaro.org> References: <20230315210145.2221116-1-bhupesh.sharma@linaro.org> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1760469836384940531?= X-GMAIL-MSGID: =?utf-8?q?1760469836384940531?= Add DTS for Qualcomm qrb4210-rb2 board which uses SM4250 SoC. This adds debug uart, emmc, uSD and tlmm support along with regulators found on this board. Also defines the 'xo_board' and 'sleep_clk' frequencies for this board. Signed-off-by: Bhupesh Sharma --- arch/arm64/boot/dts/qcom/Makefile | 1 + arch/arm64/boot/dts/qcom/qrb4210-rb2.dts | 224 +++++++++++++++++++++++ 2 files changed, 225 insertions(+) create mode 100644 arch/arm64/boot/dts/qcom/qrb4210-rb2.dts diff --git a/arch/arm64/boot/dts/qcom/Makefile b/arch/arm64/boot/dts/qcom/Makefile index 89e23a74bc7f..101ac733422c 100644 --- a/arch/arm64/boot/dts/qcom/Makefile +++ b/arch/arm64/boot/dts/qcom/Makefile @@ -69,6 +69,7 @@ dtb-$(CONFIG_ARCH_QCOM) += msm8998-xiaomi-sagit.dtb dtb-$(CONFIG_ARCH_QCOM) += qcs404-evb-1000.dtb dtb-$(CONFIG_ARCH_QCOM) += qcs404-evb-4000.dtb dtb-$(CONFIG_ARCH_QCOM) += qdu1000-idp.dtb +dtb-$(CONFIG_ARCH_QCOM) += qrb4210-rb2.dtb dtb-$(CONFIG_ARCH_QCOM) += qrb5165-rb5.dtb dtb-$(CONFIG_ARCH_QCOM) += qrb5165-rb5-vision-mezzanine.dtb dtb-$(CONFIG_ARCH_QCOM) += qru1000-idp.dtb diff --git a/arch/arm64/boot/dts/qcom/qrb4210-rb2.dts b/arch/arm64/boot/dts/qcom/qrb4210-rb2.dts new file mode 100644 index 000000000000..c70c532ba721 --- /dev/null +++ b/arch/arm64/boot/dts/qcom/qrb4210-rb2.dts @@ -0,0 +1,224 @@ +// SPDX-License-Identifier: BSD-3-Clause +/* + * Copyright (c) 2023, Linaro Limited + */ + +/dts-v1/; + +#include "sm4250.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. QRB4210 RB2"; + compatible = "qcom,qrb4210-rb2", "qcom,qrb4210", "qcom,sm4250"; + + aliases { + serial0 = &uart4; + }; + + chosen { + stdout-path = "serial0:115200n8"; + }; + + vph_pwr: vph-pwr-regulator { + compatible = "regulator-fixed"; + regulator-name = "vph_pwr"; + regulator-min-microvolt = <3700000>; + regulator-max-microvolt = <3700000>; + + regulator-always-on; + regulator-boot-on; + }; +}; + +&qupv3_id_0 { + status = "okay"; +}; + +&rpm_requests { + regulators { + compatible = "qcom,rpm-pm6125-regulators"; + + vdd-s1-supply = <&vph_pwr>; + vdd-s2-supply = <&vph_pwr>; + vdd-s3-supply = <&vph_pwr>; + vdd-s4-supply = <&vph_pwr>; + vdd-s5-supply = <&vph_pwr>; + vdd-s6-supply = <&vph_pwr>; + vdd-s7-supply = <&vph_pwr>; + vdd-s8-supply = <&vph_pwr>; + vdd-s9-supply = <&vph_pwr>; + vdd-s10-supply = <&vph_pwr>; + + vdd-l1-l7-l17-l18-supply = <&vreg_s6a_1p352>; + vdd-l2-l3-l4-supply = <&vreg_s6a_1p352>; + vdd-l5-l15-l19-l20-l21-l22-supply = <&vph_pwr>; + vdd-l6-l8-supply = <&vreg_s5a_0p848>; + vdd-l9-l11-supply = <&vreg_s7a_2p04>; + vdd-l10-l13-l14-supply = <&vreg_s7a_2p04>; + vdd-l12-l16-supply = <&vreg_s7a_2p04>; + vdd-l23-l24-supply = <&vph_pwr>; + + vreg_s5a_0p848: s5 { + regulator-min-microvolt = <920000>; + regulator-max-microvolt = <1128000>; + }; + + vreg_s6a_1p352: s6 { + regulator-min-microvolt = <304000>; + regulator-max-microvolt = <1456000>; + }; + + vreg_s7a_2p04: s7 { + regulator-min-microvolt = <1280000>; + regulator-max-microvolt = <2080000>; + }; + + vreg_l1a_1p0: l1 { + regulator-min-microvolt = <952000>; + regulator-max-microvolt = <1152000>; + }; + + vreg_l4a_0p9: l4 { + regulator-min-microvolt = <488000>; + regulator-max-microvolt = <1000000>; + }; + + vreg_l5a_2p96: l5 { + regulator-min-microvolt = <1648000>; + regulator-max-microvolt = <3056000>; + }; + + vreg_l6a_0p6: l6 { + regulator-min-microvolt = <576000>; + regulator-max-microvolt = <656000>; + }; + + vreg_l7a_1p256: l7 { + regulator-min-microvolt = <1200000>; + regulator-max-microvolt = <1304000>; + }; + + vreg_l8a_0p664: l8 { + regulator-min-microvolt = <400000>; + regulator-max-microvolt = <728000>; + }; + + vreg_l9a_1p8: l9 { + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <2000000>; + }; + + vreg_l10a_1p8: l10 { + regulator-min-microvolt = <1704000>; + regulator-max-microvolt = <1904000>; + }; + + vreg_l11a_1p8: l11 { + regulator-min-microvolt = <1704000>; + regulator-max-microvolt = <1952000>; + }; + + vreg_l12a_1p8: l12 { + regulator-min-microvolt = <1624000>; + regulator-max-microvolt = <1984000>; + }; + + vreg_l13a_1p8: l13 { + regulator-min-microvolt = <1504000>; + regulator-max-microvolt = <1952000>; + }; + + vreg_l14a_1p8: l14 { + regulator-min-microvolt = <1704000>; + regulator-max-microvolt = <1904000>; + }; + + vreg_l15a_3p128: l15 { + regulator-min-microvolt = <2920000>; + regulator-max-microvolt = <3232000>; + }; + + vreg_l16a_1p3: l16 { + regulator-min-microvolt = <1704000>; + regulator-max-microvolt = <1904000>; + }; + + vreg_l17a_1p3: l17 { + regulator-min-microvolt = <1152000>; + regulator-max-microvolt = <1384000>; + }; + + vreg_l18a_1p232: l18 { + regulator-min-microvolt = <1104000>; + regulator-max-microvolt = <1312000>; + }; + + vreg_l19a_1p8: l19 { + regulator-min-microvolt = <1624000>; + regulator-max-microvolt = <3304000>; + }; + + vreg_l20a_1p8: l20 { + regulator-min-microvolt = <2504000>; + regulator-max-microvolt = <2960000>; + }; + + vreg_l21a_2p704: l21 { + regulator-min-microvolt = <2504000>; + regulator-max-microvolt = <2960000>; + }; + + vreg_l22a_2p96: l22 { + regulator-min-microvolt = <2504000>; + regulator-max-microvolt = <2960000>; + }; + + vreg_l23a_3p3: l23 { + regulator-min-microvolt = <2504000>; + regulator-max-microvolt = <2960000>; + }; + + vreg_l24a_2p96: l24 { + regulator-min-microvolt = <2504000>; + regulator-max-microvolt = <2960000>; + }; + }; +}; + +&sdhc_1 { + status = "okay"; + + vmmc-supply = <&vreg_l24a_2p96>; + vqmmc-supply = <&vreg_l11a_1p8>; + no-sdio; + non-removable; +}; + +&sdhc_2 { + status = "okay"; + + cd-gpios = <&tlmm 88 GPIO_ACTIVE_HIGH>; /* card detect gpio */ + vmmc-supply = <&vreg_l22a_2p96>; + vqmmc-supply = <&vreg_l5a_2p96>; + no-sdio; +}; + +&sleep_clk { + clock-frequency = <32000>; +}; + +&tlmm { + gpio-reserved-ranges = <37 5>, <43 2>, <47 1>, + <49 1>, <52 1>, <54 1>, + <56 3>, <61 2>, <64 1>, + <68 1>, <72 8>, <96 1>; +}; + +&uart4 { + status = "okay"; +}; + +&xo_board { + clock-frequency = <19200000>; +}; -- 2.38.1