Commit 2b238c6cdbe4be9ddf2dec126e8a09a6c99d5b37

Authored by Eugen Hristev
Committed by Tom Rini
1 parent 7f0110d47e

ARM: dts: at91: sama5d3_xplained: add onewire connector for LCD eeprom

Add onewire node in device tree for TM series LCDs

Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>

Showing 2 changed files with 22 additions and 0 deletions Side-by-side Diff

arch/arm/dts/at91-sama5d3_xplained.dts
... ... @@ -36,6 +36,18 @@
36 36 };
37 37 };
38 38  
  39 + onewire_tm: onewire {
  40 + gpios = <&pioE 23 GPIO_ACTIVE_LOW>;
  41 + pinctrl-names = "default";
  42 + pinctrl-0 = <&pinctrl_onewire_tm_default>;
  43 + status = "okay";
  44 +
  45 + w1_eeprom: w1_eeprom@0 {
  46 + compatible = "maxim,ds24b33";
  47 + status = "okay";
  48 + };
  49 + };
  50 +
39 51 ahb {
40 52 apb {
41 53 mmc0: mmc@f0000000 {
... ... @@ -242,6 +254,11 @@
242 254 pinctrl_usba_vbus: usba_vbus {
243 255 atmel,pins =
244 256 <AT91_PIOE 9 AT91_PERIPH_GPIO AT91_PINCTRL_DEGLITCH>; /* PE9, conflicts with A9 */
  257 + };
  258 +
  259 + pinctrl_onewire_tm_default: onewire_tm_default {
  260 + atmel,pins =
  261 + <AT91_PIOE 23 AT91_PERIPH_GPIO AT91_PINCTRL_NONE>;
245 262 };
246 263 };
247 264 };
arch/arm/dts/sama5d3.dtsi
... ... @@ -1534,5 +1534,10 @@
1534 1534 };
1535 1535 };
1536 1536 };
  1537 +
  1538 + onewire_tm: onewire {
  1539 + compatible = "w1-gpio";
  1540 + status = "disabled";
  1541 + };
1537 1542 };