From patchwork Tue Mar 14 21:08:26 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bhupesh Sharma X-Patchwork-Id: 6642 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp1985485wrd; Tue, 14 Mar 2023 14:10:48 -0700 (PDT) X-Google-Smtp-Source: AK7set9r3Um9vSqEonkmy0UUmkiAeFmdyNXaMTSfXbpj0jL6rDzn0YMI78Tkzl9xZh1txwvucW9h X-Received: by 2002:a17:903:7cf:b0:1a0:6bd4:ea9b with SMTP id ko15-20020a17090307cf00b001a06bd4ea9bmr444075plb.3.1678828248485; Tue, 14 Mar 2023 14:10:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1678828248; cv=none; d=google.com; s=arc-20160816; b=TK8Np5+sOhVp7v+dkBERUSkDw/uOTcKrJHj2YO5uyVpibAWqIsZACNdtuQGA7J2JeO VMQqHU5VfhnSq1Mr1vOAIx0P3N5pMlGx6AMzZA5YrpGdOn2oP/tnUKiN9pBycU5Vkuzb sCHeQXquAX6dicdPpcZPvgNA2aUJMQxcUDVfNBKBRZNvBFYLEnMmhC1NJXdNbeC234ng 8bAqxYPopz3XIFAtZ5/KkQCzZuBd7xZ1C8kpm33L0bZMhI9/sJtZapzt43bVeM7cpXI7 +B74/9Vz2tiJQ2oBe6qJE3IPvPkkhMoq1ozwgMqNdSHSf3oYNnslhHA0jUvcCQcWsvYS dBwQ== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=g9Afvq2rE03umB9jzYmDgfACZhSPVHY7oqjJM7AVeLU=; b=zngD8QXf0ODMMgIUHjuDBh2Ku4QPah2pQOtvV2F9J4/F4SJAc7vp364/IaUYvl1S7Z nMteMbttKVzWz4kcRbnroWx+7v1+QuzTF9OHFcw6sxAVIiy5/3Bruoax033nbEWGnqU0 0VtmtDhzh+tpYXYvm2/lxcnL2yvflw0OmDPCEr8bb7+8/5N6/hgolVUvXJUBB2Gxi9Yr 0INibBLJoqOeOCD4BAHl84y/a+nf7s4kXao4eGjs1qmdXpYGEFJBeXA+e7e2BjOlNw+5 rloyTIxGTADg4NznK2KHRPp6V5PcEZf5guHr3vDor9bUVld2meR/C/ra6zt+u+3SPtE1 cxQQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=S+aBYA4O; 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 li11-20020a170903294b00b0019ce0f430bbsi3191018plb.476.2023.03.14.14.10.34; Tue, 14 Mar 2023 14:10:48 -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=S+aBYA4O; 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 S230011AbjCNVI5 (ORCPT + 99 others); Tue, 14 Mar 2023 17:08:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44278 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229682AbjCNVIz (ORCPT ); Tue, 14 Mar 2023 17:08:55 -0400 Received: from mail-pj1-x102f.google.com (mail-pj1-x102f.google.com [IPv6:2607:f8b0:4864:20::102f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CCD9410413 for ; Tue, 14 Mar 2023 14:08:52 -0700 (PDT) Received: by mail-pj1-x102f.google.com with SMTP id d13so6654746pjh.0 for ; Tue, 14 Mar 2023 14:08:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1678828132; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=g9Afvq2rE03umB9jzYmDgfACZhSPVHY7oqjJM7AVeLU=; b=S+aBYA4OaqysHNuxbp1e+O/5hB1Ir4JsfC8eqDtlglOrZXKRdJiHYEQij5Idk/vvfd 2mUTOr3qX49+9RaPAV1ffvr45vt81oza/X1gZ6yMhSv5xPit4lZOMQtxmqjHwddx1dyQ HXuxq0FaInqIPv8mtgWiaJl2/bYTZUcXddc6/rLmTtvJG8RzQRAkJUnwwYLlHDC+ueET vz6QkZjW2Qf2hOYnfHSLhLxQbfFl6dnl0GTNJTPUaqRQi05pc4peEjHKVqATGx2snm6n yL1a5QSv3Bm1VkftXh/4QGl7AVQ/BKn/SGKrO3hjw8sqP5GtIelEpmzVBoJWoBsWCBv3 yNCw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678828132; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=g9Afvq2rE03umB9jzYmDgfACZhSPVHY7oqjJM7AVeLU=; b=lDAU3XfG3sVYHou/N4wLxuGxEihj+O2J+69Ah3n4Kbwz25Gtkdr3IR4FklvTDdZZcj htfaFRIARKZaG6UFY8SsJk3AaHSrnxVuIaQwsXMaPwglYQtQPktLWjx4NX4Gt5i9HWLH aueRcyi3ePvZLuwSeNV39thGT29YGj+Dp33yyUHGgcTOKuxkgyoWFtQ6TFiIPvOQPvbk kRg74oJtyevqRT7R9/udKN8ZZns2yWIYbn5ACV+PdakNo58oABtaLypCuvrz4TXWC5LQ wwKAukNweQbgUR4Ag0s+PuPFI2Du1FkAetb+YPNBU8KYt7f/ob63ffqHir/j7Qnluvr5 sBiQ== X-Gm-Message-State: AO0yUKVS3X+oFfAWRbu8ZbBFymGQNDA6fHIiUVO6CCVA7FA/sRfU06cO HzH6+5GFf/LE0mqk+iSOqcRzvg== X-Received: by 2002:a17:902:c948:b0:1a0:7678:5e16 with SMTP id i8-20020a170902c94800b001a076785e16mr358428pla.67.1678828131977; Tue, 14 Mar 2023 14:08:51 -0700 (PDT) Received: from localhost.localdomain ([2401:4900:1c61:1acb:9af6:bd7f:78e7:7ae6]) by smtp.gmail.com with ESMTPSA id kl8-20020a170903074800b0019edc1b421asm2190150plb.163.2023.03.14.14.08.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 Mar 2023 14:08:50 -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 0/2] arm64: dts: qcom: Add Qualcomm RB2 board dts Date: Wed, 15 Mar 2023 02:38:26 +0530 Message-Id: <20230314210828.2049720-1-bhupesh.sharma@linaro.org> X-Mailer: git-send-email 2.38.1 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?1760379009083012111?= X-GMAIL-MSGID: =?utf-8?q?1760379009083012111?= Add an initial device tree for Qualcomm RB2 board (see [1]). Currently it enables: - eMMC via SDHC1, - uSD card via SDHC2, - RPM regulators, - Debug UART (via micro USB port). Subsequent patchset(s) will add more peripherals like USB, etc. To get a successful boot run: $ cat arch/arm64/boot/Image.gz arch/arm64/boot/dts/qcom/\ qrb4210-rb2.dtb > ./Image-adp.gz+dtb $ mkbootimg --kernel ./Image-adp.gz+dtb \ --ramdisk ./some-initramfs-image.rootfs.img \ --output ./rb2-boot.img --pagesize 4096 \ --base 0x80000000 --cmdline 'SOME_CMDLINE' $ fastboot boot ./rb2-boot.img [1]. https://www.qualcomm.com/products/internet-of-things/industrial/industrial-automation/qualcomm-robotics-rb2-platform#Overview Bhupesh Sharma (2): dt-bindings: arm: qcom: Document the Qualcomm qrb4210-rb2 board arm64: dts: qcom: Add base qrb4210-rb2 board dts .../devicetree/bindings/arm/qcom.yaml | 1 + arch/arm64/boot/dts/qcom/Makefile | 1 + arch/arm64/boot/dts/qcom/qrb4210-rb2.dts | 337 ++++++++++++++++++ 3 files changed, 339 insertions(+) create mode 100644 arch/arm64/boot/dts/qcom/qrb4210-rb2.dts