Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 979D2C6FD1F for ; Thu, 16 Mar 2023 16:47:35 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 319A885BEE; Thu, 16 Mar 2023 17:47:33 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="UMBO1hOs"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id A097F85BEE; Thu, 16 Mar 2023 17:47:31 +0100 (CET) Received: from mail-ed1-x52f.google.com (mail-ed1-x52f.google.com [IPv6:2a00:1450:4864:20::52f]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 5F63885B84 for ; Thu, 16 Mar 2023 17:47:29 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=jbx6244@gmail.com Received: by mail-ed1-x52f.google.com with SMTP id cn21so10340879edb.0 for ; Thu, 16 Mar 2023 09:47:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1678985249; h=content-transfer-encoding:in-reply-to:content-language:references :cc:to:subject:from:user-agent:mime-version:date:message-id:from:to :cc:subject:date:message-id:reply-to; bh=XP0NCu1uujQQwP/9iRNuAoGgnpdRsxYR0BQY5e+IEsw=; b=UMBO1hOstR59cUs3AWA+eTbzWmN2H3/rHMyCyDoJM6oZ4hAYzff9Todm/aiSftooJx l/TwX+kWxoWQl6vSx/l8N45y98p6qPvcJX+r/VTs3m6IdaGKCDBmLXKNJQuy8vBWFmfL iHyYq8GYYXUENc0MqOx6T4gcV0UtuaTWVuYI1SZU9vv5eBF1CHDiZEiHXSdbjvIDw+kl j+9/DmSdPlYwIp261+XeDZAVIOfb9PNKlC3oohV4p19DEuAjQ3YAFek9Kgda4Du9yPIo T+cBBuWzCRmLikMF50N9KqMXUwvWBXQ9UWDirHBhVMX7tO3X+dNSpKKC9N0HVMOtP0b7 iDIQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678985249; h=content-transfer-encoding:in-reply-to:content-language:references :cc:to:subject:from:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=XP0NCu1uujQQwP/9iRNuAoGgnpdRsxYR0BQY5e+IEsw=; b=KKieAK1Gwuf9FycriMsYtShgMKyigCUy1kIY5PF63Wf81qcWmSBwDkjNpLDpSommhD N9geG8S7QE9YM55zOcOm31rn3XXjOMAg7UqVi96g6GCwHW/oFU7uP+rMblNU5sqxvTgL tru8nv9tNwud0fPboH15INIhTqLHg4thOTO6rWjgTRKwdoRb4DdQCG5CVf+hNkHDyfPN oK0Kxx5ksXX80ovlSamjBSIUJNoMwOwWWuBbEGYa8y4MN4B1oN5GxeN5yDKg1vEeTXc5 eKH2DNPRLePH5onPnoZQu8f1UlmZYAnJJeZ0Weu7Hs8gQ3VIntadkYkeqdJqJzjht+D9 AfsQ== X-Gm-Message-State: AO0yUKWHhZAyOArBbHtJryvp9knTBpSqDqjD5XK1/iJ7vSPc+uLj+am3 5cH7D0+h8QY2isfjzGnbYEI= X-Google-Smtp-Source: AK7set9ms5u2UXxQHz3GesKEDSOyyR8XOMpOod0B+Dh/hH6P+bJe+a/Bz7HZdi89zumVAbzzUGeJ5A== X-Received: by 2002:a17:906:c2d9:b0:930:21a:c80 with SMTP id ch25-20020a170906c2d900b00930021a0c80mr3939094ejb.47.1678985248757; Thu, 16 Mar 2023 09:47:28 -0700 (PDT) Received: from [192.168.2.2] (81-204-249-205.fixed.kpn.net. [81.204.249.205]) by smtp.gmail.com with ESMTPSA id u19-20020a50c053000000b004fc537aec3csm4135978edd.74.2023.03.16.09.47.28 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 16 Mar 2023 09:47:28 -0700 (PDT) Message-ID: Date: Thu, 16 Mar 2023 17:47:27 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.6.0 From: Johan Jonker Subject: [PATCH v1 2/6] arm: dts: rockchip: rk3066a-u-boot: add gpio-ranges To: kever.yang@rock-chips.com Cc: sjg@chromium.org, philipp.tomsich@vrull.eu, u-boot@lists.denx.de References: Content-Language: en-US In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean The gpio node names are made generic, but without gpio bank ID. Add gpio-ranges to rk3066a-u-boot.dtsi for now till a better method is found. Signed-off-by: Johan Jonker --- arch/arm/dts/rk3066a-u-boot.dtsi | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/arch/arm/dts/rk3066a-u-boot.dtsi b/arch/arm/dts/rk3066a-u-boot.dtsi index bc6e609d..8d4e1ad2 100644 --- a/arch/arm/dts/rk3066a-u-boot.dtsi +++ b/arch/arm/dts/rk3066a-u-boot.dtsi @@ -2,3 +2,28 @@ #include "rockchip-u-boot.dtsi" #include "rk3xxx-u-boot.dtsi" + +&gpio0 { + gpio-ranges = <&pinctrl 0 0 32>; +}; + +&gpio1 { + gpio-ranges = <&pinctrl 0 32 32>; +}; + +&gpio2 { + gpio-ranges = <&pinctrl 0 64 32>; +}; + +&gpio3 { + gpio-ranges = <&pinctrl 0 96 32>; +}; + +&gpio4 { + gpio-ranges = <&pinctrl 0 128 32>; +}; + +&gpio6 { + gpio-ranges = <&pinctrl 0 192 32>; +}; + -- 2.20.1