Received: by 2002:a05:7412:b795:b0:e2:908c:2ebd with SMTP id iv21csp176908rdb; Wed, 1 Nov 2023 23:19:44 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEADFBineTHneddyo7NPrSSHwCjNKUWQPlV8DY1xwkX11nytv61eeuJmD7Ps0Ll8JE6UEN7 X-Received: by 2002:a05:6830:4112:b0:6cd:914f:2ded with SMTP id w18-20020a056830411200b006cd914f2dedmr22503175ott.8.1698905984025; Wed, 01 Nov 2023 23:19:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698905983; cv=none; d=google.com; s=arc-20160816; b=Q9dRVFU9T9/rQj3Jo66q3DdGBfHunRRwQvkLHkLw/6IAosAvEXxyXaJ3qLZWOYKkOg jY3/CrR5VgkkxMez2cvyv3sqHMSxwMcy71OmcgTkTgTTbOSMBndH5bGcJinnuyfCXeTd 5lSrHuqb3XxhWm4FzJzdEFUVC+jd5r/vKaVaOsl8fR1DUd/Jlyr54eO8m4gROHgEYeqS WXtii2lMt0/3b97SQSpjyfCJhf77A5Oef+pqYicPvDLCkbXWyZE3tWL8aWI3V7NMZMTn vrMCFYEZex+R5M2txMY1H3qHjQbtCNitVc+4TVYB1JYce3ElqBsz7C10M5hTCbGrUZF9 cw5w== 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:to:from:dkim-signature; bh=d6bGpQGMcWTfIFXeJnfNXYglphqaXvj//mewEVDo5i0=; fh=OfcTBFCCtbGljrivZ8rfiaFauwuYev18rIrOp3sXODs=; b=n7If2FYUzeuY+D6i8XHG3YUaCojDQ2fUCmWwnqXpzFT4/gXYuk+5+jBAfHb0Z0Qxgc YJPI7MJcCG1BE7mpHhokXro8hekxueL9y3PMANAh5EUNuBv7ZHEysh/vlV0OpqSOrYUL aVGNZt0bMd3HejonwveJnHLUdI7RucJTbhj4s+BsYZrelGPKWfUQkZdoCnMKzSfckUl/ mfaV2QkOjlhzu9/VoZ6XeEkCrEgGMD+HzBvY7VCmJx69///lsiL1Urc+Z+roLJAF0VN4 ObQSxv+QX0KH3x8UJe19g79CTx7ywS6wxRy5rpTMEXbwMLuRyspv74gm0d6KcmxxUM8b TREw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lexina.in header.s=dkim header.b=peJtDkTo; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=REJECT dis=NONE) header.from=lexina.in Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id s140-20020a632c92000000b005897813624fsi1288925pgs.476.2023.11.01.23.19.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Nov 2023 23:19:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; dkim=pass header.i=@lexina.in header.s=dkim header.b=peJtDkTo; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=REJECT dis=NONE) header.from=lexina.in Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 16B87801B931; Wed, 1 Nov 2023 23:19:39 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231673AbjKBGS5 (ORCPT + 99 others); Thu, 2 Nov 2023 02:18:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55036 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229445AbjKBGS5 (ORCPT ); Thu, 2 Nov 2023 02:18:57 -0400 X-Greylist: delayed 367 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Wed, 01 Nov 2023 23:18:51 PDT Received: from mx.msync.work (mx.msync.work [62.182.159.68]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 08D1EE4; Wed, 1 Nov 2023 23:18:50 -0700 (PDT) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 0E10714745F; Thu, 2 Nov 2023 06:12:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lexina.in; s=dkim; t=1698905560; h=from:subject:date:message-id:to:mime-version: content-transfer-encoding; bh=d6bGpQGMcWTfIFXeJnfNXYglphqaXvj//mewEVDo5i0=; b=peJtDkTo1fNDhJPVKfV17W63VXWPpCxUauH1uYj6bxUZ9eoQ6v8ABr/dZwnxQXodj5zU0P Rn9NfOkNTc2R8AhjMDeN5IPnDtA9UocjysHowSqFnVjwg6vF+tpC3vfcWL4ykOhqg3fvcL HhfeCeu5q+g1BVH5A/CkAV5FO9743knw2OQCpPp7LyFh1/t6xK7zuguuz7QsN+odaXap3w gwcNpZ3MwdVnBLWcOd9av3sWQvQEbxHKjEH0MTXTipikcb13fDUc2Wn/2sMHGB1hAXWKNF LuVzo1MJInSYfw09bX3PyHDbqbMynCDwLi9uB4mrPf9pA/tHlscCB5ntarjeHQ== From: Viacheslav Bocharov To: Neil Armstrong , Jerome Brunet , linux-amlogic@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Subject: [PATCH] arm64: dts: meson-axg: jethub-jxx add support for EEPROM Date: Thu, 2 Nov 2023 09:12:33 +0300 Message-Id: <20231102061233.3113249-1-adeep@lexina.in> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Last-TLS-Session-Version: TLSv1.3 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Wed, 01 Nov 2023 23:19:39 -0700 (PDT) Add dts node for EEPROM placed on baseboard in JetHub D1+ devices. Signed-off-by: Viacheslav Bocharov --- .../amlogic/meson-axg-jethome-jethub-j110-rev-2.dts | 12 ++++++++++++ .../amlogic/meson-axg-jethome-jethub-j110-rev-3.dts | 12 ++++++++++++ 2 files changed, 24 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-axg-jethome-jethub-j110-rev-2.dts b/arch/arm64/boot/dts/amlogic/meson-axg-jethome-jethub-j110-rev-2.dts index 0062667c4f65..2c684f0ca99a 100644 --- a/arch/arm64/boot/dts/amlogic/meson-axg-jethome-jethub-j110-rev-2.dts +++ b/arch/arm64/boot/dts/amlogic/meson-axg-jethome-jethub-j110-rev-2.dts @@ -35,3 +35,15 @@ bluetooth { device-wake-gpios = <&gpio GPIOZ_6 GPIO_ACTIVE_HIGH>; }; }; + +&i2c_AO { + /* EEPROM on base board */ + eeprompd: eeprom@56 { + compatible = "atmel,24c64"; + reg = <0x56>; + pagesize = <0x20>; + label = "eeprompd"; + address-width = <0x10>; + vcc-supply = <&vddao_3v3>; + }; +}; diff --git a/arch/arm64/boot/dts/amlogic/meson-axg-jethome-jethub-j110-rev-3.dts b/arch/arm64/boot/dts/amlogic/meson-axg-jethome-jethub-j110-rev-3.dts index c2d22b00c1cd..c356bd2cc63a 100644 --- a/arch/arm64/boot/dts/amlogic/meson-axg-jethome-jethub-j110-rev-3.dts +++ b/arch/arm64/boot/dts/amlogic/meson-axg-jethome-jethub-j110-rev-3.dts @@ -25,3 +25,15 @@ memory@0 { &sd_emmc_b { broken-cd;/* cd-gpios = <&gpio_ao GPIOAO_3 GPIO_ACTIVE_LOW>;*/ }; + +&i2c_AO { + /* EEPROM on base board */ + eeprompd: eeprom@56 { + compatible = "atmel,24c64"; + reg = <0x56>; + pagesize = <0x20>; + label = "eeprompd"; + address-width = <0x10>; + vcc-supply = <&vddao_3v3>; + }; +}; -- 2.34.1