From patchwork Thu Jun 18 16:12:18 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 1414 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pf1-f197.google.com (mail-pf1-f197.google.com [209.85.210.197]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id CA3243F0D3 for ; Thu, 18 Jun 2020 18:12:38 +0200 (CEST) Received: by mail-pf1-f197.google.com with SMTP id e143sf4673093pfh.4 for ; Thu, 18 Jun 2020 09:12:38 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1592496757; cv=pass; d=google.com; s=arc-20160816; b=c+z7+6G/sIzDQHkKQuW6dXQuLekTelgqKrOw3ha/dooE+g9PmAe//7ZY+xjMcG0EUp 26QqkKw/ZlJe8y7mMpbXv0iuoaxBE5zqnXkwA7LIBTxFjgFfHI7WSxeWuycr6fWXqECT /2VtHv3FZJbc77iUxxfUjAtj9seRJqnMLaWjknqFLxmK+j4jeJhQs2ygpbAXTHXdKmQl irvf7wv8q/JCKrzyRBNvc/qFUa18Nhc1u6/0dJUgGUsA/rUlM01eT8jvbsdl+gVydfk5 BHvLXE2h15y6oDgafL5JqAWkFx9xQ6jAa1pD0v3g2kN54HAD9UuKIS07Z/873MMEvgd2 tPtQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=a+Ho2GO5tmA/X4UVY5MfdCnNMrJ1feECo7PzqIH4M7s=; b=nV8QvMDLtto1uzBLnkOh4z0U0Jffw/WyZSwpCEWzJf768tBndxPhdHhkl6/IZs0dUu xTJ6Vzh0h4HWnsIELQEukz2iSmJFUUe1dsypaWyocdsYb1d/soN9z7TdG4wXaEwMz+kH YBN+9Ph8GdczFbMEndUdhwXL61pn1+3miM+ZlIuMDjgQDSk4GIjnB/BOP8QLnUFCEF85 2ULL6hqa3eLEro6mAF4yeKpk3FQjZ448WV9TOJeRAgddCao2B+Uruht0+IzsIrrF6isr hHub7mkchXU18jl61vK/0tA/DWzTMHg/dz61aeB8F/nk1Tfq8QPAAN9+JRzsr3HS0WVC hBUA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=qH57Z17x; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=a+Ho2GO5tmA/X4UVY5MfdCnNMrJ1feECo7PzqIH4M7s=; b=eXRtXuurRyyOxixJ48T5yv5azz3tfIuiTV6CyVY8o2V9PupIhWZf9U+kYvR4IewUeF TaI/c1IJzQH5btFDGc6yGIsx25IJnr/YiXMBq3GIMWNsITRZ/cLbU5XoP4aNnNCHjAEp jr/SSjOPhC1uJl03txN1gAbogf+bzhoIuAqL8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-spam-checked-in-group:list-post:list-help:list-archive :list-unsubscribe; bh=a+Ho2GO5tmA/X4UVY5MfdCnNMrJ1feECo7PzqIH4M7s=; b=cAIoxRHr3+gv9ZSGcD4R0rRy9v3G1fE3HEDlOPUpLO7n6gpnsaIfgrwK9hKbzXbTEs oFqZ8QmoQ6kyH8+MnqZym222N8lygfEKrMFPamCJpAMA1SbXnWtsoBfaVkjJdq2r7Au2 /qap4lGpnuQ1YuKy897krKmSggpzIBCRZkDmRvdSPj5Ux5k99NInAaaqTXbSmmSVXhB/ qE4TkaoH+MsLuwmJBEnIqXWt/UrwrkKH6meBhrzsgDMqb7XeIi2wrlhdZkkA4GeiDu73 7UIpLW04mKKBQsnr/oPsxhexjS+zGIsYENz/oftLkx1PsitlqHENaVCmrtXb0dIAHs6c OHkw== X-Gm-Message-State: AOAM5302n9nRkae6bvbtNQIJ12w3hYk//WXMNJbVJAn2dwD/HlowvavO NkWcs79TJlFoIC8PjVBS4qLhKG0m X-Google-Smtp-Source: ABdhPJzE8JdX7CpJ+WS2Nir8NcGKe96GGyxJcTnVL+Pk4V7SfrKO5oLH3vCk7QMw0GXKxWcshZKTNg== X-Received: by 2002:a17:90b:3544:: with SMTP id lt4mr5313486pjb.19.1592496757622; Thu, 18 Jun 2020 09:12:37 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:90a:c70d:: with SMTP id o13ls2591485pjt.0.gmail; Thu, 18 Jun 2020 09:12:37 -0700 (PDT) X-Received: by 2002:a17:902:8c92:: with SMTP id t18mr1350304plo.196.1592496757106; Thu, 18 Jun 2020 09:12:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592496757; cv=none; d=google.com; s=arc-20160816; b=obMDsoh3kXd3cy5MAQDR4/4yKslEbtzV9bl3UmzG3fWK9ZBQVY/OegrtXUtMUWC/wG e/TvJ4/KbANqHEsvLjL2oPjJLf+3qCeiUbyYIYLbWCWlL7qLxIL1e3k1AeWpTEUL5NS9 GBaI34v6EBAtsbibrLrI66X55fqdK5ezN7yVqMESzc3491FMMmazm7eO1A8mzqWp37xA zzc0WEAnOmQxcQwaEYJ+TqrrlyE1NYuS+4OI7YYgs5e2lu8oe7LVBRn/UsqbGuleAjZY VSJn3A10MSIb2dhxTI78e4u3svHFYWx2AskplYub7+7n/WuCbk927Oevm+yPruZECNyN vUzQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=PNG3/d+L5ehzcRi6U6PvyYnWQpo3tX3ppB1BNPNmZJs=; b=w00ZPMG+bZL9UqxK4xMDBNk7P46Lg33TW1NKSgPlLx9exgYAHH6bDK+ifqzkHoxVwK jsnEryc+cDt6pxxyTA9cBhQwh4eX88O0bNFk6GkBESITqv4QRMqpqs9bkTg0ZpQRZb6A yIy8eT7XVoX91RiVw/lU9G5LYR3vXMv9uHaefZ0iEZlCSRltCzbcN0zbnJ6tgyKmAisQ jTc9aWfzwLV4aUtpFtqDd+WMY2lBo3vm36646AKHdc+eVkntVhL50C+CBuyAscefR/tm DtQ19yY0/8dHRgY9241MAjBC/qCUulT4zaSasEN6byntBBiK6gFhz0bUhQu5FLi0b49F A1AA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=qH57Z17x; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id co6sor4049885pjb.9.2020.06.18.09.12.37 for (Google Transport Security); Thu, 18 Jun 2020 09:12:37 -0700 (PDT) Received-SPF: pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) client-ip=209.85.220.65; X-Received: by 2002:a17:90a:d485:: with SMTP id s5mr4712324pju.61.1592496756769; Thu, 18 Jun 2020 09:12:36 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c809:c7d5:b0c7:f192:869b:df87]) by smtp.gmail.com with ESMTPSA id b3sm3247252pft.127.2020.06.18.09.12.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Jun 2020 09:12:36 -0700 (PDT) From: Jagan Teki To: Kever Yang , Philipp Tomsich , Simon Glass Cc: Tom Cubie , Suniel Mahesh , U-Boot-Denx , linux-rockchip@lists.infradead.org, linux-amarula , Jagan Teki Subject: [PATCH 1/3] ARM: dts: rockchip: radxa-dalang: Update sdmmc properties Date: Thu, 18 Jun 2020 21:42:18 +0530 Message-Id: <20200618161220.219452-2-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200618161220.219452-1-jagan@amarulasolutions.com> References: <20200618161220.219452-1-jagan@amarulasolutions.com> MIME-Version: 1.0 X-Original-Sender: jagan@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=qH57Z17x; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Radxa dalang carrier boards are used to mount vmarc SoM's of rk3399pro and rk3288 to make complete SBC. Among these combinations, card detection gpio, max-frequency properties are used with rk3399pro SoM but not required for rk3288 SoM based on the hardware schematics. So, let's move these sdmmc specific properties on associate vmarc dtsi to make common use of dalang carrier device tree file. Signed-off-by: Jagan Teki Reviewed-by: Kever Yang --- arch/arm/dts/rk3399pro-vmarc-som.dtsi | 5 +++++ arch/arm/dts/rockchip-radxa-dalang-carrier.dtsi | 2 -- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/arch/arm/dts/rk3399pro-vmarc-som.dtsi b/arch/arm/dts/rk3399pro-vmarc-som.dtsi index 0a516334f1..6fd17e8a81 100644 --- a/arch/arm/dts/rk3399pro-vmarc-som.dtsi +++ b/arch/arm/dts/rk3399pro-vmarc-som.dtsi @@ -317,6 +317,11 @@ status = "okay"; }; +&sdmmc { + cd-gpios = <&gpio0 RK_PA7 GPIO_ACTIVE_LOW>; + max-frequency = <150000000>; +}; + &tsadc { status = "okay"; rockchip,hw-tshut-mode = <1>; diff --git a/arch/arm/dts/rockchip-radxa-dalang-carrier.dtsi b/arch/arm/dts/rockchip-radxa-dalang-carrier.dtsi index df3712aedf..3e54f38f0a 100644 --- a/arch/arm/dts/rockchip-radxa-dalang-carrier.dtsi +++ b/arch/arm/dts/rockchip-radxa-dalang-carrier.dtsi @@ -52,10 +52,8 @@ bus-width = <4>; cap-mmc-highspeed; cap-sd-highspeed; - cd-gpios = <&gpio0 RK_PA7 GPIO_ACTIVE_LOW>; disable-wp; vqmmc-supply = <&vccio_sd>; - max-frequency = <150000000>; pinctrl-names = "default"; pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sdmmc_cd &sdmmc_bus4>; status = "okay"; From patchwork Thu Jun 18 16:12:19 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 1415 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pj1-f70.google.com (mail-pj1-f70.google.com [209.85.216.70]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 224FC3F0D3 for ; Thu, 18 Jun 2020 18:12:43 +0200 (CEST) Received: by mail-pj1-f70.google.com with SMTP id o7sf4326633pjw.8 for ; Thu, 18 Jun 2020 09:12:43 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1592496762; cv=pass; d=google.com; s=arc-20160816; b=y0MvtiKKqi/u91wm4GnUHEmtnJVeJuz1ADtKppKM/wxJDRDTGFSVl9MUSpMBc+yPUx CT7iCp03iIXyD1733qwxjHRnOsYgya2/9Kn/CcTrcgWWdc2fXEyiwx4A5o9r7dT1Th4y 2Y8J/0O8Gf2L5An4CkXEcttquS5pvQ1fEWLgJa6TZ+ejHY/HfOUEHm652hPBbyAlzjMJ xsrUS8Axa2e2aQ2C3ounJ7oRTgBV7BRnLjjm+z4nKWn4TcdkWNwj9nty3pglmKI5Os0P 0mpahoQgezbPkRK4M2p9smqfFIeI90xhZ9Z5IGsGK9qJBpLBbY92WXPjdVyVg2BwTizp h5bQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=MGs416H71NxDiEqmr4AeFBIwApWkbu8nDudlXuXcG5g=; b=VptacrgHh4NcejGDSoQNEcixbuOhCpiwIkquKYjDxKTEC/ZOOGugWT3LejX7ScDsHO muu8CC3IpalXdgmGvJkGhhIe2+6ZkEXfaLc/tSI6GFYimTnbBDoTsPilyqDaN+x6NIAV lsRDQHJWnRKaAsixSqkE/ykLrp/alpdjto5heNe3LPJg9qs2b48wKw7Z4PJW7ZUOMTbl JMwYsR3FJJXnlDFHnqkMQcm9irrNGYqQZE9ZkEnmavLZR6kedyVKkkrEYzxHTYFwIqrq aPFu8s+GRRK6yeIQTXDgqPTizW4ZtvtR4TQiVYVgiDpwr2rCtJvHbMLq1sqiNn2+tOw8 LM2Q== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=Cz9Fi93B; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=MGs416H71NxDiEqmr4AeFBIwApWkbu8nDudlXuXcG5g=; b=Zfmw/VcZcE40UzBR4tuhKbA78yefqNJRClzyzTWmuoQI800IBnBJ5Ddnukwvv37A+P Lx1nJA9ZIIvk/KzocSuJ2rJombFFcCV1xwbruOtfJI4fZktdbG9gkWxjWplisgoj2rby 4tDukFshU4pFukoK7OBFT6sF+0LTFE7HNAvYw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-spam-checked-in-group:list-post:list-help:list-archive :list-unsubscribe; bh=MGs416H71NxDiEqmr4AeFBIwApWkbu8nDudlXuXcG5g=; b=sxSd4VKfJSfqGkqSwie30/71thjbr5rMXLCMDAdJ2UonnLNLZiShzhUBaWjKJ44Ya8 ZYTxsDSDX3DAHeqzoFFfhQxag5ivdEOnVKBp6Ne8KI9aNI2FT1LrVqo56KD+m3MrNuU4 5m80cYwAeDzGT21R8w6ygySbByokeIwtC69PzdJANMg00hZKn4PPHkFoGcGsRUv2hqqj dcat7nh1leEQSPDeakPfBtVESLukegGQO1ZansEjg6Du0JzsS8NZMlfwAJdjYCY8+uZt cSKPNlJBZSQR4adMGBGegVcxgRkwt8VsfIgNWLF+i9f9AuTJT3WAgupldvo2tk4RFLbF tSMA== X-Gm-Message-State: AOAM533RGw4US9TlE8iFh2A7yC9Fd1T0zOqr13OBYArSDV1y+VZjCyy5 glc4oQndz54GVXigW2rDTHu0SN0g X-Google-Smtp-Source: ABdhPJzAtzlXOy3ka8XMJAS3v4vjqiRfG7XIHT2pO7tW/jO5DD8v1/elckg8b4+vV2jecEMyNciubA== X-Received: by 2002:a17:90a:ac0f:: with SMTP id o15mr5041338pjq.105.1592496761934; Thu, 18 Jun 2020 09:12:41 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:902:147:: with SMTP id 65ls2374594plb.9.gmail; Thu, 18 Jun 2020 09:12:41 -0700 (PDT) X-Received: by 2002:a17:902:341:: with SMTP id 59mr4087169pld.119.1592496761410; Thu, 18 Jun 2020 09:12:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592496761; cv=none; d=google.com; s=arc-20160816; b=fRw+tH1ooMxFbwBSCh7GC+sx3YDwtwE2iaNl4cMJHLYDW/UD9/F+whDJFC3OZyUJYQ +YYtw3Febv+FznGz84Lpv0SY5vE63OP8DKOTb5uESzm0/f1rmTJBl/C+b7Lq8ZKiQiZ7 dCDDx1EOzAej3c90/D51v9tin3vDNBNCmlE8ePlzfc36Qxx6nhO1dmp8HJT6Orzrdatf GPnPvzP9u+6J5rAOy0T5TGmF0GzpFrcXiwUGaXyBE4qg6YfeNHXX54Irr3VZA88rC3/Q RwkCqONO+JK8dUIYjQ/JW2HkNPLgzoebnttTeOVpoYyfmF/a4XYIjW9JFUktbojKPPRs 1lhQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=Fr3UyAk9GdSSwdSlzqC72aIW5MXTMXqS7YI03Tn7qfg=; b=g/V98h2II0zlew7kvq1ih1hO0HlEBoJW7VIzD0OspH7e2gy2CSs0D8pcUmRTAnYxNb sCDc2rgDwqobCN2OpYkgysB7NVlvMldhqQBddIRF8bsmGnNLZ6dVYrmhqsI/+bFn0vE7 uNPYFQ2Eue3FX/fIlfwDf7i/N8XJ3FSQESV29H8bX9RkDrSFtJhg4Y1y99QAJ8cAv58J MawV09Kx/qGlLCf7UE6JpYwLDBdcaHY8C470b/I2LHQeyCuHMqkmfLV1H2Nl4uu4fy3c EgMDnX7Wg2JdJFJU6pJPNoS7vi3wwOgHjpGh9JLrZ7mSP0znZ1FUdH89f+jjk/Cihhw3 CLIg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=Cz9Fi93B; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id i1sor4696252pld.33.2020.06.18.09.12.41 for (Google Transport Security); Thu, 18 Jun 2020 09:12:41 -0700 (PDT) Received-SPF: pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) client-ip=209.85.220.65; X-Received: by 2002:a17:902:8d97:: with SMTP id v23mr4341784plo.3.1592496761006; Thu, 18 Jun 2020 09:12:41 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c809:c7d5:b0c7:f192:869b:df87]) by smtp.gmail.com with ESMTPSA id b3sm3247252pft.127.2020.06.18.09.12.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Jun 2020 09:12:40 -0700 (PDT) From: Jagan Teki To: Kever Yang , Philipp Tomsich , Simon Glass Cc: Tom Cubie , Suniel Mahesh , U-Boot-Denx , linux-rockchip@lists.infradead.org, linux-amarula , Jagan Teki Subject: [PATCH 2/3] ARM: dts: rockchip: Add VMARC RK3288 SOM initial support Date: Thu, 18 Jun 2020 21:42:19 +0530 Message-Id: <20200618161220.219452-3-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200618161220.219452-1-jagan@amarulasolutions.com> References: <20200618161220.219452-1-jagan@amarulasolutions.com> MIME-Version: 1.0 X-Original-Sender: jagan@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=Cz9Fi93B; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , VMARC RK3288 SOM is a standard SMARC SOM design with Rockchip RK3288 SoC, which is designed by Vamrs. Specification: - Rockchip RK3288 - PMIC: RK808 - SD slot, 16GiB eMMC - 2xUSB-2.0, 1xUSB3.0 - USB-C for power supply - Ethernet, PCIe - HDMI, MIPI-DSI/CSI, eDP Add initial support for VMARC RK3288 SOM, this would use with associated carrier board. Signed-off-by: Jagan Teki Reviewed-by: Kever Yang --- arch/arm/dts/rk3288-vmarc-som.dtsi | 298 +++++++++++++++++++++++++++++ 1 file changed, 298 insertions(+) create mode 100644 arch/arm/dts/rk3288-vmarc-som.dtsi diff --git a/arch/arm/dts/rk3288-vmarc-som.dtsi b/arch/arm/dts/rk3288-vmarc-som.dtsi new file mode 100644 index 0000000000..1549ac4044 --- /dev/null +++ b/arch/arm/dts/rk3288-vmarc-som.dtsi @@ -0,0 +1,298 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2019 Fuzhou Rockchip Electronics Co., Ltd + * Copyright (c) 2019 Vamrs Limited + * Copyright (c) 2019 Amarula Solutions(India) + */ + +#include +#include +#include + +/ { + compatible = "vamrs,rk3288-vmarc-som", "rockchip,rk3288"; + + ext_gmac: external-gmac-clock { + compatible = "fixed-clock"; + clock-frequency = <125000000>; + clock-output-names = "ext_gmac"; + #clock-cells = <0>; + }; + + vccio_flash: vccio-flash-regulator { + compatible = "regulator-fixed"; + regulator-name = "vccio_flash"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + startup-delay-us = <150>; + vin-supply = <&vcc_io>; + }; + + vcc_sys: vsys-regulator { + compatible = "regulator-fixed"; + regulator-name = "vcc_sys"; + regulator-min-microvolt = <5000000>; + regulator-max-microvolt = <5000000>; + regulator-always-on; + regulator-boot-on; + }; +}; + +&emmc { + bus-width = <8>; + cap-mmc-highspeed; + disable-wp; + non-removable; + pinctrl-names = "default"; + pinctrl-0 = <&emmc_clk &emmc_cmd &emmc_pwr &emmc_bus8>; + status = "okay"; +}; + +&gmac { + assigned-clocks = <&cru SCLK_MAC>; + assigned-clock-parents = <&ext_gmac>; + clock_in_out = "input"; + phy-mode = "rgmii"; + phy-supply = <&vcc_io>; + pinctrl-names = "default"; + pinctrl-0 = <&rgmii_pins>; + snps,reset-gpio = <&gpio4 RK_PA7 GPIO_ACTIVE_HIGH>; + snps,reset-active-low; + snps,reset-delays-us = <0 10000 50000>; + tx_delay = <0x30>; + rx_delay = <0x10>; + max-speed = <1000>; +}; + +&i2c0 { + clock-frequency = <400000>; + status = "okay"; + + rk808: pmic@1b { + compatible = "rockchip,rk808"; + reg = <0x1b>; + interrupt-parent = <&gpio0>; + interrupts = ; + pinctrl-names = "default"; + pinctrl-0 = <&pmic_int &global_pwroff>; + rockchip,system-power-controller; + wakeup-source; + #clock-cells = <1>; + clock-output-names = "rk808-clkout1", "rk808-clkout2"; + + vcc1-supply = <&vcc_sys>; + vcc2-supply = <&vcc_sys>; + vcc3-supply = <&vcc_sys>; + vcc4-supply = <&vcc_sys>; + vcc6-supply = <&vcc_sys>; + vcc7-supply = <&vcc_sys>; + vcc8-supply = <&vcc_io>; + vcc9-supply = <&vcc_io>; + vcc10-supply = <&vcc_sys>; + vcc11-supply = <&vcc_sys>; + vcc12-supply = <&vcc_io>; + vddio-supply = <&vcc_io>; + + regulators { + vdd_cpu: DCDC_REG1 { + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <750000>; + regulator-max-microvolt = <1400000>; + regulator-name = "vdd_arm"; + regulator-state-mem { + regulator-off-in-suspend; + }; + }; + + vdd_gpu: DCDC_REG2 { + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <850000>; + regulator-max-microvolt = <1250000>; + regulator-name = "vdd_gpu"; + regulator-ramp-delay = <6000>; + regulator-state-mem { + regulator-off-in-suspend; + }; + }; + + vcc_ddr: DCDC_REG3 { + regulator-always-on; + regulator-boot-on; + regulator-name = "vcc_ddr"; + regulator-state-mem { + regulator-on-in-suspend; + }; + }; + + vcc_io: DCDC_REG4 { + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + regulator-name = "vcc_io"; + regulator-state-mem { + regulator-on-in-suspend; + regulator-suspend-microvolt = <3300000>; + }; + }; + + vcc_tp: LDO_REG1 { + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + regulator-name = "vcc_tp"; + regulator-state-mem { + regulator-off-in-suspend; + }; + }; + + vcca_codec: LDO_REG2 { + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + regulator-name = "vcca_codec"; + regulator-state-mem { + regulator-on-in-suspend; + regulator-suspend-microvolt = <3300000>; + }; + }; + + vdd_10: LDO_REG3 { + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <1000000>; + regulator-max-microvolt = <1000000>; + regulator-name = "vdd_10"; + regulator-state-mem { + regulator-on-in-suspend; + regulator-suspend-microvolt = <1000000>; + }; + }; + + vcc_wl: LDO_REG4 { + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + regulator-name = "vcc_wl"; + regulator-state-mem { + regulator-on-in-suspend; + }; + }; + + vccio_sd: LDO_REG5 { + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <3300000>; + regulator-name = "vccio_sd"; + regulator-state-mem { + regulator-on-in-suspend; + regulator-suspend-microvolt = <3300000>; + }; + }; + + vdd10_lcd: LDO_REG6 { + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <1000000>; + regulator-max-microvolt = <1000000>; + regulator-name = "vdd10_lcd"; + regulator-state-mem { + regulator-off-in-suspend; + }; + }; + + vcc_18: LDO_REG7 { + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + regulator-name = "vcc_18"; + regulator-state-mem { + regulator-on-in-suspend; + regulator-suspend-microvolt = <1800000>; + }; + }; + + vcc18_lcd: LDO_REG8 { + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + regulator-name = "vcc18_lcd"; + regulator-state-mem { + regulator-off-in-suspend; + }; + }; + + vcc_sd: SWITCH_REG1 { + regulator-always-on; + regulator-boot-on; + regulator-name = "vcc_sd"; + regulator-state-mem { + regulator-off-in-suspend; + }; + }; + + vcc_lcd: SWITCH_REG2 { + regulator-always-on; + regulator-boot-on; + regulator-name = "vcc_lcd"; + regulator-state-mem { + regulator-off-in-suspend; + }; + }; + }; + }; +}; + +&io_domains { + bb-supply = <&vcc_io>; + flash0-supply = <&vccio_flash>; + gpio1830-supply = <&vcc_18>; + gpio30-supply = <&vcc_io>; + sdcard-supply = <&vccio_sd>; + status = "okay"; +}; + +&pinctrl { + pcfg_pull_none_drv_8ma: pcfg-pull-none-drv-8ma { + drive-strength = <8>; + }; + + pcfg_pull_up_drv_8ma: pcfg-pull-up-drv-8ma { + bias-pull-up; + drive-strength = <8>; + }; + + pmic { + pmic_int: pmic-int { + rockchip,pins = <0 RK_PA4 RK_FUNC_GPIO &pcfg_pull_up>; + }; + }; + + sdmmc { + sdmmc_bus4: sdmmc-bus4 { + rockchip,pins = + <6 RK_PC0 1 &pcfg_pull_up_drv_8ma>, + <6 RK_PC1 1 &pcfg_pull_up_drv_8ma>, + <6 RK_PC2 1 &pcfg_pull_up_drv_8ma>, + <6 RK_PC3 1 &pcfg_pull_up_drv_8ma>; + }; + + sdmmc_clk: sdmmc-clk { + rockchip,pins = + <6 RK_PC4 1 &pcfg_pull_none_drv_8ma>; + }; + + sdmmc_cmd: sdmmc-cmd { + rockchip,pins = + <6 RK_PC5 1 &pcfg_pull_up_drv_8ma>; + }; + }; +}; From patchwork Thu Jun 18 16:12:20 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 1416 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pf1-f197.google.com (mail-pf1-f197.google.com [209.85.210.197]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 25CA53F0D3 for ; Thu, 18 Jun 2020 18:12:48 +0200 (CEST) Received: by mail-pf1-f197.google.com with SMTP id 16sf3169724pfo.23 for ; Thu, 18 Jun 2020 09:12:48 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1592496767; cv=pass; d=google.com; s=arc-20160816; b=Bk0yDscjb/7mnkugTaMIR2pRjmG/SfvHTYSauAOGRFtsFyQipeRUGDc4d7+AcPMnNN IK24V+RzYHhHT5DUGQ+ZM4qO68vay2mcoCQTUrGN/aIpSr8ALdSXCCuogMlNa5kc0cfo EkILV28IfzRN7oJDIed+r9ULj58XHy9AvETEyx6JyjIsmaq3N2pxw9GI+zpzo+RRF5VG BURV56+TQblMuDXNW3bNQjA8oOKM2ISoswE+TEx2486BNFZZWTje4zRHkpVYma9bJ+cP xhZrxR7xiyj1i0S1NEryDIjPwrU9EypFvzk5uDXl5J4Ob9e0swOOrUQNrqMWw5hcdSpN NvIg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=anRNmFk86ce5WyzS9VDe3FfgfwU8JayO8ZEKZyqWEBA=; b=z/khclck/4yuN2teRD7BTOjDzwLDwGSzu6ldwfSC8bwBZPe8ZH8Sip0Ivq1/eGuQEE hBWwBg9nKoSEnMV4+Mvkuji5s2gBLMOoVMRqVXG70C6f/smN2jsDfneRUKNJ4UULmJ3u kErqrrkumn+cjLz8XaRPnfnxQjk9CnYU6xI1WAif4QyTTxKXTcSx+7vZQyp6WlVh296R 6cDre1M2hOSosqC5FPZSEwpyEOPUs2oYib5bXd9HNDI3kUej03diaypMJ90+QzzZTad1 5M1QmVB6PgRiQjYU6ESTZ9vw9v4zTpQZnCeKZsbCJA8iuhUNqdq0q8I/2XaF5QLvTuKG WJbw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=GAoiEWf+; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=anRNmFk86ce5WyzS9VDe3FfgfwU8JayO8ZEKZyqWEBA=; b=jiT0w44TNoJZdaZ3AZ1Efmi3TUSNcdu0mZLmYTR7TEo9RpGXto0wufE4us7b4TTOUu YJkUy8X6nlXlXaT1btzgygpbahuI8hO1T4nqi6dPewONGIl5Sq5ZpjR3Ms2vLz4er1Mt GYVv1dYxhdjJrhW6iqiqdYxe3N2qGyDAraMNw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-spam-checked-in-group:list-post:list-help:list-archive :list-unsubscribe; bh=anRNmFk86ce5WyzS9VDe3FfgfwU8JayO8ZEKZyqWEBA=; b=rNX6pfT8jJWYjlVNXQYy2YkQ96Xc6J8arXXdXMCRyUGpAm3XuDhP0SlOYq3fMwhIEf kM0s/KlO8tVQlVohejuUlWNoptCVcAQVXywDa4vgk14Q9v4vZ4pRnpP5iewT3RDs0tqV EwCugJ/SG+TFRH5hOue84EIakuidRG4GyiPh2ck74Dmvr/bNxH+vNHJUuCHZJInofxl3 ruouchLiI/7dVK0AfOyxyljvXXfyCY6PL644ceVr82WgDdjeEAJQJj8Ya+395DzPGd3p my4yO/7GQbxaDmWoqP7AbANJzVkXKesr9UgSaqV01/zGVlMU9G1KTBjj3V+pfPYL6we6 wwVg== X-Gm-Message-State: AOAM531DQxmypsh270Z8hA0Js5+T/Abwik6xJZHHmo2VQRvSpLKrvJZv YGyA/+xgANt1o4gXketTorw4d+KC X-Google-Smtp-Source: ABdhPJwAbEdO4eFhHno1QdCe7zvHoDuUF4oby7vEeVA7mEdOxHx6mWND325aBz5n1VGazzt9GBcG/A== X-Received: by 2002:a17:902:fe12:: with SMTP id g18mr4558270plj.25.1592496766943; Thu, 18 Jun 2020 09:12:46 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a62:7957:: with SMTP id u84ls2001912pfc.0.gmail; Thu, 18 Jun 2020 09:12:46 -0700 (PDT) X-Received: by 2002:a05:6a00:1592:: with SMTP id u18mr4219826pfk.26.1592496766419; Thu, 18 Jun 2020 09:12:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592496766; cv=none; d=google.com; s=arc-20160816; b=kq5JV4xwXC4nD4M00USIg4QfTdjxKstVVQQAG5rZ+s6PSyLBLbkeCYuVyfjAS0rP9g TtDXOshtKTm0D164o0/RyAfk9hSd8iZ/K52tAhqsf6HEaGgLn2SZ3GbiQbGMItByxX5s hXiDi6cGpYZKn0Yv5mzf0KDBxVRB1Gq6JkiIWpstqrWYswt7Ag+99TIqpvNUZipt1/OO 0DX+F/npPHn8qUMwUk8L9TChkV0hBPgNQmCJEnfJ/9gazsn2KT+ofXmueyCYxymCAGnp H6QCcIszZesu/oPWjPNnyivBZ+auG5jcIKjlw4g0yVocL7tTxp04M2/BX6FsFRgkXO2K qa8w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=c7OjGuowxdKRSjFUvjQJQuutrCgJBX4GU3wZ7QboOFo=; b=yWJhuLsTwWYTEJei1IAF63KjB8YRz2AwOIZL0A2wpPVUUe2GVJBXYCrum9XYwLqI+d b+2BvyuUCTXFtBvtUUv/RBk0RqkigLxQb02HDtmedPB7MVRYfNT36xa+7YPvOaFE+8I0 My5PJ9Ag6UMF8juRIG4y2YUvpdhceCNrJlk085nnc3poBuswkZSXkTKymoM0fnVEtGy+ DWP7bh3onsDuC3GbUzUKYA48yLfRFaAOsR7ldtivzuug2H5AlPHb7oV+OqdEnUYbPLW5 WZJyclEocmgsKIhCkmKUHeWSrtFHoBgJCRMkT7v97DquCHaPwDXTzeFY/M115JKTEziw U9Rg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=GAoiEWf+; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id p24sor4223887pgb.2.2020.06.18.09.12.46 for (Google Transport Security); Thu, 18 Jun 2020 09:12:46 -0700 (PDT) Received-SPF: pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) client-ip=209.85.220.65; X-Received: by 2002:a65:6703:: with SMTP id u3mr3823177pgf.179.1592496766018; Thu, 18 Jun 2020 09:12:46 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c809:c7d5:b0c7:f192:869b:df87]) by smtp.gmail.com with ESMTPSA id b3sm3247252pft.127.2020.06.18.09.12.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Jun 2020 09:12:45 -0700 (PDT) From: Jagan Teki To: Kever Yang , Philipp Tomsich , Simon Glass Cc: Tom Cubie , Suniel Mahesh , U-Boot-Denx , linux-rockchip@lists.infradead.org, linux-amarula , Jagan Teki Subject: [PATCH 3/3] ARM: dts: rockchip: Add Radxa Rock Pi N8 initial support Date: Thu, 18 Jun 2020 21:42:20 +0530 Message-Id: <20200618161220.219452-4-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200618161220.219452-1-jagan@amarulasolutions.com> References: <20200618161220.219452-1-jagan@amarulasolutions.com> MIME-Version: 1.0 X-Original-Sender: jagan@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=GAoiEWf+; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Rock Pi N8 is a Rockchip RK3288 based SBC, which has - VMARC RK3288 SOM (as per SMARC standard) from Vamrs. - Compatible carrier board from Radxa. VAMRC RK3288 SOM need to mount on top of radxa dalang carrier board for making Rock Pi N8 SBC. So, add initial support for Rock Pi N8 by including rk3288, rk3288 vamrc-som and raxda dalang carrier board dtsi files. Signed-off-by: Jagan Teki Reviewed-by: Kever Yang --- arch/arm/dts/Makefile | 1 + arch/arm/dts/rk3288-rock-pi-n8-u-boot.dtsi | 33 +++++++++++ arch/arm/dts/rk3288-rock-pi-n8.dts | 17 ++++++ arch/arm/dts/rk3288-vmarc-som.dtsi | 9 --- board/rockchip/evb_rk3288/MAINTAINERS | 6 ++ configs/rock-pi-n8-rk3288_defconfig | 66 ++++++++++++++++++++++ 6 files changed, 123 insertions(+), 9 deletions(-) create mode 100644 arch/arm/dts/rk3288-rock-pi-n8-u-boot.dtsi create mode 100644 arch/arm/dts/rk3288-rock-pi-n8.dts create mode 100644 configs/rock-pi-n8-rk3288_defconfig diff --git a/arch/arm/dts/Makefile b/arch/arm/dts/Makefile index 07dfe06230..aae95811c1 100644 --- a/arch/arm/dts/Makefile +++ b/arch/arm/dts/Makefile @@ -92,6 +92,7 @@ dtb-$(CONFIG_ROCKCHIP_RK3288) += \ rk3288-phycore-rdk.dtb \ rk3288-popmetal.dtb \ rk3288-rock2-square.dtb \ + rk3288-rock-pi-n8.dtb \ rk3288-tinker.dtb \ rk3288-tinker-s.dtb \ rk3288-veyron-jerry.dtb \ diff --git a/arch/arm/dts/rk3288-rock-pi-n8-u-boot.dtsi b/arch/arm/dts/rk3288-rock-pi-n8-u-boot.dtsi new file mode 100644 index 0000000000..e9d7404ed9 --- /dev/null +++ b/arch/arm/dts/rk3288-rock-pi-n8-u-boot.dtsi @@ -0,0 +1,33 @@ +// SPDX-License-Identifier: GPL-2.0+ +/* + * Copyright (C) 2017 Jagan Teki + */ + +#include "rk3288-u-boot.dtsi" + +&dmc { + rockchip,pctl-timing = <0x215 0xc8 0x0 0x35 0x26 0x2 0x70 0x2000d + 0x6 0x0 0x8 0x4 0x17 0x24 0xd 0x6 + 0x4 0x8 0x4 0x76 0x4 0x0 0x30 0x0 + 0x1 0x2 0x2 0x4 0x0 0x0 0xc0 0x4 + 0x8 0x1f4>; + rockchip,phy-timing = <0x48d7dd93 0x187008d8 0x121076 + 0x0 0xc3 0x6 0x2>; + rockchip,sdram-params = <0x20d266a4 0x5b6 2 533000000 6 9 0>; +}; + +&sdmmc { + u-boot,dm-pre-reloc; +}; + +&emmc { + u-boot,dm-pre-reloc; +}; + +&uart2 { + u-boot,dm-pre-reloc; +}; + +&pinctrl { + u-boot,dm-pre-reloc; +}; diff --git a/arch/arm/dts/rk3288-rock-pi-n8.dts b/arch/arm/dts/rk3288-rock-pi-n8.dts new file mode 100644 index 0000000000..c8637a50c1 --- /dev/null +++ b/arch/arm/dts/rk3288-rock-pi-n8.dts @@ -0,0 +1,17 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2019 Fuzhou Rockchip Electronics Co., Ltd + * Copyright (c) 2019 Vamrs Limited + * Copyright (c) 2019 Amarula Solutions(India) + */ + +/dts-v1/; +#include "rk3288.dtsi" +#include "rk3288-vmarc-som.dtsi" +#include + +/ { + model = "Radxa ROCK Pi N8"; + compatible = "radxa,rockpi-n8", "vamrs,rk3288-vmarc-som", + "rockchip,rk3288"; +}; diff --git a/arch/arm/dts/rk3288-vmarc-som.dtsi b/arch/arm/dts/rk3288-vmarc-som.dtsi index 1549ac4044..3cffe61cdf 100644 --- a/arch/arm/dts/rk3288-vmarc-som.dtsi +++ b/arch/arm/dts/rk3288-vmarc-som.dtsi @@ -251,15 +251,6 @@ }; }; -&io_domains { - bb-supply = <&vcc_io>; - flash0-supply = <&vccio_flash>; - gpio1830-supply = <&vcc_18>; - gpio30-supply = <&vcc_io>; - sdcard-supply = <&vccio_sd>; - status = "okay"; -}; - &pinctrl { pcfg_pull_none_drv_8ma: pcfg-pull-none-drv-8ma { drive-strength = <8>; diff --git a/board/rockchip/evb_rk3288/MAINTAINERS b/board/rockchip/evb_rk3288/MAINTAINERS index 8a4f127f88..9bd6b1e8a4 100644 --- a/board/rockchip/evb_rk3288/MAINTAINERS +++ b/board/rockchip/evb_rk3288/MAINTAINERS @@ -4,3 +4,9 @@ S: Maintained F: board/rockchip/evb_rk3288 F: include/configs/evb_rk3288.h F: configs/evb-rk3288_defconfig + +ROCK-PI-N8 +M: Jagan Teki +S: Maintained +F: configs/rock-pi-n8-rk3288_defconfig +F: arch/arm/dts/rk3288-rock-pi-n8-u-boot.dtsi diff --git a/configs/rock-pi-n8-rk3288_defconfig b/configs/rock-pi-n8-rk3288_defconfig new file mode 100644 index 0000000000..6b31e19eda --- /dev/null +++ b/configs/rock-pi-n8-rk3288_defconfig @@ -0,0 +1,66 @@ +CONFIG_ARM=y +# CONFIG_SPL_USE_ARCH_MEMCPY is not set +# CONFIG_SPL_USE_ARCH_MEMSET is not set +CONFIG_ARCH_ROCKCHIP=y +CONFIG_SYS_TEXT_BASE=0x00100000 +CONFIG_ENV_OFFSET=0x3F8000 +CONFIG_ROCKCHIP_RK3288=y +CONFIG_TARGET_EVB_RK3288=y +CONFIG_SPL_STACK_R_ADDR=0x80000 +CONFIG_NR_DRAM_BANKS=1 +CONFIG_DEBUG_UART_BASE=0xff690000 +CONFIG_DEBUG_UART_CLOCK=24000000 +CONFIG_DEBUG_UART=y +CONFIG_USE_PREBOOT=y +CONFIG_SILENT_CONSOLE=y +CONFIG_DEFAULT_FDT_FILE="rk3288-rock-pi-n8.dtb" +CONFIG_DISPLAY_BOARDINFO_LATE=y +CONFIG_SPL_STACK_R=y +CONFIG_SPL_STACK_R_MALLOC_SIMPLE_LEN=0x2000 +CONFIG_CMD_SPL=y +CONFIG_CMD_GPIO=y +CONFIG_CMD_GPT=y +CONFIG_CMD_I2C=y +CONFIG_CMD_MMC=y +# CONFIG_CMD_SETEXPR is not set +CONFIG_CMD_CACHE=y +CONFIG_CMD_TIME=y +CONFIG_CMD_PMIC=y +CONFIG_CMD_REGULATOR=y +# CONFIG_SPL_DOS_PARTITION is not set +# CONFIG_SPL_EFI_PARTITION is not set +CONFIG_SPL_PARTITION_UUIDS=y +CONFIG_SPL_OF_CONTROL=y +CONFIG_DEFAULT_DEVICE_TREE="rk3288-rock-pi-n8" +CONFIG_OF_SPL_REMOVE_PROPS="pinctrl-0 pinctrl-names clock-names interrupt-parent assigned-clocks assigned-clock-rates assigned-clock-parents" +CONFIG_ENV_IS_IN_MMC=y +CONFIG_SYS_RELOC_GD_ENV_ADDR=y +CONFIG_REGMAP=y +CONFIG_SPL_REGMAP=y +CONFIG_SYSCON=y +CONFIG_SPL_SYSCON=y +# CONFIG_SPL_SIMPLE_BUS is not set +CONFIG_CLK=y +CONFIG_SPL_CLK=y +CONFIG_ROCKCHIP_GPIO=y +CONFIG_SYS_I2C_ROCKCHIP=y +CONFIG_LED=y +CONFIG_LED_GPIO=y +CONFIG_MMC_DW=y +CONFIG_MMC_DW_ROCKCHIP=y +CONFIG_DM_ETH=y +CONFIG_ETH_DESIGNWARE=y +CONFIG_GMAC_ROCKCHIP=y +CONFIG_PINCTRL=y +CONFIG_SPL_PINCTRL=y +CONFIG_DM_PMIC=y +# CONFIG_SPL_PMIC_CHILDREN is not set +CONFIG_PMIC_RK8XX=y +CONFIG_DM_REGULATOR_FIXED=y +CONFIG_REGULATOR_RK8XX=y +CONFIG_PWM_ROCKCHIP=y +CONFIG_RAM=y +CONFIG_SPL_RAM=y +CONFIG_DEBUG_UART_SHIFT=2 +CONFIG_SYSRESET=y +CONFIG_ERRNO_STR=y