Message ID | 20240911-mikrobus-dt-v1-7-3ded4dc879e7@beagleboard.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id D6360EE49BD for <linux-arm-kernel@archiver.kernel.org>; Wed, 11 Sep 2024 14:41:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References :Message-Id:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:Date: From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=bUJux209baesVSAFFfQq0X1RKUEyIgNPRXttfQkrVp4=; b=c/vEDzXs7AovBCCDhDaeBnbmk5 739SJUTSVA+SFT2T0Z2VIg8QVkDoslhzFd1suTAzQOgtaVkz2CyWh1IAHvPaEjoJsgOAFDo5iZmCW 8IECLWgXsoErb/KijHb1WkY8PZiEchuXxh6Kd+OWRZChvZ3I70EgYQgxtajLtxHi5Nzb0DIoeRTTr ocPQRVuIUHhMzg8BxJ5TbLkcHB9RzMoLu/SNFYdY1fJdmyYtgAF13DEI/SEf8G1y5j+Zgqq4STP+w OoRp4NDGsbBPFERIN7qOEXUUK7om/0Yman1N1jYBv1mLb3wa7GISN3MsxJO3btPTT+JStZLI6BORe uo1maOgA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1soOX3-00000009yfe-0m4D; Wed, 11 Sep 2024 14:41:21 +0000 Received: from mail-pj1-x1044.google.com ([2607:f8b0:4864:20::1044]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1soOKz-00000009uD6-1BRm for linux-arm-kernel@lists.infradead.org; Wed, 11 Sep 2024 14:28:54 +0000 Received: by mail-pj1-x1044.google.com with SMTP id 98e67ed59e1d1-2d8b68bddeaso5002098a91.1 for <linux-arm-kernel@lists.infradead.org>; Wed, 11 Sep 2024 07:28:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=beagleboard-org.20230601.gappssmtp.com; s=20230601; t=1726064932; x=1726669732; darn=lists.infradead.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=bUJux209baesVSAFFfQq0X1RKUEyIgNPRXttfQkrVp4=; b=mgHCTuH1jcapA43pKX455bRnXtGgKxi/cASSqKChRH3AQmcon3cgg1+Tg3y7sQLyWt fOmo2BZIczQZerFItJWf58EMSk230DSiINrcBDsRQDSI+Ljb5+wtyuhgIYoMj8zgzDgI rD5TPWACzhv4a5b35lg1T53KNExQZoBGs5UM7uFdy5chVTaSb7fhgBuwZMrLfPOPWkIL eiNJkYngfIXPOsNWqALNcEMxer0ljE+elcvjUKd3BDp7T0O+/PfXKkgiFDylqtN7g0cN SuT5v3C5688mkPhslD6WwXzTpv7W+3VEJvPcRVr1IBu/02AC7IsxnZz8lb7lOo3fqqh0 LzWA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726064932; x=1726669732; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=bUJux209baesVSAFFfQq0X1RKUEyIgNPRXttfQkrVp4=; b=r1rCnRuQK7H4XeHIQYbyWIQJx7oZiwPHp/wzhkivBkcrLrVbfcF7CKNlLvoG7XfzQe h/f2EbpZcCEbfitx7W7+iu2Z2MePtaRe8osIDHn4XuFgdM43SPlol3cW8AyRgVilG+Fm K8Av0t4BG39bWSErVsFbS68AGhP77OWt0yeHZduOZa7W6Ncm8vFGURAnAR61sLVL0SJi 3qT37oejl1Qt/fGoN8uy+klXjOX+3zMH9heySTe3HNOLUuH/gd6DGHCpEV+Snpty6vXs 7omEpNzLF/ystHLKCZ/iffKzeK1pKl7uLioDfvZerUN3K8JJ1I3dXZewrmE0xiHfLCjq AM5w== X-Forwarded-Encrypted: i=1; AJvYcCV3p5Qw2QhQxRKWt/FeDCVGNg5EVhzphOzhrG8vCu3LIzBMlNI2NRgz0L1X0/5qIniQmc/RcqY+1uR/9P23e+5W@lists.infradead.org X-Gm-Message-State: AOJu0YyWMfcQ5LKA6HahH06jYxUIBKkwO/WBYfntw43RDYsgsSltIu30 phax5AwB5DUPNC44u2ZMhNzBjO8fSiLmp9BN3/SZg0+WYANDPOU3/4LWtDer9Q== X-Google-Smtp-Source: AGHT+IFVqR77ZETMOL3Ycph5fasQwi8N19Yt6tsRUByhDMgLOhcuLftvCvaT9AZPOu3f6sAF/CSzHQ== X-Received: by 2002:a17:90a:ee91:b0:2d8:7182:8704 with SMTP id 98e67ed59e1d1-2dad50cb7e9mr19402868a91.31.1726064932543; Wed, 11 Sep 2024 07:28:52 -0700 (PDT) Received: from [172.16.118.100] ([103.15.228.94]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-2dadbfe46c9sm10639116a91.11.2024.09.11.07.28.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Sep 2024 07:28:52 -0700 (PDT) From: Ayush Singh <ayush@beagleboard.org> Date: Wed, 11 Sep 2024 19:57:24 +0530 Subject: [PATCH 7/8] addon_boards: mikrobus: Add Weather Click MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20240911-mikrobus-dt-v1-7-3ded4dc879e7@beagleboard.org> References: <20240911-mikrobus-dt-v1-0-3ded4dc879e7@beagleboard.org> In-Reply-To: <20240911-mikrobus-dt-v1-0-3ded4dc879e7@beagleboard.org> To: fabien.parent@linaro.org, d-gole@ti.com, lorforlinux@beagleboard.org, jkridner@beagleboard.org, robertcnelson@beagleboard.org, Andrew Davis <afd@ti.com>, Miguel Ojeda <ojeda@kernel.org>, Alex Gaynor <alex.gaynor@gmail.com>, Boqun Feng <boqun.feng@gmail.com>, Gary Guo <gary@garyguo.net>, =?utf-8?q?Bj=C3=B6rn_Roy_Baron?= <bjorn3_gh@protonmail.com>, Benno Lossin <benno.lossin@proton.me>, Andreas Hindborg <a.hindborg@kernel.org>, Alice Ryhl <aliceryhl@google.com>, Trevor Gross <tmgross@umich.edu>, Rob Herring <robh@kernel.org>, Krzysztof Kozlowski <krzk+dt@kernel.org>, Conor Dooley <conor+dt@kernel.org>, Derek Kiernan <derek.kiernan@amd.com>, Dragan Cvetic <dragan.cvetic@amd.com>, Arnd Bergmann <arnd@arndb.de>, Greg Kroah-Hartman <gregkh@linuxfoundation.org>, Nishanth Menon <nm@ti.com>, Vignesh Raghavendra <vigneshr@ti.com>, Tero Kristo <kristo@kernel.org> Cc: linux-kernel@vger.kernel.org, rust-for-linux@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Ayush Singh <ayush@beagleboard.org> X-Mailer: b4 0.14.1 X-Developer-Signature: v=1; a=openpgp-sha256; l=1489; i=ayush@beagleboard.org; h=from:subject:message-id; bh=6ykOJfpeTHedYDARjIqLwnX8MngyM5nQD4/lHx8a04o=; b=owEBbQKS/ZANAwAIAQXO9ceJ5Vp0AcsmYgBm4ajWFp0VSRIR7zV/zdAtrA/0zb8cZC/VMz1D0 h+qmzLqTbSJAjMEAAEIAB0WIQTfzBMe8k8tZW+lBNYFzvXHieVadAUCZuGo1gAKCRAFzvXHieVa dHc+EADEx6fwsxyM8cZ/VtliN6O/gG4ACga6aqpNaebLkblrTWKjIQogsAXkI6nxDlnn7AjYw4R cSTPGP+e2cK+Lv7lkIEK43rZVjkUOlk5UM4cBNm6bX7MtX2JurOi8piKbuu0Nw84H85RwheosaU OS+PP1wSvk4idx7eFwY8Jot5gBEhpdJTNbpnrtQpRUb2z/j7MDa6Z7sVv5uiCPjvZolD9BUXhp/ mnWagHJGD1nYN9pQRARaZ2orDnEJmuXKgMahZLZec64kSfir9cVj2WbkEMdhgChs4Ii6syY3XdX KYcGu8jIhmeKtURXqIt8iI0sPggjGpwRdmXLAfW1O95wNYwITRmwZBA5oTMgrobnaJ1GXiNFg16 9SHsQEEqerVxJ1z2A7mvVDbBR/F6ewD37goj/kqn90Rx0tSF75nGzYY+9X9TBue6nn/O/GnYRQw xb4Iaat/s4YFTcEKSAkvN2o5bdy/AZkHnkF2AfvVFfpVbJPV0hKRmzPtms4J+I/F08c/yoVdxP1 besqOz7JBuWVAhwxEBZKi9iy2RgJSuSGwntPKsd7Ve1t/VI3cQ07DEMMFi8FbL8GTLvVmlggbXP wKXrDc8Xm9L8fq7EuABI7Ddk39zEowS9RBeKzUJvERkw3E49oUo5eGksxwXmh7SFOy26WvTHeqS QJ7SBrMKwv1vQjw== X-Developer-Key: i=ayush@beagleboard.org; a=openpgp; fpr=DFCC131EF24F2D656FA504D605CEF5C789E55A74 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240911_072853_371288_E1A9C0C8 X-CRM114-Status: GOOD ( 12.73 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org |
Series |
Add generic overlay for MikroBUS addon boards
|
expand
|
diff --git a/addon_boards/mikrobus/Makefile b/addon_boards/mikrobus/Makefile index f66554cd5c45..4c7a68ea9504 100644 --- a/addon_boards/mikrobus/Makefile +++ b/addon_boards/mikrobus/Makefile @@ -1 +1,3 @@ # SPDX-License-Identifier: GPL-2.0 + +dtb-y += mikroe-5761-i2c.dtbo diff --git a/addon_boards/mikrobus/mikroe-5761-i2c.dtso b/addon_boards/mikrobus/mikroe-5761-i2c.dtso new file mode 100644 index 000000000000..1111d3f7147f --- /dev/null +++ b/addon_boards/mikrobus/mikroe-5761-i2c.dtso @@ -0,0 +1,28 @@ +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT +/** + * MikroBUS - Weather Click I2C + * + * https://www.mikroe.com/weather-click + * + * Copyright (C) 2024 Ayush Singh <ayush@beagleboard.org> + */ + +/dts-v1/; +/plugin/; + +&MIKROBUS_CONNECTOR { + status = "okay"; +}; + +&MIKROBUS_SCL_I2C { + status = "okay"; + pinctrl-names = "default"; + pinctrl-0 = <&MIKROBUS_SDA_MUX_I2C_SDA>; + #address-cells = <1>; + #size-cells = <0>; + + bme280@76 { + compatible = "bosch,bme280"; + reg = <0x76>; + }; +};
An I2C MikroBUS addon board containing BME280 sensor. The same board also optionally supports SPI. Hence the i2c suffix. Link: https://www.mikroe.com/weather-click Weather Click Signed-off-by: Ayush Singh <ayush@beagleboard.org> --- addon_boards/mikrobus/Makefile | 2 ++ addon_boards/mikrobus/mikroe-5761-i2c.dtso | 28 ++++++++++++++++++++++++++++ 2 files changed, 30 insertions(+)