All of lore.kernel.org
 help / color / mirror / Atom feed
From: Eugen.Hristev at microchip.com <Eugen.Hristev@microchip.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 2/4] ARM: dts: at91: sam9x60ek: add onewire support
Date: Mon, 30 Sep 2019 07:28:59 +0000	[thread overview]
Message-ID: <1569827614-2151-2-git-send-email-eugen.hristev@microchip.com> (raw)
In-Reply-To: <1569827614-2151-1-git-send-email-eugen.hristev@microchip.com>

From: Eugen Hristev <eugen.hristev@microchip.com>

Add support for onewire memory.

Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
---
 arch/arm/dts/sam9x60ek.dts | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/arch/arm/dts/sam9x60ek.dts b/arch/arm/dts/sam9x60ek.dts
index 6390427..bed59f3 100644
--- a/arch/arm/dts/sam9x60ek.dts
+++ b/arch/arm/dts/sam9x60ek.dts
@@ -17,6 +17,18 @@
 		stdout-path = &dbgu;
 	};
 
+	onewire_tm: onewire {
+		gpios = <&pioD 14 0>;
+		pinctrl-names = "default";
+		pinctrl-0 = <&pinctrl_onewire_tm_default>;
+		status = "okay";
+
+		w1_eeprom: w1_eeprom at 0 {
+			compatible = "maxim,ds24b33";
+			status = "okay";
+		};
+	};
+
 	ahb {
 		apb {
 			qspi: spi at f0014000 {
@@ -44,6 +56,11 @@
 							 AT91_PIOB 24 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>;
 					};
 
+					pinctrl_onewire_tm_default: onewire_tm_default {
+						atmel,pins =
+							<AT91_PIOD 14 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP>;
+					};
+
 			};
 		};
 	};
-- 
2.7.4

  reply	other threads:[~2019-09-30  7:28 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-09-30  7:28 [U-Boot] [PATCH 1/4] ARM: dts: at91: sam9x60: add onewire node Eugen.Hristev at microchip.com
2019-09-30  7:28 ` Eugen.Hristev at microchip.com [this message]
2019-09-30  7:29 ` [U-Boot] [PATCH 3/4] board: atmel: sam9x60ek: add support for PDA detection Eugen.Hristev at microchip.com
2019-09-30  7:29 ` [U-Boot] [PATCH 4/4] configs: sam9x60ek: enable onewire support Eugen.Hristev at microchip.com
2019-10-07  6:45 ` [U-Boot] [PATCH 1/4] ARM: dts: at91: sam9x60: add onewire node Eugen.Hristev at microchip.com

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1569827614-2151-2-git-send-email-eugen.hristev@microchip.com \
    --to=eugen.hristev@microchip.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.